getPolicyExemption

This operation retrieves a single policy exemption, given its name and the scope it was created at. API Version: 2020-07-01-preview.

Return

The policy exemption.

Parameters

argument

null


suspend fun getPolicyExemption(policyExemptionName: String, scope: String): GetPolicyExemptionResult

Return

The policy exemption.

Parameters

policyExemptionName

The name of the policy exemption to delete.

scope

The scope of the policy exemption. Valid scopes are: management group (format: '/providers/Microsoft.Management/managementGroups/{managementGroup}'), subscription (format: '/subscriptions/{subscriptionId}'), resource group (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}', or resource (format: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{parentResourcePath}/{resourceType}/{resourceName}'

See also


Return

The policy exemption.

Parameters

argument

Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetPolicyExemptionPlainArgs.

See also