swagger: '2.0' info: version: 2020-08-01-preview title: Microsoft Azure AccessControlClient AccessConnector WebApplicationFirewallManagedRuleSets API schemes: - https tags: - name: WebApplicationFirewallManagedRuleSets paths: /subscriptions/{subscriptionId}/providers/Microsoft.Cdn/cdnWebApplicationFirewallManagedRuleSets: get: tags: - WebApplicationFirewallManagedRuleSets description: Lists all available managed rule sets. operationId: microsoftAzureManagedrulesetsList parameters: - $ref: '#/parameters/subscriptionIdParameter' - $ref: '#/parameters/apiVersionParameter' responses: '200': description: Success. The operation returns a list of all available web application firewall managed rule sets. schema: $ref: '#/definitions/ManagedRuleSetDefinitionList' default: description: Error response describing why the operation failed. schema: $ref: ./cdn.json#/definitions/ErrorResponse x-ms-pageable: nextLinkName: nextLink x-ms-examples: List Policies in a Resource Group: $ref: ./examples/WafListManagedRuleSets.json summary: Microsoft Azure Get Subscriptions Subscriptionid Providers Microsoft Cdn Cdnwebapplicationfirewallmanagedrulesets definitions: ManagedRuleDefinition: description: Describes a managed rule definition. properties: ruleId: description: Identifier for the managed rule. readOnly: true type: string description: description: Describes the functionality of the managed rule. readOnly: true type: string ManagedRuleSetDefinitionList: description: List of managed rule set definitions available for use in a policy. properties: value: description: List of managed rule set definitions. readOnly: true type: array items: $ref: '#/definitions/ManagedRuleSetDefinition' nextLink: type: string description: URL to retrieve next set of managed rule set definitions. ManagedRuleSetDefinition: description: Describes a managed rule set definition. properties: properties: description: Describes managed rule set definition properties. x-ms-client-flatten: true $ref: '#/definitions/ManagedRuleSetDefinitionProperties' sku: description: The pricing tier (defines a CDN provider, feature list and rate) of the CdnWebApplicationFirewallPolicy. $ref: ./cdn.json#/definitions/Sku allOf: - $ref: ./cdn.json#/definitions/Resource ManagedRuleGroupDefinition: description: Describes a managed rule group. properties: ruleGroupName: type: string readOnly: true description: Name of the managed rule group. description: type: string readOnly: true description: Description of the managed rule group. rules: type: array readOnly: true items: $ref: '#/definitions/ManagedRuleDefinition' x-ms-identifiers: - ruleId description: List of rules within the managed rule group. ManagedRuleSetDefinitionProperties: description: Properties for a managed rule set definition. properties: provisioningState: type: string readOnly: true description: Provisioning state of the managed rule set. ruleSetType: type: string readOnly: true description: Type of the managed rule set. ruleSetVersion: type: string readOnly: true description: Version of the managed rule set type. ruleGroups: type: array readOnly: true items: $ref: '#/definitions/ManagedRuleGroupDefinition' x-ms-identifiers: - ruleGroupName description: Rule groups of the managed rule set. parameters: subscriptionIdParameter: name: subscriptionId in: path description: Azure Subscription ID. required: true type: string apiVersionParameter: name: api-version in: query required: true type: string description: Version of the API to be used with the client request. Current version is 2023-05-01. x-ms-parameterized-host: hostTemplate: '{endpoint}' useSchemePrefix: false parameters: - $ref: '#/parameters/Endpoint'