GetRegionStatus
Retrieves the DLF activation status in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:GetRegionStatus |
get |
*All Resource
|
None | None |
Request syntax
GET /webapi/service/getRegionStatus HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| Success |
string |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
CC58A776-0662-5C6D-B467-FFD4CF7F4C40 |
| Data |
object |
The returned result. |
{'RegionId': 'cn-shanghai', 'RegionStatus': 'SERVICE_INVALID', 'AccountStatus': '', 'IsDlfServiceOpen': False} |
| IsDlfServiceOpen |
boolean |
Indicates whether DLF is activated in the region. |
True |
| RegionStatus |
string |
The DLF activation status in the region. Valid values: |
READY |
| AccountStatus |
string |
The account status. Valid values: |
enabled |
| IsDependencyReady |
boolean |
Indicates whether dependencies are ready. |
true |
| RegionId |
string |
The region ID. |
cn_hangzhou |
Examples
Success response
JSON format
{
"Success": "true",
"RequestId": "CC58A776-0662-5C6D-B467-FFD4CF7F4C40",
"Data": {
"IsDlfServiceOpen": true,
"RegionStatus": "READY",
"AccountStatus": "enabled",
"IsDependencyReady": true,
"RegionId": "cn_hangzhou"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.