IndexesOperations interface

Rozhraní reprezentující a Indexuje operace.

Vlastnosti

createOrUpdate

Vytvořit nový nebo aktualizovat existující index s daným ID verze

delete

Odstraňte konkrétní verzi rejstříku. Služba vrátí hodnotu 204 Žádný obsah, pokud byl index úspěšně odstraněn nebo pokud index neexistuje.

get

Získejte konkrétní verzi indexu. Služba vrátí chybu 404 Nenalezeno, pokud index neexistuje.

list

Vypsat nejnovější verzi každého indexu

listVersions

Vypsat všechny verze daného indexu

Podrobnosti vlastnosti

createOrUpdate

Vytvořit nový nebo aktualizovat existující index s daným ID verze

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

Hodnota vlastnosti

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

delete

Odstraňte konkrétní verzi rejstříku. Služba vrátí hodnotu 204 Žádný obsah, pokud byl index úspěšně odstraněn nebo pokud index neexistuje.

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

Hodnota vlastnosti

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

get

Získejte konkrétní verzi indexu. Služba vrátí chybu 404 Nenalezeno, pokud index neexistuje.

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

Hodnota vlastnosti

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

list

Vypsat nejnovější verzi každého indexu

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

Hodnota vlastnosti

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

listVersions

Vypsat všechny verze daného indexu

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

Hodnota vlastnosti

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