VirtualMachineScaleSetVmNetworkResource.GetAllPublicIPAddressDataAsync Method

Definition

Invokes the GetAllPublicIPAddressDataAsync compatibility operation.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.PublicIPAddressData> GetAllPublicIPAddressDataAsync(string virtualMachineScaleSetName, string virtualmachineIndex, System.Threading.CancellationToken cancellationToken);
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>
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 (virtualMachineScaleSetName As String, virtualmachineIndex As String, cancellationToken As CancellationToken) As AsyncPageable(Of PublicIPAddressData)
Public Overridable Function GetAllPublicIPAddressDataAsync (networkInterfaceName As String, ipConfigurationName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PublicIPAddressData)

Parameters

virtualMachineScaleSetNamenetworkInterfaceName
String
virtualmachineIndexipConfigurationName
String
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