Bagikan melalui


VirtualMachineScaleSetVmNetworkResource.GetAllIPConfigurationDataAsync Method

Definition

Get the specified network interface ip configuration in a virtual machine scale set.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/virtualMachineScaleSets/{virtualMachineScaleSetName}/virtualMachines/{virtualmachineIndex}/networkInterfaces/{networkInterfaceName}/ipConfigurations
  • Operation Id: VirtualMachineScaleSets_ListIpConfigurations
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> GetAllIPConfigurationDataAsync (string networkInterfaceName, string expand = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllIPConfigurationDataAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData>
override this.GetAllIPConfigurationDataAsync : string * string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData>
Public Overridable Function GetAllIPConfigurationDataAsync (networkInterfaceName As String, Optional expand As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of NetworkInterfaceIPConfigurationData)

Parameters

networkInterfaceName
String

The name of the network interface.

expand
String

Expands referenced resources.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to