Sdílet prostřednictvím


IServicesOperations.ListByResourceGroupWithHttpMessagesAsync Metoda

Definice

Získá seznam všech vyhledávacích služeb v dané skupině prostředků. https://aka.ms/search-manage

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<System.Collections.Generic.IEnumerable<Microsoft.Azure.Management.Search.Fluent.Models.SearchServiceInner>>> ListByResourceGroupWithHttpMessagesAsync (string resourceGroupName, 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 ListByResourceGroupWithHttpMessagesAsync : 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.SearchServiceInner>>>
Public Function ListByResourceGroupWithHttpMessagesAsync (resourceGroupName 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 SearchServiceInner)))

Parametry

resourceGroupName
String

Název skupiny prostředků v aktuálním předplatném. Tuto hodnotu můžete získat z rozhraní API Resource Manager Azure nebo z portálu.

searchManagementRequestOptions
SearchManagementRequestOptionsInner

Další parametry operace

customHeaders
Dictionary<String,List<String>>

Hlavičky, které se přidají do požadavku.

cancellationToken
CancellationToken

Token zrušení.

Návraty

Výjimky

Vyvolá se, když operace vrátila neplatný stavový kód.

Vyvolá se, když nejde deserializovat odpověď.

Vyvolá se, když má povinný parametr hodnotu null.

Platí pro