Settings_Clusters_Software_Reports_LastCheckResult_EntityCheckResult

Settings_Clusters_Software_Reports_LastCheckResult_EntityCheckResult
Settings_Clusters_Software_Reports_LastCheckResult_EntityCheckResult

The LastCheckResult.EntityCheckResult structure contains fields that describe aggregated status of all checks performed on a specific entity.

JSON Example
{
    "type": "string",
    "cluster": "string",
    "host": "string",
    "status": "string",
    "check_statuses": [
        {
            "check": {
                "check": "string",
                "name": {
                    "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"
                },
                "description": {
                    "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"
                }
            },
            "status": "Settings_Clusters_Software_Reports_LastCheckResult_Status Object",
            "issues": [
                {
                    "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"
                }
            ]
        }
    ]
}
type
Required

The LastCheckResult.EntityCheckResult.EntityType enumerated type contains the entitites on which checks can be performed.
CLUSTER : Entity type Cluster
HOST : Entity type Host

string
cluster
Optional

If the entity type is CLUSTER then the cluster identifier for which the checks have been run. This field is optional and it is only relevant when the value of LastCheckResult.EntityCheckResult.type is CLUSTER. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.

string
host
Optional

If the entity type is HOST then the host identifier for which the checks have been run. This field is optional and it is only relevant when the value of LastCheckResult.EntityCheckResult.type is HOST. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: HostSystem. When operations return a value of this structure as a result, the field will be an identifier for the resource type: HostSystem.

status
Required

The LastCheckResult.Status enumerated type defines the status result for a particular check.
OK : The check indicates a success.
WARNING : The check indicates a warning.
TIMEOUT : The check did not return in a timely manner.
ERROR : The check indicates an error.

check_statuses
Required

List of LastCheckResult.CheckStatus for all checks performed.