Class: Google::Cloud::BareMetalSolution::V2::InstanceConfig
- Inherits:
-
Object
- Object
- Google::Cloud::BareMetalSolution::V2::InstanceConfig
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb
Overview
Configuration parameters for a new instance.
Defined Under Namespace
Modules: NetworkConfig Classes: NetworkAddress
Instance Attribute Summary collapse
-
#account_networks_enabled ⇒ ::Boolean
If true networks can be from different projects of the same vendor account.
-
#client_network ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#hyperthreading ⇒ ::Boolean
Whether the instance should be provisioned with Hyperthreading enabled.
-
#id ⇒ ::String
A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
-
#instance_type ⇒ ::String
Instance type.
-
#logical_interfaces ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface>
List of logical interfaces for the instance.
-
#name ⇒ ::String
readonly
Output only.
-
#network_config ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig
The type of network configuration on the instance.
-
#network_template ⇒ ::String
Server network template name.
-
#os_image ⇒ ::String
OS image to initialize the instance.
-
#private_network ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
deprecated
Deprecated.
This field is deprecated and may be removed in the next major version update.
-
#ssh_key_names ⇒ ::Array<::String>
List of names of ssh keys used to provision the instance.
-
#user_note ⇒ ::String
User note field, it can be used by customers to add additional information for the BMS Ops team .
Instance Attribute Details
#account_networks_enabled ⇒ ::Boolean
Returns If true networks can be from different projects of the same vendor account.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#client_network ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
This field is deprecated and may be removed in the next major version update.
Returns Client network address. Filled if InstanceConfig.multivlan_config is false.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#hyperthreading ⇒ ::Boolean
Returns Whether the instance should be provisioned with Hyperthreading enabled.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#id ⇒ ::String
Returns A transient unique identifier to idenfity an instance within an ProvisioningConfig request.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#instance_type ⇒ ::String
Returns Instance type. Available types.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#logical_interfaces ⇒ ::Array<::Google::Cloud::BareMetalSolution::V2::LogicalInterface>
Returns 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.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#name ⇒ ::String (readonly)
Returns Output only. The name of the instance config.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#network_config ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkConfig
Returns The type of network configuration on the instance.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#network_template ⇒ ::String
Returns Server network template name. Filled if InstanceConfig.multivlan_config is true.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#os_image ⇒ ::String
Returns OS image to initialize the instance. Available images.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#private_network ⇒ ::Google::Cloud::BareMetalSolution::V2::InstanceConfig::NetworkAddress
This field is deprecated and may be removed in the next major version update.
Returns Private network address, if any. Filled if InstanceConfig.multivlan_config is false.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#ssh_key_names ⇒ ::Array<::String>
Returns List of names of ssh keys used to provision the instance.
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |
#user_note ⇒ ::String
Returns User note field, it can be used by customers to add additional information for the BMS Ops team .
264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 |
# File 'proto_docs/google/cloud/baremetalsolution/v2/provisioning.rb', line 264 class InstanceConfig include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # A network. # @!attribute [rw] network_id # @return [::String] # Id of the network to use, within the same ProvisioningConfig request. # @!attribute [rw] address # @return [::String] # IPv4 address to be assigned to the server. # @!attribute [rw] existing_network_id # @return [::String] # Name of the existing network to use. class NetworkAddress include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # The network configuration of the instance. module NetworkConfig # The unspecified network configuration. NETWORKCONFIG_UNSPECIFIED = 0 # Instance part of single client network and single private network. SINGLE_VLAN = 1 # Instance part of multiple (or single) client networks and private # networks. MULTI_VLAN = 2 end end |