GetWorkspaceQuota
Returns the quota for a workspace.
Operation description
Retrieves the resource quotas and instance status for a workspace.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WorkspaceId |
string |
Yes |
The ID of the DMS workspace. |
12**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
67E910F2-4B62-5B0C-ACA3-7547695C**** |
| AccessDeniedDetail |
string |
Details of the access denial. |
NOT_FOUND |
| Data |
object |
The returned data. |
|
| WorkspaceId |
string |
The workspace ID. |
20923*****7291 |
| InstanceId |
string |
The ID of the billing instance. |
i-bp16pha0zu99yybi59qr |
| CuQuota |
integer |
The CU quota. |
200 |
| CuQuotaUsage |
integer |
The amount of CU quota used. |
20 |
| Status |
string |
The instance status. |
RELEASED |
| NotebookFreeQuotaAvailable |
integer |
The available free notebook quota (in CU-H). |
0 |
| NotebookFreeQuotaTotal |
integer |
The total free notebook quota (in CU-H). |
0 |
| Message |
string |
The response message. |
Successful |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| ErrorCode |
string |
The error code. |
InvalidTid |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
"AccessDeniedDetail": "NOT_FOUND",
"Data": {
"WorkspaceId": "20923*****7291",
"InstanceId": "i-bp16pha0zu99yybi59qr",
"CuQuota": 200,
"CuQuotaUsage": 20,
"Status": "RELEASED",
"NotebookFreeQuotaAvailable": 0,
"NotebookFreeQuotaTotal": 0
},
"Message": "Successful",
"HttpStatusCode": 200,
"ErrorCode": "InvalidTid",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.