Class PolicyReference

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

public final class PolicyReference extends Object
Resource identifiers for a policy.
  • Constructor Details

    • PolicyReference

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

    • policyDefinitionId

      public String policyDefinitionId()
      Get the policyDefinitionId property: The resource identifier of the policy definition.
      Returns:
      the policyDefinitionId value.
    • policySetDefinitionId

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

      public String policyDefinitionReferenceId()
      Get the policyDefinitionReferenceId property: The reference identifier of a specific policy definition within a policy set definition.
      Returns:
      the policyDefinitionReferenceId value.
    • policyAssignmentId

      public String policyAssignmentId()
      Get the policyAssignmentId property: The resource identifier of the policy assignment.
      Returns:
      the policyAssignmentId value.
    • validate

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