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
This command calls the GetBucketOverwriteConfig API operation. For details about the parameters, see GetBucketOverwriteConfig.
For a list of supported global options, see Supported global options.
Examples
Get the overwrite rule configuration for the bucket examplebucket.
ossutil api get-bucket-overwrite-config --bucket examplebucketGet the overwrite rule configuration for the bucket examplebucket and display it in JSON format.
ossutil api get-bucket-overwrite-config --bucket examplebucket --output-format jsonGet 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
Is this page helpful?