/** * * * OpenAPI spec version: 20160918 * * * NOTE: This class is auto generated by OracleSDKGenerator. * Do not edit the class manually. * * Copyright (c) 2020, 2026, Oracle and/or its affiliates. All rights reserved. * This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license. */ import common = require("oci-common"); /** * @example Click {@link https://docs.oracle.com/en-us/iaas/tools/typescript-sdk-examples/latest/core/TerminateInstance.ts.html |here} to see how to use TerminateInstanceRequest. */ export interface TerminateInstanceRequest extends common.BaseRequest { /** * The [OCID](https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the instance. */ "instanceId": 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. * */ "ifMatch"?: string; /** * 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}. * */ "preserveBootVolume"?: boolean; /** * 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}. * */ "preserveDataVolumesCreatedAtLaunch"?: boolean; /** * This optional parameter overrides recycle level for hosts. The parameter can be used when hosts are associated * with a Capacity Reservation. * * {@code FULL_RECYCLE} - Does not skip host wipe. This is the default behavior. * */ "recycleLevel"?: TerminateInstanceRequest.RecycleLevel; } export declare namespace TerminateInstanceRequest { enum RecycleLevel { FullRecycle = "FULL_RECYCLE" } }