SearchExtensions.GetSearchServicesAsync Metoda

Definice

Získá seznam všech vyhledávacích služeb v daném předplatném.

  • Cesta k žádosti/subscriptions/{id_předplatného}/providers/Microsoft.Search/searchServices
  • Provozní 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)

Parametry

subscriptionResource
SubscriptionResource

Instance SubscriptionResource , proti které se bude metoda provádět.

searchManagementRequestOptions
SearchManagementRequestOptions

Skupina parametrů.

cancellationToken
CancellationToken

Token zrušení, který se má použít.

Návraty

Asynchronní kolekce, SearchServiceResource která může brat více žádostí o služby k iteraci.

Platí pro