GetServiceStatus
Retrieves the DLF activation status for a user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dlf:GetServiceStatus |
get |
*All Resource
|
None | None |
Request syntax
GET /webapi/service/getServiceStatus 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 |
|||
| Success |
boolean |
Indicates whether the request was successful. |
true |
| RequestId |
string |
The request ID. |
B7F4B621-E41E-4C84-B97F-42B5380A32BB |
| Data |
object |
The service status. |
{ "AccountStatus":"", "RegionStatus":"READY", "RegionId":"cn-shanghai", "IsDependencyReady":true, "IsDlfServiceOpen":true } |
| IsDlfServiceOpen |
boolean |
Indicates whether DLF is activated. |
true |
| HasRamPermissions |
boolean |
Indicates whether RAM authorization is complete. |
true |
| IsOssOpen |
boolean |
Indicates whether OSS is activated. |
true |
Examples
Success response
JSON format
{
"Success": true,
"RequestId": "B7F4B621-E41E-4C84-B97F-42B5380A32BB",
"Data": {
"IsDlfServiceOpen": true,
"HasRamPermissions": true,
"IsOssOpen": true
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.