get-bucket-overwrite-config

Updated at:

Retrieves the overwrite rule configuration for a bucket.

Usage notes

You must have the oss:GetBucketOverwriteConfig permission.

Syntax

ossutil api get-bucket-overwrite-config --bucket value [flags]

Parameter

Type

Description

--bucket

string

The bucket name.

Note

Examples

  • Get the overwrite rule configuration for the bucket examplebucket.

    ossutil api get-bucket-overwrite-config --bucket examplebucket
  • Get the overwrite rule configuration for the bucket examplebucket and display it in JSON format.

    ossutil api get-bucket-overwrite-config --bucket examplebucket --output-format json
  • Get the overwrite rule configuration for the bucket examplebucket and display it in YAML format.

    ossutil api get-bucket-overwrite-config --bucket examplebucket --output-format yaml