Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Indexes

Package version

Class representing a Indexes.

Hierarchy

  • Indexes

Index

Constructors

constructor

Methods

analyze

create

  • create(index: Index, options?: Models.IndexesCreateOptionalParams): Promise<Models.IndexesCreateResponse>
  • create(index: Index, callback: coreHttp.ServiceCallback<Index>): void
  • create(index: Index, options: IndexesCreateOptionalParams, callback: coreHttp.ServiceCallback<Index>): void

createOrUpdate

  • createOrUpdate(indexName: string, index: Index, options?: Models.IndexesCreateOrUpdateOptionalParams): Promise<Models.IndexesCreateOrUpdateResponse>
  • createOrUpdate(indexName: string, index: Index, callback: coreHttp.ServiceCallback<Index>): void
  • createOrUpdate(indexName: string, index: Index, options: IndexesCreateOrUpdateOptionalParams, callback: coreHttp.ServiceCallback<Index>): void
  • Creates a new search index or updates an index if it already exists.

    Parameters

    • indexName: string

      The definition of the index to create or update.

    • index: Index

      The definition of the index to create or update.

    • Optional options: Models.IndexesCreateOrUpdateOptionalParams

    Returns Promise<Models.IndexesCreateOrUpdateResponse>

    Promise<Models.IndexesCreateOrUpdateResponse>

  • Parameters

    • indexName: string

      The definition of the index to create or update.

    • index: Index

      The definition of the index to create or update.

    • callback: coreHttp.ServiceCallback<Index>

      The callback

    Returns void

  • Parameters

    • indexName: string

      The definition of the index to create or update.

    • index: Index

      The definition of the index to create or update.

    • options: IndexesCreateOrUpdateOptionalParams

      The optional parameters

    • callback: coreHttp.ServiceCallback<Index>

      The callback

    Returns void

deleteMethod

  • deleteMethod(indexName: string, options?: Models.IndexesDeleteMethodOptionalParams): Promise<coreHttp.RestResponse>
  • deleteMethod(indexName: string, callback: coreHttp.ServiceCallback<void>): void
  • deleteMethod(indexName: string, options: IndexesDeleteMethodOptionalParams, callback: coreHttp.ServiceCallback<void>): void

get

  • get(indexName: string, options?: Models.IndexesGetOptionalParams): Promise<Models.IndexesGetResponse>
  • get(indexName: string, callback: coreHttp.ServiceCallback<Index>): void
  • get(indexName: string, options: IndexesGetOptionalParams, callback: coreHttp.ServiceCallback<Index>): void

getStatistics

list

Generated using TypeDoc