检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
point文件的创建和删除、分段任务的切分、并发下载的实现等内部细节。 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。 接口约束 您必须是桶拥有者或拥有下载对象的权限,才能下载对象。建议使用IAM或桶策略进行授权,如果使用IA
设置对象属性 您可以通过ObsClient.setObjectMetadata来设置对象属性,包括对象自定义元数据等信息。 除了 HTTP 标准头域外,您也可以指定自定义元数据,自定义元数据仅支持英文字符、数字与中划线【-】。 以下代码展示了如何设置对象属性: // 认证用的ak
如何获取对象URL?(Java SDK) 将桶中的对象权限设置为匿名用户读取权限后,可通过对象的URL直接下载该对象。获取对象URL的方式如下: 方式一,接口查询,ObsClient上传对象后会返回PutObjectResult对象,通过调用该对象的getObjectUrl接口可获取上传对象的URL。示例代码如下:
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
分段上传简介(Python SDK) 对于较大文件上传,可以切分成段上传。用户可以在如下的应用场景内(但不仅限于此),使用分段上传的模式: 上传超过100MB大小的文件。 网络条件较差,和OBS服务端之间的链接经常断开。 上传前无法确定将要上传文件的大小。 分段上传分为如下3个步骤:
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
分段相关接口说明(Go SDK) 对于较大文件上传,可以切分成段上传。用户可以在如下的应用场景内(但不仅限于此),使用分段上传的模式: 上传超过100MB大小的文件。 网络条件较差,和OBS服务端之间的链接经常断开。 上传前无法确定将要上传文件的大小。 分段上传分为如下3个步骤:
后图片处理也随之成功开通,使用OBS服务之前必须先充值,充值完成后即可进行访问和使用。如果您已经开通OBS且完成充值,请跳过此章节。 打开华为云网站www.huaweicloud.com。 单击“注册”。 在注册页面,根据提示信息完成注册。 注册成功后,系统会自动跳转至您的个人信息界面。
的对象更改或者获取ACL(access control list) 。 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。 对象访问权限与桶访问权限类似,也支持预定义访问策略或直接设置。 对象访问权限(ACL)可以通过三种方式设置:
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
地识别组合对象数据的ETag。此ETag无需成为对象数据的MD5哈希。 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。 接口约束 您必须是桶拥有者或拥有合并段的权限,才能合并段。建议使用IAM或桶策略进行授权,如果使用IAM则
恢复低频访问存储和恢复归档存储类别的对象后,下载该对象产生的公网流出流量,将无法使用公网流出流量包进行抵扣,只能按需计费。 回源流量包 用于抵扣使用OBS作为华为云CDN加速域名源站时,CDN向源站OBS获取文件产生的回源流量费用。 只适用于OBS 3.0的桶,且只能用于资源包所属区域。单AZ和多AZ桶通用。
日志分析(Node.js SDK) 日志配置 OBS Node.js SDK基于log4js开源库提供了日志功能,您可以通过ObsClient.initLog开启日志功能并进行配置。代码示例如下: obsClient.initLog({ name: 'test', //
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access
found, which means the client encountered an internal problem when attempting to communicate with OBS, for example, the client was unable to access