Queries the storage usage and subscription capacity for threat analysis. The values are returned in GB.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetCapacity |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RoleType |
integer |
No |
The view type. Valid values:
|
1 |
| RoleFor |
integer |
No |
The user ID of the member. An administrator can switch to the perspective of this member. |
113091674488**** |
| RegionId |
string |
No |
The region where the Data Management center for threat analysis is deployed. Select a region based on the region where your assets are located. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemResponse |
||
| Data |
object |
The capacity details. |
|
| UsedCapacity |
number |
The current billable storage usage for threat analysis, in GB. |
10 |
| PreservedCapacity |
integer |
The purchased storage capacity for threat analysis, in GB. |
9000 |
| ExistLogStore |
boolean |
Indicates whether the Logstore for threat analysis exists. Valid values:
|
true |
| RequestId |
string |
The request ID. |
27D27DCB-D76B-5064-8B3B-0900DEF7**** |
Examples
Success response
JSON format
{
"Data": {
"UsedCapacity": 10,
"PreservedCapacity": 9000,
"ExistLogStore": true
},
"RequestId": "27D27DCB-D76B-5064-8B3B-0900DEF7****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. | |
| 500 | Siem.Storage.Exception | The request timed out, try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.