检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
迁移任务状态的取值范围为SUCCESS或者FAIL。 FAIL表示任务失败后发送SMN消息。 SUCCESS表示任务成功后发送SMN消息。 表8 source_cdn数据结构 参数 是否必选 参数类型 描述 protocol 是 String 协议类型:https或http。 domain 是 String
error("Failed to restart the task, error_code: " + e.getErrorCode() + ", error_msg: " + e.getErrorMsg()); } return "fail";
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
complete_size Long 已迁移成功的对象总大小(Byte) 最小值:0 最大值:9223372036854775807 failed_object_record FailedObjectRecordDto object 失败对象记录 object_overwrite_mode String
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
"projects": [ { "domain_id": "65382450e8f64ac0870cd180d14e684b", "is_domain": false, "parent_id": "
如有失败对象列表,可在对象列表中找到“failed_object_lists”文件夹,下载相应的txt文件,查看失败对象列表。 失败对象列表路径说明:oms/sync_task/同步任务ID/ failed_object_lists/同步子任务名称/时间戳.failed_list.txt。
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
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"
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
trigger_conditions 是 Array of strings SMN消息的触发条件,取决于迁移任务状态。 迁移任务状态的取值范围为SUCCESS或者FAILURE。 FAILURE表示任务失败后发送SMN消息。 SUCCESS表示任务成功后发送SMN消息。 数组长度:1 - 2 message_template_name
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
complete_size Long 已迁移成功的对象总大小(Byte) 最小值:0 最大值:9223372036854775807 failed_object_record FailedObjectRecordDto object 失败对象记录 object_overwrite_mode String
创建同步任务 使用场景 同步任务用于源端变更对象主动同步的场景,通过在源端对象存储服务配置事件触发器,当出现对象新增或修改时,通过函数工作流服务,主动调用OMS服务的数据同步接口,即时将数据同步到华为云OBS侧。 同步任务依托于源端事件触发器、函数工作流服务以及公网传输,可能存在
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
public static void main(String[] args) { // The AK and SK used for authentication are hard-coded or stored in plaintext, which has great
loud、KingsoftCloud、Baidu、Qiniu、UCloud。默认值为Aliyun。 枚举值: AWS Azure Aliyun Tencent HuaweiCloud QingCloud KingsoftCloud Baidu Qiniu UCloud src_region