getPolicy

Retrieve protection policy with specified name within a resource group. API Version: 2020-11-01.

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.network.kotlin.inputs.GetPolicyPlainArgs.

See also