CpuOptionsRequest¶
Structure Class¶
CpuOptionsRequest
dataclass
¶
Bases: _SerdeShape
The CPU options for the instance. Both the core count and threads per core must be specified in the request.
Attributes¶
amd_sev_snp
class-attribute
instance-attribute
¶
amd_sev_snp: str | None = ...
Indicates whether to enable the instance for AMD SEV-SNP. AMD SEV-SNP is supported with M6a, R6a, and C6a instance types only. For more information, see AMD SEV-SNP.
core_count
class-attribute
instance-attribute
¶
core_count: int | None = ...
The number of CPU cores for the instance.
nested_virtualization
class-attribute
instance-attribute
¶
nested_virtualization: str | None = ...
Indicates whether to enable the instance for nested virtualization. Nested virtualization is supported only on 8th generation Intel-based instance types (c8i, m8i, r8i, and their flex variants). When nested virtualization is enabled, Virtual Secure Mode (VSM) is automatically disabled for the instance.