class Google::Apis::BaremetalsolutionV1alpha1::InstanceConfig
Configuration parameters for a new instance.
Attributes
A network. Corresponds to the JSON property `clientNetwork` @return [Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress]
Whether the instance should be provisioned with Hyperthreading enabled. Corresponds to the JSON property `hyperthreading` @return [Boolean]
Whether the instance should be provisioned with Hyperthreading enabled. Corresponds to the JSON property `hyperthreading` @return [Boolean]
A transient unique identifier to idenfity an instance within an ProvisioningConfig
request. Corresponds to the JSON property `id` @return [String]
Instance
type. Corresponds to the JSON property `instanceType` @return [String]
Location where to deploy the instance. Corresponds to the JSON property `location` @return [String]
OS image to initialize the instance. Corresponds to the JSON property `osImage` @return [String]
A network. Corresponds to the JSON property `privateNetwork` @return [Google::Apis::BaremetalsolutionV1alpha1::NetworkAddress]
User note field, it can be used by customers to add additional information for the BMS Ops team (b/194021617). Corresponds to the JSON property `userNote` @return [String]
Public Class Methods
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 192 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/baremetalsolution_v1alpha1/classes.rb, line 197 def update!(**args) @client_network = args[:client_network] if args.key?(:client_network) @hyperthreading = args[:hyperthreading] if args.key?(:hyperthreading) @id = args[:id] if args.key?(:id) @instance_type = args[:instance_type] if args.key?(:instance_type) @location = args[:location] if args.key?(:location) @os_image = args[:os_image] if args.key?(:os_image) @private_network = args[:private_network] if args.key?(:private_network) @user_note = args[:user_note] if args.key?(:user_note) end