Share via


MockableNetworkSubscriptionResource.GetWebApplicationFirewallPoliciesAsync Method

Definition

Gets all the WAF policies in a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies
  • Operation Id: WebApplicationFirewallPolicies_ListAll
  • Default Api Version: 2024-03-01
  • Resource: WebApplicationFirewallPolicyResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.Network.WebApplicationFirewallPolicyResource> GetWebApplicationFirewallPoliciesAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetWebApplicationFirewallPoliciesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.WebApplicationFirewallPolicyResource>
override this.GetWebApplicationFirewallPoliciesAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Network.WebApplicationFirewallPolicyResource>
Public Overridable Function GetWebApplicationFirewallPoliciesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of WebApplicationFirewallPolicyResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of WebApplicationFirewallPolicyResource that may take multiple service requests to iterate over.

Applies to