Condividi tramite


PoliciesOperationsExtensions.ListAsync Method

Definition

Lists all of the protection policies within a resource group.

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

Parameters

operations
IPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

Name of the Resource group within the Azure subscription.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to