Get a namespace

更新时间:
复制 MD 格式

Retrieves the details of a specified namespace.

Usage notes

  • Returns attributes such as the name and creation time of the namespace.

Command syntax

ossutil tables-api get-namespace --table-bucket-arn value --namespace value [flags]

Parameter

Type

Description

--namespace

string

The name of the namespace to retrieve.

--table-bucket-arn

string

The ARN of the Table Bucket. The format is acs:osstables:{region}:{uid}:bucket/{bucket-name}.

Note
  • The get-namespace command corresponds to the GetNamespace API operation. For details about the API parameters, see GetNamespace.

  • For supported global command-line options, see ossutil global options.

Examples

Retrieve details for a namespace named my_namespace in a Table Bucket:

ossutil tables-api get-namespace --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace