检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
复制示例 本章节案例中的所有命令均以Linux操作系统为例,提供复制操作指导。 假设bucket-src桶内包含如下对象: obs://bucket-src/test1.txt obs://bucket-src/test2.txt obs://bucket-src/test3.txt
取值范围: 如果将桶配置为多AZ,则取值为3az。 如果将桶配置为单AZ,则无需选择此选项,系统默认赋值。 默认取值: 单AZ FileInterface string 可选 参数解释: 是否创建并行文件系统。 约束限制: 无 取值范围: 可选值为Enabled 默认取值: 无,不设置则创建对象桶。
console.log("RequestId: %s", result.CommonMsg.RequestId); return; }; console.log("An ObsError was found, which means your request
log('StorageQuota: %s', result.InterfaceResult.StorageQuota); return; }; console.log("An ObsError was found, which means your request
RequestId) fmt.Printf("Location:%s\n", output.Location) return } fmt.Printf("Get bucket(%s)'s location fail!\n", bucketname)
Printf("Size:%d, ObjectNumber:%d\n", output.Size, output.ObjectNumber) return } fmt.Printf("Get bucket(%s)'s storage-info fail!\n", bucketname)
bucketname) fmt.Printf("RequestId:%s\n", output.RequestId) return } fmt.Printf("Delete policy fail with bucket:%s!\n", bucketname)
bucketname) fmt.Printf("RequestId:%s\n", output.RequestId) return } fmt.Printf("Delete bucket(%s)'s encryption configuration fail
bucketname) fmt.Printf("RequestId:%s\n", output.RequestId) return } fmt.Printf("Get bucket(%s)'s customdomain fail!\n", bucketname)
log('StorageQuota: %s', result.InterfaceResult.StorageQuota); return; } console.log("An ObsError was found, which means your request
console.log("RequestId: %s", result.CommonMsg.RequestId); return; } console.log("An ObsError was found, which means your request
console.log("RequestId: %s", result.CommonMsg.RequestId); return; } console.log("Delete bucket(%s)'s encryption configuration
console.log("RequestId: %s", result.CommonMsg.RequestId); return; } console.log("An ObsError was found, which means your request
RequestId) fmt.Printf("Quota:%d\n", output.Quota) return } fmt.Printf("Get bucket(%s)'s quota fail!\n", bucketname)
bucketname) fmt.Printf("RequestId:%s\n", output.RequestId) return } fmt.Printf("Delete bucket(%s)'s tagging configuration fail
Condition = new Condition(); routingRule.Condition.HttpErrorCodeReturnedEquals = "404"; routingRule.Condition.KeyPrefixEquals = "keyprefix";
console.log("RequestId: %s", result.CommonMsg.RequestId); return; }; console.log("An ObsError was found, which means your request
log('ObjectNumber: %s', result.InterfaceResult.ObjectNumber); return; }; console.log("An ObsError was found, which means your
console.log("RequestId: %s", result.CommonMsg.RequestId); return; } console.log("An ObsError was found, which means your request
仅第一次追加上传时可设置,后续追加上传时,系统默认与第一次追加上传的配置保持一致。 默认取值: 无 storageClass str 可选 参数解释: 追加上传时可指定的对象的存储类型。 约束限制: 仅第一次追加上传时可设置,后续追加上传时,系统默认与第一次追加上传的配置保持一致。 取值范围: