Show / Hide Table of Contents

Class UpdateModelDeploymentRequest

Inheritance
object
UpdateModelDeploymentRequest
Implements
IOciRequest
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.DatascienceService.Requests
Assembly: OCI.DotNetSDK.Datascience.dll
Syntax
public class UpdateModelDeploymentRequest : IOciRequest
Examples

Click here to see an example of how to use UpdateModelDeployment request.

Properties

IfMatch

Declaration
[HttpConverter(TargetEnum.Header, "if-match")]
public string IfMatch { get; set; }
Property Value
Type Description
string

For optimistic concurrency control. In the PUT or DELETE call for a resource, set the if-match parameter to the value of the etag from a previous GET or POST response for that resource. The resource is updated or deleted only if the etag you provide matches the resource's current etag value.

ModelDeploymentId

Declaration
[Required(ErrorMessage = "ModelDeploymentId is required.")]
[HttpConverter(TargetEnum.Path, "modelDeploymentId")]
public string ModelDeploymentId { get; set; }
Property Value
Type Description
string

The OCID of the model deployment.

Remarks

Required

OpcRequestId

Declaration
[HttpConverter(TargetEnum.Header, "opc-request-id")]
public string OpcRequestId { get; set; }
Property Value
Type Description
string

Unique Oracle assigned identifier for the request. If you need to contact Oracle about a particular request, then provide the request ID.

UpdateModelDeploymentDetails

Declaration
[Required(ErrorMessage = "UpdateModelDeploymentDetails is required.")]
[HttpConverter(TargetEnum.Body)]
public UpdateModelDeploymentDetails UpdateModelDeploymentDetails { get; set; }
Property Value
Type Description
UpdateModelDeploymentDetails

Details for updating a model deployment. Some of the properties of modelDeploymentConfigurationDetails or CategoryLogDetails can also be updated with zero down time when the model deployment's lifecycle state is ACTIVE or NEEDS_ATTENTION i.e instanceShapeName, instanceCount and modelId, separately loadBalancerShape or CategoryLogDetails can also be updated independently. All of the fields can be updated when the deployment is in the INACTIVE lifecycle state. Changes will take effect the next time the model deployment is activated.

Remarks

Required

Implements

IOciRequest
In this article
Back to top