Retrieves the storage settings created by the Threat Analysis and Response product in your Simple Log Service (SLS). These settings include the storage duration and storage region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:GetStorage |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RoleType |
integer |
No |
The type of the view. Valid values:
|
1 |
| RoleFor |
integer |
No |
The user ID of the member. This parameter is used by an administrator to switch to the perspective of a member. |
127XXXX |
| RegionId |
string |
No |
The region where the Data Management hub for threat analysis is located. Select a region for the management hub based on the region of your assets. Valid values:
|
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
CloudSiemResponse |
||
| Data |
object |
The details of the storage settings. |
|
| Ttl |
integer |
The storage duration in days. The default value is 180. The value must be an integer from 30 to 3000. |
180 |
| Region |
string |
The storage region. If the Data Management hub is in the cn-hangzhou region, the default value of Region is `cn-shanghai`. If the Data Management hub is in the ap-southeast-1 region, the default value of Region is `ap-southeast-1`. |
cn-shanghai |
| DisplayRegion |
boolean |
Indicates whether you have permission to change the storage region. The default value is false. Valid values:
|
false |
| CanOperate |
boolean |
Indicates whether you can change the storage region. You can change the storage region only once. The default value is false. Valid values:
|
false |
| RequestId |
string |
The ID of the request. |
97A31C3A-3F9F-5866-8979-5159E3DC**** |
Examples
Success response
JSON format
{
"Data": {
"Ttl": 180,
"Region": "cn-shanghai",
"DisplayRegion": false,
"CanOperate": false
},
"RequestId": "97A31C3A-3F9F-5866-8979-5159E3DC****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | InternalError | The request processing has failed due to some unknown error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.