You need to enable JavaScript to run this app.
文档中心
存储迁移服务

存储迁移服务

复制全文
下载 pdf
openapi
GetRealTimeStatistics - 获取任务实时数据
复制全文
下载 pdf
GetRealTimeStatistics - 获取任务实时数据
调用 GetRealTimeStatistics 接口获取任务实时数据。​
调试​
API Explorer
您可以通过 API Explorer 在线发起调用,无需关注签名生成过程,快速获取调用结果。
​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:GetRealTimeStatistics​
要执行的操作,取值:GetRealTimeStatistics。​
​
Version string 必选 示例值:2025-01-01​
API的版本,取值:2025-01-01。​
​
Id string 必选 示例值:1*​
任务 ID。​
​
FetchTransferContext boolean 可选 示例值:true​
是否获取任务执行信息。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
Bandwidth string 示例值:1024​
当前任务迁移带宽,单位:字节/秒。​
​
SucceedCount string 示例值:100​
成功迁移对象数量。​
​
SucceedBytes string 示例值:4096​
成功迁移对象字节数。​
​
FailedCount string 示例值:0​
失败对象数量。​
​
FailedBytes string 示例值:0​
失败对象字节数量。​
​
SkippedCount string 示例值:0​
跳过对象数量。​
​
SkippedBytes string 示例值:0​
跳过对象字节数量。​
​
NonexistentCount string 示例值:0​
不存在对象数量。​
​
NonexistentBytes string 示例值:0​
不存在对象字节数量。​
​
RemainingCount string 示例值:0​
剩余对象数量。​
​
RemainingBytes string 示例值:0​
剩余对象字节数量。​
​
RemainingSeconds string 示例值:1024​
剩余预估迁移时间,单位:秒。​
​
TotalSeconds string 示例值:1024​
总耗时,单位:秒。​
​
TotalCount string 示例值:100​
对象总数。​
​
TotalBytes string 示例值:4096​
对象总字节数。​
​
​
​
请求示例​
​
GET /?Action=GetRealTimeStatistics&Version=2025-01-01&Id=1* HTTP/1.1​
Host: dms.cn-beijing.volcengineapi.com​
X-Date: 20251009T090242Z​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251009/cn-beijing/dms/request, SignedHeaders=host;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2025100917024715902919223328E34A",​
"Action": "GetRealTimeStatistics",​
"Version": "2025-01-01",​
"Service": "dms",​
"Region": "cn-beijing"​
},​
"Result": {​
"Bandwidth": "1024",​
"SucceedCount": "100",​
"SucceedBytes": "4096",​
"FailedCount": "0",​
"FailedBytes": "0",​
"SkippedCount": "0",​
"SkippedBytes": "0",​
"NonexistentCount": "0",​
"NonexistentBytes": "0",​
"RemainingCount": "0",​
"RemainingBytes": "0",​
"RemainingSeconds": "1024",​
"TotalSeconds": "1024",​
"TotalCount": "100",​
"TotalBytes": "4096"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
2002-00000012​
InvalidRequestBody​
参数错误。​
404​
2002-00000014​
EntityNotFoundErr​
对应实体不存在。​
500​
2001-00000001​
ServiceInternalErr​
服务端异常,请稍后重试。​
​
​
最近更新时间:2026.01.09 10:14:36
这个页面对您有帮助吗?
有用
有用
无用
无用