对象存储服务 OBS-设置桶的生命周期配置:运行示例
时间:2025-04-16 09:37:52
运行示例
- 以Windows操作系统为例,运行obsutil lifecycle obs://bucket -method=put -localfile=d:\temp\lifecycle.json,指定基于lifecycle.json文件为桶bucket设置桶生命周期规则。
obsutil lifecycle obs://bucket -method=put -localfile=d:\temp\lifecycle.json Start at 2024-09-30 07:59:28.8675681 +0000 UTC Put lifecycle rules succeed, requestId is [04050000016836C5DA6FB21F14A2A0C0]
support.huaweicloud.com/utiltg-obs/obs_11_0092.html