getPolicyExemption

This operation retrieves a single policy exemption, given its name and the scope it was created at. Uses Azure REST API version 2022-07-01-preview. Other available API versions: 2020-07-01-preview, 2024-12-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native authorization [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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