Show / Hide Table of Contents

Class CreateSandboxWarmPoolDetails

Create Sandbox Warm Pool Details.

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

Properties

ContainerImage

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

Required for CUSTOM and must be omitted for MANAGED. A CUSTOM image must be a digest-pinned same-region OCIR reference, using sha256 with exactly 64 lowercase hexadecimal characters. The CP workflow prepares the template through the data plane, reusing current BYOC image and Project identity validation. Successful configuration does not guarantee image pull or runtime readiness.

DesiredCapacity

Declaration
[Required(ErrorMessage = "DesiredCapacity is required.")]
[JsonProperty(PropertyName = "desiredCapacity")]
public int? DesiredCapacity { get; set; }
Property Value
Type Description
int?

Desired number of idle members. Zero pauses idle prewarming. Once the pool is ACTIVE, named-pool Sandbox creation can still cold-start from its available applied template when no eligible warm member is available. Existing customer Sandboxes continue. A positive target does not guarantee ready capacity. Existing service capacity validation still applies.

Remarks

Required

Name

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

Unique immutable name within the Project.

Remarks

Required

Shape

Declaration
[Required(ErrorMessage = "Shape is required.")]
[JsonProperty(PropertyName = "shape")]
[JsonConverter(typeof(StringEnumConverter))]
public CreateSandboxWarmPoolDetails.ShapeEnum? Shape { get; set; }
Property Value
Type Description
CreateSandboxWarmPoolDetails.ShapeEnum?

Compute shape for each idle Sandbox member.

Remarks

Required

Type

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

MANAGED uses the service-provided python-3.11 runtime. CUSTOM uses a customer-provided containerImage. Both types support named pool creation.

Remarks

Required

In this article
Back to top