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: MutableMapping[str, Any] | None = None, policy_definitions: List[_models.PolicyDefinitionReference] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
policy_type

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

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.

parameters
<xref:JSON>

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

policy_definitions

An array of policy definition references.

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, and Custom. Known values are: "NotSpecified", "BuiltIn", and "Custom".

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.

parameters
<xref:JSON>

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

policy_definitions

An array of policy definition references.