getApiPolicy

Get the policy configuration at the API level. API Version: 2020-12-01.

Return

Policy Contract details.

Parameters

argument

null


suspend fun getApiPolicy(apiId: String, format: String? = null, policyId: String, resourceGroupName: String, serviceName: String): GetApiPolicyResult

Return

Policy Contract details.

Parameters

apiId

API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

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


Return

Policy Contract details.

Parameters

argument

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

See also