Object-level retention policy (Object WORM) (Go SDK V2)
Updated at:
Copy as MD
Object-level retention policies (Object WORM) enforce WORM compliance at the individual object level, allowing you to set a separate retention mode and expiration date for each object. You can use Go SDK V2 to enable Object WORM, query its configuration, and manage object-level retention policies.
Usage notes
Important
This feature is currently available by invitation only. To request access, contact technical support.
-
The code examples in this topic use the China (Hangzhou) region ID (
cn-hangzhou) and public endpoints by default. To access OSS from other Alibaba Cloud services in the same region, use an internal endpoint. For more information about supported regions and endpoints, see Regions and Endpoints.
Code examples
Is this page helpful?