put-vector-bucket

Updated at:

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

oss: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.

Note

Examples

Create a vector bucket named examplebucket.

ossutil vectors-api put-vector-bucket --bucket examplebucket