Get Database
Returns the health status of the database.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
Health status of the database
{
"messages": [
{
"message": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "SHORT_DATE",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"severity": "ERROR"
}
],
"status": "UNHEALTHY"
}
Messages describing any issues with the database, along with their severity.
The Database.Info.Status enumerated type describes the health of the database.
UNHEALTHY : The database is corrupted and vCenter server functionality will be impacted.
DEGRADED : The database has issues but the impact on vCenter Server is low.
HEALTHY : The database is healthy.
Possible values are: UNHEALTHY , DEGRADED , HEALTHY
Errors
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: get