PolicyDefinitionReference Class

The policy definition reference.

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

Inheritance
PolicyDefinitionReference

Constructor

PolicyDefinitionReference(*, policy_definition_id: str, parameters: Optional[Dict[str, azure.mgmt.resource.policy.v2021_06_01.models._models_py3.ParameterValuesValue]] = None, policy_definition_reference_id: Optional[str] = None, group_names: Optional[List[str]] = None, **kwargs)

Variables

policy_definition_id
str

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

parameters
dict[<xref:str,azure.mgmt.resource.policy.v2021_06_01.models.ParameterValuesValue>]

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
list[str]

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