PolicyDefinitionReference Class

The policy definition reference.

Constructor

PolicyDefinitionReference()

Variables

Name Description
policyDefinitionId
str

The ID of the policy definition or policy set definition. Required.

definitionVersion
str

The version of the policy definition to use.

latestDefinitionVersion
str

The latest version of the policy definition available. This is only present if requested via the $expand query parameter.

effectiveDefinitionVersion
str

The effective version of the policy definition in use. This is only present if requested via the $expand query parameter.

parameters
dict[str, <xref:"ParameterValuesValue">]

The parameter values for the referenced policy rule. The keys are the parameter names.

policyDefinitionReferenceId
str

A unique id (within the policy set definition) for this policy definition reference.

groupNames

The name of the groups that this policy definition reference belongs to.

Attributes

definitionVersion

The version of the policy definition to use.

definitionVersion: str

effectiveDefinitionVersion

The effective version of the policy definition in use. This is only present if requested via the $expand query parameter.

effectiveDefinitionVersion: str

groupNames

The name of the groups that this policy definition reference belongs to.

groupNames: list[str]

latestDefinitionVersion

The latest version of the policy definition available. This is only present if requested via the $expand query parameter.

latestDefinitionVersion: str

parameters

The parameter values for the referenced policy rule. The keys are the parameter names.

parameters: dict[str, azure.mgmt.resource.policy.types.ParameterValuesValue]

policyDefinitionId

The ID of the policy definition or policy set definition. Required.

policyDefinitionId: str

policyDefinitionReferenceId

A unique id (within the policy set definition) for this policy definition reference.

policyDefinitionReferenceId: str