SandboxOutboundNetworkingConfig

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

Bases: object

Base outbound networking configuration for sandboxes in a 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.

Methods:

__init__(**kwargs)

Initializes a new SandboxOutboundNetworkingConfig 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 SandboxOutboundNetworkingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 SandboxOutboundNetworkingConfig. 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’.

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