tencent cloud

Cloud Object Storage

GET Service

PDF
Modo Foco
Tamanho da Fonte
Última atualização: 2026-02-02 11:19:22

Introduction

This document provides an overview of the API operations for listing all buckets and sample SDK code.
API
Operation Name
Operation Description
List buckets
Query the list of all buckets under the requester's account or buckets in a specific region.

Querying the Bucket List

Feature Overview

List all buckets under the requester's account or buckets in a specific region (List Buckets).

Example Code

let request = new ListBucketsRequest();
try {
let result = await CosXmlBaseService.default().listBucket(request)
// result includes http headers, etc.
} catch (e) {
// Exception handling
}


Ajuda e Suporte

Esta página foi útil?

comentários