Language

ExternalEvaluationEnforcementSettings Class

Definition

The details of the source of external evaluation results required by the policy during enforcement evaluation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ExternalEvaluationEnforcementSettingsTypeConverter))]
public class ExternalEvaluationEnforcementSettings : Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IExternalEvaluationEnforcementSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.ExternalEvaluationEnforcementSettingsTypeConverter))>]
type ExternalEvaluationEnforcementSettings = class
    interface IExternalEvaluationEnforcementSettings
    interface IJsonSerializable
Public Class ExternalEvaluationEnforcementSettings
Implements IExternalEvaluationEnforcementSettings
Inheritance
ExternalEvaluationEnforcementSettings
Attributes
Implements

Constructors

Name Description
ExternalEvaluationEnforcementSettings()

Creates an new ExternalEvaluationEnforcementSettings instance.

Properties

Name Description
EndpointSettingDetail

The details of the endpoint.

EndpointSettingKind

The kind of the endpoint.

MissingTokenAction

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.

ResultLifespan

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.

RoleDefinitionId

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

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ExternalEvaluationEnforcementSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ExternalEvaluationEnforcementSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Policy.Models.IExternalEvaluationEnforcementSettings.

FromJsonString(String)

Creates a new instance of ExternalEvaluationEnforcementSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of ExternalEvaluationEnforcementSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to