OutboundNetworkingConfig

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

Bases: object

Outbound Networking configuration.

Attributes

NETWORK_MODE_CUSTOM A constant which can be used with the network_mode property of a OutboundNetworkingConfig.
NETWORK_MODE_MANAGED A constant which can be used with the network_mode property of a OutboundNetworkingConfig.
custom_subnet_id Gets the custom_subnet_id of this OutboundNetworkingConfig.
network_mode [Required] Gets the network_mode of this OutboundNetworkingConfig.
nsg_ids Gets the nsg_ids of this OutboundNetworkingConfig.

Methods

__init__(**kwargs) Initializes a new OutboundNetworkingConfig object with values from keyword arguments.
NETWORK_MODE_CUSTOM = 'CUSTOM'

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

NETWORK_MODE_MANAGED = 'MANAGED'

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

__init__(**kwargs)

Initializes a new OutboundNetworkingConfig object with values from keyword arguments. 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 OutboundNetworkingConfig. 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’.
  • custom_subnet_id (str) – The value to assign to the custom_subnet_id property of this OutboundNetworkingConfig.
  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this OutboundNetworkingConfig.
custom_subnet_id

Gets the custom_subnet_id of this OutboundNetworkingConfig. ocid of customer subnet when networkMode=Custom

Returns:The custom_subnet_id of this OutboundNetworkingConfig.
Return type:str
network_mode

[Required] Gets the network_mode of this OutboundNetworkingConfig. outbounding to managed internet or customer network.

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 OutboundNetworkingConfig.
Return type:str
nsg_ids

Gets the nsg_ids of this OutboundNetworkingConfig. A list of the OCIDs of the network security groups that the private endpoint’s VNIC belongs to.

Returns:The nsg_ids of this OutboundNetworkingConfig.
Return type:list[str]