getPolicy

Retrieve protection policy with specified name within a resource group. Uses Azure REST API version 2024-02-01. Other available API versions: 2019-03-01, 2019-10-01, 2020-04-01, 2020-11-01, 2021-06-01, 2022-05-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/#accessing-any-api-version-via-local-packages for details.

Return

Defines web application firewall policy.

Parameters

argument

null


suspend fun getPolicy(policyName: String, resourceGroupName: String): GetPolicyResult

Return

Defines web application firewall policy.

Parameters

policyName

The name of the Web Application Firewall Policy.

resourceGroupName

Name of the Resource group within the Azure subscription.

See also


suspend fun getPolicy(argument: suspend GetPolicyPlainArgsBuilder.() -> Unit): GetPolicyResult

Return

Defines web application firewall policy.

Parameters

argument

Builder for com.pulumi.azurenative.frontdoor.kotlin.inputs.GetPolicyPlainArgs.

See also