Show / Hide Table of Contents

Class SandboxSnapshotSummary

Sandbox snapshot resource summary.

Inheritance
object
SandboxSnapshotSummary
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaisandboxService.Models
Assembly: OCI.DotNetSDK.Generativeaisandbox.dll
Syntax
public class SandboxSnapshotSummary

Properties

DisplayName

Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
Type Description
string

Display name for the sandbox snapshot.

ExpirationDuration

Declaration
[JsonProperty(PropertyName = "expirationDuration")]
public string ExpirationDuration { get; set; }
Property Value
Type Description
string

Duration after creation before the sandbox snapshot expires, in ISO 8601 duration format. For example, P7D for 7 days or PT24H for 24 hours.

Id

Declaration
[Required(ErrorMessage = "Id is required.")]
[JsonProperty(PropertyName = "id")]
public string Id { get; set; }
Property Value
Type Description
string

Sandbox snapshot identifier.

Remarks

Required

LifecycleState

Declaration
[Required(ErrorMessage = "LifecycleState is required.")]
[JsonProperty(PropertyName = "lifecycleState")]
[JsonConverter(typeof(StringEnumConverter))]
public SandboxSnapshot.LifecycleStateEnum? LifecycleState { get; set; }
Property Value
Type Description
SandboxSnapshot.LifecycleStateEnum?

The current state of the SandboxSnapshot. Allowed values are:

  • CREATING
  • ACTIVE
  • FAILED
  • DELETING
  • DELETED
Remarks

Required

ProjectId

Declaration
[JsonProperty(PropertyName = "projectId")]
public string ProjectId { get; set; }
Property Value
Type Description
string

Project identifier that the sandbox snapshot belongs to.

Runtime

Declaration
[JsonProperty(PropertyName = "runtime")]
public string Runtime { get; set; }
Property Value
Type Description
string

Runtime identifier for the sandbox snapshot.

SandboxId

Declaration
[JsonProperty(PropertyName = "sandboxId")]
public string SandboxId { get; set; }
Property Value
Type Description
string

Identifier of the sandbox used to create the sandbox snapshot.

SizeBytes

Declaration
[JsonProperty(PropertyName = "sizeBytes")]
public long? SizeBytes { get; set; }
Property Value
Type Description
long?

Size of the sandbox snapshot archive in bytes.

TimeCreated

Declaration
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time the sandbox snapshot was created, in RFC 3339 format.

TimeExpires

Declaration
[JsonProperty(PropertyName = "timeExpires")]
public DateTime? TimeExpires { get; set; }
Property Value
Type Description
DateTime?

The date and time the sandbox snapshot expires, in RFC 3339 format.

TimeUpdated

Declaration
[JsonProperty(PropertyName = "timeUpdated")]
public DateTime? TimeUpdated { get; set; }
Property Value
Type Description
DateTime?

The date and time the sandbox snapshot was last updated, in RFC 3339 format.

In this article
Back to top