共用方式為


PolicySetDefinitionVersion Class

The policy set definition version.

Variables are only populated by the server, and will be ignored when sending a request.

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

Constructor

PolicySetDefinitionVersion(*, policy_type: str | _models.PolicyType | None = None, display_name: str | None = None, description: str | None = None, metadata: MutableMapping[str, Any] | None = None, parameters: Dict[str, _models.ParameterDefinitionsValue] | None = None, policy_definitions: List[_models.PolicyDefinitionReference] | None = None, policy_definition_groups: List[_models.PolicyDefinitionGroup] | None = None, version: str | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
policy_type

The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static".

display_name
str

The display name of the policy set definition.

description
str

The policy set definition description.

metadata
<xref:JSON>

The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.

parameters

The policy set definition parameters that can be used in policy definition references.

policy_definitions

An array of policy definition references.

policy_definition_groups

The metadata describing groups of policy definition references within the policy set definition.

version
str

The policy set definition version in #.#.# format.

Variables

Name Description
id
str

The ID of the policy set definition version.

name
str

The name of the policy set definition version.

type
str

The type of the resource (Microsoft.Authorization/policySetDefinitions/versions).

system_data

The system metadata relating to this resource.

policy_type

The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static".

display_name
str

The display name of the policy set definition.

description
str

The policy set definition description.

metadata
<xref:JSON>

The policy set definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.

parameters

The policy set definition parameters that can be used in policy definition references.

policy_definitions

An array of policy definition references.

policy_definition_groups

The metadata describing groups of policy definition references within the policy set definition.

version
str

The policy set definition version in #.#.# format.