PolicyDefinitionProperties Class
The policy definition properties.
Constructor
PolicyDefinitionProperties(*args: Any, **kwargs: Any)
Variables
| Name | Description |
|---|---|
|
policy_type
|
str or
PolicyType
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static". |
|
mode
|
The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. |
|
display_name
|
The display name of the policy definition. |
|
description
|
The policy definition description. |
|
policy_rule
|
The policy rule. |
|
metadata
|
The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. |
|
parameters
|
The parameter definitions for parameters used in the policy rule. The keys are the parameter names. |
|
version
|
The policy definition version in #.#.# format. |
|
versions
|
A list of available versions for this policy definition. |
|
external_evaluation_enforcement_settings
|
The details of the source of external evaluation results required by the policy during enforcement evaluation. |
Attributes
description
The policy definition description.
description: str | None
display_name
The display name of the policy definition.
display_name: str | None
external_evaluation_enforcement_settings
The details of the source of external evaluation results required by the policy during enforcement evaluation.
external_evaluation_enforcement_settings: _models.ExternalEvaluationEnforcementSettings | None
metadata
The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs.
metadata: Any | None
mode
The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data.
mode: str | None
parameters
The parameter definitions for parameters used in the policy rule. The keys are the parameter names.
parameters: dict[str, '_models.ParameterDefinitionsValue'] | None
policy_rule
The policy rule.
policy_rule: Any | None
policy_type
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. Known values are: "NotSpecified", "BuiltIn", "Custom", and "Static".
policy_type: str | _models.PolicyType | None
version
The policy definition version in #.#.# format.
version: str | None
versions
A list of available versions for this policy definition.
versions: list[str] | None