Get Supervisors Conditions
Get all conditions of a given Supervisor.
Request
URLURL
Path Parameters
Path Parameters
the identifier for a Supervisor. The parameter must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.
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
array
of
NamespaceManagementSupervisorsConditionsCondition
of type application/json
List of Conditions.Condition objects related to the given Supervisor.
[
{
"description": {
"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"
}
}
},
"last_transition_time": "string",
"messages": [
{
"details": {
"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": "INFO"
}
],
"reason": "string",
"severity": "INFO",
"status": "TRUE",
"type": "string"
}
]
Description of the condition type in a human readable format.
A list of human-readable messages that provide additional details about the last transition.
A brief CamelCase message indicating details about the reason for the last transition. FailedWithSystemError, ManagementDNSServersMissing and WaitForNodeUpgrade are examples of such messages.
The Conditions.Severity structure represents the severity of the message.
INFO : Informational message.
WARNING : Warning message.
ERROR : Error message.
Possible values are: INFO , WARNING , ERROR
Status of the condition, which can be one of TRUE, FALSE or UNKNOWN.
TRUE : Indicates that the condition has reached the desired state.
FALSE : Indicates that the condition has not reached the desired state.
UNKNOWN : Indicates that the status of the condition can not be determined.
Possible values are: TRUE , FALSE , UNKNOWN
The type of the condition is a CamelCase, machine readable identifier, indicating the configuration stage. InfrastructureInitialized, ControlPlaneVMsDeployed and ControlPlaneVMsConfigured are examples of such identifiers.
Last time the condition transitioned from one state to another. A transition happens when the value of status or severity field changes. if unset, there are no ongoing operations related to bringing the condition to the desired state.
Errors
com.vmware.vapi.std.errors.unauthorized : if authorization information cannot be retrieved.
com.vmware.vapi.std.errors.not_found : if the Supervisor cannot be found, or if the user does not have read privilege on it.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘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