ShapeMemoryOptions

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

Bases: object

For a flexible shape, the amount of memory available for instances that use this shape.

If this field is null, then this shape has a fixed amount of memory equivalent to memoryInGBs.

Methods:

__init__(**kwargs)

Initializes a new ShapeMemoryOptions object with values from keyword arguments.

Attributes:

default_per_ocpu_in_g_bs

Gets the default_per_ocpu_in_g_bs of this ShapeMemoryOptions.

max_in_g_bs

Gets the max_in_g_bs of this ShapeMemoryOptions.

max_per_numa_node_in_gbs

Gets the max_per_numa_node_in_gbs of this ShapeMemoryOptions.

max_per_ocpu_in_gbs

Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions.

min_in_g_bs

Gets the min_in_g_bs of this ShapeMemoryOptions.

min_per_ocpu_in_gbs

Gets the min_per_ocpu_in_gbs of this ShapeMemoryOptions.

__init__(**kwargs)

Initializes a new ShapeMemoryOptions object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • min_in_g_bs (float) – The value to assign to the min_in_g_bs property of this ShapeMemoryOptions.

  • max_in_g_bs (float) – The value to assign to the max_in_g_bs property of this ShapeMemoryOptions.

  • default_per_ocpu_in_g_bs (float) – The value to assign to the default_per_ocpu_in_g_bs property of this ShapeMemoryOptions.

  • min_per_ocpu_in_gbs (float) – The value to assign to the min_per_ocpu_in_gbs property of this ShapeMemoryOptions.

  • max_per_ocpu_in_gbs (float) – The value to assign to the max_per_ocpu_in_gbs property of this ShapeMemoryOptions.

  • max_per_numa_node_in_gbs (float) – The value to assign to the max_per_numa_node_in_gbs property of this ShapeMemoryOptions.

property default_per_ocpu_in_g_bs

Gets the default_per_ocpu_in_g_bs of this ShapeMemoryOptions. The default amount of memory per OCPU available for this shape, in gigabytes.

Returns

The default_per_ocpu_in_g_bs of this ShapeMemoryOptions.

Return type

float

property max_in_g_bs

Gets the max_in_g_bs of this ShapeMemoryOptions. The maximum amount of memory, in gigabytes.

Returns

The max_in_g_bs of this ShapeMemoryOptions.

Return type

float

property max_per_numa_node_in_gbs

Gets the max_per_numa_node_in_gbs of this ShapeMemoryOptions. The maximum amount of memory per NUMA node, in gigabytes.

Returns

The max_per_numa_node_in_gbs of this ShapeMemoryOptions.

Return type

float

property max_per_ocpu_in_gbs

Gets the max_per_ocpu_in_gbs of this ShapeMemoryOptions. The maximum amount of memory per OCPU available for this shape, in gigabytes.

Returns

The max_per_ocpu_in_gbs of this ShapeMemoryOptions.

Return type

float

property min_in_g_bs

Gets the min_in_g_bs of this ShapeMemoryOptions. The minimum amount of memory, in gigabytes.

Returns

The min_in_g_bs of this ShapeMemoryOptions.

Return type

float

property min_per_ocpu_in_gbs

Gets the min_per_ocpu_in_gbs of this ShapeMemoryOptions. The minimum amount of memory per OCPU available for this shape, in gigabytes.

Returns

The min_per_ocpu_in_gbs of this ShapeMemoryOptions.

Return type

float