Compute Cloud API, gRPC: HostGroupService.Get
Returns the specified host group.
gRPC request
rpc Get (GetHostGroupRequest) returns (HostGroup)
GetHostGroupRequest
{
"host_group_id": "string"
}
|
Field |
Description |
|
host_group_id |
string Required field. ID of the host group to return. |
HostGroup
{
"id": "string",
"folder_id": "string",
"created_at": "google.protobuf.Timestamp",
"name": "string",
"description": "string",
"labels": "map<string, string>",
"zone_id": "string",
"status": "Status",
"type_id": "string",
"maintenance_policy": "MaintenancePolicy",
"scale_policy": {
// Includes only one of the fields `fixed_scale`
"fixed_scale": {
"size": "int64"
}
// end of the list of possible fields
}
}
Represents group of dedicated hosts
|
Field |
Description |
|
id |
string ID of the group. |
|
folder_id |
string ID of the folder that the group belongs to. |
|
created_at |
Creation timestamp in RFC3339 |
|
name |
string Name of the group. The name is unique within the folder. |
|
description |
string Description of the group. |
|
labels |
object (map<string, string>) Resource labels as |
|
zone_id |
string Availability zone where all dedicated hosts are allocated. |
|
status |
enum Status Status of the group.
|
|
type_id |
string ID of host type. Resources provided by each host of the group. |
|
maintenance_policy |
enum MaintenancePolicy Behaviour on maintenance events.
|
|
scale_policy |
Scale policy. Only fixed number of hosts are supported at this moment. |
ScalePolicy
|
Field |
Description |
|
fixed_scale |
Includes only one of the fields |
FixedScale
|
Field |
Description |
|
size |
int64 |