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
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Client network address. Filled if InstanceConfig.multivlan_config is false.
#client_network=
def client_network=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Client network address. Filled if InstanceConfig.multivlan_config is false.
Returns
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Client network address. Filled if InstanceConfig.multivlan_config is false.
#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
- (::String) — Instance type. Available types
#instance_type=
def instance_type=(value) -> ::String
Parameter
- value (::String) — Instance type. Available types
Returns
- (::String) — Instance type. Available types
#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
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig) — The type of network configuration on the instance.
#network_config=
def network_config=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig) — The type of network configuration on the instance.
Returns
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig) — The type of network configuration on the instance.
#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
- (::String) — OS image to initialize the instance. Available images
#os_image=
def os_image=(value) -> ::String
Parameter
- value (::String) — OS image to initialize the instance. Available images
Returns
- (::String) — OS image to initialize the instance. Available images
#private_network
def private_network() -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Returns
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
#private_network=
def private_network=(value) -> ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
Parameter
- value (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
Returns
- (::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress) — Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
#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 .