Tous les produits
Search
Centre de documentation

Object Storage Service:GetTableBucket

Dernière mise à jour :Aug 18, 2026

Récupère les détails d'un Table Bucket spécifié, notamment son nom, son ARN, sa date de création et son propriétaire.

Remarques sur l'utilisation

  • L'appelant doit disposer des autorisations de lecture sur le Table Bucket.

  • La réponse inclut l'ARN du Table Bucket, son nom, sa date de création, l'ID du compte Alibaba Cloud du propriétaire et l'ID du Table Bucket.

Autorisations

API

Actions

Description

GetTableBucket

oss:GetTableBucket

Récupère les informations relatives au Table Bucket.

Syntaxe de la requête

GET /buckets/{tableBucketARN} HTTP/1.1
Host: cn-hangzhou.oss-tables.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

Paramètres de requête

Paramètre

Type

Obligatoire

Exemple

Description

tableBucketARN

String

Oui

acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket

L'ARN du Table Bucket. Format : acs:osstables:{region}:{accountId}:bucket/{bucketName}.

Paramètres de réponse

Paramètre

Type

Exemple

Description

arn

String

acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket

L'ARN du Table Bucket.

createdAt

String

2024-01-01T00:00:00.000000Z

La date de création au format ISO 8601.

name

String

my-table-bucket

Le nom du Table Bucket.

ownerAccountId

String

1234567890

L'ID du compte Alibaba Cloud du propriétaire.

tableBucketId

String

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx

L'ID du Table Bucket au format UUID.

type

String

customer

Le type du Table Bucket.

Exemples

Exemple de requête

GET /buckets/acs%3Aosstables%3Acn-hangzhou%3A1234567890%3Abucket%2Fmy-table-bucket HTTP/1.1
Host: cn-hangzhou.oss-tables.aliyuncs.com
Date: GMT Date
Authorization: OSS4-HMAC-SHA256 Credential=LTAI********************/20250417/cn-hangzhou/osstables/aliyun_v4_request,Signature=a7c3554c729d71929e0b84489addee6b2e8d5cb48595adfc51868c299c0c****

Exemple de réponse

HTTP/1.1 200 OK
Server: AliyunOSS
x-oss-request-id: 5C06A3B67B8B5A3DA422****
x-oss-server-time: 3
Content-Type: application/json

{
   "arn": "acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket",
   "createdAt": "2024-01-01T00:00:00.000000Z",
   "name": "my-table-bucket",
   "ownerAccountId": "1234567890",
   "tableBucketId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
   "type": "customer"
}

SDK

SDK pris en charge :

ossutil

La commande ossutil correspondante est get-table-bucket.

Codes d'erreur

Code d'erreur

Code d'état HTTP

Description

NotFoundException

404

La ressource demandée n'existe pas.

ForbiddenException

403

Vous n'êtes pas autorisé à effectuer cette requête.