ArmResourcesPolicyModelFactory.PolicyExternalEvaluationEndpointInvocationResult Method
Definition
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.
The external evaluation endpoint invocation results.
public static Azure.ResourceManager.Resources.Policy.Models.PolicyExternalEvaluationEndpointInvocationResult PolicyExternalEvaluationEndpointInvocationResult(Azure.ResourceManager.Resources.Policy.Models.PolicyLogInfo policyInfo = default, Azure.ResourceManager.Resources.Policy.Models.PolicyExternalEndpointResult? result = default, string endpointKind = default, string message = default, DateTimeOffset? retryAfter = default, BinaryData claims = default, Azure.ResourceManager.Resources.Policy.Models.PolicyAction? policyAction = default, BinaryData policyEvaluationDetails = default, BinaryData additionalInfo = default, DateTimeOffset? expiresOn = default);
static member PolicyExternalEvaluationEndpointInvocationResult : Azure.ResourceManager.Resources.Policy.Models.PolicyLogInfo * Nullable<Azure.ResourceManager.Resources.Policy.Models.PolicyExternalEndpointResult> * string * string * Nullable<DateTimeOffset> * BinaryData * Nullable<Azure.ResourceManager.Resources.Policy.Models.PolicyAction> * BinaryData * BinaryData * Nullable<DateTimeOffset> -> Azure.ResourceManager.Resources.Policy.Models.PolicyExternalEvaluationEndpointInvocationResult
Public Shared Function PolicyExternalEvaluationEndpointInvocationResult (Optional policyInfo As PolicyLogInfo = Nothing, Optional result As Nullable(Of PolicyExternalEndpointResult) = Nothing, Optional endpointKind As String = Nothing, Optional message As String = Nothing, Optional retryAfter As Nullable(Of DateTimeOffset) = Nothing, Optional claims As BinaryData = Nothing, Optional policyAction As Nullable(Of PolicyAction) = Nothing, Optional policyEvaluationDetails As BinaryData = Nothing, Optional additionalInfo As BinaryData = Nothing, Optional expiresOn As Nullable(Of DateTimeOffset) = Nothing) As PolicyExternalEvaluationEndpointInvocationResult
Parameters
- policyInfo
- PolicyLogInfo
The details of the policy requiring the external endpoint invocation.
- result
- Nullable<PolicyExternalEndpointResult>
The result of the external endpoint. Possible values are Succeeded and Failed.
- endpointKind
- String
The external evaluation endpoint kind.
- message
- String
The status message with additional details about the invocation result.
- retryAfter
- Nullable<DateTimeOffset>
The date and time after which a failed endpoint invocation can be retried.
- claims
- BinaryData
The set of claims that will be attached to the policy token as an attestation for the result of the endpoint invocation.
- policyAction
- Nullable<PolicyAction>
The effective outcome of the policy evaluation based on both the policy effect and evaluation result. Possible values are Unknown, Allow, Audit, Deny, Error.
- policyEvaluationDetails
- BinaryData
The evaluation details returned by the policy evaluation engine.
- additionalInfo
- BinaryData
The endpoint specific metadata.
- expiresOn
- Nullable<DateTimeOffset>
The expiration of the results.
Returns
A new PolicyExternalEvaluationEndpointInvocationResult instance for mocking.