PolicyDefinitionReference Class

The policy definition reference.

All required parameters must be populated in order to send to Azure.

Inheritance
azure.mgmt.resource.policy._serialization.Model
PolicyDefinitionReference

Constructor

PolicyDefinitionReference(*, policy_definition_id: str, parameters: Dict[str, _models.ParameterValuesValue] | None = None, policy_definition_reference_id: str | None = None, group_names: List[str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
policy_definition_id
str

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

parameters

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

policy_definition_reference_id
str

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

group_names

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

Variables

Name Description
policy_definition_id
str

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

parameters

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

policy_definition_reference_id
str

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

group_names

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