Interface NetworkInterfaces
- All Superinterfaces:
HasManager<NetworkManager>, SupportsBatchCreation<NetworkInterface>, SupportsBatchDeletion, SupportsCreating<NetworkInterface.DefinitionStages.Blank>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsGettingById<NetworkInterface>, SupportsGettingByResourceGroup<NetworkInterface>, SupportsListing<NetworkInterface>, SupportsListingByResourceGroup<NetworkInterface>
public interface NetworkInterfaces
extends SupportsCreating<NetworkInterface.DefinitionStages.Blank>, SupportsListing<NetworkInterface>, SupportsListingByResourceGroup<NetworkInterface>, SupportsGettingByResourceGroup<NetworkInterface>, SupportsGettingById<NetworkInterface>, SupportsDeletingById, SupportsDeletingByResourceGroup, SupportsBatchCreation<NetworkInterface>, SupportsBatchDeletion, HasManager<NetworkManager>
Entry point to network interface management.
-
Method Summary
Modifier and TypeMethodDescriptionBegins deleting a virtual machine from Azure, identifying it by its resource ID.beginDeleteById(String id, com.azure.core.util.Context context) Begins deleting a virtual machine from Azure, identifying it by its resource ID.beginDeleteByResourceGroup(String resourceGroupName, String name) Begins deleting a virtual machine from Azure, identifying it by its name and its resource group.beginDeleteByResourceGroup(String resourceGroupName, String name, com.azure.core.util.Context context) Begins deleting a virtual machine from Azure, identifying it by its name and its resource group.getByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.getByVirtualMachineScaleSetInstanceIdAsync(String resourceGroupName, String scaleSetName, String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.default com.azure.core.http.rest.PagedIterable<NetworkInterface> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists resources of the specified type in the specified resource group.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSet(String resourceGroupName, String scaleSetName) List the network interfaces associated with a virtual machine scale set.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> List the network interfaces associated with a virtual machine scale set.com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId) List the network interfaces associated with a specific virtual machine instance in a scale set.com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetInstanceIdAsync(String resourceGroupName, String scaleSetName, String instanceId) List the network interfaces associated with a specific virtual machine instance in a scale set asynchronously.Methods inherited from interface HasManager
managerMethods inherited from interface SupportsBatchCreation
create, create, createAsync, createAsyncMethods inherited from interface SupportsBatchDeletion
deleteByIds, deleteByIds, deleteByIdsAsync, deleteByIdsAsyncMethods inherited from interface SupportsCreating
defineMethods inherited from interface SupportsDeletingById
deleteById, deleteByIdAsyncMethods inherited from interface SupportsDeletingByResourceGroup
deleteByResourceGroup, deleteByResourceGroupAsyncMethods inherited from interface SupportsGettingById
getById, getByIdAsyncMethods inherited from interface SupportsGettingByResourceGroup
getByResourceGroup, getByResourceGroupAsyncMethods inherited from interface SupportsListing
list, listAsyncMethods inherited from interface SupportsListingByResourceGroup
listByResourceGroup, listByResourceGroupAsync
-
Method Details
-
getByVirtualMachineScaleSetInstanceId
VirtualMachineScaleSetNetworkInterface getByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.- Parameters:
resourceGroupName- virtual machine scale set resource group namescaleSetName- scale set nameinstanceId- the virtual machine scale set vm instance idname- the network interface name- Returns:
- network interface
-
getByVirtualMachineScaleSetInstanceIdAsync
Mono<VirtualMachineScaleSetNetworkInterface> getByVirtualMachineScaleSetInstanceIdAsync(String resourceGroupName, String scaleSetName, String instanceId, String name) Gets a network interface associated with a virtual machine scale set instance.- Parameters:
resourceGroupName- virtual machine scale set resource group namescaleSetName- scale set nameinstanceId- the virtual machine scale set vm instance idname- the network interface name- Returns:
- network interface
-
listByVirtualMachineScaleSet
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSet(String resourceGroupName, String scaleSetName) List the network interfaces associated with a virtual machine scale set.- Parameters:
resourceGroupName- virtual machine scale set resource group namescaleSetName- scale set name- Returns:
- list of network interfaces
-
listByVirtualMachineScaleSetId
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetId(String id) List the network interfaces associated with a virtual machine scale set.- Parameters:
id- virtual machine scale set resource id- Returns:
- list of network interfaces
-
listByVirtualMachineScaleSetInstanceId
com.azure.core.http.rest.PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId) List the network interfaces associated with a specific virtual machine instance in a scale set.- Parameters:
resourceGroupName- virtual machine scale set resource group namescaleSetName- scale set nameinstanceId- the virtual machine scale set vm instance id- Returns:
- list of network interfaces
-
listByVirtualMachineScaleSetInstanceIdAsync
com.azure.core.http.rest.PagedFlux<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetInstanceIdAsync(String resourceGroupName, String scaleSetName, String instanceId) List the network interfaces associated with a specific virtual machine instance in a scale set asynchronously.- Parameters:
resourceGroupName- virtual machine scale set resource group namescaleSetName- scale set nameinstanceId- the virtual machine scale set vm instance id- Returns:
- list of network interfaces
-
beginDeleteById
-
beginDeleteById
Begins deleting a virtual machine from Azure, identifying it by its resource ID.- Parameters:
id- the resource ID of the virtual machine to deletecontext- theContextof the request- Returns:
- the accepted deleting operation
-
beginDeleteByResourceGroup
Begins deleting a virtual machine from Azure, identifying it by its name and its resource group.- Parameters:
resourceGroupName- the resource group the resource is part ofname- the virtual machine name- Returns:
- the accepted deleting operation
-
beginDeleteByResourceGroup
default Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name, com.azure.core.util.Context context) Begins deleting a virtual machine from Azure, identifying it by its name and its resource group.- Parameters:
resourceGroupName- the resource group the resource is part ofname- the virtual machine namecontext- theContextof the request- Returns:
- the accepted deleting operation
-
listByResourceGroup
default com.azure.core.http.rest.PagedIterable<NetworkInterface> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists resources of the specified type in the specified resource group.- Parameters:
resourceGroupName- the name of the resource group to list the resources fromcontext- theContextof the request- Returns:
- the list of resources
-