Class Instance (0.1.1)

Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A server.

Attributes

NameDescription
name str
Output only. The resource name of this Instance. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: projects/{project}/locations/{location}/instances/{instance}
create_time google.protobuf.timestamp_pb2.Timestamp
Output only. Create a time stamp.
update_time google.protobuf.timestamp_pb2.Timestamp
Output only. Update a time stamp.
machine_type str
The server type. `Available server types
state google.cloud.bare_metal_solution_v2.types.Instance.State
The state of the server.
hyperthreading_enabled bool
True if you enable hyperthreading for the server, otherwise false. The default value is false.
labels Mapping[str, str]
Labels as key value pairs.
luns Sequence[google.cloud.bare_metal_solution_v2.types.Lun]
List of LUNs associated with this server.
networks Sequence[google.cloud.bare_metal_solution_v2.types.Network]
List of networks associated with this server.
interactive_serial_console_enabled bool
True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

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 mapping is a mapping type or there are keyword parameters.

State

State(value)

The possible states for this server.