Queries whether account-level default encryption of Elastic Block Storage (EBS) resources is enabled in a region.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecs:DescribeDiskEncryptionByDefaultStatus |
none |
*DiskEncryptionDefaultConfig
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. You can call the DescribeRegions operation to query the most recent region list. |
cn-hangzhou |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E |
| Encrypted |
boolean |
Indicates whether account-level default encryption of EBS resources is enabled in the region. Valid values:
Default value: false. |
false |
Examples
Success response
JSON format
{
"RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E",
"Encrypted": false
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 403 | InvalidParameter.RegionIdNotExists | The specified region does not exists. | The region does not exist. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.