Share via


MockableCdnSubscriptionResource.GetManagedRuleSetsAsync Method

Definition

Lists all available managed rule sets.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets
  • Operation Id: ManagedRuleSets_List
  • Default Api Version: 2024-02-01
public virtual Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition> GetManagedRuleSetsAsync (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedRuleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition>
override this.GetManagedRuleSetsAsync : System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Cdn.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