IndexesOperations interface
表示 Indexes作的介面。
屬性
| create |
使用給定版本ID創建新索引或更新現有索引 |
| delete | |
| get | 獲取 Index 的特定版本 |
| list | 列出每個索引的最新版本 |
| list |
列出給定索引的所有版本 |
屬性詳細資料
createOrUpdate
使用給定版本ID創建新索引或更新現有索引
createOrUpdate: (name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams) => Promise<IndexUnion>
屬性值
(name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams) => Promise<IndexUnion>
delete
delete: (name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise<void>
屬性值
(name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise<void>
get
獲取 Index 的特定版本
get: (name: string, version: string, options?: IndexesGetOptionalParams) => Promise<IndexUnion>
屬性值
(name: string, version: string, options?: IndexesGetOptionalParams) => Promise<IndexUnion>
list
列出每個索引的最新版本
list: (options?: IndexesListOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>
屬性值
(options?: IndexesListOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>
listVersions
列出給定索引的所有版本
listVersions: (name: string, options?: IndexesListVersionsOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>
屬性值
(name: string, options?: IndexesListVersionsOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>