PublicIPAddressesOperations.ListAsync(String, CancellationToken) Method

Definition

Gets all public IP addresses in a resource group.

public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.Models.PublicIPAddress> ListAsync (string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.PublicIPAddress>
override this.ListAsync : string * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.Models.PublicIPAddress>
Public Overridable Function ListAsync (resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of PublicIPAddress)

Parameters

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token to use.

Returns

AsyncPageable<PublicIPAddress>

Exceptions

System.ArgumentNullException

resourceGroupName is null.

Applies to