Share via


NetworkInterfacesOperationsExtensions.ListVirtualMachineScaleSetVMNetworkInterfacesAsync Method

Definition

Gets information about all network interfaces in a virtual machine in a virtual machine scale set.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.NetworkInterface>> ListVirtualMachineScaleSetVMNetworkInterfacesAsync (this Microsoft.Azure.Management.Network.INetworkInterfacesOperations operations, string resourceGroupName, string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken = default);
static member ListVirtualMachineScaleSetVMNetworkInterfacesAsync : Microsoft.Azure.Management.Network.INetworkInterfacesOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.NetworkInterface>>
<Extension()>
Public Function ListVirtualMachineScaleSetVMNetworkInterfacesAsync (operations As INetworkInterfacesOperations, resourceGroupName As String, virtualMachineScaleSetName As String, virtualmachineIndex As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of NetworkInterface))

Parameters

operations
INetworkInterfacesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

virtualMachineScaleSetName
String

The name of the virtual machine scale set.

virtualmachineIndex
String

The virtual machine index.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to