VirtualMachineScaleSetVmNetworkResource.GetAllPublicIPAddressDataAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.