get-vector-index

通过get-vector-index命令获取向量索引的详细信息。

权限说明

阿里云账号默认拥有全部权限。阿里云账号下的RAM用户或RAM角色默认没有任何权限,需要阿里云账号或账号管理员通过RAM PolicyBucket Policy授予操作权限。

API

Action

说明

GetVectorIndex

oss:GetVectorIndex

获取向量索引信息。

命令格式

ossutil vectors-api get-vector-index --bucket value --index-name value [flags]

参数说明

参数

类型

说明

--bucket

string

向量Bucket名称。

--index-name

string

索引名称。

说明

使用示例

获取向量存储空间examplebucket中向量名字为index的向量索引属性。

ossutil vectors-api get-vector-index --bucket examplebucket --index-name index