import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Retrieve protection policy with specified name within a resource group. * * Uses Azure REST API version 2025-11-01. * * Other available API versions: 2018-08-01, 2019-03-01, 2019-10-01, 2020-04-01, 2020-11-01, 2021-06-01, 2022-05-01, 2024-02-01, 2025-03-01, 2025-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native frontdoor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPolicy(args: GetPolicyArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetPolicyArgs { /** * The name of the Web Application Firewall Policy. */ policyName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; } /** * Defines web application firewall policy. */ export interface GetPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Describes custom rules inside the policy. */ readonly customRules?: outputs.frontdoor.CustomRuleListResponse; /** * Gets a unique read-only string that changes whenever the resource is updated. */ readonly etag?: string; /** * Describes Frontend Endpoints associated with this Web Application Firewall policy. */ readonly frontendEndpointLinks: outputs.frontdoor.FrontendEndpointLinkResponse[]; /** * Resource ID. */ readonly id: string; /** * Resource location. */ readonly location?: string; /** * Describes managed rules inside the policy. */ readonly managedRules?: outputs.frontdoor.ManagedRuleSetListResponse; /** * Resource name. */ readonly name: string; /** * Describes settings for the policy. */ readonly policySettings?: outputs.frontdoor.PolicySettingsResponse; /** * Provisioning state of the policy. */ readonly provisioningState: string; /** * Resource status of the policy. */ readonly resourceState: string; /** * Describes Routing Rules associated with this Web Application Firewall policy. */ readonly routingRuleLinks: outputs.frontdoor.RoutingRuleLinkResponse[]; /** * Describes Security Policy associated with this Web Application Firewall policy. */ readonly securityPolicyLinks: outputs.frontdoor.SecurityPolicyLinkResponse[]; /** * The pricing tier of web application firewall policy. Defaults to Classic_AzureFrontDoor if not specified. */ readonly sku?: outputs.frontdoor.SkuResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type. */ readonly type: string; } /** * Retrieve protection policy with specified name within a resource group. * * Uses Azure REST API version 2025-11-01. * * Other available API versions: 2018-08-01, 2019-03-01, 2019-10-01, 2020-04-01, 2020-11-01, 2021-06-01, 2022-05-01, 2024-02-01, 2025-03-01, 2025-10-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native frontdoor [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getPolicyOutput(args: GetPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; export interface GetPolicyOutputArgs { /** * The name of the Web Application Firewall Policy. */ policyName: pulumi.Input; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input; } //# sourceMappingURL=getPolicy.d.ts.map