IBM Bluemix Object 存储服务是否支持过期 objects?
Does IBM Bluemix Object Storage service support expiring objects?
根据 Swift 文档 https://docs.openstack.org/swift/latest/overview_expiring_objects.html 添加 X-Delete-After header 到 PUT 或 POST object 将使其在秒后过期传入该值。
IBM Bluemix Object 存储是否支持此功能?
IBM Bluemix Object Storage supports expiring objects, i.e., automatic deletion. You can use the X-Delete-At
or X-Delete-After
header attributes that you mentioned in your question. As usual, this is found in the documentation for IBM Bluemix Object Storage under "Managing Objects".
X-Delete-At
使用纪元时间,此命令(取自文档)将删除位于“2016/04/01 08:00:00”的对象:
swift post -H "X-Delete-At:1459515600" container1 file7
根据 Swift 文档 https://docs.openstack.org/swift/latest/overview_expiring_objects.html 添加 X-Delete-After header 到 PUT 或 POST object 将使其在秒后过期传入该值。
IBM Bluemix Object 存储是否支持此功能?
IBM Bluemix Object Storage supports expiring objects, i.e., automatic deletion. You can use the X-Delete-At
or X-Delete-After
header attributes that you mentioned in your question. As usual, this is found in the documentation for IBM Bluemix Object Storage under "Managing Objects".
X-Delete-At
使用纪元时间,此命令(取自文档)将删除位于“2016/04/01 08:00:00”的对象:
swift post -H "X-Delete-At:1459515600" container1 file7