Interface ComputeInstanceFromTemplateAdvancedMachineFeatures
-
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
ComputeInstanceFromTemplateAdvancedMachineFeatures.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)", date="2024-08-31T03:59:18.489Z") @Stability(Stable) public interface ComputeInstanceFromTemplateAdvancedMachineFeatures extends software.amazon.jsii.JsiiSerializable
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classComputeInstanceFromTemplateAdvancedMachineFeatures.BuilderA builder forComputeInstanceFromTemplateAdvancedMachineFeaturesstatic classComputeInstanceFromTemplateAdvancedMachineFeatures.Jsii$ProxyAn implementation forComputeInstanceFromTemplateAdvancedMachineFeatures
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Modifier and Type Method Description static ComputeInstanceFromTemplateAdvancedMachineFeatures.Builderbuilder()default ObjectgetEnableNestedVirtualization()Whether to enable nested virtualization or not.default NumbergetThreadsPerCore()The number of threads per physical core.default NumbergetVisibleCoreCount()The number of physical cores to expose to an instance.
-
-
-
Method Detail
-
getEnableNestedVirtualization
@Stability(Stable) @Nullable default Object getEnableNestedVirtualization()
Whether to enable nested virtualization or not.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/compute_instance_from_template#enable_nested_virtualization ComputeInstanceFromTemplate#enable_nested_virtualization}
-
getThreadsPerCore
@Stability(Stable) @Nullable default Number getThreadsPerCore()
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_from_template#threads_per_core ComputeInstanceFromTemplate#threads_per_core}
-
getVisibleCoreCount
@Stability(Stable) @Nullable default Number getVisibleCoreCount()
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_from_template#visible_core_count ComputeInstanceFromTemplate#visible_core_count}
-
builder
@Stability(Stable) static ComputeInstanceFromTemplateAdvancedMachineFeatures.Builder builder()
-
-