Upgrades a DBS backup schedule.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpgradeBackupPlan |
The parameter specified by the system. Value: UpgradeBackupPlan. |
BackupPlanId | String | Yes | dbstooi01eXXXX |
The ID of the backup plan. |
InstanceClass | String | Yes | micro |
The specifications. Values:
|
RegionId | String | No | cn-hangzhou |
Region ID, call DescribeRegions to view the regions supported by DBS. |
ClientToken | String | No | ETnLKlblzczshOTUbOCzxxxxxxx |
The client token that is used to ensure the idempotency of the request. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
BackupPlanId | String | dbstooi01XXXX |
The ID of the backup plan. |
ErrCode | String | Param.NotFound |
The error code. |
ErrMessage | String | The specified parameter %s value is not valid. |
The error message. |
HttpStatusCode | Integer | 200 |
HTTP status code. |
OrderId | String | 2056157**** |
The ID of the order. |
RequestId | String | D6E068C3-25BC-455A-85FE-45F0B22ECB1F |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request succeeded. |
Examples
Sample requests
http(s)://dbs-api.cn-hangzhou.aliyuncs.com/? Action=UpgradeBackupPlan
&BackupPlanId=dbstooi01eXXXX
&InstanceClass=micro
&<Common request parameters>
Sample success responses
XML
format
<UpgradeBackupPlanReponse>
<RequestId>D6E068C3-25BC-455A-85FE-45F0B22ECB1F</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<BackupPlanId>dbs1h****usfa</BackupPlanId>
<OrderId>2056157****</OrderId>
<Success>true</Success>
</UpgradeBackupPlanReponse>
JSON
format
{
"RequestId": "D6E068C3-25BC-455A-85FE-45F0B22ECB1F",
"HttpStatusCode": 200,
"BackupPlanId": "dbs1h****usfa",
"OrderId": "2056157****",
"Success": true
}
Error codes
For a list of error codes, visit the API Error Center.