PolicyDetails Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. PolicyDetails
- com.
public final class PolicyDetails
The policy details.
Constructor Summary
Constructor | Description |
---|---|
PolicyDetails() |
Creates an instance of Policy |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
policyAssignmentDisplayName()
Get the policy |
String |
policyAssignmentId()
Get the policy |
String |
policyAssignmentScope()
Get the policy |
String |
policyDefinitionId()
Get the policy |
String |
policyDefinitionReferenceId()
Get the policy |
String |
policySetDefinitionId()
Get the policy |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
PolicyDetails
public PolicyDetails()
Creates an instance of PolicyDetails class.
Method Details
policyAssignmentDisplayName
public String policyAssignmentDisplayName()
Get the policyAssignmentDisplayName property: The display name of the policy assignment.
Returns:
policyAssignmentId
public String policyAssignmentId()
Get the policyAssignmentId property: The ID of the policy assignment.
Returns:
policyAssignmentScope
public String policyAssignmentScope()
Get the policyAssignmentScope property: The scope of the policy assignment.
Returns:
policyDefinitionId
public String policyDefinitionId()
Get the policyDefinitionId property: The ID of the policy definition.
Returns:
policyDefinitionReferenceId
public String policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: The policy definition reference ID within the policy set definition.
Returns:
policySetDefinitionId
public String policySetDefinitionId()
Get the policySetDefinitionId property: The ID of the policy set definition.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for