You need to enable JavaScript to run this app.
Elastic Compute Service

Elastic Compute Service

Copy page
Download PDF
Storage placement group
DescribePlacementGroupDetails - Query placement group volumes
Copy page
Download PDF
DescribePlacementGroupDetails - Query placement group volumes
Call DescribePlacementGroupDetails to query information about volumes attached to the storage placement group.​
Debugging​
API Explorer
You can initiate calls online through API Explorer without paying attention to the signature generation process and quickly obtain the call results.
​
request parameters​
Only interface-specific request parameters and some common parameters are listed below. For more information, see Common Parameters.​
Action string required Example value: DescribePlacementGroupDetails​
Action to be performed: DescribePlacementGroupDetails.​
​
Version string required Example: 2020-04-01​
The version of the API is: 2020-04-01.​
​
PlacementGroupId string required Example: pg-bp67acfmxazb4ph****​
Storage placement group ID.​
tip​
You can call the DescribePlacementGroups API operation to query storage placement group IDs.​
​
VolumeIds.N string[] Optional Example: vol-jv4gkgfal98bv6pz****​
Volume ID.​
​
PlacementSubgroupNumbers.N integer[] Optional Example: 2​
Storage placement subgroup number.​
​
PageNumber integer Optional Example: 1​
Starting page number, default is 1.​
​
PageSize integer Optional Example: 15​
Page size, up to 100, default is 15.​
​
​
​
Response Parameters​
Only interface-specific response parameters are listed below. For more information, see Response Structure.​
Volumes object[] Example: 1​
Volume information.​
VolumeId string Example: vol-jv4gkgfal98bv6pz****​
Volume ID.​
​
VolumeName string Example: test-vol​
Cloud disk name.​
​
VolumeType string Example: ESSD_PL0​
Cloud disk type, with the following values:​
  • ESSD_PL0: High-speed SSD volume of PL0 specification.​
  • Extreme Speed SSD Cloud volume, FlexPL specification.​
​
ZoneId string Example: cn-beijing-a​
The available zone where the volume is located.​
​
PlacementGroupId string Example: pg-bp67acfmxazb4ph****​
Storage placement group ID.​
​
SubgroupNumber integer Example value: 3​
Storage subgroup number.​
​
CreatedAt string Example: 2023-07-05T15:48:58+08:00​
Volume creation time.​
​
UpdatedAt string Example: 2023-07-05T15:48:58+08:00​
Volume modification time.​
​
​
PageNumber integer Example: 1​
Number of Pages.​
​
PageSize integer Example value: 100​
Page Size.​
​
TotalCount integer Example value: 2​
Number of volumes​
​
​
​
Request example​
​
POST /?Action=DescribePlacementGroupDetails&Version=2020-04-01 HTTP/1.1​
Host: open.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20250730T085401Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20250730/cn-beijing/storage_ebs/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"PlacementGroupId": "1"​
}​
​
Back to example​
​
{​
"ResponseMetadata": {​
"RequestId": "2025073016540703420501617025****",​
"Action": "DescribePlacementGroupDetails",​
"Version": "2020-04-01",​
"Service": "storage_ebs",​
"Region": "cn-beijing"​
},​
"Result": {​
"Volumes": [​
{​
"VolumeId": "vol-jv4gkgfal98bv6pz****",​
"VolumeName": "test-vol",​
"VolumeType": "ESSD_PL0",​
"ZoneId": "cn-beijing-a",​
"PlacementGroupId": "pg-bp67acfmxazb4ph****",​
"SubgroupNumber": 3,​
"CreatedAt": "2023-07-05T15:48:58+08:00",​
"UpdatedAt": "2023-07-05T15:48:58+08:00"​
}​
],​
"PageNumber": 1,​
"PageSize": 100,​
"TotalCount": 1​
}​
}​
​
error code​
The following table lists error codes related to this API and its business logic. For public error codes, refer to the Public Error Codes documentation.​
​
Status code​
error code​
error message​
Create Volume​
404​
InvalidPlacementGroup.NotFound​
placement group not found​
Anti-affinity group does not exist.​
​
Last updated: 2026.01.09 18:19:56