• Public
  • Public/Protected
  • All

Interface TerminateInstanceRequest


Click here to see how to use TerminateInstanceRequest.



Optional ifMatch

ifMatch: undefined | 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 will be updated or deleted only if the etag you provide matches the resource's current etag value.


instanceId: string

The OCID of the instance.

Optional preserveBootVolume

preserveBootVolume: undefined | false | true

Specifies whether to delete or preserve the boot volume when terminating an instance. The default value is false.

Optional retryConfiguration

retryConfiguration: RetryConfiguration

RetryConfiguration to be used for the request NOTE : Retries are not supported for requests that have binary or stream bodies this also affects UploadManager operations For all requests with binary/stream bodies, retry attempts are not made