全部產品
Search
文件中心

PolarDB:DescribeTransformStatus

更新時間:Sep 10, 2026

該介面主要用於查詢標準版執行個體向企業版執行個體升級(或轉換)任務的目前狀態。

調試

您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。

調試

授權資訊

當前API暫無授權資訊透出。

請求參數

名稱

類型

必填

描述

樣本值

RegionId

string

否

地域 ID。

cn-hangzhou

DBInstanceName

string

否

執行個體名稱。

pxc-xxx

QueryReport

boolean

否

校驗報告。

true

返回參數

名稱

類型

描述

樣本值

object

Schema of Response

RequestId

string

Id of the request

173CA69A-3513-591D-8A09-C1EA37CBE2D9

Data

object

監控資料。

EnterpriseInsName

string

企業版企業名稱。

pxc-*****

StandardInsName

string

標準版執行個體名稱。

pxc-*****

Phase

string

目前遷移/升級階段。

none

CanSwitch

boolean

是否可以進行遷移切換,傳回值為:

  • true:是。

  • false:否。

說明

此參數供雲原生資料庫 PolarDB 產品的一鍵升級功能使用。

CanUndoSwitch

boolean

是否可以撤銷切換操作。

CanCancel

boolean

是否可取消

true

CanFinish

boolean

目前任務是否已完成。

true

ReportTime

integer

資料報表產生日期。

2025-09-02 16:52:47.0

ReportSummary

object

報表摘要資訊。

樣本

正常返回樣本

JSON格式

{
  "RequestId": "173CA69A-3513-591D-8A09-C1EA37CBE2D9",
  "Data": {
    "EnterpriseInsName": "pxc-*****",
    "StandardInsName": "pxc-*****",
    "Phase": "none",
    "CanSwitch": false,
    "CanUndoSwitch": false,
    "CanCancel": true,
    "CanFinish": true,
    "ReportTime": 0,
    "ReportSummary": {
      "test": "test",
      "test2": 1
    }
  }
}

錯誤碼

HTTP status code

錯誤碼

錯誤資訊

描述

400 IncorrectDBInstance Current DB instance does not support this operation.
400 IncorrectDBInstanceState Current DB instance state does not support this operation.
400 InvalidParam Invalid Parameter.
400 InvalidDBInstance.NotFound The specified DB instance does not exist or is not supported.
400 Transform.UnSupportedDbVersion Only database engine version 5.7 is supported.
403 Transform.IncorrectEngineVersion The current engine version is not the latest. Please upgrade to the latest version.

訪問錯誤中心查看更多錯誤碼。

變更歷史

更多資訊,參考變更詳情。