Class PolicyReference
java.lang.Object
com.azure.resourcemanager.policyinsights.models.PolicyReference
Resource identifiers for a policy.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the policyAssignmentId property: The resource identifier of the policy assignment.Get the policyDefinitionId property: The resource identifier of the policy definition.Get the policyDefinitionReferenceId property: The reference identifier of a specific policy definition within a policy set definition.Get the policySetDefinitionId property: The resource identifier of the policy set definition.void
validate()
Validates the instance.
-
Constructor Details
-
PolicyReference
public PolicyReference()Creates an instance of PolicyReference class.
-
-
Method Details
-
policyDefinitionId
Get the policyDefinitionId property: The resource identifier of the policy definition.- Returns:
- the policyDefinitionId value.
-
policySetDefinitionId
Get the policySetDefinitionId property: The resource identifier of the policy set definition.- Returns:
- the policySetDefinitionId value.
-
policyDefinitionReferenceId
Get the policyDefinitionReferenceId property: The reference identifier of a specific policy definition within a policy set definition.- Returns:
- the policyDefinitionReferenceId value.
-
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.
-