Class PolicyReference
- java.lang.Object
-
- com.azure.resourcemanager.policyinsights.models.PolicyReference
-
public final class PolicyReference extends Object
Resource identifiers for a policy.
-
-
Constructor Summary
Constructors Constructor Description PolicyReference()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
policyAssignmentId()
Get the policyAssignmentId property: The resource identifier of the policy assignment.String
policyDefinitionId()
Get the policyDefinitionId property: The resource identifier of the policy definition.String
policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: The reference identifier of a specific policy definition within a policy set definition.String
policySetDefinitionId()
Get the policySetDefinitionId property: The resource identifier of the policy set definition.void
validate()
Validates the instance.
-
-
-
Method Detail
-
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.
-
-