Todos os produtos
Search
Central de documentação

Object Storage Service:Descrever uma tabela

Última atualização: Jul 03, 2026

Recupera detalhes da tabela, incluindo esquema e data de criação.

Observações

Identifique a tabela pelo ARN com --table-arn ou combine --table-bucket-arn, --namespace e --name.

Sintaxe

ossutil tables-api get-table (--table-arn value | --table-bucket-arn value --namespace value --name value) [flags]

Parâmetro

Tipo

Descrição

--name

string

Nome da tabela. Requer --table-bucket-arn e --namespace.

--namespace

string

Namespace da tabela. Requer --table-bucket-arn e --name.

--table-arn

string

ARN da tabela no formato acs:osstables:{region}:{uid}:bucket/{bucket-name}/table/{namespace}/{table-name}. Alternativa à combinação de --table-bucket-arn, --namespace e --name.

--table-bucket-arn

string

ARN do bucket de tabelas no formato acs:osstables:{region}:{uid}:bucket/{bucket-name}. Requer --namespace e --name.

Nota

Exemplos

  • Descreva uma tabela por namespace e nome:

    ossutil tables-api get-table --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace --name my_table
  • Descreva uma tabela por ARN:

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