ManagedComputeClusterModelDeploymentNetworkConfiguration¶
- class oci.data_science.models.ManagedComputeClusterModelDeploymentNetworkConfiguration(**kwargs)¶
Bases:
objectThe network configuration details for model deploy on managed compute cluster type compute target.
Attributes:
A constant which can be used with the network_type property of a ManagedComputeClusterModelDeploymentNetworkConfiguration.
A constant which can be used with the network_type property of a ManagedComputeClusterModelDeploymentNetworkConfiguration.
[Required] Gets the network_type of this ManagedComputeClusterModelDeploymentNetworkConfiguration.
Methods:
__init__(**kwargs)Initializes a new ManagedComputeClusterModelDeploymentNetworkConfiguration 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 ManagedComputeClusterModelDeploymentNetworkConfiguration. 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 ManagedComputeClusterModelDeploymentNetworkConfiguration. This constant has a value of “DEFAULT_NETWORK”
- __init__(**kwargs)¶
Initializes a new ManagedComputeClusterModelDeploymentNetworkConfiguration 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:
ManagedComputeClusterModelDeploymentCustomNetworkConfigurationManagedComputeClusterModelDeploymentDefaultNetworkConfiguration
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 ManagedComputeClusterModelDeploymentNetworkConfiguration. 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’.
- 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 ManagedComputeClusterModelDeploymentNetworkConfiguration. 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 ManagedComputeClusterModelDeploymentNetworkConfiguration.
- Return type
str