Settings_HostCompliance

Settings_HostCompliance
Settings_HostCompliance

The HostCompliance structure contains information to describe the compliance result of a host with respect to given target software specification. DataProcessingUnitCompliance is mirror of this structure. Any future changes in either of them should reflect in both.

JSON Example
{
    "impact": "string",
    "status": "string",
    "stage_status": "string",
    "notifications": {
        "info": [
            {
                "type": "string",
                "id": "string",
                "time": "string",
                "message": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "resolution": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "originator": "string",
                "retriable": false
            }
        ],
        "warnings": [
            {
                "type": "string",
                "id": "string",
                "time": "string",
                "message": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "resolution": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "originator": "string",
                "retriable": false
            }
        ],
        "errors": [
            {
                "type": "string",
                "id": "string",
                "time": "string",
                "message": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "resolution": {
                    "id": "string",
                    "default_message": "string",
                    "args": [
                        "string"
                    ],
                    "params": {
                        "params": {
                            "s": "string",
                            "dt": "string",
                            "i": 0,
                            "d": "number",
                            "l": {
                                "id": "string",
                                "params": {
                                    "params": "Std_LocalizationParam Object"
                                }
                            },
                            "format": "string",
                            "precision": 0
                        }
                    },
                    "localized": "string"
                },
                "originator": "string",
                "retriable": false
            }
        ]
    },
    "scan_time": "string",
    "commit": "string",
    "base_image": {
        "status": "Settings_ComplianceStatus Object",
        "stage_status": "Settings_StageStatus Object",
        "current": {
            "details": {
                "display_name": "string",
                "display_version": "string",
                "release_date": "string",
                "quick_patch_compatible_versions": {
                    "quick_patch_compatible_versions": "string"
                }
            },
            "version": "string"
        },
        "target": {
            "details": {
                "display_name": "string",
                "display_version": "string",
                "release_date": "string",
                "quick_patch_compatible_versions": {
                    "quick_patch_compatible_versions": "string"
                }
            },
            "version": "string"
        },
        "notifications": "Settings_Notifications Object"
    },
    "add_on": {
        "status": "Settings_ComplianceStatus Object",
        "stage_status": "Settings_StageStatus Object",
        "current": {
            "details": {
                "display_name": "string",
                "vendor": "string",
                "display_version": "string"
            },
            "name": "string",
            "version": "string"
        },
        "target": {
            "details": {
                "display_name": "string",
                "vendor": "string",
                "display_version": "string"
            },
            "name": "string",
            "version": "string"
        },
        "notifications": "Settings_Notifications Object"
    },
    "hardware_support": {
        "hardware_support": {
            "status": "Settings_ComplianceStatus Object",
            "stage_status": "Settings_StageStatus Object",
            "current": {
                "pkg": "string",
                "version": "string"
            },
            "target": {
                "pkg": "string",
                "version": "string"
            },
            "hardware_modules": {
                "hardware_modules": {
                    "status": "Settings_ComplianceStatus Object",
                    "stage_status": "Settings_StageStatus Object",
                    "details": {
                        "component_class": "string",
                        "description": "string"
                    },
                    "current": {
                        "version": "string"
                    },
                    "target": {
                        "version": "string"
                    },
                    "notifications": "Settings_Notifications Object"
                }
            },
            "notifications": "Settings_Notifications Object"
        }
    },
    "components": {
        "components": {
            "status": "Settings_ComplianceStatus Object",
            "stage_status": "Settings_StageStatus Object",
            "current": {
                "version": "string",
                "details": {
                    "display_name": "string",
                    "vendor": "string",
                    "display_version": "string"
                }
            },
            "target": {
                "version": "string",
                "details": {
                    "display_name": "string",
                    "vendor": "string",
                    "display_version": "string"
                }
            },
            "current_source": "string",
            "target_source": "string",
            "notifications": "Settings_Notifications Object"
        }
    },
    "solutions": {
        "solutions": {
            "status": "Settings_ComplianceStatus Object",
            "stage_status": "Settings_StageStatus Object",
            "current": {
                "details": {
                    "display_name": "string",
                    "display_version": "string",
                    "components": [
                        {
                            "component": "string",
                            "display_name": "string",
                            "display_version": "string",
                            "vendor": "string"
                        }
                    ]
                },
                "version": "string",
                "components": [
                    {
                        "component": "string"
                    }
                ]
            },
            "target": {
                "details": {
                    "display_name": "string",
                    "display_version": "string",
                    "components": [
                        {
                            "component": "string",
                            "display_name": "string",
                            "display_version": "string",
                            "vendor": "string"
                        }
                    ]
                },
                "version": "string",
                "components": [
                    {
                        "component": "string"
                    }
                ]
            },
            "notifications": "Settings_Notifications Object"
        }
    },
    "removed_components": {
        "removed_components": {
            "status": "Settings_ComplianceStatus Object",
            "stage_status": "Settings_StageStatus Object",
            "current": {
                "version": "string",
                "details": {
                    "display_name": "string",
                    "vendor": "string",
                    "display_version": "string"
                }
            },
            "target": {
                "version": "string",
                "details": {
                    "display_name": "string",
                    "vendor": "string",
                    "display_version": "string"
                }
            },
            "current_source": "string",
            "target_source": "string",
            "notifications": "Settings_Notifications Object"
        }
    },
    "impact_details": {
        "memory_reservation": {
            "temporary_reservation": 0,
            "permanent_reservation_increase": 0
        },
        "partial_maintenance_mode_name": "string",
        "partial_maintenance_mode_upgrade_actions": [
            "string"
        ],
        "solution_impacts": {
            "solution_impacts": "string"
        }
    },
    "data_processing_units_compliance": {
        "compliant_data_processing_units": [
            "string"
        ],
        "non_compliant_data_processing_units": [
            "string"
        ],
        "incompatible_data_processing_units": [
            "string"
        ],
        "unavailable_data_processing_units": [
            "string"
        ],
        "compliance": {
            "compliance": {
                "impact": "Settings_ComplianceImpact Object",
                "impact_details": "Settings_ImpactDetails Object",
                "status": "Settings_ComplianceStatus Object",
                "stage_status": "Settings_StageStatus Object",
                "notifications": "Settings_Notifications Object",
                "scan_time": "string",
                "base_image": "Settings_BaseImageCompliance Object",
                "add_on": "Settings_AddOnCompliance Object",
                "hardware_support": {
                    "hardware_support": "Settings_HardwareSupportPackageCompliance Object"
                },
                "components": {
                    "components": "Settings_ComponentCompliance Object"
                },
                "solutions": {
                    "solutions": "Settings_SolutionCompliance Object"
                },
                "removed_components": {
                    "removed_components": "Settings_ComponentCompliance Object"
                }
            }
        },
        "data_processing_unit_info": {
            "data_processing_unit_info": {
                "alias": "string"
            }
        }
    },
    "compliance_status_details": {
        "type": "string",
        "id": "string",
        "time": "string",
        "message": {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": {
                        "id": "string",
                        "params": {
                            "params": "Std_LocalizationParam Object"
                        }
                    },
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        },
        "resolution": {
            "id": "string",
            "default_message": "string",
            "args": [
                "string"
            ],
            "params": {
                "params": {
                    "s": "string",
                    "dt": "string",
                    "i": 0,
                    "d": "number",
                    "l": {
                        "id": "string",
                        "params": {
                            "params": "Std_LocalizationParam Object"
                        }
                    },
                    "format": "string",
                    "precision": 0
                }
            },
            "localized": "string"
        },
        "originator": "string",
        "retriable": false
    },
    "remediation_details": {
        "remediation_actions": [
            {
                "action": "Std_LocalizableMessage Object"
            }
        ]
    }
}
impact
Required

