PolicySetDefinition Class

The policy set definition.

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

Inheritance
PolicySetDefinition

Constructor

PolicySetDefinition(*, policy_type: typing.Union[str, _ForwardRef('PolicyType'), NoneType] = None, display_name: typing.Union[str, NoneType] = None, description: typing.Union[str, NoneType] = None, metadata: typing.Union[typing.Any, NoneType] = None, parameters: typing.Union[typing.Dict[str, _ForwardRef('ParameterDefinitionsValue')], NoneType] = None, policy_definitions: typing.Union[typing.List[_ForwardRef('PolicyDefinitionReference')], NoneType] = None, policy_definition_groups: typing.Union[typing.List[_ForwardRef('PolicyDefinitionGroup')], NoneType] = None, **kwargs)

Parameters

policy_type
str or PolicyType
Required

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

display_name
str
Required

The display name of the policy set definition.

description
str
Required

The policy set definition description.

metadata
any
Required

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

parameters
dict[<xref:str,azure.mgmt.resource.policy.v2020_09_01.models.ParameterDefinitionsValue>]
Required

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

policy_definitions
list[PolicyDefinitionReference]
Required

An array of policy definition references.

policy_definition_groups
list[PolicyDefinitionGroup]
Required

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

Variables

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).