getPolicy

Get the Global policy definition of the Api Management service. API Version: 2020-12-01.

Return

Policy Contract details.

Parameters

argument

null


suspend fun getPolicy(format: String? = null, policyId: String, resourceGroupName: String, serviceName: String): GetPolicyResult

Return

Policy Contract details.

Parameters

format

Policy Export Format.

policyId

The identifier of the Policy.

resourceGroupName

The name of the resource group.

serviceName

The name of the API Management service.

See also


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

Return

Policy Contract details.

Parameters

argument

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

See also