AmdMilanBmPlatformConfig

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

Bases: oci.core.models.platform_config.PlatformConfig

The platform configuration of a bare metal instance that uses 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 AmdMilanBmPlatformConfig.
NUMA_NODES_PER_SOCKET_NPS1 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmPlatformConfig.
NUMA_NODES_PER_SOCKET_NPS2 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmPlatformConfig.
NUMA_NODES_PER_SOCKET_NPS4 A constant which can be used with the numa_nodes_per_socket property of a AmdMilanBmPlatformConfig.
TYPE_AMD_MILAN_BM str(object=’’) -> str
numa_nodes_per_socket Gets the numa_nodes_per_socket of this AmdMilanBmPlatformConfig.
type [Required] Gets the type of this PlatformConfig.

Methods

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

TYPE_AMD_MILAN_BM = 'AMD_MILAN_BM'
__init__(**kwargs)

Initializes a new AmdMilanBmPlatformConfig 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 AmdMilanBmPlatformConfig. Allowed values for this property are: “AMD_MILAN_BM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • numa_nodes_per_socket (str) – The value to assign to the numa_nodes_per_socket property of this AmdMilanBmPlatformConfig. 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.

numa_nodes_per_socket

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

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 AmdMilanBmPlatformConfig.
Return type:str
type

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

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

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