JobCustomNetworkConfiguration

class oci.data_science.models.JobCustomNetworkConfiguration(**kwargs)

Bases: oci.data_science.models.job_network_configuration.JobNetworkConfiguration

The job custom network configuration details

Attributes

JOB_NETWORK_TYPE_CUSTOM_NETWORK str(object=’’) -> str
JOB_NETWORK_TYPE_DEFAULT_NETWORK str(object=’’) -> str
job_network_type [Required] Gets the job_network_type of this JobNetworkConfiguration.
subnet_id [Required] Gets the subnet_id of this JobCustomNetworkConfiguration.

Methods

__init__(**kwargs) Initializes a new JobCustomNetworkConfiguration 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.
JOB_NETWORK_TYPE_CUSTOM_NETWORK = 'CUSTOM_NETWORK'
JOB_NETWORK_TYPE_DEFAULT_NETWORK = 'DEFAULT_NETWORK'
__init__(**kwargs)

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

Parameters:
  • job_network_type (str) – The value to assign to the job_network_type property of this JobCustomNetworkConfiguration. Allowed values for this property are: “CUSTOM_NETWORK”, “DEFAULT_NETWORK”
  • subnet_id (str) – The value to assign to the subnet_id property of this JobCustomNetworkConfiguration.
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.

job_network_type

[Required] Gets the job_network_type of this JobNetworkConfiguration. job network type

Allowed values for this property are: “CUSTOM_NETWORK”, “DEFAULT_NETWORK”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The job_network_type of this JobNetworkConfiguration.
Return type:str
subnet_id

[Required] Gets the subnet_id of this JobCustomNetworkConfiguration. The custom subnet id

Returns:The subnet_id of this JobCustomNetworkConfiguration.
Return type:str