共用方式為


PolicyDefinitionReference Class

The policy definition reference.

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

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

Constructor

PolicyDefinitionReference(*, policy_definition_id: str, definition_version: str | None = None, 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.

definition_version
str

The version of the policy definition to use.

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.

definition_version
str

The version of the policy definition to use.

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.