All Products
Search
Document Center

Hologres:DiscardUpgrade

Last Updated:Jun 10, 2026

Membatalkan peningkatan. Anda dapat memanggil operasi ini hanya jika tugas peningkatan belum dimulai atau dalam status `pre_check`. Anda tidak dapat membatalkan peningkatan setelah tugas memasuki status `backup` atau status berikutnya.

Coba sekarang

Coba API ini di OpenAPI Explorer tanpa perlu penandatanganan manual. Panggilan yang berhasil akan secara otomatis menghasilkan contoh kode SDK sesuai dengan parameter Anda. Unduh kode tersebut dengan kredensial bawaan yang aman untuk penggunaan lokal.

Test

RAM authorization

Tidak ada otorisasi untuk operasi ini. Jika Anda mengalami masalah saat menjalankan operasi ini, hubungi dukungan teknis.

Sintaks permintaan

POST /api/v1/instances/{instanceId}/upgrade/discard HTTP/1.1

Path Parameters

Parameter

Type

Required

Description

Example

instanceId

string

No

ID Instans.

hgprecn-cn-1wy47xsoxxxx

Parameter permintaan

Parameter

Type

Required

Description

Example

RegionId

string

No

ID Wilayah.

cn-shenzhen

Elemen respons

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The request ID.

A47D57BE-59D1-51A6-9CC3-080C07852C4E

Data

array<object>

The returned data.

object

The result.

Success

boolean

Indicates whether the operation was successful.

true

ReasonKey

string

The reason key.

null

FailReason

string

The reason the upgrade failed.

null

Success

boolean

Indicates whether the API request itself was successful. This does not reflect the outcome of the operation. For the operation's result, see the Success field in the Data array.

true

ErrorCode

string

The error code.

null

ErrorMessage

string

The error message.

null

HttpStatusCode

string

The HTTP status code.

200

Contoh

Respons sukses

JSONformat

{
  "RequestId": "A47D57BE-59D1-51A6-9CC3-080C07852C4E",
  "Data": [
    {
      "Success": true,
      "ReasonKey": "null",
      "FailReason": "null"
    }
  ],
  "Success": true,
  "ErrorCode": "null",
  "ErrorMessage": "null",
  "HttpStatusCode": "200"
}

Kode kesalahan

Lihat Error Codes untuk daftar lengkap.

Catatan rilis

Lihat Release Notes untuk daftar lengkap.