The get-table-bucket-policy command retrieves the resource policy of a table bucket.
Usage notes
If no resource policy is configured for the table bucket, this command returns an empty policy.
Syntax
ossutil tables-api get-table-bucket-policy --table-bucket-arn value [flags]Parameter | Type | Description |
--table-bucket-arn | string | The ARN of the table bucket. Format: acs:osstables:{region}:{accountId}:bucket/{name}. |
Note
The get-table-bucket-policy command calls the GetTableBucketPolicy API operation. For parameter details, see GetTableBucketPolicy.
For global command-line options, see ossutil Global Options.
Examples
The following example retrieves the resource policy for a table bucket named my-table-bucket in the China (Hangzhou) region.
ossutil tables-api get-table-bucket-policy --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket该文章对您有帮助吗?