Listing the Object Storage Replication Policy
View a list the replication policy for an Object Storage bucket.
Note
There's a maximum of one replication policy per bucket.
- On the Buckets list page, select the Object Storage bucket that you want to work with. If you need help finding the list page or the Object Storage bucket, see Listing Buckets.
- On the details page, select Replication Policy.
The Replication Policies list opens. All replication policies in the selected bucket are displayed in a table.
Use the oci os replication list-replication-policies command and required parameters to list the replication policies for a bucket:
oci os replication list-replication-policies --bucket-name bucket_name [OPTIONS]
For example:
oci os replication list-replication-policies --bucket-name MySourceBucket { "data": [ { "destination-bucket": "MyDestinationBucket", "destination-region": "us-ashburn-1", "id": "bacb8334-b191-4026-aa65-5e4f5165ae3e", "name": "MyReplicationPolicy", "status": "ACTIVE", "status-message": "The policy is active.", "time-created": "2020-02-06T16:44:10+00:00", "time-last-sync": "2020-02-06T16:53:42+00:00" } ] }
For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
Run the ListReplicationPolicies operation to list the replication policies for a bucket: