Share via


MockableCdnSubscriptionResource.GetManagedRuleSets(CancellationToken) 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.Pageable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition> GetManagedRuleSets (System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedRuleSets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition>
override this.GetManagedRuleSets : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Cdn.Models.ManagedRuleSetDefinition>
Public Overridable Function GetManagedRuleSets (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedRuleSetDefinition)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to