检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
是否自动解冻归档数据。开启后,如果遇到归档类型数据,会自动解冻再进行迁移。 enable_failed_object_recording Boolean 是否记录失败对象。开启后,如果有迁移失败对象,会在目的端存储失败对象信息。 failed_object_record String 数据格式为JSON格式,参见表9。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"enable_failed_object_recording" : true, "enable_kms" : false, "enable_restore" : false, "error_reason" : null, "failed_num" : 0, "failed_object_record"
info("record success or failed object success.") else: logger.error("record success or failed object failed, object_key: {0}"
"password": "********", "domain": { "name": "domainname" } }
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
迁移任务状态的取值范围为SUCCESS或者FAIL。 FAIL表示任务失败后发送SMN消息。 SUCCESS表示任务成功后发送SMN消息。 表8 source_cdn数据结构 参数 是否必选 参数类型 描述 protocol 是 String 协议类型:https或http。 domain 是 String
"enable_failed_object_recording" : true, "enable_kms" : false, "enable_restore" : false, "error_reason" : null, "failed_num" : 0, "failed_object_record"
"2024-05-21T09:03:41.000000", "domain_id": "d78cbac1..........", "xdomain_id": "30086000........", "xdomain_type": "", "default_project_id":
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
object 任务失败原因,非失败状态时该字段为空字符串。 failed_num Long 迁移失败对象数量。 最小值:0 最大值:9223372036854775807 failed_object_record FailedObjectRecordDto object 失败对象列
loud、KingsoftCloud、Baidu、Qiniu、UCloud。默认值为Aliyun。 枚举值: AWS Azure Aliyun Tencent HuaweiCloud QingCloud KingsoftCloud Baidu Qiniu UCloud src_region
object 任务失败原因,非失败状态时该字段为空字符串。 failed_num Long 迁移失败对象数量。 最小值:0 最大值:9223372036854775807 failed_object_record FailedObjectRecordDto object 失败对象列
查询租户配额数据 功能介绍 查询指定Domain的配额数据。 URI GET /v1/{domain_id}/objectstorage/quotas 参数说明请参见表1。 表1 参数说明 参数 是否必选 描述 domain_id 是 租户ID。 请求消息 请求参数 无。 响应消息
complete_size Long 已迁移成功的对象总大小(Byte) 最小值:0 最大值:9223372036854775807 failed_object_record FailedObjectRecordDto object 失败对象记录 object_overwrite_mode String
loud、KingsoftCloud、Baidu、Qiniu、UCloud。默认值为Aliyun。 枚举值: AWS Azure Aliyun Tencent HuaweiCloud QingCloud KingsoftCloud Baidu Qiniu UCloud src_region
REQUEST:接收同步请求对象数 SUCCESS:同步成功对象数 FAILURE:同步失败对象数 SKIP:同步跳过对象数 SIZE:同步成功对象容量(Byte) 最小长度:1 最大长度:255 枚举值: REQUEST SUCCESS FAILURE SKIP SIZE start_time 是
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"domain_id": "accountid", "name": "username", "password": "**********", "email": "email",