Class: Google::Cloud::Compute::V1::AdvancedMachineFeatures

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

Overview

Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled).

Instance Attribute Summary collapse

Instance Attribute Details

#enable_nested_virtualization::Boolean

Returns Whether to enable nested virtualization or not (default is false).

Returns:

  • (::Boolean)

    Whether to enable nested virtualization or not (default is false).



879
880
881
882
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 879

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

#enable_uefi_networking::Boolean

Returns Whether to enable UEFI networking for instance creation.

Returns:

  • (::Boolean)

    Whether to enable UEFI networking for instance creation.



879
880
881
882
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 879

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

#threads_per_core::Integer

Returns The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.

Returns:

  • (::Integer)

    The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed.



879
880
881
882
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 879

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

#visible_core_count::Integer

Returns The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.

Returns:

  • (::Integer)

    The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width.



879
880
881
882
# File 'proto_docs/google/cloud/compute/v1/compute.rb', line 879

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