This API has a deprecated equivalent from v7.0U1.
Get Registries Health
DescriptionReturns the health information of a container registry in the vCenter.
Request
URLURL
https://{api_host}/api/vcenter/content/registries/{registry}/health
Path Parameters
Path Parameters
string
registry
Required
Identifier of the registry.
The parameter must be an identifier for the resource type: com.vmware.vcenter.content.Registry.
Header Parameters
Header Parameters
string
vmware-api-session-id
Required
Required session ID, obtained by first calling Create Session API
Response
Response
Response BodyResponse Body
200 OK returns
ContentRegistriesHealthInfo of type application/json
Health information of the registry.
{
"details": {
"args": [
"string"
],
"default_message": "string",
"id": "string",
"localized": "string",
"params": {
"key": {
"d": 0,
"dt": "string",
"format": "enum",
"i": 0,
"l": {
"id": "string",
"params": "StdLocalizationParam Object"
},
"precision": 0,
"s": "string"
}
}
},
"status": "enum"
}
status
Required
Container registry status.
Possible values are: STARTING , RUNNING , WARNING , ERROR , DELETING
details
Optional
Details about the status. If unset, message details are not required for taking actions.
cURL Command
curl -H "vmware-api-session-id: b00db39f948d13ea1e59b4d6fce56389" https://{api_host}/api/vcenter/content/registries/{registry}/health
Errors
403
com.vmware.vapi.std.errors.unauthorized : if the user is not a member of the Administrators
500
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
Availability
Added in 7.0U2