IpAllocationsOperationsExtensions.ListByResourceGroupAsync(IIpAllocationsOperations, String, CancellationToken) Method

Definition

Gets all IpAllocations in a resource group.

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

Parameters

operations
IIpAllocationsOperations

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<IpAllocation>>

Applies to