get Policy Definition Version
suspend fun getPolicyDefinitionVersion(argument: GetPolicyDefinitionVersionPlainArgs): GetPolicyDefinitionVersionResult
This operation retrieves the policy definition version in the given subscription with the given name. Uses Azure REST API version 2023-04-01. Other available API versions: 2024-05-01, 2025-01-01, 2025-03-01.
Return
The ID of the policy definition version.
Parameters
argument
null
suspend fun getPolicyDefinitionVersion(policyDefinitionName: String, policyDefinitionVersion: String): GetPolicyDefinitionVersionResult
Return
The ID of the policy definition version.
Parameters
policy Definition Name
The name of the policy definition.
policy Definition Version
The policy definition version. The format is x.y.z where x is the major version number, y is the minor version number, and z is the patch number
See also
suspend fun getPolicyDefinitionVersion(argument: suspend GetPolicyDefinitionVersionPlainArgsBuilder.() -> Unit): GetPolicyDefinitionVersionResult
Return
The ID of the policy definition version.
Parameters
argument
Builder for com.pulumi.azurenative.authorization.kotlin.inputs.GetPolicyDefinitionVersionPlainArgs.