Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IPolicyDefinition Interface
Definition
- Assembly:
- Az.Policy.private.dll
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionTypeConverter))]
public interface IPolicyDefinition : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionTypeConverter))>]
type IPolicyDefinition = interface
interface IJsonSerializable
Public Interface IPolicyDefinition
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
| Name | Description |
|---|---|
| Description |
The policy definition description. |
| DisplayName |
The display name of the policy definition. |
| Id |
The ID of the policy definition. |
| 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 policy definition. |
| Parameter |
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. |
| SystemDataCreatedAt |
The timestamp of resource creation (UTC). |
| SystemDataCreatedBy |
The identity that created the resource. |
| SystemDataCreatedByType |
The type of identity that created the resource. |
| SystemDataLastModifiedAt |
The timestamp of resource last modification (UTC) |
| SystemDataLastModifiedBy |
The identity that last modified the resource. |
| SystemDataLastModifiedByType |
The type of identity that last modified the resource. |
| Type |
The type of the resource (Microsoft.Authorization/policyDefinitions). |
| Version |
The policy definition version in #.#.# format. |
| Versions |
A list of available versions for this policy definition. |
Methods
| Name | Description |
|---|---|
| ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |
