UpdateModelDeploymentDetails¶
-
class
oci.data_science.models.
UpdateModelDeploymentDetails
(**kwargs)¶ Bases:
object
Details for updating a model deployment. You can update modelDeploymentConfigurationDetails and change instanceShapeName and modelId when the model deployment is in the ACTIVE lifecycle state. The bandwidthMbps or instanceCount can only be updated while the model deployment is in the INACTIVE state. Changes to the bandwidthMbps or instanceCount will take effect the next time the ActivateModelDeployment action is invoked on the model deployment resource.
Methods
__init__
(**kwargs)Initializes a new UpdateModelDeploymentDetails object with values from keyword arguments. Attributes
category_log_details
Gets the category_log_details of this UpdateModelDeploymentDetails. defined_tags
Gets the defined_tags of this UpdateModelDeploymentDetails. description
Gets the description of this UpdateModelDeploymentDetails. display_name
Gets the display_name of this UpdateModelDeploymentDetails. freeform_tags
Gets the freeform_tags of this UpdateModelDeploymentDetails. model_deployment_configuration_details
Gets the model_deployment_configuration_details of this UpdateModelDeploymentDetails. -
__init__
(**kwargs)¶ Initializes a new UpdateModelDeploymentDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - display_name (str) – The value to assign to the display_name property of this UpdateModelDeploymentDetails.
- description (str) – The value to assign to the description property of this UpdateModelDeploymentDetails.
- model_deployment_configuration_details (oci.data_science.models.UpdateModelDeploymentConfigurationDetails) – The value to assign to the model_deployment_configuration_details property of this UpdateModelDeploymentDetails.
- category_log_details (oci.data_science.models.UpdateCategoryLogDetails) – The value to assign to the category_log_details property of this UpdateModelDeploymentDetails.
- freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this UpdateModelDeploymentDetails.
- defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this UpdateModelDeploymentDetails.
-
category_log_details
¶ Gets the category_log_details of this UpdateModelDeploymentDetails.
Returns: The category_log_details of this UpdateModelDeploymentDetails. Return type: oci.data_science.models.UpdateCategoryLogDetails
Gets the defined_tags of this UpdateModelDeploymentDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See Resource Tags. Example: {“Operations”: {“CostCenter”: “42”}}
Returns: The defined_tags of this UpdateModelDeploymentDetails. Return type: dict(str, dict(str, object))
-
description
¶ Gets the description of this UpdateModelDeploymentDetails. A short description of the model deployment.
Returns: The description of this UpdateModelDeploymentDetails. Return type: str
-
display_name
¶ Gets the display_name of this UpdateModelDeploymentDetails. A user-friendly display name for the resource. Does not have to be unique, and can be modified. Avoid entering confidential information. Example: My ModelDeployment
Returns: The display_name of this UpdateModelDeploymentDetails. Return type: str
Gets the freeform_tags of this UpdateModelDeploymentDetails. Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. See Resource Tags. Example: {“Department”: “Finance”}
Returns: The freeform_tags of this UpdateModelDeploymentDetails. Return type: dict(str, str)
-
model_deployment_configuration_details
¶ Gets the model_deployment_configuration_details of this UpdateModelDeploymentDetails.
Returns: The model_deployment_configuration_details of this UpdateModelDeploymentDetails. Return type: oci.data_science.models.UpdateModelDeploymentConfigurationDetails
-