Show / Hide Table of Contents

Class UpdateVmInstanceRequest

Inheritance
object
UpdateVmInstanceRequest
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.DataccService.Requests
Assembly: OCI.DotNetSDK.Datacc.dll
Syntax
public class UpdateVmInstanceRequest : IOciRequest
Examples

Click here to see an example of how to use UpdateVmInstance 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 that you provide matches the current Etag value for the resource.

OpcRequestId

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

The client request identifier.

UpdateVmInstanceDetails

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

The updated VM instance details.

Remarks

Required

VmInstanceId

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

The OCID of the VM instance.

Remarks

Required

Implements

IOciRequest
In this article
Back to top