Compute Cloud API, REST: DiskPlacementGroup.list
Retrieves the list of placement groups in the specified folder.
HTTP request
GET https://compute.api.il.nebius.cloud/compute/v1/diskPlacementGroups
Query parameters
Parameter | Description |
---|---|
folderId | Required. ID of the folder to list placement groups in. To get the folder ID, use list request. The maximum string length in characters is 50. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than pageSize, the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. The maximum value is 1000. |
pageToken | Page token. To get the next page of results, set pageToken to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
filter | A filter expression that filters resources listed in the response. The expression consists of one or more conditions united by Each condition has the form
The maximum string length in characters is 1000. |
orderBy | By which column the listing should be ordered and in which direction, format is "createdAt desc". "id asc" if omitted. The default sorting order is ascending The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"diskPlacementGroups": [
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"zoneId": "string",
"status": "string",
// `diskPlacementGroups[]` includes only one of the fields `spreadPlacementStrategy`, `partitionPlacementStrategy`
"spreadPlacementStrategy": {},
"partitionPlacementStrategy": {
"partitions": "string"
},
// end of the list of possible fields`diskPlacementGroups[]`
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
diskPlacementGroups[] | object Lists placement groups for the specified folder. |
diskPlacementGroups[]. id |
string ID of the placement group. |
diskPlacementGroups[]. folderId |
string ID of the folder that the placement group belongs to. |
diskPlacementGroups[]. createdAt |
string (date-time) Creation timestamp in RFC3339 text format. String in RFC3339 text format. The range of possible values is from To work with values in this field, use the APIs described in the Protocol Buffers reference. In some languages, built-in datetime utilities do not support nanosecond precision (9 digits). |
diskPlacementGroups[]. name |
string Name of the placement group. The name is unique within the folder. |
diskPlacementGroups[]. description |
string Description of the placement group. |
diskPlacementGroups[]. labels |
object Resource labels as |
diskPlacementGroups[]. zoneId |
string ID of the availability zone where the placement group resides. |
diskPlacementGroups[]. status |
string Current status of the placement group |
diskPlacementGroups[]. spreadPlacementStrategy |
object Distribute disks over distinct failure domains. diskPlacementGroups[] includes only one of the fields spreadPlacementStrategy , partitionPlacementStrategy |
diskPlacementGroups[]. partitionPlacementStrategy |
object Distribute disks over partitions. diskPlacementGroups[] includes only one of the fields spreadPlacementStrategy , partitionPlacementStrategy |
diskPlacementGroups[]. partitionPlacementStrategy. partitions |
string (int64) |
nextPageToken | string This token allows you to get the next page of results for list requests. If the number of results is larger than pageSize, use nextPageToken as the value for the pageToken query parameter in the next list request. Each subsequent list request will have its own nextPageToken to continue paging through the results. |