다음을 통해 공유


ArmPolicyInsightsModelFactory.PolicyEvaluationDetails Method

Definition

Initializes a new instance of PolicyEvaluationDetails.

public static Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationDetails PolicyEvaluationDetails (System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.ExpressionEvaluationDetails> evaluatedExpressions = default, Azure.ResourceManager.PolicyInsights.Models.IfNotExistsEvaluationDetails ifNotExistsDetails = default);
static member PolicyEvaluationDetails : seq<Azure.ResourceManager.PolicyInsights.Models.ExpressionEvaluationDetails> * Azure.ResourceManager.PolicyInsights.Models.IfNotExistsEvaluationDetails -> Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationDetails
Public Shared Function PolicyEvaluationDetails (Optional evaluatedExpressions As IEnumerable(Of ExpressionEvaluationDetails) = Nothing, Optional ifNotExistsDetails As IfNotExistsEvaluationDetails = Nothing) As PolicyEvaluationDetails

Parameters

evaluatedExpressions
IEnumerable<ExpressionEvaluationDetails>

Details of the evaluated expressions.

ifNotExistsDetails
IfNotExistsEvaluationDetails

Evaluation details of IfNotExists effect.

Returns

A new PolicyEvaluationDetails instance for mocking.

Applies to