Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TerminateInstanceRequest

example

Click here to see how to use TerminateInstanceRequest.

Hierarchy

Properties

Optional ifMatch

ifMatch: undefined | string

For optimistic concurrency control. In the PUT or DELETE call for a resource, set the {@code 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

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. When set to {@code true}, the boot volume is preserved. The default value is {@code false}.

Optional preserveDataVolumesCreatedAtLaunch

preserveDataVolumesCreatedAtLaunch: undefined | false | true

Specifies whether to delete or preserve the data volumes created during launch when terminating an instance. When set to {@code true}, the data volumes are preserved. The default value is {@code true}.

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