OlvmMemoryPolicy

class oci.cloud_migrations.models.OlvmMemoryPolicy(**kwargs)

Bases: object

Logical grouping of memory-related properties of virtual machine-like entities.

Methods:

__init__(**kwargs)

Initializes a new OlvmMemoryPolicy object with values from keyword arguments.

Attributes:

guaranteed_memory_in_bytes

Gets the guaranteed_memory_in_bytes of this OlvmMemoryPolicy.

is_ballooning

Gets the is_ballooning of this OlvmMemoryPolicy.

max_memory_in_bytes

Gets the max_memory_in_bytes of this OlvmMemoryPolicy.

memory_over_commit

Gets the memory_over_commit of this OlvmMemoryPolicy.

transparent_huge_pages

Gets the transparent_huge_pages of this OlvmMemoryPolicy.

__init__(**kwargs)

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

Parameters
  • is_ballooning (bool) – The value to assign to the is_ballooning property of this OlvmMemoryPolicy.

  • guaranteed_memory_in_bytes (int) – The value to assign to the guaranteed_memory_in_bytes property of this OlvmMemoryPolicy.

  • max_memory_in_bytes (int) – The value to assign to the max_memory_in_bytes property of this OlvmMemoryPolicy.

  • memory_over_commit (oci.cloud_migrations.models.MemoryOverCommit) – The value to assign to the memory_over_commit property of this OlvmMemoryPolicy.

  • transparent_huge_pages (oci.cloud_migrations.models.TransparentHugePages) – The value to assign to the transparent_huge_pages property of this OlvmMemoryPolicy.

property guaranteed_memory_in_bytes

Gets the guaranteed_memory_in_bytes of this OlvmMemoryPolicy. The amount of memory, in bytes, that is guaranteed to not be drained by the balloon mechanism

Returns

The guaranteed_memory_in_bytes of this OlvmMemoryPolicy.

Return type

int

property is_ballooning

Gets the is_ballooning of this OlvmMemoryPolicy. Indicates if ballooning is enabled

Returns

The is_ballooning of this OlvmMemoryPolicy.

Return type

bool

property max_memory_in_bytes

Gets the max_memory_in_bytes of this OlvmMemoryPolicy. Maximum virtual machine memory in Bytes

Returns

The max_memory_in_bytes of this OlvmMemoryPolicy.

Return type

int

property memory_over_commit

Gets the memory_over_commit of this OlvmMemoryPolicy.

Returns

The memory_over_commit of this OlvmMemoryPolicy.

Return type

oci.cloud_migrations.models.MemoryOverCommit

property transparent_huge_pages

Gets the transparent_huge_pages of this OlvmMemoryPolicy.

Returns

The transparent_huge_pages of this OlvmMemoryPolicy.

Return type

oci.cloud_migrations.models.TransparentHugePages