ManagedComputeClusterCustomNetworkConfigurationDetails¶
- class oci.data_science.models.ManagedComputeClusterCustomNetworkConfigurationDetails(**kwargs)¶
Bases:
ManagedComputeClusterNetworkConfigurationDetailsThe custom network configuration details for the compute target
Attributes:
A constant which can be used with the network_type property of a ManagedComputeClusterNetworkConfigurationDetails.
A constant which can be used with the network_type property of a ManagedComputeClusterNetworkConfigurationDetails.
[Required] Gets the network_type of this ManagedComputeClusterNetworkConfigurationDetails.
[Required] Gets the subnet_ids of this ManagedComputeClusterCustomNetworkConfigurationDetails.
Methods:
__init__(**kwargs)Initializes a new ManagedComputeClusterCustomNetworkConfigurationDetails 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_TYPE_CUSTOM_NETWORK = 'CUSTOM_NETWORK'¶
A constant which can be used with the network_type property of a ManagedComputeClusterNetworkConfigurationDetails. This constant has a value of “CUSTOM_NETWORK”
- NETWORK_TYPE_DEFAULT_NETWORK = 'DEFAULT_NETWORK'¶
A constant which can be used with the network_type property of a ManagedComputeClusterNetworkConfigurationDetails. This constant has a value of “DEFAULT_NETWORK”
- __init__(**kwargs)¶
Initializes a new ManagedComputeClusterCustomNetworkConfigurationDetails object with values from keyword arguments. The default value of the
network_typeattribute of this class isCUSTOM_NETWORKand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
network_type (str) – The value to assign to the network_type property of this ManagedComputeClusterCustomNetworkConfigurationDetails. Allowed values for this property are: “CUSTOM_NETWORK”, “DEFAULT_NETWORK”
subnet_ids (list[str]) – The value to assign to the subnet_ids property of this ManagedComputeClusterCustomNetworkConfigurationDetails.
- 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_type¶
[Required] Gets the network_type of this ManagedComputeClusterNetworkConfigurationDetails. 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 network_type of this ManagedComputeClusterNetworkConfigurationDetails.
- Return type
str
- property subnet_ids¶
[Required] Gets the subnet_ids of this ManagedComputeClusterCustomNetworkConfigurationDetails. The list of [OCID] of customer subnetIds.
- Returns
The subnet_ids of this ManagedComputeClusterCustomNetworkConfigurationDetails.
- Return type
list[str]