get Policy Definition
This operation retrieves the policy definition in the given subscription with the given name. Uses Azure REST API version 2025-01-01. Other available API versions: 2020-09-01, 2021-06-01, 2023-04-01, 2024-05-01, 2025-03-01. 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 definition.
Parameters
argument
null
Return
The policy definition.
Parameters
policy Definition Name
The name of the policy definition to get.
See also
suspend fun getPolicyDefinition(argument: suspend GetPolicyDefinitionPlainArgsBuilder.() -> Unit): GetPolicyDefinitionResult
Return
The policy definition.
Parameters
argument
Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetPolicyDefinitionPlainArgs.