UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails¶
- class oci.data_science.models.UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails(**kwargs)¶
Bases:
UpdateModelDeployInfrastructureConfigurationDetailsInfrastructure configuration details for updating a model deploy of managed compute cluster type compute target. You can update the modelDeploymentResourceConfiguration and scalingPolicy properties.
Attributes:
A constant which can be used with the infrastructure_type property of a UpdateModelDeployInfrastructureConfigurationDetails.
Gets the compute_target_id of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
[Required] Gets the infrastructure_type of this UpdateModelDeployInfrastructureConfigurationDetails.
Gets the model_deployment_resource_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
Gets the network_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
Gets the scaling_policy of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
Methods:
__init__(**kwargs)Initializes a new UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails 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 UpdateModelDeployInfrastructureConfigurationDetails. This constant has a value of “MANAGED_COMPUTE_CLUSTER”
- __init__(**kwargs)¶
Initializes a new UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails 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 UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails. 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 UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
model_deployment_resource_configuration (oci.data_science.models.ManagedComputeClusterModelDeploymentResourceConfiguration) – The value to assign to the model_deployment_resource_configuration property of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
scaling_policy (oci.data_science.models.ManagedComputeClusterWorkloadScalingPolicy) – The value to assign to the scaling_policy property of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
network_configuration (oci.data_science.models.ManagedComputeClusterModelDeploymentNetworkConfiguration) – The value to assign to the network_configuration property of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- property compute_target_id¶
Gets the compute_target_id of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails. The OCID of a Compute Target.
- Returns
The compute_target_id of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- 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 UpdateModelDeployInfrastructureConfigurationDetails. The type of the infrastructure for model deployment.
Allowed values for this property are: “MANAGED_COMPUTE_CLUSTER”
- Returns
The infrastructure_type of this UpdateModelDeployInfrastructureConfigurationDetails.
- Return type
str
- property model_deployment_resource_configuration¶
Gets the model_deployment_resource_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The model_deployment_resource_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterModelDeploymentResourceConfiguration
- property network_configuration¶
Gets the network_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The network_configuration of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterModelDeploymentNetworkConfiguration
- property scaling_policy¶
Gets the scaling_policy of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Returns
The scaling_policy of this UpdateManagedComputeClusterModelDeployInfrastructureConfigDetails.
- Return type
oci.data_science.models.ManagedComputeClusterWorkloadScalingPolicy