The ComplianceImpact enumerated type contains information about the impact of applying the target state in case of non compliance.
NO_IMPACT : Host has no impact.
PARTIAL_MAINTENANCE_MODE_REQUIRED : Host requires partial maintenance mode to reach this target state.
MAINTENANCE_MODE_REQUIRED : Host requires maintenance mode to reach this target state.
REBOOT_REQUIRED : Host requires reboot to reach this target state.
UNKNOWN : Impact is unknown.

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.

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.

notifications
Required

The Notifications structure contains info/warning/error messages that can be reported by the task.

string As date-time
scan_time
Required

Scan completion time.

string
commit
Optional

Identifier of the commit on which the scan is run to generate this result. unset if operation is performed on a working copy document. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.esx.settings.commit. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.esx.settings.commit.

base_image
Required

The BaseImageCompliance structure contains information that describe the compliance of ESX base image with respect to the base image present in the target software specification.

add_on
Required

The AddOnCompliance structure contains information that describe the compliance of the OEM add-on with respect to the add-on present in the target software specification.

object
hardware_support
Optional

Compliance result for hardware support (both Hardware Support Package or HSP and individual hardware module firmware) for every HSP configured, keyed by Hardware Support Manager (HSM). This field will be unset or contain an empty map if operation is performed on an image whose SoftwareSpec does not have a value for its hardwareSupport field. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.esx.setting.hardware_support.manager.

object
components
Required

Compliance result for all the effective components and all the components present on the host. The key is the component name and value is the ComponentCompliance. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.esx.settings.component. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.esx.settings.component.

object
solutions
Required

Compliance result for solutions. The key is the solution name and value is the SolutionCompliance. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.esx.settings.solution. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.esx.settings.solution.

object
removed_components
Optional

Compliance result for all removed components present on the host and in the software specification. The key is the component name and value is the ComponentCompliance object. This field is optional because it was added in a newer version than its parent node. When clients pass a value of this structure as a parameter, the key in the field map must be an identifier for the resource type: com.vmware.esx.settings.component. When operations return a value of this structure as a result, the key in the field map will be an identifier for the resource type: com.vmware.esx.settings.component.

impact_details
Optional

The ImpactDetails structure contains information that provides more details about the compliance impact.

data_processing_units_compliance
Optional

The DataProcessingUnitsCompliance structure contains information to describe the compliance results of all data processing units with respect to the target software specification.

compliance_status_details
Optional

The Notification structure contains fields to describe any info/warning/error messages that Tasks can raise.

remediation_details
Optional

The RemediationDetails structure contains details about remediation of the image.