Creating a Retention Rule
On Compute Cloud@Customer, you can create Object Storage retention rules.
This task isn't available in the Console.
Use the oci os retention-rule create command and required parameters to create a retention rule.
oci os retention-rule create --namespace-name <object_storage_namespace> --bucket-name <bucket_name> --display-name <name_displayed_for_rule> [OPTIONS]
For a complete list of CLI commands, flags, and options, see the Command Line Reference.
Use the CreateRetentionRule operation to create a retention rule.
For information about using the API and signing requests, see REST APIs and Security Credentials. For information about SDKs, see Software Development Kits and Command Line Interface.