ISearchService.RegenerateAdminKeysAsync Metod

Definition

Återskapar antingen den primära eller sekundära administratörs-API-nyckeln. Du kan bara återskapa en nyckel i taget.

public System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys> RegenerateAdminKeysAsync (Microsoft.Azure.Management.Search.Fluent.Models.AdminKeyKind keyKind, System.Threading.CancellationToken cancellationToken = default);
abstract member RegenerateAdminKeysAsync : Microsoft.Azure.Management.Search.Fluent.Models.AdminKeyKind * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IAdminKeys>
Public Function RegenerateAdminKeysAsync (keyKind As AdminKeyKind, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IAdminKeys)

Parametrar

keyKind
AdminKeyKind

Anger vilken nyckel som ska återskapas.

cancellationToken
CancellationToken

Returer

Gäller för