ISearchService.CreateQueryKeyAsync(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Regenerates either the primary or secondary admin API key. You can only regenerate one key at a time.
public System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IQueryKey> CreateQueryKeyAsync (string name, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateQueryKeyAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Search.Fluent.IQueryKey>
Public Function CreateQueryKeyAsync (name As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IQueryKey)
Parameters
- name
- String
The name of the new query API key.
- cancellationToken
- CancellationToken
Returns
Applies to
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.
Azure SDK for .NET