Use the get-vector-bucket command to retrieve detailed information about a vector bucket.
Permissions
An Alibaba Cloud account has full permissions by default. A Resource Access Management (RAM) user or RAM role has no permissions by default. Grant permissions using a RAM policy or a bucket policy.
| API | Action | Description |
|---|---|---|
| GetVectorBucket | oss:GetVectorBucket | Gets information about a vector bucket |
Syntax
ossutil vectors-api get-vector-bucket --bucket <bucket-name> [flags]<bucket-name> is required. [flags] indicates optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
--bucket | string | Yes | The name of the vector bucket |
This command maps to the GetVectorBucket API operation. For supported global flags, see Global command line options.Examples
# Get information about a vector bucket
ossutil vectors-api get-vector-bucket --bucket examplebucket
# Get information in XML format
ossutil vectors-api get-vector-bucket --bucket examplebucket --output-format xml
# Get information in YAML format
ossutil vectors-api get-vector-bucket --bucket examplebucket --output-format yaml