调用 RebuildDBInstance 接口通过已删除实例备份重建实例。
异步请求。
参数 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
InstanceId | String | 是 | mysql-0f1a2a9a**** | 实例 ID。 |
ProjectName | String | 否 | default | 实例所属项目名称。 说明 如不设置,重建的实例将被归属至 default(默认项目),即取 |
null
POST /?Action=RebuildDBInstance&Version=2022-01-01 HTTP/1.1 Accept: application/json Content-Type: application/json Host: rds.volcengineapi.com X-Date: 20211202T101010Z Authorization: HMAC-SHA256 Credential=AKLTN2I0MmFiNzMxNWE5NDgzMzk4MmVjMTVkODlkZTZ****/20211202/cn-beijing/rds_mysql/request,SignedHeaders=x-date, Signature=71d31fc7bcf990142851c9833c5656391486cda0ae2e0b8ada733b7c6458**** { "InstanceId": "mysql-0f1a2a9a****", "ProjectName": "default" }
{ "ResponseMetadata": { "RequestId": "2023080920015509344927A18EDA8CBB20", "Action": "RebuildDBInstance", "Version": "2022-01-01", "Service": "rds_mysql", "Region": "cn-beijing" }, "Result": { "InstanceId": "mysql-0f1a2a9a****", "OrderId": "Order726528840890330****" } }
更多详情,请参见错误码。