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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET