Instance(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A server.
Attributes |
|
---|---|
Name | Description |
name |
str
Immutable. 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
Output only. 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
Immutable. The server type. `Available server types |
state |
google.cloud.bare_metal_solution_v2.types.Instance.State
Output only. The state of the server. |
hyperthreading_enabled |
bool
True if you enable hyperthreading for the server, otherwise false. The default value is false. |
labels |
MutableMapping[str, str]
Labels as key value pairs. |
luns |
MutableSequence[google.cloud.bare_metal_solution_v2.types.Lun]
Immutable. List of LUNs associated with this server. |
volumes |
MutableSequence[google.cloud.bare_metal_solution_v2.types.Volume]
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses. |
networks |
MutableSequence[google.cloud.bare_metal_solution_v2.types.Network]
Output only. List of networks associated with this server. |
interactive_serial_console_enabled |
bool
Output only. 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 |
MutableSequence[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. |
login_info |
str
Output only. Text field about info for logging in. |
workload_profile |
google.cloud.bare_metal_solution_v2.types.WorkloadProfile
The workload profile for the instance. |
firmware_version |
str
Output only. The firmware version for the instance. |
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)
The possible states for this server.