PolicySetDefinition Class

The policy set definition.

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

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

Constructor

PolicySetDefinition(*, 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, **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.

Variables

Name Description
id
str

The ID of the policy set definition.

name
str

The name of the policy set definition.

type
str

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

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.