Class: Google::Cloud::BareMetalSolution::V2::InstanceConfig

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#account_networks_enabled::Boolean

Returns 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.



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

Deprecated.

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.

Returns:



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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::String)

    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.

Returns:



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.

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.



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.

Returns:

  • (::String)

    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.

Returns:



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.

Returns:

  • (::String)

    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.

Returns:



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

Deprecated.

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.

Returns:



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.

Returns:

  • (::Array<::String>)

    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 .

Returns:

  • (::String)

    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