Bare Metal Solution v2 API - Class Instance (1.6.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
Name Description
other Instance

Properties

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Create a time stamp.

Property Value
Type Description
Timestamp

FirmwareVersion

public string FirmwareVersion { get; set; }

Output only. The firmware version for the instance.

Property Value
Type Description
string

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
bool

Id

public string Id { get; set; }

Output only. 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; }

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

Property Value
Type Description
bool

Labels

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

Labels as key value pairs.

Property Value
Type Description
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
Type Description
RepeatedFieldLogicalInterface

LoginInfo

public string LoginInfo { get; set; }

Output only. Text field about info for logging in.

Property Value
Type Description
string

Luns

public RepeatedField<Lun> Luns { get; }

Immutable. List of LUNs associated with this server.

Property Value
Type Description
RepeatedFieldLun

MachineType

public string MachineType { get; set; }

Immutable. The server type. Available server types

Property Value
Type Description
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
Type Description
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
Type Description
string

NetworkTemplateAsServerNetworkTemplateName

public ServerNetworkTemplateName NetworkTemplateAsServerNetworkTemplateName { get; set; }

ServerNetworkTemplateName-typed view over the NetworkTemplate resource name property.

Property Value
Type Description
ServerNetworkTemplateName

Networks

public RepeatedField<Network> Networks { get; }

Output only. List of networks associated with this server.

Property Value
Type Description
RepeatedFieldNetwork

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; }

Output only. The state of the server.

Property Value
Type Description
InstanceTypesState

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update a time stamp.

Property Value
Type Description
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
Type Description
RepeatedFieldVolume

WorkloadProfile

public WorkloadProfile WorkloadProfile { get; set; }

The workload profile for the instance.

Property Value
Type Description
WorkloadProfile