Bare Metal Solution v2 API - Class Instance (1.0.0)

Stay organized with collections Save and categorize content based on your preferences.
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

HyperthreadingEnabled

public bool HyperthreadingEnabled { get; set; }

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

Property Value
TypeDescription
Boolean

Id

public string Id { get; set; }

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

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

Property Value
TypeDescription
Boolean

Labels

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

Labels as key value pairs.

Property Value
TypeDescription
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
TypeDescription
RepeatedField<LogicalInterface>

Luns

public RepeatedField<Lun> Luns { get; }

List of LUNs associated with this server.

Property Value
TypeDescription
RepeatedField<Lun>

MachineType

public string MachineType { get; set; }

The server type. Available server types

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

Networks

public RepeatedField<Network> Networks { get; }

List of networks associated with this server.

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

NetworkTemplateAsServerNetworkTemplateName

public ServerNetworkTemplateName NetworkTemplateAsServerNetworkTemplateName { get; set; }

ServerNetworkTemplateName-typed view over the NetworkTemplate resource name property.

Property Value
TypeDescription
ServerNetworkTemplateName

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

The state of the server.

Property Value
TypeDescription
Instance.Types.State

UpdateTime

public Timestamp UpdateTime { get; set; }

Output only. Update a time stamp.

Property Value
TypeDescription
Timestamp