public sealed class Instance : IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessage
Reference documentation and code samples for the Bare Metal Solution v2 API class Instance.
A server.
Implements
IMessage<Instance>, IEquatable<Instance>, IDeepCloneable<Instance>, IBufferMessage, IMessageNamespace
Google.Cloud.BareMetalSolution.V2Assembly
Google.Cloud.BareMetalSolution.V2.dll
Constructors
Instance()
public Instance()
Instance(Instance)
public Instance(Instance other)
Parameter | |
---|---|
Name | Description |
other | Instance |
Properties
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Create a time stamp.
Property Value | |
---|---|
Type | Description |
Timestamp |
HyperthreadingEnabled
public bool HyperthreadingEnabled { get; set; }
True if you enable hyperthreading for the server, otherwise false. The default value is false.
Property Value | |
---|---|
Type | Description |
Boolean |
Id
public string Id { get; set; }
An identifier for the Instance
, generated by the backend.
Property Value | |
---|---|
Type | Description |
String |
InstanceName
public InstanceName InstanceName { get; set; }
InstanceName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
InstanceName |
InteractiveSerialConsoleEnabled
public bool InteractiveSerialConsoleEnabled { get; set; }
True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
Property Value | |
---|---|
Type | Description |
Boolean |
Labels
public MapField<string, string> Labels { get; }
Labels as key value pairs.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
LogicalInterfaces
public RepeatedField<LogicalInterface> LogicalInterfaces { get; }
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.
Property Value | |
---|---|
Type | Description |
RepeatedField<LogicalInterface> |
Luns
public RepeatedField<Lun> Luns { get; }
List of LUNs associated with this server.
Property Value | |
---|---|
Type | Description |
RepeatedField<Lun> |
MachineType
public string MachineType { get; set; }
The server type. Available server types
Property Value | |
---|---|
Type | Description |
String |
Name
public string Name { get; set; }
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}
Property Value | |
---|---|
Type | Description |
String |
Networks
public RepeatedField<Network> Networks { get; }
List of networks associated with this server.
Property Value | |
---|---|
Type | Description |
RepeatedField<Network> |
NetworkTemplate
public string NetworkTemplate { get; set; }
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond<bond_mode>" or "nic".
Property Value | |
---|---|
Type | Description |
String |
NetworkTemplateAsServerNetworkTemplateName
public ServerNetworkTemplateName NetworkTemplateAsServerNetworkTemplateName { get; set; }
ServerNetworkTemplateName-typed view over the NetworkTemplate resource name property.
Property Value | |
---|---|
Type | Description |
ServerNetworkTemplateName |
OsImage
public string OsImage { get; set; }
The OS image currently installed on the server.
Property Value | |
---|---|
Type | Description |
String |
Pod
public string Pod { get; set; }
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.
Property Value | |
---|---|
Type | Description |
String |
State
public Instance.Types.State State { get; set; }
The state of the server.
Property Value | |
---|---|
Type | Description |
Instance.Types.State |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Update a time stamp.
Property Value | |
---|---|
Type | Description |
Timestamp |