getPolicy

Retrieve protection policy with specified name within a resource group. Uses Azure REST API version 2024-09-01. Other available API versions: 2023-05-01, 2023-07-01-preview, 2024-02-01, 2024-05-01-preview, 2024-06-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native cdn [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Return

Defines web application firewall policy for Azure CDN.

Parameters

argument

null


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

Return

Defines web application firewall policy for Azure CDN.

Parameters

policyName

The name of the CdnWebApplicationFirewallPolicy.

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 for Azure CDN.

Parameters

argument

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

See also