将快照导出到指定的对象存储ddasd
说明
目前该API接口已标记为弃用。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
ecs:ExportSnapshot |
create |
*Snapshot
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| SnapshotId |
string |
是 |
||
| RegionId |
string |
是 |
||
| OssBucket |
string |
是 |
||
| RoleName |
string |
否 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| TaskId |
string |
||
| RequestId |
string |
示例
正常返回示例
JSON格式
{
"TaskId": "",
"RequestId": ""
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 403 | ExportSnapshotFailed | Exporting snapshot is failed, Please contact the administrator. | |
| 403 | SNAPSHOT_IS_EXPORTING | The specified snapshot is already exporting. | |
| 403 | InvalidSnapshotId.NotFound | The specified snapshot is not exists. | 指定的源快照不存在。 |
| 403 | SNAPSHOT_CREATE_NOT_FINISHED | The specified snapshot is not finished yet. | |
| 403 | OSS_AUTHORIZED_FAILED | ECS service account Have no right to access your OSS. please attach a role of access your oss to ECS service account. | |
| 403 | InvalidOSSBucket.NotFound | The specified OSS bucket does not exist in this region. | |
| 403 | InvalidUser.NotInWhiteList | The user is not in the white list of exporting snapshot. | |
| 403 | InvalidOSSBucket.InOtherRegion | The specified OSS bucket is in another region. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?