ISearchServices.ListQueryKeysAsync(String, 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.
Returns the list of query API keys for the given Azure Search service.
public System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Search.Fluent.IQueryKey>> ListQueryKeysAsync (string resourceGroupName, string searchServiceName, System.Threading.CancellationToken cancellationToken = default);
abstract member ListQueryKeysAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<seq<Microsoft.Azure.Management.Search.Fluent.IQueryKey>>
Public Function ListQueryKeysAsync (resourceGroupName As String, searchServiceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IEnumerable(Of IQueryKey))
Parameters
- resourceGroupName
- String
The name of the resource group within the current subscription. You can obtain this value from the Azure Resource Manager API or the portal.
- searchServiceName
- String
The name of the Azure Search service associated with the specified resource group.
- 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