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

public final class PolicyDetails extends Object
The policy details.
  • Constructor Details

    • PolicyDetails

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

    • policyDefinitionId

      public String policyDefinitionId()
      Get the policyDefinitionId property: The ID of the policy definition.
      Returns:
      the policyDefinitionId value.
    • policyAssignmentId

      public String policyAssignmentId()
      Get the policyAssignmentId property: The ID of the policy assignment.
      Returns:
      the policyAssignmentId value.
    • policyAssignmentDisplayName

      public String policyAssignmentDisplayName()
      Get the policyAssignmentDisplayName property: The display name of the policy assignment.
      Returns:
      the policyAssignmentDisplayName value.
    • policyAssignmentScope

      public String policyAssignmentScope()
      Get the policyAssignmentScope property: The scope of the policy assignment.
      Returns:
      the policyAssignmentScope value.
    • policySetDefinitionId

      public String policySetDefinitionId()
      Get the policySetDefinitionId property: The ID of the policy set definition.
      Returns:
      the policySetDefinitionId value.
    • policyDefinitionReferenceId

      public String policyDefinitionReferenceId()
      Get the policyDefinitionReferenceId property: The policy definition reference ID within the policy set definition.
      Returns:
      the policyDefinitionReferenceId value.
    • validate

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