Condividi tramite


IServicesOperations.GetWithHttpMessagesAsync Metodo

Definizione

Ottiene il servizio di ricerca con il nome specificato nel gruppo di risorse specificato. https://aka.ms/search-manage

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>> GetWithHttpMessagesAsync (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 GetWithHttpMessagesAsync : 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<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>>
Public Function GetWithHttpMessagesAsync (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 SearchServiceInner))

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 del 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

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

Generata quando non è possibile deserializzare la risposta

Generata quando un parametro obbligatorio è Null

Si applica a