Creates a vector bucket.
Permissions
By default, an Alibaba Cloud account has full permissions. 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 |
|---|---|---|
| PutVectorBucket | oss:PutVectorBucket | Creates a vector bucket. |
Syntax
ossutil vectors-api put-vector-bucket --bucket <value> [flags]Options
--bucket (string) [required]
The name of the vector bucket to create.
Constraints:
Length: 3–32 characters
Allowed characters: lowercase letters (a–z), digits (0–9), and hyphens (-)
Cannot start or end with a hyphen
Must be unique within the same UID and region
For global flags supported by all commands, see Supported global command line options.
Usage notes
Each UID can create up to 10 vector buckets per region.
Note
The put-vector-bucket command corresponds to the PutVectorBucket API operation.
Examples
Create a vector bucket named examplebucket:
ossutil vectors-api put-vector-bucket --bucket examplebucket