put-vector-bucket
The put-vector-bucket command creates a vector bucket.
Notes
A single Alibaba Cloud account can create a maximum of 100 vector buckets in a region.
Permissions
An Alibaba Cloud account has all permissions by default. In contrast, a Resource Access Management (RAM) user or RAM role has no permissions by default. An Alibaba Cloud account or an administrator must grant permissions for the operation using a RAM policy or a bucket policy.
|
API |
Action |
Description |
|
PutVectorBucket |
|
Creates a vector bucket. The name of a vector bucket must be unique for a UID within the same region. The name must be 3 to 32 characters long. It can contain only lowercase letters, digits, and hyphens (-). It cannot start or end with a hyphen. |
Command format
ossutil vectors-api put-vector-bucket --bucket value [flags]
Parameters
|
Parameter |
Type |
Description |
|
--bucket |
string |
The name of the vector bucket. |
-
The put-vector-bucket command corresponds to the PutVectorBucket API operation.
-
For more information about the supported global command line options, see Supported global command line options.
Examples
Create a vector bucket named examplebucket.
ossutil vectors-api put-vector-bucket --bucket examplebucket