Class ComputeInstanceAdvancedMachineFeatures.Jsii$Proxy

    • Method Detail

      • getThreadsPerCore

        public final Number getThreadsPerCore()
        Description copied from interface: ComputeInstanceAdvancedMachineFeatures
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#threads_per_core ComputeInstance#threads_per_core}

        Specified by:
        getThreadsPerCore in interface ComputeInstanceAdvancedMachineFeatures
      • getVisibleCoreCount

        public final Number getVisibleCoreCount()
        Description copied from interface: ComputeInstanceAdvancedMachineFeatures
        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. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance#visible_core_count ComputeInstance#visible_core_count}

        Specified by:
        getVisibleCoreCount in interface ComputeInstanceAdvancedMachineFeatures
      • $jsii$toJson

        @Internal
        public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
        Specified by:
        $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object