Share via


WebApplicationFirewallPoliciesOperationsExtensions.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.Network.Fluent.Models.WebApplicationFirewallPolicyInner>> ListAsync (this Microsoft.Azure.Management.Network.Fluent.IWebApplicationFirewallPoliciesOperations operations, string resourceGroupName, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Management.Network.Fluent.IWebApplicationFirewallPoliciesOperations * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Network.Fluent.Models.WebApplicationFirewallPolicyInner>>
<Extension()>
Public Function ListAsync (operations As IWebApplicationFirewallPoliciesOperations, resourceGroupName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of WebApplicationFirewallPolicyInner))

Parameters

operations
IWebApplicationFirewallPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to