Share via


AdminKeysOperations interface

Interface representing a AdminKeys operations.

Properties

get

Gets the primary and secondary admin API keys for the specified Azure AI Search service.

regenerate

Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.

Property Details

get

Gets the primary and secondary admin API keys for the specified Azure AI Search service.

get: (resourceGroupName: string, searchServiceName: string, options?: AdminKeysGetOptionalParams) => Promise<AdminKeyResult>

Property Value

(resourceGroupName: string, searchServiceName: string, options?: AdminKeysGetOptionalParams) => Promise<AdminKeyResult>

regenerate

Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.

regenerate: (resourceGroupName: string, searchServiceName: string, keyKind: AdminKeyKind, options?: AdminKeysRegenerateOptionalParams) => Promise<AdminKeyResult>

Property Value

(resourceGroupName: string, searchServiceName: string, keyKind: AdminKeyKind, options?: AdminKeysRegenerateOptionalParams) => Promise<AdminKeyResult>