Delen via


PolicyEvaluationResult Constructors

Definition

Overloads

PolicyEvaluationResult()

Initializes a new instance of the PolicyEvaluationResult class.

PolicyEvaluationResult(PolicyReference, String, PolicyEvaluationDetails)

Initializes a new instance of the PolicyEvaluationResult class.

PolicyEvaluationResult()

Initializes a new instance of the PolicyEvaluationResult class.

public PolicyEvaluationResult ();
Public Sub New ()

Applies to

PolicyEvaluationResult(PolicyReference, String, PolicyEvaluationDetails)

Initializes a new instance of the PolicyEvaluationResult class.

public PolicyEvaluationResult (Microsoft.Azure.Management.PolicyInsights.Models.PolicyReference policyInfo = default, string evaluationResult = default, Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvaluationDetails evaluationDetails = default);
new Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvaluationResult : Microsoft.Azure.Management.PolicyInsights.Models.PolicyReference * string * Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvaluationDetails -> Microsoft.Azure.Management.PolicyInsights.Models.PolicyEvaluationResult
Public Sub New (Optional policyInfo As PolicyReference = Nothing, Optional evaluationResult As String = Nothing, Optional evaluationDetails As PolicyEvaluationDetails = Nothing)

Parameters

policyInfo
PolicyReference

The details of the policy that was evaluated.

evaluationResult
String

The result of the policy evaluation against the resource. This will typically be 'NonCompliant' but may contain other values if errors were encountered.

evaluationDetails
PolicyEvaluationDetails

The detailed results of the policy expressions and values that were evaluated.

Applies to