Share via


VirtualMachineScaleSetVmNetworkResource.GetAllPublicIPAddressData 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.Pageable<Azure.ResourceManager.Network.PublicIPAddressData> GetAllPublicIPAddressData (string networkInterfaceName, string ipConfigurationName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAllPublicIPAddressData : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.PublicIPAddressData>
override this.GetAllPublicIPAddressData : string * string * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Network.PublicIPAddressData>
Public Overridable Function GetAllPublicIPAddressData (networkInterfaceName As String, ipConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of PublicIPAddressData)

Parameters

networkInterfaceName
String

The network interface name.

ipConfigurationName
String

The IP configuration name.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A 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