Dela via


NetworkInterfaces Interface

Implements

public interface NetworkInterfaces
extends SupportsCreating<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 Type Method and Description
abstract Accepted<Void> beginDeleteById(String id)

Begins deleting a virtual machine from Azure, identifying it by its resource ID.

abstract Accepted<Void> beginDeleteByResourceGroup(String resourceGroupName, String name)

Begins deleting a virtual machine from Azure, identifying it by its name and its resource group.

abstract VirtualMachineScaleSetNetworkInterface getByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId, String name)

Gets a network interface associated with a virtual machine scale set instance.

abstract Mono<VirtualMachineScaleSetNetworkInterface> getByVirtualMachineScaleSetInstanceIdAsync(String resourceGroupName, String scaleSetName, String instanceId, String name)

Gets a network interface associated with a virtual machine scale set instance.

abstract PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSet(String resourceGroupName, String scaleSetName)

List the network interfaces associated with a virtual machine scale set.

abstract PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetId(String id)

List the network interfaces associated with a virtual machine scale set.

abstract PagedIterable<VirtualMachineScaleSetNetworkInterface> listByVirtualMachineScaleSetInstanceId(String resourceGroupName, String scaleSetName, String instanceId)

List the network interfaces associated with a specific virtual machine instance in a scale set.

abstract 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.

Method Details

beginDeleteById

public abstract Accepted beginDeleteById(String id)

Begins deleting a virtual machine from Azure, identifying it by its resource ID.

Parameters:

id - the resource ID of the virtual machine to delete

Returns:

the accepted deleting operation

beginDeleteByResourceGroup

public abstract Accepted beginDeleteByResourceGroup(String resourceGroupName, String name)

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 of
name - the virtual machine name

Returns:

the accepted deleting operation

getByVirtualMachineScaleSetInstanceId

public abstract 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 name
scaleSetName - scale set name
instanceId - the virtual machine scale set vm instance id
name - the network interface name

Returns:

network interface

getByVirtualMachineScaleSetInstanceIdAsync

public abstract Mono 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 name
scaleSetName - scale set name
instanceId - the virtual machine scale set vm instance id
name - the network interface name

Returns:

network interface

listByVirtualMachineScaleSet

public abstract PagedIterable listByVirtualMachineScaleSet(String resourceGroupName, String scaleSetName)

List the network interfaces associated with a virtual machine scale set.

Parameters:

resourceGroupName - virtual machine scale set resource group name
scaleSetName - scale set name

Returns:

list of network interfaces

listByVirtualMachineScaleSetId

public abstract PagedIterable 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

public abstract PagedIterable 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 name
scaleSetName - scale set name
instanceId - the virtual machine scale set vm instance id

Returns:

list of network interfaces

listByVirtualMachineScaleSetInstanceIdAsync

public abstract PagedFlux 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 name
scaleSetName - scale set name
instanceId - the virtual machine scale set vm instance id

Returns:

list of network interfaces

Applies to