import type { PagedAsyncIterableIterator } from "@azure/core-paging"; import type { SimplePollerLike, OperationState } from "@azure/core-lro"; import type { WebApplicationFirewallPolicy, WebApplicationFirewallPoliciesListOptionalParams, WebApplicationFirewallPoliciesListAllOptionalParams, WebApplicationFirewallPoliciesGetOptionalParams, WebApplicationFirewallPoliciesGetResponse, WebApplicationFirewallPoliciesCreateOrUpdateOptionalParams, WebApplicationFirewallPoliciesCreateOrUpdateResponse, WebApplicationFirewallPoliciesDeleteOptionalParams } from "../models/index.js"; /** Interface representing a WebApplicationFirewallPolicies. */ export interface WebApplicationFirewallPolicies { /** * Lists all of the protection policies within a resource group. * @param resourceGroupName The name of the resource group. * @param options The options parameters. */ list(resourceGroupName: string, options?: WebApplicationFirewallPoliciesListOptionalParams): PagedAsyncIterableIterator; /** * Gets all the WAF policies in a subscription. * @param options The options parameters. */ listAll(options?: WebApplicationFirewallPoliciesListAllOptionalParams): PagedAsyncIterableIterator; /** * Retrieve protection policy with specified name within a resource group. * @param resourceGroupName The name of the resource group. * @param policyName The name of the policy. * @param options The options parameters. */ get(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesGetOptionalParams): Promise; /** * Creates or update policy with specified rule set name within a resource group. * @param resourceGroupName The name of the resource group. * @param policyName The name of the policy. * @param parameters Policy to be created. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, policyName: string, parameters: WebApplicationFirewallPolicy, options?: WebApplicationFirewallPoliciesCreateOrUpdateOptionalParams): Promise; /** * Deletes Policy. * @param resourceGroupName The name of the resource group. * @param policyName The name of the policy. * @param options The options parameters. */ beginDelete(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesDeleteOptionalParams): Promise, void>>; /** * Deletes Policy. * @param resourceGroupName The name of the resource group. * @param policyName The name of the policy. * @param options The options parameters. */ beginDeleteAndWait(resourceGroupName: string, policyName: string, options?: WebApplicationFirewallPoliciesDeleteOptionalParams): Promise; } //# sourceMappingURL=webApplicationFirewallPolicies.d.ts.map