PolicyDefinitionData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The policy definition.
public class PolicyDefinitionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Policy.PolicyDefinitionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Policy.PolicyDefinitionData>
type PolicyDefinitionData = class
inherit ResourceData
interface IJsonModel<PolicyDefinitionData>
interface IPersistableModel<PolicyDefinitionData>
Public Class PolicyDefinitionData
Inherits ResourceData
Implements IJsonModel(Of PolicyDefinitionData), IPersistableModel(Of PolicyDefinitionData)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| PolicyDefinitionData() |
Initializes a new instance of PolicyDefinitionData. |
Properties
| Name | Description |
|---|---|
| Description |
The policy definition description. |
| DisplayName |
The display name of the policy definition. |
| ExternalEvaluationEnforcementSettings |
The details of the source of external evaluation results required by the policy during enforcement evaluation. |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| Metadata |
The policy definition metadata. Metadata is an open ended object and is typically a collection of key value pairs. |
| Mode |
The policy definition mode. Some examples are All, Indexed, Microsoft.KeyVault.Data. |
| Name |
The name of the resource. (Inherited from ResourceData) |
| Parameters |
The parameter definitions for parameters used in the policy rule. The keys are the parameter names. |
| PolicyRule |
The policy rule. |
| PolicyType |
The type of policy definition. Possible values are NotSpecified, BuiltIn, Custom, and Static. |
| ResourceType |
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". (Inherited from ResourceData) |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
| Version |
The policy definition version in #.#.# format. |
| Versions |
A list of available versions for this policy definition. |