ManagedComputeClusterModelDeployInfrastructureConfigDetails¶
- class oci.data_science.models.ManagedComputeClusterModelDeployInfrastructureConfigDetails(**kwargs)¶
Bases:
ModelDeployInfrastructureConfigurationDetailsInfrastructure configuration details for model deploy on managed compute cluster type compute target.
Attributes:
A constant which can be used with the infrastructure_type property of a ModelDeployInfrastructureConfigurationDetails.
[Required] Gets the compute_target_id of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
[Required] Gets the infrastructure_type of this ModelDeployInfrastructureConfigurationDetails.
[Required] Gets the model_deployment_resource_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
Gets the network_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
Gets the scaling_policy of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
Methods:
__init__(**kwargs)Initializes a new ManagedComputeClusterModelDeployInfrastructureConfigDetails 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.
- INFRASTRUCTURE_TYPE_MANAGED_COMPUTE_CLUSTER = 'MANAGED_COMPUTE_CLUSTER'¶
A constant which can be used with the infrastructure_type property of a ModelDeployInfrastructureConfigurationDetails. This constant has a value of “MANAGED_COMPUTE_CLUSTER”
- __init__(**kwargs)¶
Initializes a new ManagedComputeClusterModelDeployInfrastructureConfigDetails object with values from keyword arguments. The default value of the
infrastructure_typeattribute of this class isMANAGED_COMPUTE_CLUSTERand it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):- Parameters
infrastructure_type (str) – The value to assign to the infrastructure_type property of this ManagedComputeClusterModelDeployInfrastructureConfigDetails. Allowed values for this property are: “MANAGED_COMPUTE_CLUSTER”
compute_target_id (str) – The value to assign to the compute_target_id property of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
model_deployment_resource_configuration (oci.data_science.models.ManagedComputeClusterModelDeploymentResourceConfiguration) – The value to assign to the model_deployment_resource_configuration property of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
scaling_policy (oci.data_science.models.ManagedComputeClusterWorkloadScalingPolicy) – The value to assign to the scaling_policy property of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
network_configuration (oci.data_science.models.ManagedComputeClusterModelDeploymentNetworkConfiguration) – The value to assign to the network_configuration property of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- property compute_target_id¶
[Required] Gets the compute_target_id of this ManagedComputeClusterModelDeployInfrastructureConfigDetails. The OCID of a Compute Target.
- Returns
The compute_target_id of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
str
- 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 infrastructure_type¶
[Required] Gets the infrastructure_type of this ModelDeployInfrastructureConfigurationDetails. The type of the infrastructure for model deployment.
Allowed values for this property are: “MANAGED_COMPUTE_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The infrastructure_type of this ModelDeployInfrastructureConfigurationDetails.
- Return type
str
- property model_deployment_resource_configuration¶
[Required] Gets the model_deployment_resource_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The model_deployment_resource_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterModelDeploymentResourceConfiguration
- property network_configuration¶
Gets the network_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The network_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterModelDeploymentNetworkConfiguration
- property scaling_policy¶
Gets the scaling_policy of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The scaling_policy of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterWorkloadScalingPolicy