ManagedSandboxOutboundNetworkingConfig¶
-
class
oci.generative_ai.models.ManagedSandboxOutboundNetworkingConfig(**kwargs)¶ Bases:
oci.generative_ai.models.sandbox_outbound_networking_config.SandboxOutboundNetworkingConfigOutbound networking configuration that uses Oracle-managed networking for sandboxes in this project.
Attributes
NETWORK_MODE_CUSTOMstr(object=’’) -> str NETWORK_MODE_MANAGEDstr(object=’’) -> str network_mode[Required] Gets the network_mode of this SandboxOutboundNetworkingConfig. network_policyGets 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'¶
-
NETWORK_MODE_MANAGED= 'MANAGED'¶
-
__init__(**kwargs)¶ Initializes a new ManagedSandboxOutboundNetworkingConfig object with values from keyword arguments. The default value of the
network_modeattribute of this class isMANAGEDand 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.
-
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
-
network_policy¶ Gets the network_policy of this ManagedSandboxOutboundNetworkingConfig.
Returns: The network_policy of this ManagedSandboxOutboundNetworkingConfig. Return type: oci.generative_ai.models.SandboxNetworkPolicy
-