Compartilhar via


PoliciesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Lists all of the protection policies within a subscription.

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

Parameters

operations
IPoliciesOperations

The operations group for this extension method.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to