public final class PolicyStateInner extends Object
Constructor and Description |
---|
PolicyStateInner() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additionalProperties property: Policy state record.
|
String |
complianceState()
Get the complianceState property: Compliance state of the resource.
|
List<ComponentStateDetails> |
components()
Get the components property: Components state compliance records populated only when URL contains
$expand=components clause.
|
String |
effectiveParameters()
Get the effectiveParameters property: Effective parameters for the policy assignment.
|
Boolean |
isCompliant()
Get the isCompliant property: Flag which states whether the resource is compliant against the policy assignment
it was evaluated against.
|
String |
managementGroupIds()
Get the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy
of the management groups the resource is under.
|
String |
odataContext()
Get the odataContext property: OData context string; used by OData clients to resolve type information based on
metadata.
|
String |
odataId()
Get the odataId property: OData entity ID; always set to null since policy state records do not have an entity
ID.
|
String |
policyAssignmentId()
Get the policyAssignmentId property: Policy assignment ID.
|
String |
policyAssignmentName()
Get the policyAssignmentName property: Policy assignment name.
|
String |
policyAssignmentOwner()
Get the policyAssignmentOwner property: Policy assignment owner.
|
String |
policyAssignmentParameters()
Get the policyAssignmentParameters property: Policy assignment parameters.
|
String |
policyAssignmentScope()
Get the policyAssignmentScope property: Policy assignment scope.
|
String |
policyAssignmentVersion()
Get the policyAssignmentVersion property: Evaluated policy assignment version.
|
String |
policyDefinitionAction()
Get the policyDefinitionAction property: Policy definition action, i.e.
|
String |
policyDefinitionCategory()
Get the policyDefinitionCategory property: Policy definition category.
|
List<String> |
policyDefinitionGroupNames()
Get the policyDefinitionGroupNames property: Policy definition group names.
|
String |
policyDefinitionId()
Get the policyDefinitionId property: Policy definition ID.
|
String |
policyDefinitionName()
Get the policyDefinitionName property: Policy definition name.
|
String |
policyDefinitionReferenceId()
Get the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if
the policy assignment is for a policy set.
|
String |
policyDefinitionVersion()
Get the policyDefinitionVersion property: Evaluated policy definition version.
|
PolicyEvaluationDetails |
policyEvaluationDetails()
Get the policyEvaluationDetails property: Policy evaluation details.
|
String |
policySetDefinitionCategory()
Get the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a
policy set.
|
String |
policySetDefinitionId()
Get the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
|
String |
policySetDefinitionName()
Get the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy
set.
|
String |
policySetDefinitionOwner()
Get the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy
set.
|
String |
policySetDefinitionParameters()
Get the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for
a policy set.
|
String |
policySetDefinitionVersion()
Get the policySetDefinitionVersion property: Evaluated policy set definition version.
|
String |
resourceGroup()
Get the resourceGroup property: Resource group name.
|
String |
resourceId()
Get the resourceId property: Resource ID.
|
String |
resourceLocation()
Get the resourceLocation property: Resource location.
|
String |
resourceTags()
Get the resourceTags property: List of resource tags.
|
String |
resourceType()
Get the resourceType property: Resource type.
|
String |
subscriptionId()
Get the subscriptionId property: Subscription ID.
|
OffsetDateTime |
timestamp()
Get the timestamp property: Timestamp for the policy state record.
|
void |
validate()
Validates the instance.
|
PolicyStateInner |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Policy state record.
|
PolicyStateInner |
withComplianceState(String complianceState)
Set the complianceState property: Compliance state of the resource.
|
PolicyStateInner |
withComponents(List<ComponentStateDetails> components)
Set the components property: Components state compliance records populated only when URL contains
$expand=components clause.
|
PolicyStateInner |
withEffectiveParameters(String effectiveParameters)
Set the effectiveParameters property: Effective parameters for the policy assignment.
|
PolicyStateInner |
withIsCompliant(Boolean isCompliant)
Set the isCompliant property: Flag which states whether the resource is compliant against the policy assignment
it was evaluated against.
|
PolicyStateInner |
withManagementGroupIds(String managementGroupIds)
Set the managementGroupIds property: Comma separated list of management group IDs, which represent the hierarchy
of the management groups the resource is under.
|
PolicyStateInner |
withOdataContext(String odataContext)
Set the odataContext property: OData context string; used by OData clients to resolve type information based on
metadata.
|
PolicyStateInner |
withOdataId(String odataId)
Set the odataId property: OData entity ID; always set to null since policy state records do not have an entity
ID.
|
PolicyStateInner |
withPolicyAssignmentId(String policyAssignmentId)
Set the policyAssignmentId property: Policy assignment ID.
|
PolicyStateInner |
withPolicyAssignmentName(String policyAssignmentName)
Set the policyAssignmentName property: Policy assignment name.
|
PolicyStateInner |
withPolicyAssignmentOwner(String policyAssignmentOwner)
Set the policyAssignmentOwner property: Policy assignment owner.
|
PolicyStateInner |
withPolicyAssignmentParameters(String policyAssignmentParameters)
Set the policyAssignmentParameters property: Policy assignment parameters.
|
PolicyStateInner |
withPolicyAssignmentScope(String policyAssignmentScope)
Set the policyAssignmentScope property: Policy assignment scope.
|
PolicyStateInner |
withPolicyDefinitionAction(String policyDefinitionAction)
Set the policyDefinitionAction property: Policy definition action, i.e.
|
PolicyStateInner |
withPolicyDefinitionCategory(String policyDefinitionCategory)
Set the policyDefinitionCategory property: Policy definition category.
|
PolicyStateInner |
withPolicyDefinitionGroupNames(List<String> policyDefinitionGroupNames)
Set the policyDefinitionGroupNames property: Policy definition group names.
|
PolicyStateInner |
withPolicyDefinitionId(String policyDefinitionId)
Set the policyDefinitionId property: Policy definition ID.
|
PolicyStateInner |
withPolicyDefinitionName(String policyDefinitionName)
Set the policyDefinitionName property: Policy definition name.
|
PolicyStateInner |
withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
Set the policyDefinitionReferenceId property: Reference ID for the policy definition inside the policy set, if
the policy assignment is for a policy set.
|
PolicyStateInner |
withPolicyEvaluationDetails(PolicyEvaluationDetails policyEvaluationDetails)
Set the policyEvaluationDetails property: Policy evaluation details.
|
PolicyStateInner |
withPolicySetDefinitionCategory(String policySetDefinitionCategory)
Set the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a
policy set.
|
PolicyStateInner |
withPolicySetDefinitionId(String policySetDefinitionId)
Set the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
|
PolicyStateInner |
withPolicySetDefinitionName(String policySetDefinitionName)
Set the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy
set.
|
PolicyStateInner |
withPolicySetDefinitionOwner(String policySetDefinitionOwner)
Set the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy
set.
|
PolicyStateInner |
withPolicySetDefinitionParameters(String policySetDefinitionParameters)
Set the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for
a policy set.
|
PolicyStateInner |
withResourceGroup(String resourceGroup)
Set the resourceGroup property: Resource group name.
|
PolicyStateInner |
withResourceId(String resourceId)
Set the resourceId property: Resource ID.
|
PolicyStateInner |
withResourceLocation(String resourceLocation)
Set the resourceLocation property: Resource location.
|
PolicyStateInner |
withResourceTags(String resourceTags)
Set the resourceTags property: List of resource tags.
|
PolicyStateInner |
withResourceType(String resourceType)
Set the resourceType property: Resource type.
|
PolicyStateInner |
withSubscriptionId(String subscriptionId)
Set the subscriptionId property: Subscription ID.
|
PolicyStateInner |
withTimestamp(OffsetDateTime timestamp)
Set the timestamp property: Timestamp for the policy state record.
|
public String odataId()
public PolicyStateInner withOdataId(String odataId)
odataId
- the odataId value to set.public String odataContext()
public PolicyStateInner withOdataContext(String odataContext)
odataContext
- the odataContext value to set.public OffsetDateTime timestamp()
public PolicyStateInner withTimestamp(OffsetDateTime timestamp)
timestamp
- the timestamp value to set.public String resourceId()
public PolicyStateInner withResourceId(String resourceId)
resourceId
- the resourceId value to set.public String policyAssignmentId()
public PolicyStateInner withPolicyAssignmentId(String policyAssignmentId)
policyAssignmentId
- the policyAssignmentId value to set.public String policyDefinitionId()
public PolicyStateInner withPolicyDefinitionId(String policyDefinitionId)
policyDefinitionId
- the policyDefinitionId value to set.public String effectiveParameters()
public PolicyStateInner withEffectiveParameters(String effectiveParameters)
effectiveParameters
- the effectiveParameters value to set.public Boolean isCompliant()
public PolicyStateInner withIsCompliant(Boolean isCompliant)
isCompliant
- the isCompliant value to set.public String subscriptionId()
public PolicyStateInner withSubscriptionId(String subscriptionId)
subscriptionId
- the subscriptionId value to set.public String resourceType()
public PolicyStateInner withResourceType(String resourceType)
resourceType
- the resourceType value to set.public String resourceLocation()
public PolicyStateInner withResourceLocation(String resourceLocation)
resourceLocation
- the resourceLocation value to set.public String resourceGroup()
public PolicyStateInner withResourceGroup(String resourceGroup)
resourceGroup
- the resourceGroup value to set.public String resourceTags()
public PolicyStateInner withResourceTags(String resourceTags)
resourceTags
- the resourceTags value to set.public String policyAssignmentName()
public PolicyStateInner withPolicyAssignmentName(String policyAssignmentName)
policyAssignmentName
- the policyAssignmentName value to set.public String policyAssignmentOwner()
public PolicyStateInner withPolicyAssignmentOwner(String policyAssignmentOwner)
policyAssignmentOwner
- the policyAssignmentOwner value to set.public String policyAssignmentParameters()
public PolicyStateInner withPolicyAssignmentParameters(String policyAssignmentParameters)
policyAssignmentParameters
- the policyAssignmentParameters value to set.public String policyAssignmentScope()
public PolicyStateInner withPolicyAssignmentScope(String policyAssignmentScope)
policyAssignmentScope
- the policyAssignmentScope value to set.public String policyDefinitionName()
public PolicyStateInner withPolicyDefinitionName(String policyDefinitionName)
policyDefinitionName
- the policyDefinitionName value to set.public String policyDefinitionAction()
public PolicyStateInner withPolicyDefinitionAction(String policyDefinitionAction)
policyDefinitionAction
- the policyDefinitionAction value to set.public String policyDefinitionCategory()
public PolicyStateInner withPolicyDefinitionCategory(String policyDefinitionCategory)
policyDefinitionCategory
- the policyDefinitionCategory value to set.public String policySetDefinitionId()
public PolicyStateInner withPolicySetDefinitionId(String policySetDefinitionId)
policySetDefinitionId
- the policySetDefinitionId value to set.public String policySetDefinitionName()
public PolicyStateInner withPolicySetDefinitionName(String policySetDefinitionName)
policySetDefinitionName
- the policySetDefinitionName value to set.public String policySetDefinitionOwner()
public PolicyStateInner withPolicySetDefinitionOwner(String policySetDefinitionOwner)
policySetDefinitionOwner
- the policySetDefinitionOwner value to set.public String policySetDefinitionCategory()
public PolicyStateInner withPolicySetDefinitionCategory(String policySetDefinitionCategory)
policySetDefinitionCategory
- the policySetDefinitionCategory value to set.public String policySetDefinitionParameters()
public PolicyStateInner withPolicySetDefinitionParameters(String policySetDefinitionParameters)
policySetDefinitionParameters
- the policySetDefinitionParameters value to set.public String managementGroupIds()
public PolicyStateInner withManagementGroupIds(String managementGroupIds)
managementGroupIds
- the managementGroupIds value to set.public String policyDefinitionReferenceId()
public PolicyStateInner withPolicyDefinitionReferenceId(String policyDefinitionReferenceId)
policyDefinitionReferenceId
- the policyDefinitionReferenceId value to set.public String complianceState()
public PolicyStateInner withComplianceState(String complianceState)
complianceState
- the complianceState value to set.public PolicyEvaluationDetails policyEvaluationDetails()
public PolicyStateInner withPolicyEvaluationDetails(PolicyEvaluationDetails policyEvaluationDetails)
policyEvaluationDetails
- the policyEvaluationDetails value to set.public List<String> policyDefinitionGroupNames()
public PolicyStateInner withPolicyDefinitionGroupNames(List<String> policyDefinitionGroupNames)
policyDefinitionGroupNames
- the policyDefinitionGroupNames value to set.public List<ComponentStateDetails> components()
public PolicyStateInner withComponents(List<ComponentStateDetails> components)
components
- the components value to set.public String policyDefinitionVersion()
public String policySetDefinitionVersion()
public String policyAssignmentVersion()
public Map<String,Object> additionalProperties()
public PolicyStateInner withAdditionalProperties(Map<String,Object> additionalProperties)
additionalProperties
- the additionalProperties value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.