Class: Google::Cloud::AlloyDB::V1beta::Instance::MachineConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/alloydb/v1beta/resources.rb

Overview

MachineConfig describes the configuration of a machine.

Instance Attribute Summary collapse

Instance Attribute Details

#cpu_count::Integer

Returns The number of CPU's in the VM instance.

Returns:

  • (::Integer)

    The number of CPU's in the VM instance.



894
895
896
897
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 894

class MachineConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#machine_type::String

Returns Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.

Returns:

  • (::String)

    Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.



894
895
896
897
# File 'proto_docs/google/cloud/alloydb/v1beta/resources.rb', line 894

class MachineConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end