AmdMilanBmLaunchInstancePlatformConfig

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

Bases: oci.core.models.launch_instance_platform_config.LaunchInstancePlatformConfig

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 AmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS1 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS2 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmLaunchInstancePlatformConfig.
NUMA_NODES_PER_SOCKET_NPS4 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmLaunchInstancePlatformConfig.
TYPE_AMD_MILAN_BM str(object=’’) -> str
numa_nodes_per_socket Gets the numa_nodes_per_socket of this AmdMilanBmLaunchInstancePlatformConfig.
type [Required] Gets the type of this LaunchInstancePlatformConfig.

Methods

__init__(**kwargs) Initializes a new AmdMilanBmLaunchInstancePlatformConfig 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 AmdMilanBmLaunchInstancePlatformConfig. 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 AmdMilanBmLaunchInstancePlatformConfig. 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 AmdMilanBmLaunchInstancePlatformConfig. 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 AmdMilanBmLaunchInstancePlatformConfig. This constant has a value of “NPS4”

TYPE_AMD_MILAN_BM = 'AMD_MILAN_BM'
__init__(**kwargs)

Initializes a new AmdMilanBmLaunchInstancePlatformConfig 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 AmdMilanBmLaunchInstancePlatformConfig. Allowed values for this property are: “AMD_MILAN_BM”
  • numa_nodes_per_socket (str) – The value to assign to the numa_nodes_per_socket property of this AmdMilanBmLaunchInstancePlatformConfig. Allowed values for this property are: “NPS0”, “NPS1”, “NPS2”, “NPS4”
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.

numa_nodes_per_socket

Gets the numa_nodes_per_socket of this AmdMilanBmLaunchInstancePlatformConfig. The number of NUMA nodes per socket (NPS).

Allowed values for this property are: “NPS0”, “NPS1”, “NPS2”, “NPS4”

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

[Required] Gets the type of this LaunchInstancePlatformConfig. The type of platform being configured. The only supported type is AMD_MILAN_BM

Allowed values for this property are: “AMD_MILAN_BM”

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