Capacity Management Operations


GetManagementNodeDirCapacity

API Request

URLs
GET zstack/v1/zwatch/mn
Headers
Authorization: OAuth the-session-uuid
Curl Sample
curl -H "Content-Type: application/json;charset=UTF-8" \ -H "Authorization: OAuth b86c9016b4f24953a9edefb53ca0678c" \ -X GET http://localhost:8080/zstack/v1/zwatch/mn?managementNodeUuids=33a2f11d59aa321aa4acfa78afe8f35a&managementNodeUuids=6bf0aca356a13cf787d87ceeb8fcba7f
Request Parameters
Name Type Location Description Optional Value Starting Version
managementNodeUuids List query Optional. The management node UUID. 3.9.0
systemTags List query Optional. The system tags. 3.9.0
userTags List query Optional. The user tags. 3.9.0

API Response

Sample Response
{   "result": {     "3b16bb23007634b3a0f35dec4cb10c28": [       {         "name": "total",         "size": "128000"       },       {         "name": "used",         "size": "127000"       }     ]   } }
Name Type Description Starting Version
result Map The contents in the management node directory. 3.9.0
success boolean 3.9.0
error ErrorCode The error code. If not null, the operation fails, or vice versa. For more information, see error. 3.9.0
error ErrorCode See error. 3.9.0
#error
Name Type Description Starting Version
code String The error code, which is a numbered or alphanumeric code that specifies an error. For example, SYS.1000, HOST.1001. 3.9.0
description String The brief description of the error. 3.9.0
details String The details about the error. 3.9.0
elaboration String The reserved field. Default value: null. 3.9.0
opaque LinkedHashMap The reserved field. Default value: null. 3.9.0
cause ErrorCode The root error, which is the associated root cause of the current error. If no root error exists, this parameter is null. 3.9.0
#error
Name Type Description Starting Version
code String The error code, which is a numbered or alphanumeric code that specifies an error. For example, SYS.1000, HOST.1001. 3.9.0
description String The brief description of the error. 3.9.0
details String The details about the error. 3.9.0
elaboration String The reserved field. Default value: null. 3.9.0
opaque LinkedHashMap The reserved field. Default value: null. 3.9.0
cause ErrorCode The root error, which is the associated root cause of the current error. If no root error exists, this parameter is null. 3.9.0

SDK Sample

Java SDK
GetManagementNodeDirCapacityAction action = new GetManagementNodeDirCapacityAction(); action.managementNodeUuids = asList("33a2f11d59aa321aa4acfa78afe8f35a","6bf0aca356a13cf787d87ceeb8fcba7f"); action.sessionId = "b86c9016b4f24953a9edefb53ca0678c"; GetManagementNodeDirCapacityAction.Result res = action.call();
Python SDK
GetManagementNodeDirCapacityAction action = GetManagementNodeDirCapacityAction() action.managementNodeUuids = [33a2f11d59aa321aa4acfa78afe8f35a, 6bf0aca356a13cf787d87ceeb8fcba7f] action.sessionId = "b86c9016b4f24953a9edefb53ca0678c" GetManagementNodeDirCapacityAction.Result res = action.call()

Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.