ExternalEvaluationEndpointInvocationResult Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.models.ExternalEvaluationEndpointInvocationResult

Implements

public final class ExternalEvaluationEndpointInvocationResult
implements JsonSerializable<ExternalEvaluationEndpointInvocationResult>

The external evaluation endpoint invocation results.

Method Summary

Modifier and Type Method and Description
Object additionalInfo()

Get the additionalInfo property: The endpoint specific metadata.

Object claims()

Get the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation.

String endpointKind()

Get the endpointKind property: The external evaluation endpoint kind.

OffsetDateTime expiration()

Get the expiration property: The expiration of the results.

static ExternalEvaluationEndpointInvocationResult fromJson(JsonReader jsonReader)

Reads an instance of ExternalEvaluationEndpointInvocationResult from the JsonReader.

String message()

Get the message property: The status message with additional details about the invocation result.

PolicyAction policyAction()

Get the policyAction property: The effective outcome of the policy evaluation based on both the policy effect and evaluation result.

Object policyEvaluationDetails()

Get the policyEvaluationDetails property: The evaluation details returned by the policy evaluation engine.

PolicyLogInfo policyInfo()

Get the policyInfo property: The details of the policy requiring the external endpoint invocation.

ExternalEndpointResult result()

Get the result property: The result of the external endpoint.

OffsetDateTime retryAfter()

Get the retryAfter property: The date and time after which a failed endpoint invocation can be retried.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

additionalInfo

public Object additionalInfo()

Get the additionalInfo property: The endpoint specific metadata.

Returns:

the additionalInfo value.

claims

public Object claims()

Get the claims property: The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation.

Returns:

the claims value.

endpointKind

public String endpointKind()

Get the endpointKind property: The external evaluation endpoint kind.

Returns:

the endpointKind value.

expiration

public OffsetDateTime expiration()

Get the expiration property: The expiration of the results.

Returns:

the expiration value.

fromJson

public static ExternalEvaluationEndpointInvocationResult fromJson(JsonReader jsonReader)

Reads an instance of ExternalEvaluationEndpointInvocationResult from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ExternalEvaluationEndpointInvocationResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ExternalEvaluationEndpointInvocationResult.

message

public String message()

Get the message property: The status message with additional details about the invocation result.

Returns:

the message value.

policyAction

public PolicyAction policyAction()

Get the policyAction property: The effective outcome of the policy evaluation based on both the policy effect and evaluation result. Possible values are Unknown, Allow, Audit, Deny, Error.

Returns:

the policyAction value.

policyEvaluationDetails

public Object policyEvaluationDetails()

Get the policyEvaluationDetails property: The evaluation details returned by the policy evaluation engine.

Returns:

the policyEvaluationDetails value.

policyInfo

public PolicyLogInfo policyInfo()

Get the policyInfo property: The details of the policy requiring the external endpoint invocation.

Returns:

the policyInfo value.

result

public ExternalEndpointResult result()

Get the result property: The result of the external endpoint. Possible values are Succeeded and Failed.

Returns:

the result value.

retryAfter

public OffsetDateTime retryAfter()

Get the retryAfter property: The date and time after which a failed endpoint invocation can be retried.

Returns:

the retryAfter value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to