Queries the status of CloudSSO.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:GetServiceStatus |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
ADADC31D-90EE-5459-99B0-D83DF07769A3 |
| ServiceStatus |
object |
The status information of CloudSSO. |
|
| Status |
string |
The status of CloudSSO. Valid values:
|
Enabled |
| AccountId |
string |
The ID of your Alibaba Cloud account. |
151266687691**** |
| PrerequisiteCheckResult |
string |
Indicates whether the prerequisites for enabling CloudSSO are met. Valid values:
Note
The value of this parameter is returned only if the value of |
Success |
| RegionsInUse |
array |
The IDs of regions where directories are deployed. |
|
|
string |
The region ID of the directory. The value depends on the directory status:
Note
The value of this parameter is returned only if the value of |
cn-shanghai |
Examples
Success response
JSON format
{
"RequestId": "ADADC31D-90EE-5459-99B0-D83DF07769A3",
"ServiceStatus": {
"Status": "Enabled",
"AccountId": "151266687691****",
"PrerequisiteCheckResult": "Success",
"RegionsInUse": [
"cn-shanghai"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.