Bare Metal Solution v2 API - Class Instance (1.5.0)

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.

Inheritance

object > Instance

Namespace

Google.Cloud.BareMetalSolution.V2

Assembly

Google.Cloud.BareMetalSolution.V2.dll

Constructors

Instance()

public Instance()

Instance(Instance)

public Instance(Instance other)
Parameter
NameDescription
otherInstance

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create a time stamp.

Property Value
TypeDescription
Timestamp

FirmwareVersion

public string FirmwareVersion { get; set; }

Output only. The firmware version for the instance.

Property Value
TypeDescription
string

HyperthreadingEnabled

public bool HyperthreadingEnabled { get; set; }

True if you enable hyperthreading for the server, otherwise false. The default value is false.

Property Value
TypeDescription
bool

Id

public string Id { get; set; }

Output only. An identifier for the Instance, generated by the backend.

Property Value
TypeDescription
string

InstanceName

public InstanceName InstanceName { get; set; }

InstanceName-typed view over the Name resource name property.

Property Value
TypeDescription
InstanceName

InteractiveSerialConsoleEnabled

public bool InteractiveSerialConsoleEnabled { get; set; }

Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.

Property Value
TypeDescription
bool

Labels

public MapField<string, string> Labels { get; }

Labels as key value pairs.

Property Value
TypeDescription
MapFieldstringstring

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
TypeDescription
RepeatedFieldLogicalInterface

LoginInfo

public string LoginInfo { get; set; }

Output only. Text field about info for logging in.

Property Value
TypeDescription
string

Luns

public RepeatedField<Lun> Luns { get; }

Immutable. List of LUNs associated with this server.

Property Value
TypeDescription
RepeatedFieldLun

MachineType

public string MachineType { get; set; }

Immutable. The server type. Available server types

Property Value
TypeDescription
string

Name

public string Name { get; set; }

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}

Property Value
TypeDescription
string

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
TypeDescription
string

NetworkTemplateAsServerNetworkTemplateName

public ServerNetworkTemplateName NetworkTemplateAsServerNetworkTemplateName { get; set; }

ServerNetworkTemplateName-typed view over the NetworkTemplate resource name property.

Property Value
TypeDescription
ServerNetworkTemplateName

Networks

public RepeatedField<Network> Networks { get; }

Output only. List of networks associated with this server.

Property Value
TypeDescription
RepeatedFieldNetwork

OsImage

public string OsImage { get; set; }

The OS image currently installed on the server.

Property Value
TypeDescription
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
TypeDescription
string

State

public Instance.Types.State State { get; set; }

Output only. The state of the server.

Property Value
TypeDescription
InstanceTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update a time stamp.

Property Value
TypeDescription
Timestamp

Volumes

public RepeatedField<Volume> Volumes { get; }

Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.

Property Value
TypeDescription
RepeatedFieldVolume

WorkloadProfile

public WorkloadProfile WorkloadProfile { get; set; }

The workload profile for the instance.

Property Value
TypeDescription
WorkloadProfile