Show / Hide Table of Contents

Class SandboxConfig

Sandbox configuration under a project. Use sandboxOutboundNetworkingConfig to choose whether sandbox outbound traffic originates from an Oracle-managed network or from a customer subnet. The warmPoolConfig field is a read-only projection of reserved MANAGED default-pool capacities. Project create and update requests must omit warmPoolConfig; supplying it, including null or an empty object, is rejected. Newly enabled projects start with zero default-pool capacity. Use the named warm-pool APIs to change capacities or manage CUSTOM pools. On Project Update, omit sandboxConfig to retain the existing configuration. When supplying sandboxConfig, include isEnabled. Sandbox can be enabled after project creation but cannot be disabled after it is enabled. After enablement, isPersistenceEnabled and custom outbound networking cannot change; managed network policy can be updated. Omitted isPersistenceEnabled retains its current value. Credential profiles require unique labels and can be added, removed, or changed on Project Update. Omit credentialProfiles to retain them, or supply the complete desired list; an empty array removes all profiles from the Project. When credentialProfiles is supplied, omitting sandboxOutboundNetworkingConfig retains the current outbound networking configuration. Updates apply to subsequently created Sandboxes after Project configuration propagation. Existing Sandboxes retain their selected profile snapshot, including when that profile is changed or removed from the Project. Updating a secret's CURRENT version in Vault does not change the Project configuration and remains visible to existing Sandboxes that reference that secret.

Inheritance
object
SandboxConfig
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 SandboxConfig

Properties

CredentialProfiles

Declaration
[JsonProperty(PropertyName = "credentialProfiles")]
public List<SandboxCredentialProfile> CredentialProfiles { get; set; }
Property Value
Type Description
List<SandboxCredentialProfile>

Named credential profiles available for Sandbox creation. A Sandbox can explicitly select one profile using credentialProfileLabel; omitting that selector selects none. On Project Update, omission retains existing profiles and a supplied list replaces the complete list. An empty array removes all profiles from the Project. Adding, removing, or changing profiles affects subsequently created Sandboxes after configuration propagation. Existing Sandboxes retain their selected configuration snapshot.

IsEnabled

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

Indicates whether sandbox config is enabled.

Remarks

Required

IsPersistenceEnabled

Declaration
[JsonProperty(PropertyName = "isPersistenceEnabled")]
public bool? IsPersistenceEnabled { get; set; }
Property Value
Type Description
bool?

Indicates whether persistent block volume storage is enabled for sandbox workspaces in this project. When omitted, the service-defined default is used.

SandboxOutboundNetworkingConfig

Declaration
[JsonProperty(PropertyName = "sandboxOutboundNetworkingConfig")]
public SandboxOutboundNetworkingConfig SandboxOutboundNetworkingConfig { get; set; }
Property Value
Type Description
SandboxOutboundNetworkingConfig

WarmPoolConfig

Declaration
[JsonProperty(PropertyName = "warmPoolConfig")]
public SandboxWarmPoolConfig WarmPoolConfig { get; set; }
Property Value
Type Description
SandboxWarmPoolConfig
In this article
Back to top