IPolicyDefinitionVersionProperties Interface

Definition

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

Properties

Name Description
Description

The policy definition description.

DisplayName

The display name of the policy definition.

EndpointSettingDetail

The details of the endpoint.

EndpointSettingKind

The kind of the endpoint.

ExternalEvaluationEnforcementSettingMissingTokenAction

What to do when evaluating an enforcement policy that requires an external evaluation and the token is missing. Possible values are Audit and Deny and language expressions are supported.

ExternalEvaluationEnforcementSettingResultLifespan

The lifespan of the endpoint invocation result after which it's no longer valid. Value is expected to follow the ISO 8601 duration format and language expressions are supported.

ExternalEvaluationEnforcementSettingRoleDefinitionId

An array of the role definition Ids the assignment's MSI will need in order to invoke the endpoint.

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.

Methods

Name Description
ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to