Resource: HostGroup
Host group is a collection of hosts that can be used for accessing a Block Volume.
| JSON representation |
|---|
{ "name": string, "type": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the host group. Format: |
type |
Required. Type of the host group. |
state |
Output only. State of the host group. |
createTime |
Output only. Create time of the host group. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
hosts[] |
Required. The list of hosts associated with the host group. |
osType |
Required. The OS type of the host group. It indicates the type of operating system used by all of the hosts in the HostGroup. All hosts in a HostGroup must be of the same OS type. This can be set only when creating a HostGroup. |
description |
Optional. Description of the host group. |
labels |
Optional. Labels of the host group. An object containing a list of |
Type
Types of host group.
| Enums | |
|---|---|
TYPE_UNSPECIFIED |
Unspecified type for host group. |
ISCSI_INITIATOR |
iSCSI initiator host group. |
State
Host group states.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Unspecified state for host group. |
CREATING |
Host group is creating. |
READY |
Host group is ready. |
UPDATING |
Host group is updating. |
DELETING |
Host group is deleting. |
DISABLED |
Host group is disabled. |
Methods |
|
|---|---|
|
Creates a new host group. |
|
Deletes a host group. |
|
Returns details of the specified host group. |
|
Returns a list of host groups in a location. |
|
Updates an existing host group. |