检测到您已登录华为云国际站账号,为了您更好的体验,建议您访问国际站服务网站 https://www.huaweicloud.com/intl/zh-cn
不再显示此消息
缺少类异常 使用OBS PHP SDK进行二次开发时如果报缺少类异常,如“Class 'Monolog\Logger' not found in xxx”,请确保依赖库已正确安装,参见安装SDK。 父主题: 异常处理
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
取值范围: 无 默认取值: 无 further_details const char* 参数解释: 错误响应消息体XML中的FurtherDetails元素的值。 约束限制: 无 取值范围: 无 默认取值: 无 extra_details_count int 参数解释: 错误响应消息体XML中的其他元素的数量。
创建桶 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。接口参考文档详细介绍了每个接口的参数和使用方法。 您可以通过ObsClient->createBucket创建桶。以下代码展示如何新建一个桶: // 引入依赖库 require
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
删除多版本对象(Node.js SDK) 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。 功能介绍 可以通过ObsClient.deleteObject接口指定VersionId参数删除多版本对象,接口定义请参见删除对象(Node
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
文件上传 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。接口参考文档详细介绍了每个接口的参数和使用方法。 文件上传使用本地文件作为对象的数据源。以下代码展示了如何进行文件上传: // 认证用的ak和sk硬编码到代码中或者明文存
配置SDK日志 开发过程中,您有任何问题可以在github上提交issue,或者在华为云对象存储服务论坛中发帖求助。接口参考文档详细介绍了每个接口的参数和使用方法。 您可以通过ObsClient.initLog开启日志功能并进行配置。示例代码如下: obsClient.initLog({
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
error->further_details) { printf("Error further_details: \n %s\n", error->further_details); } if (error && error->extra_details_count)
取值范围: 无 默认取值: 无 further_details const char* 参数解释: 错误响应消息体XML中的FurtherDetails元素的值。 约束限制: 无 取值范围: 无 默认取值: 无 extra_details_count int 参数解释: 错误响应消息体XML中的其他元素的数量。