Check Whether Management Node Is Ready

GET/zstack/v1/management-nodes/ready

Headers

Authorization: OAuth the-session-uuid

Curl Example

curl -H "Content-Type: application/json;charset=UTF-8" \
-H "Authorization: OAuth 61f9cb0129d749ebbd3d6052bfc759b2" \
-X GET http://localhost:8080/zstack/v1/management-nodes/ready?

Parameter List

NameTypeLocationDescriptionAllowed ValuesStarting Version
managementNodeId (Optional)Stringquery  0.6
systemTags (Optional)ListquerySystem tags 0.6
userTags (Optional)ListqueryUser tags 0.6

API Response

Response Example:

{
  "managementNodeId": "28ff5884cbf83d48b2e50203a5f2e636"
}
NameTypeDescriptionStarting Version
errorErrorCodeThe error code. If not null, the operation has failed. This field is null when the operation succeeds. For details, see error0.6

error

NameTypeDescriptionStarting Version
codeStringThe error code number. A globally unique identifier for the error, for example, SYS.1000, HOST.1001.0.6
descriptionStringA brief description of the error.0.6
detailsStringThe detailed error information.0.6
elaborationStringA reserved field. Default is null.0.6
opaqueLinkedHashMapA reserved field. Default is null.0.6
causeErrorCodeThe root error. The source error that caused the current error. If there is no root error, this field is null.0.6

SDK Examples

Java SDK

IsReadyToGoAction action = new IsReadyToGoAction();
action.sessionId = "4feaf1772217415a876735801e468fac";
IsReadyToGoAction.Result res = action.call();

Python SDK

IsReadyToGoAction action = IsReadyToGoAction()
action.sessionId = "432b9a5c589c4c09b33b79d8272528be"
IsReadyToGoAction.Result res = action.call()