Compartilhar via


IPolicyDefinitionProperties Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionPropertiesTypeConverter))]
public interface IPolicyDefinitionProperties : Microsoft.Azure.PowerShell.Cmdlets.Policy.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.PolicyDefinitionPropertiesTypeConverter))>]
type IPolicyDefinitionProperties = interface
    interface IJsonSerializable
Public Interface IPolicyDefinitionProperties
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Description

The policy definition description.

DisplayName

The display name 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.

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.

Version

The policy definition version in #.#.# format.

Versions

A list of available versions for this policy definition.

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to