Bare Metal Solution V2 API - Class Google::Cloud::BareMetalSolution::V2::Instance (v0.5.1)

Reference documentation and code samples for the Bare Metal Solution V2 API class Google::Cloud::BareMetalSolution::V2::Instance.

A server.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#firmware_version

def firmware_version() -> ::String
Returns
  • (::String) — Output only. The firmware version for the instance.

#hyperthreading_enabled

def hyperthreading_enabled() -> ::Boolean
Returns
  • (::Boolean) — True if you enable hyperthreading for the server, otherwise false. The default value is false.

#hyperthreading_enabled=

def hyperthreading_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — True if you enable hyperthreading for the server, otherwise false. The default value is false.
Returns
  • (::Boolean) — True if you enable hyperthreading for the server, otherwise false. The default value is false.

#id

def id() -> ::String
Returns
  • (::String) — Output only. An identifier for the Instance, generated by the backend.

#interactive_serial_console_enabled

def interactive_serial_console_enabled() -> ::Boolean
Returns
  • (::Boolean) — Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.

#labels

def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#labels=

def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
  • value (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.
Returns
  • (::Google::Protobuf::Map{::String => ::String}) — Labels as key value pairs.

#logical_interfaces

def logical_interfaces() -> ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface>
Returns
  • (::Array<::Google::Cloud::BareMetalSolution::V2::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.

#logical_interfaces=

def logical_interfaces=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface>
Parameter
  • value (::Array<::Google::Cloud::BareMetalSolution::V2::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.
Returns
  • (::Array<::Google::Cloud::BareMetalSolution::V2::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

def login_info() -> ::String
Returns
  • (::String) — Output only. Text field about info for logging in.

#luns

def luns() -> ::Array<::Google::Cloud::BareMetalSolution::V2::Lun>
Returns

#luns=

def luns=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::Lun>
Parameter
Returns

#machine_type

def machine_type() -> ::String
Returns

#machine_type=

def machine_type=(value) -> ::String
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — 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}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — 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}
Returns
  • (::String) — 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}

#network_template

def network_template() -> ::String
Returns
  • (::String) — Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond

#network_template=

def network_template=(value) -> ::String
Parameter
  • value (::String) — Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond
Returns
  • (::String) — Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond

#networks

def networks() -> ::Array<::Google::Cloud::BareMetalSolution::V2::Network>
Returns

#os_image

def os_image() -> ::String
Returns
  • (::String) — The OS image currently installed on the server.

#os_image=

def os_image=(value) -> ::String
Parameter
  • value (::String) — The OS image currently installed on the server.
Returns
  • (::String) — The OS image currently installed on the server.

#pod

def pod() -> ::String
Returns
  • (::String) — 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.

#pod=

def pod=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#state

def state() -> ::Google::Cloud::BareMetalSolution::V2::Instance::State
Returns

#update_time

def update_time() -> ::Google::Protobuf::Timestamp
Returns

#volumes

def volumes() -> ::Array<::Google::Cloud::BareMetalSolution::V2::Volume>
Returns

#volumes=

def volumes=(value) -> ::Array<::Google::Cloud::BareMetalSolution::V2::Volume>
Parameter
Returns

#workload_profile

def workload_profile() -> ::Google::Cloud::BareMetalSolution::V2::WorkloadProfile
Returns

#workload_profile=

def workload_profile=(value) -> ::Google::Cloud::BareMetalSolution::V2::WorkloadProfile
Parameter
Returns