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.ModelPolicySetDefinition
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, version: str | None = None, versions: List[str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
policy_type
|
str or
PolicyType
The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static". |
display_name
|
The display name of the policy set definition. |
description
|
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
|
The policy set definition version in #.#.# format. |
versions
|
A list of available versions for this policy set definition. |
Variables
Name | Description |
---|---|
id
|
The ID of the policy set definition. |
name
|
The name of the policy set definition. |
type
|
The type of the resource (Microsoft.Authorization/policySetDefinitions). |
system_data
|
The system metadata relating to this resource. |
policy_type
|
str or
PolicyType
The type of policy set definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static". |
display_name
|
The display name of the policy set definition. |
description
|
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
|
The policy set definition version in #.#.# format. |
versions
|
A list of available versions for this policy set definition. |
Azure SDK for Python