Share via


VirtualMachineScaleSetVmNetworkResource.GetAllPublicIPAddressDataAsync Method

Definition

Gets information about all public IP addresses in a virtual machine IP configuration in a virtual machine scale set.

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

Parameters

networkInterfaceName
String

The network interface name.

ipConfigurationName
String

The IP configuration name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

networkInterfaceName or ipConfigurationName is an empty string, and was expected to be non-empty.

networkInterfaceName or ipConfigurationName is null.

Applies to