SandboxSnapshotSummary¶
-
class
oci.generative_ai_sandbox.models.SandboxSnapshotSummary(**kwargs)¶ Bases:
objectSandbox snapshot resource summary.
Methods
__init__(**kwargs)Initializes a new SandboxSnapshotSummary object with values from keyword arguments. Attributes
display_nameGets the display_name of this SandboxSnapshotSummary. expiration_durationGets the expiration_duration of this SandboxSnapshotSummary. id[Required] Gets the id of this SandboxSnapshotSummary. lifecycle_state[Required] Gets the lifecycle_state of this SandboxSnapshotSummary. project_idGets the project_id of this SandboxSnapshotSummary. runtimeGets the runtime of this SandboxSnapshotSummary. sandbox_idGets the sandbox_id of this SandboxSnapshotSummary. size_bytesGets the size_bytes of this SandboxSnapshotSummary. time_createdGets the time_created of this SandboxSnapshotSummary. time_expiresGets the time_expires of this SandboxSnapshotSummary. time_updatedGets the time_updated of this SandboxSnapshotSummary. -
__init__(**kwargs)¶ Initializes a new SandboxSnapshotSummary object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this SandboxSnapshotSummary.
- display_name (str) – The value to assign to the display_name property of this SandboxSnapshotSummary.
- project_id (str) – The value to assign to the project_id property of this SandboxSnapshotSummary.
- sandbox_id (str) – The value to assign to the sandbox_id property of this SandboxSnapshotSummary.
- runtime (str) – The value to assign to the runtime property of this SandboxSnapshotSummary.
- expiration_duration (str) – The value to assign to the expiration_duration property of this SandboxSnapshotSummary.
- size_bytes (int) – The value to assign to the size_bytes property of this SandboxSnapshotSummary.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this SandboxSnapshotSummary.
- time_created (datetime) – The value to assign to the time_created property of this SandboxSnapshotSummary.
- time_updated (datetime) – The value to assign to the time_updated property of this SandboxSnapshotSummary.
- time_expires (datetime) – The value to assign to the time_expires property of this SandboxSnapshotSummary.
-
display_name¶ Gets the display_name of this SandboxSnapshotSummary. Display name for the sandbox snapshot.
Returns: The display_name of this SandboxSnapshotSummary. Return type: str
-
expiration_duration¶ Gets the expiration_duration of this SandboxSnapshotSummary. Duration after creation before the sandbox snapshot expires, in ISO 8601 duration format. For example, P7D for 7 days or PT24H for 24 hours.
Returns: The expiration_duration of this SandboxSnapshotSummary. Return type: str
-
id¶ [Required] Gets the id of this SandboxSnapshotSummary. Sandbox snapshot identifier.
Returns: The id of this SandboxSnapshotSummary. Return type: str
-
lifecycle_state¶ [Required] Gets the lifecycle_state of this SandboxSnapshotSummary. The current state of the SandboxSnapshot. Allowed values are:
- CREATING
- ACTIVE
- FAILED
- DELETING
- DELETED
Returns: The lifecycle_state of this SandboxSnapshotSummary. Return type: str
-
project_id¶ Gets the project_id of this SandboxSnapshotSummary. Project identifier that the sandbox snapshot belongs to.
Returns: The project_id of this SandboxSnapshotSummary. Return type: str
-
runtime¶ Gets the runtime of this SandboxSnapshotSummary. Runtime identifier for the sandbox snapshot.
Returns: The runtime of this SandboxSnapshotSummary. Return type: str
-
sandbox_id¶ Gets the sandbox_id of this SandboxSnapshotSummary. Identifier of the sandbox used to create the sandbox snapshot.
Returns: The sandbox_id of this SandboxSnapshotSummary. Return type: str
-
size_bytes¶ Gets the size_bytes of this SandboxSnapshotSummary. Size of the sandbox snapshot archive in bytes.
Returns: The size_bytes of this SandboxSnapshotSummary. Return type: int
-
time_created¶ Gets the time_created of this SandboxSnapshotSummary. The date and time the sandbox snapshot was created, in RFC 3339 format.
Returns: The time_created of this SandboxSnapshotSummary. Return type: datetime
-
time_expires¶ Gets the time_expires of this SandboxSnapshotSummary. The date and time the sandbox snapshot expires, in RFC 3339 format.
Returns: The time_expires of this SandboxSnapshotSummary. Return type: datetime
-
time_updated¶ Gets the time_updated of this SandboxSnapshotSummary. The date and time the sandbox snapshot was last updated, in RFC 3339 format.
Returns: The time_updated of this SandboxSnapshotSummary. Return type: datetime
-