Share via


VirtualMachineScaleSetVmNetworkResource.GetAllNetworkInterfaceDataAsync Method

Definition

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

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces
  • Operation Id: VirtualMachineScaleSetVMs_ListNetworkInterfaces
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData> GetAllNetworkInterfaceDataAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllNetworkInterfaceDataAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData>
override this.GetAllNetworkInterfaceDataAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceData>
Public Overridable Function GetAllNetworkInterfaceDataAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkInterfaceData)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of NetworkInterfaceData that may take multiple service requests to iterate over.

Applies to