Condividi tramite


IQueryKeysOperations.ListBySearchServiceWithHttpMessagesAsync Metodo

Definizione

Restituisce l'elenco delle chiavi API di query per il servizio Ricerca di Azure specificato. https://aka.ms/search-manage

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner>>> ListBySearchServiceWithHttpMessagesAsync (string resourceGroupName, string searchServiceName, Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner searchManagementRequestOptions = default, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member ListBySearchServiceWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.Search.Fluent.Models.SearchManagementRequestOptionsInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<seq<Microsoft.Azure.Management.Search.Fluent.Models.QueryKeyInner>>>
Public Function ListBySearchServiceWithHttpMessagesAsync (resourceGroupName As String, searchServiceName As String, Optional searchManagementRequestOptions As SearchManagementRequestOptionsInner = Nothing, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of IEnumerable(Of QueryKeyInner)))

Parametri

resourceGroupName
String

Nome del gruppo di risorse all'interno della sottoscrizione corrente. È possibile ottenere questo valore dall'API di Gestione risorse di Azure o dal portale.

searchServiceName
String

Nome dell'servizio di ricerca di Azure associato al gruppo di risorse specificato.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

Parametri aggiuntivi per l'operazione

customHeaders
Dictionary<String,List<String>>

Intestazioni che verranno aggiunte alla richiesta.

cancellationToken
CancellationToken

Token di annullamento.

Restituisce

Eccezioni

Generato quando l'operazione ha restituito un codice di stato non valido

Generato quando non è possibile deserializzare la risposta

Generato quando un parametro obbligatorio è Null

Si applica a