ArmPolicyInsightsModelFactory.CheckPolicyRestrictionsResult 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET