HostGroup(mapping=None, *, ignore_unknown_fields=False, **kwargs)Host group is a collection of hosts that can be used for accessing a Block Volume.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. The resource name of the host group. Format: projects/{project_number}/locations/{location_id}/hostGroups/{host_group_id}.
|
type_ |
google.cloud.netapp_v1.types.HostGroup.Type
Required. Type of the host group. |
state |
google.cloud.netapp_v1.types.HostGroup.State
Output only. State of the host group. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. Create time of the host group. |
hosts |
MutableSequence[str]
Required. The list of hosts associated with the host group. |
os_type |
google.cloud.netapp_v1.types.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 |
str
Optional. Description of the host group. |
labels |
MutableMapping[str, str]
Optional. Labels of the host group. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
State
State(value)Host group states.
Type
Type(value)Types of host group.