ComponentPolicyState Class
- java.
lang. Object - com.
azure. resourcemanager. policyinsights. models. ComponentPolicyState
- com.
Implements
public final class ComponentPolicyState
implements JsonSerializable<ComponentPolicyState>
Component Policy State record.
Constructor Summary
| Constructor | Description |
|---|---|
| ComponentPolicyState() |
Creates an instance of Component |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalProperties()
Get the additional |
| String |
complianceState()
Get the compliance |
| String |
componentId()
Get the component |
| String |
componentName()
Get the component |
| String |
componentType()
Get the component |
|
static
Component |
fromJson(JsonReader jsonReader)
Reads an instance of Component |
| String |
odataContext()
Get the odata |
| String |
odataId()
Get the odata |
| String |
policyAssignmentId()
Get the policy |
| String |
policyAssignmentName()
Get the policy |
| String |
policyAssignmentOwner()
Get the policy |
| String |
policyAssignmentParameters()
Get the policy |
| String |
policyAssignmentScope()
Get the policy |
| String |
policyAssignmentVersion()
Get the policy |
| String |
policyDefinitionAction()
Get the policy |
| String |
policyDefinitionCategory()
Get the policy |
| List<String> |
policyDefinitionGroupNames()
Get the policy |
| String |
policyDefinitionId()
Get the policy |
| String |
policyDefinitionName()
Get the policy |
| String |
policyDefinitionReferenceId()
Get the policy |
| String |
policyDefinitionVersion()
Get the policy |
|
Component |
policyEvaluationDetails()
Get the policy |
| String |
policySetDefinitionCategory()
Get the policy |
| String |
policySetDefinitionId()
Get the policy |
| String |
policySetDefinitionName()
Get the policy |
| String |
policySetDefinitionOwner()
Get the policy |
| String |
policySetDefinitionParameters()
Get the policy |
| String |
policySetDefinitionVersion()
Get the policy |
| String |
resourceGroup()
Get the resource |
| String |
resourceId()
Get the resource |
| String |
resourceLocation()
Get the resource |
| String |
resourceType()
Get the resource |
| String |
subscriptionId()
Get the subscription |
|
Offset |
timestamp()
Get the timestamp property: Timestamp for the component policy state record. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Component |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
|
Component |
withPolicyEvaluationDetails(ComponentPolicyEvaluationDetails policyEvaluationDetails)
Set the policy |
Methods inherited from java.lang.Object
Constructor Details
ComponentPolicyState
public ComponentPolicyState()
Creates an instance of ComponentPolicyState class.
Method Details
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: Component Policy State record.
Returns:
complianceState
public String complianceState()
Get the complianceState property: Compliance state of the resource.
Returns:
componentId
public String componentId()
Get the componentId property: Component Id.
Returns:
componentName
public String componentName()
Get the componentName property: Component name.
Returns:
componentType
public String componentType()
Get the componentType property: Component type.
Returns:
fromJson
public static ComponentPolicyState fromJson(JsonReader jsonReader)
Reads an instance of ComponentPolicyState from the JsonReader.
Parameters:
Returns:
Throws:
odataContext
public String odataContext()
Get the odataContext property: OData context string; used by OData clients to resolve type information based on metadata.
Returns:
odataId
public String odataId()
Get the odataId property: OData entity ID; always set to null since component policy state records do not have an entity ID.
Returns:
policyAssignmentId
public String policyAssignmentId()
Get the policyAssignmentId property: Policy assignment ID.
Returns:
policyAssignmentName
public String policyAssignmentName()
Get the policyAssignmentName property: Policy assignment name.
Returns:
policyAssignmentOwner
public String policyAssignmentOwner()
Get the policyAssignmentOwner property: Policy assignment owner.
Returns:
policyAssignmentParameters
public String policyAssignmentParameters()
Get the policyAssignmentParameters property: Policy assignment parameters.
Returns:
policyAssignmentScope
public String policyAssignmentScope()
Get the policyAssignmentScope property: Policy assignment scope.
Returns:
policyAssignmentVersion
public String policyAssignmentVersion()
Get the policyAssignmentVersion property: Evaluated policy assignment version.
Returns:
policyDefinitionAction
public String policyDefinitionAction()
Get the policyDefinitionAction property: Policy definition action, i.e. effect.
Returns:
policyDefinitionCategory
public String policyDefinitionCategory()
Get the policyDefinitionCategory property: Policy definition category.
Returns:
policyDefinitionGroupNames
public List<String> policyDefinitionGroupNames()
Get the policyDefinitionGroupNames property: Policy definition group names.
Returns:
policyDefinitionId
public String policyDefinitionId()
Get the policyDefinitionId property: Policy definition ID.
Returns:
policyDefinitionName
public String policyDefinitionName()
Get the policyDefinitionName property: Policy definition name.
Returns:
policyDefinitionReferenceId
public 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.
Returns:
policyDefinitionVersion
public String policyDefinitionVersion()
Get the policyDefinitionVersion property: Evaluated policy definition version.
Returns:
policyEvaluationDetails
public ComponentPolicyEvaluationDetails policyEvaluationDetails()
Get the policyEvaluationDetails property: Policy evaluation details. This is only included in the response if the request contains $expand=PolicyEvaluationDetails.
Returns:
policySetDefinitionCategory
public String policySetDefinitionCategory()
Get the policySetDefinitionCategory property: Policy set definition category, if the policy assignment is for a policy set.
Returns:
policySetDefinitionId
public String policySetDefinitionId()
Get the policySetDefinitionId property: Policy set definition ID, if the policy assignment is for a policy set.
Returns:
policySetDefinitionName
public String policySetDefinitionName()
Get the policySetDefinitionName property: Policy set definition name, if the policy assignment is for a policy set.
Returns:
policySetDefinitionOwner
public String policySetDefinitionOwner()
Get the policySetDefinitionOwner property: Policy set definition owner, if the policy assignment is for a policy set.
Returns:
policySetDefinitionParameters
public String policySetDefinitionParameters()
Get the policySetDefinitionParameters property: Policy set definition parameters, if the policy assignment is for a policy set.
Returns:
policySetDefinitionVersion
public String policySetDefinitionVersion()
Get the policySetDefinitionVersion property: Evaluated policy set definition version.
Returns:
resourceGroup
public String resourceGroup()
Get the resourceGroup property: Resource group name.
Returns:
resourceId
public String resourceId()
Get the resourceId property: Resource ID.
Returns:
resourceLocation
public String resourceLocation()
Get the resourceLocation property: Resource location.
Returns:
resourceType
public String resourceType()
Get the resourceType property: Resource type.
Returns:
subscriptionId
public String subscriptionId()
Get the subscriptionId property: Subscription ID.
Returns:
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: Timestamp for the component policy state record.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public ComponentPolicyState withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: Component Policy State record.
Parameters:
Returns:
withPolicyEvaluationDetails
public ComponentPolicyState withPolicyEvaluationDetails(ComponentPolicyEvaluationDetails policyEvaluationDetails)
Set the policyEvaluationDetails property: Policy evaluation details. This is only included in the response if the request contains $expand=PolicyEvaluationDetails.
Parameters:
Returns: