对象存储服务 OBS-列举桶:运行示例

时间:2024-12-11 17:17:48

运行示例

  • 以Windows操作系统为例,运行obsutil ls -limit=5,查询桶列表。
    obsutil ls -limit=5
    Start at 2024-09-29 07:58:46.0506904 +0000 UTC
    
    Bucket                        CreationDate                  Location         BucketType   
    obs://bucket001               2018-09-03T01:53:02Z          example          OBJECT   
    
    obs://bucket002               2018-11-01T01:40:01Z          example          OBJECT      
    
    obs://bucket003               2018-10-25T11:45:45Z          example          OBJECT       
    
    obs://bucket004               2018-10-26T02:33:09Z          example          OBJECT      
    
    obs://bucket005               2018-10-26T02:34:50Z          example          OBJECT      
             
    Bucket number : 5
support.huaweicloud.com/utiltg-obs/obs_11_0009.html