InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig

class oci.core.models.InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig(**kwargs)

Bases: oci.core.models.instance_configuration_launch_instance_platform_config.InstanceConfigurationLaunchInstancePlatformConfig

The platform configuration used when launching a bare metal instance with an E4 shape (the AMD Milan platform).

Attributes

NUMA_NODES_PER_SOCKET_NPS0 A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS1 A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS2 A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS4 A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
TYPE_AMD_MILAN_BM str(object=’’) -> str
TYPE_AMD_ROME_BM str(object=’’) -> str
TYPE_AMD_VM str(object=’’) -> str
TYPE_INTEL_SKYLAKE_BM str(object=’’) -> str
TYPE_INTEL_VM str(object=’’) -> str
is_measured_boot_enabled Gets the is_measured_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
is_secure_boot_enabled Gets the is_secure_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
is_trusted_platform_module_enabled Gets the is_trusted_platform_module_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
numa_nodes_per_socket Gets the numa_nodes_per_socket of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
type [Required] Gets the type of this InstanceConfigurationLaunchInstancePlatformConfig.

Methods

__init__(**kwargs) Initializes a new InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
NUMA_NODES_PER_SOCKET_NPS0 = 'NPS0'

A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. This constant has a value of “NPS0”

NUMA_NODES_PER_SOCKET_NPS1 = 'NPS1'

A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. This constant has a value of “NPS1”

NUMA_NODES_PER_SOCKET_NPS2 = 'NPS2'

A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. This constant has a value of “NPS2”

NUMA_NODES_PER_SOCKET_NPS4 = 'NPS4'

A constant which can be used with the numa_nodes_per_socket property of a InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. This constant has a value of “NPS4”

TYPE_AMD_MILAN_BM = 'AMD_MILAN_BM'
TYPE_AMD_ROME_BM = 'AMD_ROME_BM'
TYPE_AMD_VM = 'AMD_VM'
TYPE_INTEL_SKYLAKE_BM = 'INTEL_SKYLAKE_BM'
TYPE_INTEL_VM = 'INTEL_VM'
__init__(**kwargs)

Initializes a new InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig object with values from keyword arguments. The default value of the type attribute of this class is AMD_MILAN_BM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – The value to assign to the type property of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. Allowed values for this property are: “AMD_MILAN_BM”, “AMD_ROME_BM”, “INTEL_SKYLAKE_BM”, “AMD_VM”, “INTEL_VM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • is_secure_boot_enabled (bool) – The value to assign to the is_secure_boot_enabled property of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
  • is_trusted_platform_module_enabled (bool) – The value to assign to the is_trusted_platform_module_enabled property of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
  • is_measured_boot_enabled (bool) – The value to assign to the is_measured_boot_enabled property of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
  • numa_nodes_per_socket (str) – The value to assign to the numa_nodes_per_socket property of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. Allowed values for this property are: “NPS0”, “NPS1”, “NPS2”, “NPS4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

is_measured_boot_enabled

Gets the is_measured_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig. Whether the Measured Boot feature is enabled on the instance.

Returns:The is_measured_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
Return type:bool
is_secure_boot_enabled

Gets the is_secure_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig. Whether Secure Boot is enabled on the instance.

Returns:The is_secure_boot_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
Return type:bool
is_trusted_platform_module_enabled

Gets the is_trusted_platform_module_enabled of this InstanceConfigurationLaunchInstancePlatformConfig. Whether the Trusted Platform Module (TPM) is enabled on the instance.

Returns:The is_trusted_platform_module_enabled of this InstanceConfigurationLaunchInstancePlatformConfig.
Return type:bool
numa_nodes_per_socket

Gets the numa_nodes_per_socket of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig. The number of NUMA nodes per socket.

Allowed values for this property are: “NPS0”, “NPS1”, “NPS2”, “NPS4”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The numa_nodes_per_socket of this InstanceConfigurationAmdMilanBmLaunchInstancePlatformConfig.
Return type:str
type

[Required] Gets the type of this InstanceConfigurationLaunchInstancePlatformConfig. The type of platform being configured.

Allowed values for this property are: “AMD_MILAN_BM”, “AMD_ROME_BM”, “INTEL_SKYLAKE_BM”, “AMD_VM”, “INTEL_VM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The type of this InstanceConfigurationLaunchInstancePlatformConfig.
Return type:str