MockableFrontDoorSubscriptionResource.GetManagedRuleSetsAsync Method

Definition

Lists all available managed rule sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Network/FrontDoorWebApplicationFirewallManagedRuleSets
  • Operation Id: ManagedRuleSets_List
  • Default Api Version: 2024-02-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleSetDefinition> GetManagedRuleSetsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedRuleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleSetDefinition>
override this.GetManagedRuleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.FrontDoor.Models.ManagedRuleSetDefinition>
Public Overridable Function GetManagedRuleSetsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of ManagedRuleSetDefinition)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to