Class Instance (1.1.2)

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}``
id str
An identifier for the ``Instance``, generated by the backend.
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.
os_image str
The OS image currently installed on the server.
pod str
Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.
network_template str
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond
logical_interfaces Sequence[google.cloud.bare_metal_solution_v2.types.LogicalInterface]
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.

Inheritance

builtins.object > proto.message.Message > Instance

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.