Dela via


SearchExtensions.GetSearchServicesAsync Metod

Definition

Hämtar en lista över alla söktjänster i den angivna prenumerationen.

  • Sökväg/prenumerationer/{subscriptionId}/providers/Microsoft.Search/searchServices
  • Åtgärd IdServices_ListBySubscription
public static Azure.AsyncPageable<Azure.ResourceManager.Search.SearchServiceResource> GetSearchServicesAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSearchServicesAsync : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.Search.SearchServiceResource>
<Extension()>
Public Function GetSearchServicesAsync (subscriptionResource As SubscriptionResource, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchServiceResource)

Parametrar

subscriptionResource
SubscriptionResource

Den SubscriptionResource instans som metoden körs mot.

searchManagementRequestOptions
SearchManagementRequestOptions

Parametergrupp.

cancellationToken
CancellationToken

Den annulleringstoken som ska användas.

Returer

En asynkron samling av SearchServiceResource som kan ta flera tjänstbegäranden att iterera över.

Gäller för