SettingsComponentCompliance

The ComponentCompliance structure contains information that describe the compliance of a component with respect to the component present in the target software specification.


Properties

current Optional

Current version of the component present on the host. unset if component is not present on the host.


current_source Optional

The ComponentSource enumerated type contains the component’s source information.
BASE_IMAGE : Base image is the source for this component
ADD_ON : Addon is the source for this component
USER : User is the source for this component
SOLUTION : Solution is the source for this component
HARDWARE_SUPPORT_PACKAGE : Hardware Support Package (HSP) is the source for this component

Possible values are: BASE_IMAGEADD_ONUSERSOLUTIONHARDWARE_SUPPORT_PACKAGE


notifications Required

Notifications describing the compliance result.


stage_status Optional

The StageStatus enumerated type contains the possible different staged statuses with respect to target version. This is only relevant when the value of ComplianceStatus is NON_COMPLIANT.
STAGED : Required components/payloads are already staged.
NOT_STAGED : Required components/payloads are not staged.

Possible values are: STAGEDNOT_STAGED


status Required

The ComplianceStatus enumerated type contains the possible different status of compliance with respect to target version.
COMPLIANT : Target version is same as current version.
NON_COMPLIANT : Target version is greater than current version.
INCOMPATIBLE : Target state cannot be applied due to conflict or missing dependencies or the target state is lesser than the current version.
UNAVAILABLE : Drift check failed due to unknown error or check hasn’t happened yet and results are not available.

Possible values are: COMPLIANTNON_COMPLIANTINCOMPATIBLEUNAVAILABLE


target Optional

Target version of the component present in the software specification. unset if component is not present in the software specification.


target_source Optional

The ComponentSource enumerated type contains the component’s source information.
BASE_IMAGE : Base image is the source for this component
ADD_ON : Addon is the source for this component
USER : User is the source for this component
SOLUTION : Solution is the source for this component
HARDWARE_SUPPORT_PACKAGE : Hardware Support Package (HSP) is the source for this component

Possible values are: BASE_IMAGEADD_ONUSERSOLUTIONHARDWARE_SUPPORT_PACKAGE

JSON Example

{
	"notifications": {},
	"status": "COMPLIANT"
}

Feedback

Was this page helpful?