ManagedComputeClusterModelDeployInfrastructureConfigDetails

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

Bases: oci.data_science.models.model_deploy_infrastructure_configuration_details.ModelDeployInfrastructureConfigurationDetails

Infrastructure configuration details for model deploy on managed compute cluster type compute target.

Attributes

INFRASTRUCTURE_TYPE_MANAGED_COMPUTE_CLUSTER str(object=’’) -> str
compute_target_id [Required] Gets the compute_target_id of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
infrastructure_type [Required] Gets the infrastructure_type of this ModelDeployInfrastructureConfigurationDetails.
model_deployment_resource_configuration Gets the model_deployment_resource_configuration of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
scaling_policy 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'
__init__(**kwargs)

Initializes a new ManagedComputeClusterModelDeployInfrastructureConfigDetails object with values from keyword arguments. The default value of the infrastructure_type attribute of this class is MANAGED_COMPUTE_CLUSTER and 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.
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.

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
model_deployment_resource_configuration

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
scaling_policy

Gets the scaling_policy of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.

Returns:The scaling_policy of this ManagedComputeClusterModelDeployInfrastructureConfigDetails.
Return type:oci.data_science.models.ManagedComputeClusterWorkloadScalingPolicy