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

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

Configuration parameters for a new instance.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#account_networks_enabled

def account_networks_enabled() -> ::Boolean
Returns
  • (::Boolean) — If true networks can be from different projects of the same vendor account.

#account_networks_enabled=

def account_networks_enabled=(value) -> ::Boolean
Parameter
  • value (::Boolean) — If true networks can be from different projects of the same vendor account.
Returns
  • (::Boolean) — If true networks can be from different projects of the same vendor account.

#client_network

def client_network() -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Returns

#client_network=

def client_network=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Parameter
Returns

#hyperthreading

def hyperthreading() -> ::Boolean
Returns
  • (::Boolean) — Whether the instance should be provisioned with Hyperthreading enabled.

#hyperthreading=

def hyperthreading=(value) -> ::Boolean
Parameter
  • value (::Boolean) — Whether the instance should be provisioned with Hyperthreading enabled.
Returns
  • (::Boolean) — Whether the instance should be provisioned with Hyperthreading enabled.

#id

def id() -> ::String
Returns
  • (::String) — A transient unique identifier to idenfity an instance within an ProvisioningConfig request.

#id=

def id=(value) -> ::String
Parameter
  • value (::String) — A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
Returns
  • (::String) — A transient unique identifier to idenfity an instance within an ProvisioningConfig request.

#instance_type

def instance_type() -> ::String
Returns

#instance_type=

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

#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. Filled if InstanceConfig.multivlan_config is true.

#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. Filled if InstanceConfig.multivlan_config is true.
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. Filled if InstanceConfig.multivlan_config is true.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The name of the instance config.

#network_config

def network_config() -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig
Returns

#network_config=

def network_config=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig
Parameter
Returns

#network_template

def network_template() -> ::String
Returns
  • (::String) — Server network template name. Filled if InstanceConfig.multivlan_config is true.

#network_template=

def network_template=(value) -> ::String
Parameter
  • value (::String) — Server network template name. Filled if InstanceConfig.multivlan_config is true.
Returns
  • (::String) — Server network template name. Filled if InstanceConfig.multivlan_config is true.

#os_image

def os_image() -> ::String
Returns

#os_image=

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

#private_network

def private_network() -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Returns

#private_network=

def private_network=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Parameter
Returns

#ssh_key_names

def ssh_key_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — List of names of ssh keys used to provision the instance.

#ssh_key_names=

def ssh_key_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — List of names of ssh keys used to provision the instance.
Returns
  • (::Array<::String>) — List of names of ssh keys used to provision the instance.

#user_note

def user_note() -> ::String
Returns
  • (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .

#user_note=

def user_note=(value) -> ::String
Parameter
  • value (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .
Returns
  • (::String) — User note field, it can be used by customers to add additional information for the BMS Ops team .