Class CheckRestrictionsResultContentEvaluationResult

java.lang.Object
com.azure.resourcemanager.policyinsights.models.CheckRestrictionsResultContentEvaluationResult

public final class CheckRestrictionsResultContentEvaluationResult extends Object
Evaluation results for the provided partial resource content.
  • Constructor Details

    • CheckRestrictionsResultContentEvaluationResult

      public CheckRestrictionsResultContentEvaluationResult()
      Creates an instance of CheckRestrictionsResultContentEvaluationResult class.
  • Method Details

    • policyEvaluations

      public List<PolicyEvaluationResult> policyEvaluations()
      Get the policyEvaluations property: Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.
      Returns:
      the policyEvaluations value.
    • withPolicyEvaluations

      public CheckRestrictionsResultContentEvaluationResult withPolicyEvaluations(List<PolicyEvaluationResult> policyEvaluations)
      Set the policyEvaluations property: Policy evaluation results against the given resource content. This will indicate if the partial content that was provided will be denied as-is.
      Parameters:
      policyEvaluations - the policyEvaluations value to set.
      Returns:
      the CheckRestrictionsResultContentEvaluationResult object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.