Tous les produits
Search
Centre de documentation

Object Storage Service:Décrire une table

Dernière mise à jour :Aug 18, 2026

Récupère les détails d'une table, notamment son schéma et sa date de création.

Notes

Identifiez une table par son ARN avec l'option --table-arn, ou en combinant les options --table-bucket-arn, --namespace et --name.

Syntaxe

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

Paramètre

Type

Description

--name

string

Nom de la table. Requiert les options --table-bucket-arn et --namespace.

--namespace

string

Espace de noms (namespace) de la table. Requiert les options --table-bucket-arn et --name.

--table-arn

string

ARN de la table au format acs:osstables:{region}:{uid}:bucket/{bucket-name}/table/{namespace}/{table-name}. Alternative à la combinaison des options --table-bucket-arn, --namespace et --name.

--table-bucket-arn

string

ARN du bucket de table au format acs:osstables:{region}:{uid}:bucket/{bucket-name}. Requiert les options --namespace et --name.

Remarque

Exemples

  • Décrire une table par son espace de noms et son nom :

    ossutil tables-api get-table --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace --name my_table
  • Décrire une table par son ARN :

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