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
SHAPE_LARGEA constant which can be used with the shape property of a SandboxWarmPoolSummary. SHAPE_MEDIUMA constant which can be used with the shape property of a SandboxWarmPoolSummary. SHAPE_SMALLA constant which can be used with the shape property of a SandboxWarmPoolSummary. TYPE_CUSTOMA constant which can be used with the type property of a SandboxWarmPoolSummary. TYPE_MANAGEDA constant which can be used with the type property of a SandboxWarmPoolSummary. container_imageGets the container_image of this SandboxWarmPoolSummary. desired_capacity[Required] Gets the desired_capacity of this SandboxWarmPoolSummary. lifecycle_detailsGets the lifecycle_details of this SandboxWarmPoolSummary. lifecycle_state[Required] Gets the lifecycle_state of this SandboxWarmPoolSummary. name[Required] Gets the name of this SandboxWarmPoolSummary. project_id[Required] Gets the project_id of this SandboxWarmPoolSummary. shape[Required] Gets the shape of this SandboxWarmPoolSummary. time_created[Required] Gets the time_created of this SandboxWarmPoolSummary. time_updated[Required] Gets the time_updated of this SandboxWarmPoolSummary. type[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.
-
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
-
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
-
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
-
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
-
name¶ [Required] Gets the name of this SandboxWarmPoolSummary. Unique immutable name within the Project.
Returns: The name of this SandboxWarmPoolSummary. Return type: str
-
project_id¶ [Required] Gets the project_id of this SandboxWarmPoolSummary. Owning Project OCID.
Returns: The project_id of this SandboxWarmPoolSummary. Return type: str
-
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
-
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
-
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
-
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
-