检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
t 附加参数,可选 指定用户的securitytoken。 响应结果: 字段名 描述 Key 对象名。 LastModified 对象的最近一次修改时间。 Size 对象的大小。 StorageClass 对象的存储类型。
+ v.getKey()); Log.i("ListVersions","\t" + v.getOwner()); Log.i("ListVersions","\t" + v.isDeleteMarker()); } 指定前缀列举 以下代码展示如何指定前缀列举多版本对象
bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { NSLog(@"%0.1f%%",(float)floor(totalBytesSent*10000/totalBytesExpectedToSend
wchar_t类型(参数是以char*格式传入,内部处理逻辑是wchar_t) 表1 影响函数 说明 download_file 参数download_file_config的downLoad_file、check_point_file成员需要是wchar_t类型,以char*格式传入
bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { NSLog(@"%0.1f%%",(float)floor(totalBytesSent*10000/totalBytesExpectedToSend
bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { NSLog(@"%0.1f%%",(float)floor(totalBytesSent*10000/totalBytesExpectedToSend
/bucket003 2018-10-25T11:45:45Z example OBJECT obs://bucket004 2018-10-26T02:33:09Z
t 附加参数,可选 指定用户的securitytoken。 父主题: 对象相关命令
创建SFS Turbo HPC型文件系统:创建1个SFS Turbo文件系统,文件系统类型选择“HPC型”,存储类型请根据存储容量和性能需求选择,AI场景建议选择250MB/s/TiB及以上的存储类型。 创建OBS桶:创建1个OBS桶,存储类别为“标准存储”,桶策略为“私有”。
bytesSent, int64_t totalBytesSent, int64_t totalBytesExpectedToSend) { NSLog(@"%0.1f%%",(float)totalBytesSent*100/(float)totalBytesExpectedToSend
说明: 不配置该参数,e、i、k、t更新的配置文件中的字段为endpoint、ak、sk、token。 配置该参数后,e、i、k、t更新的配置文件中的字段变为endpointCrr、akCrr、skCrr、tokenCrr。
t 附加参数,可选 指定用户的securitytoken。 父主题: 对象相关命令
+ metadata.getContentType()); Log.i("GetObjectMetadata","\t" + metadata.getContentLength()); // 获取用户自定义元数据 Log.i("GetObjectMetadata","\t" +
bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) { NSLog(@"%0.1f%%",(float)(totalBytesWritten)*100/(float)totalBytesExpectedToWrite
"prefix"); ObjectListing result = obsClient.listObjects(request); for(ObsObject obsObject : result.getObjects()){ Log.i("ListObjects","\t"
使用格式转换功能时,默认输出的jpg格式是标准型的jpg(Baseline JPEG)。如果需要输出能够渐进显示的jpeg(Progressive JPEG),使用此参数。具体参数说明如表2所示。 标准型jpg格式图片的呈现方式:自上而下显示。
命令结构 Windows操作系统 恢复对象 obsutil restore obs://bucket/key [-d=1] [-t=xxx] [-versionId=xxx] [-fr] [-o=xxx] [-config=xxx] [-e=xxx] [-i=xxx] [-k=xxx
bytesWritten, int64_t totalBytesWritten, int64_t totalBytesExpectedToWrite) { NSLog(@"%0.1f%%",(float)(totalBytesWritten)*100/(float)totalBytesExpectedToWrite
设置方法有如下两种: 整数型:表示图片起点水平偏移视频顶点的像素值,单位px。取值范围:[0,4096] 小数型:表示图片起点相对于视频分辨率宽的水平偏移比率。取值范围:(0,1),支持4位小数,如0.9999,超出部分系统自动丢弃。
'headers'=> $resp['ActualSignedRequestHeaders']]); printf("%s using temporary signature url:\n", 'Create bucket'); printf("\t%