查询物理日志备份下载链接
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
polardb:DescribeBackupLogDownloadLinks |
get |
*全部资源
|
无 | 无 |
请求语法
POST HTTP/1.1
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DBClusterId |
string |
否 |
集群 ID。 |
pc-************** |
| BackupLogIds |
string |
否 |
物理日志备份 ID。 |
78167430 |
| ExpireHours |
integer |
否 |
下载链接有效小时数,介于 1 ~ 596523 之间。 |
3 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
请求 ID。 |
CD35F3-F3-44CA-AFFF-BAF869****** |
| BackupLogDownloadLinkItem |
array<object> |
物理日志备份详情。 |
|
|
object |
|||
| BackupLogId |
string |
物理备份日志 ID。 |
78167430 |
| DownloadLink |
string |
物理备份日志的公网下载链接。 |
https://***.oss-cn-***.aliyuncs.com/***/***/***?Expires=***&OSSAccessKeyId=STS.***&Signature=***%3D&Region=cn-***&security-token=CAIS***%3D |
| IntranetDownloadLink |
string |
物理备份日志的内网下载链接。 |
http://***.oss-cn-***-internal.aliyuncs.com/***/***/***?Expires=***&OSSAccessKeyId=STS.***&Signature=***%3D&Region=cn-***&security-token=CAIS***%3D |
| LinkExpiredTime |
string |
下载链接过期时间,格式为 UTC 时间。 |
2026-10-23T03:00:00Z |
| ErrorCode |
string |
单条错误码,成功时为空。 |
BackupLogNotFound |
| Message |
string |
单条错误说明,成功时为空。 |
The specified archived log file does not exist or has been cleaned up. |
示例
正常返回示例
JSON格式
{
"RequestId": "CD35F3-F3-44CA-AFFF-BAF869******",
"BackupLogDownloadLinkItem": [
{
"BackupLogId": "78167430",
"DownloadLink": "https://***.oss-cn-***.aliyuncs.com/***/***/***?Expires=***&OSSAccessKeyId=STS.***&Signature=***%3D&Region=cn-***&security-token=CAIS***%3D",
"IntranetDownloadLink": "http://***.oss-cn-***-internal.aliyuncs.com/***/***/***?Expires=***&OSSAccessKeyId=STS.***&Signature=***%3D&Region=cn-***&security-token=CAIS***%3D",
"LinkExpiredTime": "2026-10-23T03:00:00Z",
"ErrorCode": "BackupLogNotFound",
"Message": "The specified archived log file does not exist or has been cleaned up."
}
]
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 404 | InvalidDBClusterId.NotFound | The DBInstanceId provided does not exist in our records. | 当前的记录中不存在提供的DBClusterId。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。