Compute Cloud API, gRPC: DiskPlacementGroupService.Get
Returns the specified placement group.
gRPC request
rpc Get (GetDiskPlacementGroupRequest) returns (DiskPlacementGroup)
GetDiskPlacementGroupRequest
{
"diskPlacementGroupId": "string"
}
Field |
Description |
diskPlacementGroupId |
string Required field. ID of the placement group to return. |
DiskPlacementGroup
{
"id": "string",
"folderId": "string",
"createdAt": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "string",
"zoneId": "string",
"status": "Status",
// Includes only one of the fields `spreadPlacementStrategy`, `partitionPlacementStrategy`
"spreadPlacementStrategy": "DiskSpreadPlacementStrategy",
"partitionPlacementStrategy": {
"partitions": "int64"
}
// 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 |
Creation timestamp in RFC3339 |
name |
string Name of the placement group. |
description |
string Description of the placement group. |
labels |
string Resource labels as |
zoneId |
string ID of the availability zone where the placement group resides. |
status |
enum Status Current status of the placement group
|
spreadPlacementStrategy |
Distribute disks over distinct failure domains. Includes only one of the fields Placement strategy. |
partitionPlacementStrategy |
DiskPartitionPlacementStrategy Distribute disks over partitions. Includes only one of the fields Placement strategy. |
DiskSpreadPlacementStrategy
Field |
Description |
Empty |
DiskPartitionPlacementStrategy
Field |
Description |
partitions |
int64 |