Share via


FrontDoorExtensions.GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy Method

Definition

Lists all of the protection policies within a subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/frontDoorWebApplicationFirewallPolicies
  • Operation Id: Policies_ListBySubscription
  • Default Api Version: 2024-02-01
  • Resource: FrontDoorWebApplicationFirewallPolicyResource
public static Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource> GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, System.Threading.CancellationToken cancellationToken = default);
static member GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy : Azure.ResourceManager.Resources.SubscriptionResource * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.FrontDoor.FrontDoorWebApplicationFirewallPolicyResource>
<Extension()>
Public Function GetFrontDoorWebApplicationFirewallPoliciesByFrontDoorWebApplicationFirewallPolicy (subscriptionResource As SubscriptionResource, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of FrontDoorWebApplicationFirewallPolicyResource)

Parameters

subscriptionResource
SubscriptionResource

The SubscriptionResource instance the method will execute against.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of FrontDoorWebApplicationFirewallPolicyResource that may take multiple service requests to iterate over.

Exceptions

subscriptionResource is null.

Applies to