ManagedSandboxOutboundNetworkingConfig

class oci.generative_ai.models.ManagedSandboxOutboundNetworkingConfig(**kwargs)

Bases: SandboxOutboundNetworkingConfig

Outbound networking configuration that uses Oracle-managed networking for sandboxes in this project.

Attributes:

NETWORK_MODE_CUSTOM

A constant which can be used with the network_mode property of a SandboxOutboundNetworkingConfig.

NETWORK_MODE_MANAGED

A constant which can be used with the network_mode property of a SandboxOutboundNetworkingConfig.

network_mode

[Required] Gets the network_mode of this SandboxOutboundNetworkingConfig.

network_policy

Gets the network_policy of this ManagedSandboxOutboundNetworkingConfig.

Methods:

__init__(**kwargs)

Initializes a new ManagedSandboxOutboundNetworkingConfig object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

NETWORK_MODE_CUSTOM = 'CUSTOM'

A constant which can be used with the network_mode property of a SandboxOutboundNetworkingConfig. This constant has a value of “CUSTOM”

NETWORK_MODE_MANAGED = 'MANAGED'

A constant which can be used with the network_mode property of a SandboxOutboundNetworkingConfig. This constant has a value of “MANAGED”

__init__(**kwargs)

Initializes a new ManagedSandboxOutboundNetworkingConfig object with values from keyword arguments. The default value of the network_mode attribute of this class is MANAGED and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • network_mode (str) – The value to assign to the network_mode property of this ManagedSandboxOutboundNetworkingConfig. Allowed values for this property are: “MANAGED”, “CUSTOM”

  • network_policy (oci.generative_ai.models.SandboxNetworkPolicy) – The value to assign to the network_policy property of this ManagedSandboxOutboundNetworkingConfig.

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property network_mode

[Required] Gets the network_mode of this SandboxOutboundNetworkingConfig. The outbound networking mode for sandboxes in this project.

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 network_mode of this SandboxOutboundNetworkingConfig.

Return type

str

property network_policy

Gets the network_policy of this ManagedSandboxOutboundNetworkingConfig.

Returns

The network_policy of this ManagedSandboxOutboundNetworkingConfig.

Return type

oci.generative_ai.models.SandboxNetworkPolicy