Settings_Clusters_Software_EntityCheckResult

Settings_Clusters_Software_EntityCheckResult
Settings_Clusters_Software_EntityCheckResult

The Software.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"
                },
                "originator": "string"
            },
            "status": "Settings_Clusters_Software_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"
                }
            ],
            "check_issues": [
                {
                    "description": "Std_LocalizableMessage Object",
                    "resolution": "Std_LocalizableMessage Object"
                }
            ]
        }
    ]
}
type
Required

The Software.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 Software.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 Software.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 Software.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.
RETRY : The check failed because of an intermittent error, for example a service is overloaded. The client can choose to retry the health check before considering the check as failed.

check_statuses
Required

List of Software.CheckStatus for all checks performed.