ArmPolicyInsightsModelFactory.CheckPolicyRestrictionsResult Method

Definition

Initializes a new instance of CheckPolicyRestrictionsResult.

public static Azure.ResourceManager.PolicyInsights.Models.CheckPolicyRestrictionsResult CheckPolicyRestrictionsResult (System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.FieldRestrictions> fieldRestrictions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult> policyEvaluations = default);
static member CheckPolicyRestrictionsResult : seq<Azure.ResourceManager.PolicyInsights.Models.FieldRestrictions> * seq<Azure.ResourceManager.PolicyInsights.Models.PolicyEvaluationResult> -> Azure.ResourceManager.PolicyInsights.Models.CheckPolicyRestrictionsResult
Public Shared Function CheckPolicyRestrictionsResult (Optional fieldRestrictions As IEnumerable(Of FieldRestrictions) = Nothing, Optional policyEvaluations As IEnumerable(Of PolicyEvaluationResult) = Nothing) As CheckPolicyRestrictionsResult

Parameters

fieldRestrictions
IEnumerable<FieldRestrictions>

The restrictions that will be placed on various fields in the resource by policy.

policyEvaluations
IEnumerable<PolicyEvaluationResult>

Evaluation results for the provided partial resource content.

Returns

A new CheckPolicyRestrictionsResult instance for mocking.

Applies to