Compute Cloud API, REST: DiskPlacementGroup methods
A set of methods for managing DiskPlacementGroup resources.
JSON Representation
{
"id": "string",
"folderId": "string",
"createdAt": "string",
"name": "string",
"description": "string",
"labels": "object",
"zoneId": "string",
"status": "string",
// includes only one of the fields `spreadPlacementStrategy`, `partitionPlacementStrategy`
"spreadPlacementStrategy": {},
"partitionPlacementStrategy": {
"partitions": "string"
},
// end of the list of possible fields
}
Field | Description |
---|---|
id | string ID of the placement group. |
folderId | string ID of the folder that the placement group belongs to. |
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). |
name | string Name of the placement group. The name is unique within the folder. |
description | string Description of the placement group. |
labels | object Resource labels as |
zoneId | string ID of the availability zone where the placement group resides. |
status | string Current status of the placement group |
spreadPlacementStrategy | object includes only one of the fields spreadPlacementStrategy , partitionPlacementStrategy |
partitionPlacementStrategy | object includes only one of the fields spreadPlacementStrategy , partitionPlacementStrategy |
partitionPlacementStrategy. partitions |
string (int64) |
Methods
Method | Description |
---|---|
create | Creates a placement group in the specified folder. |
delete | Deletes the specified placement group. |
get | Returns the specified placement group. |
list | Retrieves the list of placement groups in the specified folder. |
listDisks | Lists disks for the specified placement group. |
listOperations | Lists operations for the specified placement group. |
update | Updates the specified placement group. |