Docs
api
Cloud Database(UDB)
DescribeUDBInstanceBackupURL

Get UDB backup download address - DescribeUDBInstanceBackupURL

Overview

Get UDB backup download address

Definition

Public Parameters

Parameter NameTypeDescription InformationRequired
ActionstringCorresponding API command name, the current API is DescribeUDBInstanceBackupURL.Yes
PublicKeystringThe user’s public key can be obtained from ConsoleYes
SignaturestringUser signature generated based on public key and API command, see Signature AlgorithmYes

Request Parameters

Parameter NameTypeDescription InformationRequired
RegionstringRegion. See List of Regions and Availability ZonesYes
ZonestringAvailability Zone. See Availability Zone ListNo
ProjectIdstringProject ID. If not filled in, the default project is used, sub-accounts must be filled in. Please refer to the GetProjectList interface.No
DBIdstringDB Instance Id, this value can be obtained through DescribeUDBInstanceYes
BackupIdintDB Instance Backup ID, this value can be obtained through DescribeUDBBackupYes
ValidTimeintExpiration time of URL in DB response, the minimum default value is 4 hours, and the maximum is 7 days. If not filled, the default is four hours. (Unit/Second)No

Response Field

Field NameTypeDescription InformationRequired
RetCodeintReturn status code. If it is 0, it means successful return. If it is not 0, it means failure.Yes
ActionstringOperation command name.Yes
MessagestringReturns an error message, providing detailed description when RetCode is non-zero.No
BackupPathstringPublic network address of the DB instance backup fileNo
InnerBackupPathstringIntranet address of the DB instance backup fileNo
MD5stringMD5 value of the backup fileNo

Example

Request Example

https://api.dezai.com/?Action=DescribeUDBInstanceBackupURL
&Region=cn-bj2
&DBId=udb-xxx
&BackupId=1234
&ValidTime=5
&ValidTime=8

Response Example

{
  "Action": "DescribeUDBInstanceBackupURLResponse",
  "BackupPath": "http://udbbackup.ufile.ucloud.cn/bbasd?UCloudPublicKey=ucloududb@ucloud.cn1426152414000604875621",
  "InnerBackupPath": "ZDblezgJ",
  "Md5": "SltVqrDH",
  "RetCode": 0
}