SandboxWarmPoolConfig

class oci.generative_ai.models.SandboxWarmPoolConfig(**kwargs)

Bases: object

Read-only default warm-pool capacities for managed-runtime sandboxes. The reserved MANAGED default entries exposed by the named warm-pool APIs project these same values. Project create and update requests must not supply this configuration. Newly enabled projects start with zero capacity for every shape. Change capacities through the named warm-pool APIs, which also manage CUSTOM pools.

Methods:

__init__(**kwargs)

Initializes a new SandboxWarmPoolConfig object with values from keyword arguments.

Attributes:

large_count

Gets the large_count of this SandboxWarmPoolConfig.

medium_count

Gets the medium_count of this SandboxWarmPoolConfig.

small_count

Gets the small_count of this SandboxWarmPoolConfig.

__init__(**kwargs)

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

Parameters
  • small_count (int) – The value to assign to the small_count property of this SandboxWarmPoolConfig.

  • medium_count (int) – The value to assign to the medium_count property of this SandboxWarmPoolConfig.

  • large_count (int) – The value to assign to the large_count property of this SandboxWarmPoolConfig.

property large_count

Gets the large_count of this SandboxWarmPoolConfig. Desired number of ready LARGE managed-runtime sandboxes. Each sandbox has 4 CPUs and 16 GiB of memory.

Returns

The large_count of this SandboxWarmPoolConfig.

Return type

int

property medium_count

Gets the medium_count of this SandboxWarmPoolConfig. Desired number of ready MEDIUM managed-runtime sandboxes. Each sandbox has 2 CPUs and 8 GiB of memory.

Returns

The medium_count of this SandboxWarmPoolConfig.

Return type

int

property small_count

Gets the small_count of this SandboxWarmPoolConfig. Desired number of ready SMALL managed-runtime sandboxes. Each sandbox has 1 CPU and 4 GiB of memory.

Returns

The small_count of this SandboxWarmPoolConfig.

Return type

int