SandboxWarmPoolSummary¶
- class oci.generative_ai.models.SandboxWarmPoolSummary(**kwargs)¶
Bases:
objectCP-owned configuration and management lifecycle summary. List does not perform per-pool runtime reads and does not return observed ready capacity.
Attributes:
A constant which can be used with the shape property of a SandboxWarmPoolSummary.
A constant which can be used with the shape property of a SandboxWarmPoolSummary.
A constant which can be used with the shape property of a SandboxWarmPoolSummary.
A constant which can be used with the type property of a SandboxWarmPoolSummary.
A constant which can be used with the type property of a SandboxWarmPoolSummary.
Gets the container_image of this SandboxWarmPoolSummary.
[Required] Gets the desired_capacity of this SandboxWarmPoolSummary.
Gets the lifecycle_details of this SandboxWarmPoolSummary.
[Required] Gets the lifecycle_state of this SandboxWarmPoolSummary.
[Required] Gets the name of this SandboxWarmPoolSummary.
[Required] Gets the project_id of this SandboxWarmPoolSummary.
[Required] Gets the shape of this SandboxWarmPoolSummary.
[Required] Gets the time_created of this SandboxWarmPoolSummary.
[Required] Gets the time_updated of this SandboxWarmPoolSummary.
[Required] Gets the type of this SandboxWarmPoolSummary.
Methods:
__init__(**kwargs)Initializes a new SandboxWarmPoolSummary object with values from keyword arguments.
- SHAPE_LARGE = 'LARGE'¶
A constant which can be used with the shape property of a SandboxWarmPoolSummary. This constant has a value of “LARGE”
- SHAPE_MEDIUM = 'MEDIUM'¶
A constant which can be used with the shape property of a SandboxWarmPoolSummary. This constant has a value of “MEDIUM”
- SHAPE_SMALL = 'SMALL'¶
A constant which can be used with the shape property of a SandboxWarmPoolSummary. This constant has a value of “SMALL”
- TYPE_CUSTOM = 'CUSTOM'¶
A constant which can be used with the type property of a SandboxWarmPoolSummary. This constant has a value of “CUSTOM”
- TYPE_MANAGED = 'MANAGED'¶
A constant which can be used with the type property of a SandboxWarmPoolSummary. This constant has a value of “MANAGED”
- __init__(**kwargs)¶
Initializes a new SandboxWarmPoolSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
project_id (str) – The value to assign to the project_id property of this SandboxWarmPoolSummary.
name (str) – The value to assign to the name property of this SandboxWarmPoolSummary.
type (str) – The value to assign to the type property of this SandboxWarmPoolSummary. Allowed values for this property are: “MANAGED”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
container_image (str) – The value to assign to the container_image property of this SandboxWarmPoolSummary.
shape (str) – The value to assign to the shape property of this SandboxWarmPoolSummary. Allowed values for this property are: “SMALL”, “MEDIUM”, “LARGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
desired_capacity (int) – The value to assign to the desired_capacity property of this SandboxWarmPoolSummary.
lifecycle_state (str) – The value to assign to the lifecycle_state property of this SandboxWarmPoolSummary.
lifecycle_details (str) – The value to assign to the lifecycle_details property of this SandboxWarmPoolSummary.
time_created (datetime) – The value to assign to the time_created property of this SandboxWarmPoolSummary.
time_updated (datetime) – The value to assign to the time_updated property of this SandboxWarmPoolSummary.
- property container_image¶
Gets the container_image of this SandboxWarmPoolSummary. Digest-pinned customer image for CUSTOM; omitted for MANAGED.
- Returns
The container_image of this SandboxWarmPoolSummary.
- Return type
str
- property desired_capacity¶
[Required] Gets the desired_capacity of this SandboxWarmPoolSummary. Requested idle target, not observed capacity.
- Returns
The desired_capacity of this SandboxWarmPoolSummary.
- Return type
int
- property lifecycle_details¶
Gets the lifecycle_details of this SandboxWarmPoolSummary. Additional information about the current CP management operation or failure.
- Returns
The lifecycle_details of this SandboxWarmPoolSummary.
- Return type
str
- property lifecycle_state¶
[Required] Gets the lifecycle_state of this SandboxWarmPoolSummary. CP management lifecycle. ACTIVE means the template and requested pool configuration were applied and verified, independently of ready capacity. Scheduling, image-pull and runtime capacity failures do not by themselves change ACTIVE to FAILED.
- Returns
The lifecycle_state of this SandboxWarmPoolSummary.
- Return type
str
- property name¶
[Required] Gets the name of this SandboxWarmPoolSummary. Unique immutable name within the Project.
- Returns
The name of this SandboxWarmPoolSummary.
- Return type
str
- property project_id¶
[Required] Gets the project_id of this SandboxWarmPoolSummary. Owning Project OCID.
- Returns
The project_id of this SandboxWarmPoolSummary.
- Return type
str
- property shape¶
[Required] Gets the shape of this SandboxWarmPoolSummary. Compute shape for each idle Sandbox member.
Allowed values for this property are: “SMALL”, “MEDIUM”, “LARGE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The shape of this SandboxWarmPoolSummary.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this SandboxWarmPoolSummary. Time the desired configuration was created.
- Returns
The time_created of this SandboxWarmPoolSummary.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this SandboxWarmPoolSummary. Time the configuration or management lifecycle last changed; not runtime readiness.
- Returns
The time_updated of this SandboxWarmPoolSummary.
- Return type
datetime
- property type¶
[Required] Gets the type of this SandboxWarmPoolSummary. MANAGED uses the service runtime; CUSTOM uses a customer image.
Allowed values for this property are: “MANAGED”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The type of this SandboxWarmPoolSummary.
- Return type
str