PolicyState Interface
public interface PolicyState
An immutable client-side representation of PolicyState.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Map<String,Object> |
additionalProperties()
Gets the additional |
abstract String |
complianceState()
Gets the compliance |
abstract
List<Component |
components()
Gets the components property: Components state compliance records populated only when URL contains $expand=components clause. |
abstract String |
effectiveParameters()
Gets the effective |
abstract
Policy |
innerModel()
Gets the inner com. |
abstract Boolean |
isCompliant()
Gets the is |
abstract String |
managementGroupIds()
Gets the management |
abstract String |
odataContext()
Gets the odata |
abstract String |
odataId()
Gets the odata |
abstract String |
policyAssignmentId()
Gets the policy |
abstract String |
policyAssignmentName()
Gets the policy |
abstract String |
policyAssignmentOwner()
Gets the policy |
abstract String |
policyAssignmentParameters()
Gets the policy |
abstract String |
policyAssignmentScope()
Gets the policy |
abstract String |
policyAssignmentVersion()
Gets the policy |
abstract String |
policyDefinitionAction()
Gets the policy |
abstract String |
policyDefinitionCategory()
Gets the policy |
abstract List<String> |
policyDefinitionGroupNames()
Gets the policy |
abstract String |
policyDefinitionId()
Gets the policy |
abstract String |
policyDefinitionName()
Gets the policy |
abstract String |
policyDefinitionReferenceId()
Gets the policy |
abstract String |
policyDefinitionVersion()
Gets the policy |
abstract
Policy |
policyEvaluationDetails()
Gets the policy |
abstract String |
policySetDefinitionCategory()
Gets the policy |
abstract String |
policySetDefinitionId()
Gets the policy |
abstract String |
policySetDefinitionName()
Gets the policy |
abstract String |
policySetDefinitionOwner()
Gets the policy |
abstract String |
policySetDefinitionParameters()
Gets the policy |
abstract String |
policySetDefinitionVersion()
Gets the policy |
abstract String |
resourceGroup()
Gets the resource |
abstract String |
resourceId()
Gets the resource |
abstract String |
resourceLocation()
Gets the resource |
abstract String |
resourceTags()
Gets the resource |
abstract String |
resourceType()
Gets the resource |
abstract String |
subscriptionId()
Gets the subscription |
abstract
Offset |
timestamp()
Gets the timestamp property: Timestamp for the policy state record. |
Method Details
additionalProperties
public abstract Map
Gets the additionalProperties property: Policy state record.
Returns:
complianceState
public abstract String complianceState()
Gets the complianceState property: Compliance state of the resource.
Returns:
components
public abstract List
Gets the components property: Components state compliance records populated only when URL contains $expand=components clause.
Returns:
effectiveParameters
public abstract String effectiveParameters()
Gets the effectiveParameters property: Effective parameters for the policy assignment.
Returns:
innerModel
public abstract PolicyStateInner innerModel()
Gets the inner com.azure.resourcemanager.policyinsights.fluent.models.PolicyStateInner object.
Returns:
isCompliant
public abstract Boolean isCompliant()
Gets the isCompliant property: Flag which states whether the resource is compliant against the policy assignment it was evaluated against. This property is deprecated; please use ComplianceState instead.
Returns:
managementGroupIds
public abstract String managementGroupIds()
Gets the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy of the management groups the resource is under.
Returns:
odataContext
public abstract String odataContext()
Gets the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
Returns:
odataId
public abstract String odataId()
Gets the odataId property: OData entity ID; always set to null since policy state records do not have an entity ID.
Returns:
policyAssignmentId
public abstract String policyAssignmentId()
Gets the policyAssignmentId property: Policy assignment ID.
Returns:
policyAssignmentName
public abstract String policyAssignmentName()
Gets the policyAssignmentName property: Policy assignment name.
Returns:
policyAssignmentOwner
public abstract String policyAssignmentOwner()
Gets the policyAssignmentOwner property: Policy assignment owner.
Returns:
policyAssignmentParameters
public abstract String policyAssignmentParameters()
Gets the policyAssignmentParameters property: Policy assignment parameters.
Returns:
policyAssignmentScope
public abstract String policyAssignmentScope()
Gets the policyAssignmentScope property: Policy assignment scope.
Returns:
policyAssignmentVersion
public abstract String policyAssignmentVersion()
Gets the policyAssignmentVersion property: Evaluated policy assignment version.
Returns:
policyDefinitionAction
public abstract String policyDefinitionAction()
Gets the policyDefinitionAction property: Policy definition action, i.e. effect.
Returns:
policyDefinitionCategory
public abstract String policyDefinitionCategory()
Gets the policyDefinitionCategory property: Policy definition category.
Returns:
policyDefinitionGroupNames
public abstract List
Gets the policyDefinitionGroupNames property: Policy definition group names.
Returns:
policyDefinitionId
public abstract String policyDefinitionId()
Gets the policyDefinitionId property: Policy definition ID.
Returns:
policyDefinitionName
public abstract String policyDefinitionName()
Gets the policyDefinitionName property: Policy definition name.
Returns:
policyDefinitionReferenceId
public abstract String policyDefinitionReferenceId()
Gets the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if the policy assignment is for a policy set.
Returns:
policyDefinitionVersion
public abstract String policyDefinitionVersion()
Gets the policyDefinitionVersion property: Evaluated policy definition version.
Returns:
policyEvaluationDetails
public abstract PolicyEvaluationDetails policyEvaluationDetails()
Gets the policyEvaluationDetails property: Policy evaluation details.
Returns:
policySetDefinitionCategory
public abstract String policySetDefinitionCategory()
Gets the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a policy set.
Returns:
policySetDefinitionId
public abstract String policySetDefinitionId()
Gets the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
Returns:
policySetDefinitionName
public abstract String policySetDefinitionName()
Gets the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy set.
Returns:
policySetDefinitionOwner
public abstract String policySetDefinitionOwner()
Gets the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy set.
Returns:
policySetDefinitionParameters
public abstract String policySetDefinitionParameters()
Gets the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for a policy set.
Returns:
policySetDefinitionVersion
public abstract String policySetDefinitionVersion()
Gets the policySetDefinitionVersion property: Evaluated policy set definition version.
Returns:
resourceGroup
public abstract String resourceGroup()
Gets the resourceGroup property: Resource group name.
Returns:
resourceId
public abstract String resourceId()
Gets the resourceId property: Resource ID.
Returns:
resourceLocation
public abstract String resourceLocation()
Gets the resourceLocation property: Resource location.
Returns:
resourceTags
public abstract String resourceTags()
Gets the resourceTags property: List of resource tags.
Returns:
resourceType
public abstract String resourceType()
Gets the resourceType property: Resource type.
Returns:
subscriptionId
public abstract String subscriptionId()
Gets the subscriptionId property: Subscription ID.
Returns:
timestamp
public abstract OffsetDateTime timestamp()
Gets the timestamp property: Timestamp for the policy state record.
Returns:
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