对象存储服务 OBS-创建桶:运行示例

时间:2024-09-03 19:46:20

运行示例

  • 以Windows操作系统为例,运行obsutil mb obs://bucket-test,创建新桶成功。
    obsutil mb obs://bucket-test
    
    Create bucket [bucket-test] successfully, request id [0000016979E1D2EA860BB5E80A6B8FCC]
  • 以Windows操作系统为例,运行obsutil mb obs://bucket001,创建已存在的桶失败。
    obsutil mb obs://bucket001
    
    Create bucket [bucket001] failed, http status [409], error code [BucketAlreadyExists], error message [The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.], request id [04030000016757F31A0333281A6B1E92]
support.huaweicloud.com/utiltg-obs/obs_11_0008.html