PublicIPAddressesOperationsExtensions.ListAsync(IPublicIPAddressesOperations, String, CancellationToken) Method

Definition

Gets all public IP addresses in a resource group.

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.PublicIPAddress>> ListAsync (this Microsoft.Azure.Management.Network.IPublicIPAddressesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.IPublicIPAddressesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Models.PublicIPAddress>>
<Extension()>
Public Function ListAsync (operations As IPublicIPAddressesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of PublicIPAddress))

Parameters

operations
IPublicIPAddressesOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task<IPage<PublicIPAddress>>

Applies to