Share via


IndexesOperations interface

Interface representing a Indexes operations.

Properties

createOrUpdate

Create a new or update an existing Index with the given version id

delete
get

Get the specific version of the Index

list

List the latest version of each Index

listVersions

List all versions of the given Index

Property Details

createOrUpdate

Create a new or update an existing Index with the given version id

createOrUpdate: (name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams) => Promise<IndexUnion>

Property Value

(name: string, version: string, index: IndexUnion, options?: IndexesCreateOrUpdateOptionalParams) => Promise<IndexUnion>

delete

delete: (name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise<void>

Property Value

(name: string, version: string, options?: IndexesDeleteOptionalParams) => Promise<void>

get

Get the specific version of the Index

get: (name: string, version: string, options?: IndexesGetOptionalParams) => Promise<IndexUnion>

Property Value

(name: string, version: string, options?: IndexesGetOptionalParams) => Promise<IndexUnion>

list

List the latest version of each Index

list: (options?: IndexesListOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>

Property Value

(options?: IndexesListOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>

listVersions

List all versions of the given Index

listVersions: (name: string, options?: IndexesListVersionsOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>

Property Value

(name: string, options?: IndexesListVersionsOptionalParams) => PagedAsyncIterableIterator<IndexUnion, IndexUnion[], PageSettings>