Dela via


SearchExtensions.GetSearchServices Metod

Definition

Överlagringar

GetSearchServices(ResourceGroupResource)

Hämtar en samling SearchServiceResources i ResourceGroupResource.

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

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

GetSearchServices(ResourceGroupResource)

Hämtar en samling SearchServiceResources i ResourceGroupResource.

public static Azure.ResourceManager.Search.SearchServiceCollection GetSearchServices (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource);
static member GetSearchServices : Azure.ResourceManager.Resources.ResourceGroupResource -> Azure.ResourceManager.Search.SearchServiceCollection
<Extension()>
Public Function GetSearchServices (resourceGroupResource As ResourceGroupResource) As SearchServiceCollection

Parametrar

resourceGroupResource
ResourceGroupResource

Den ResourceGroupResource instans som metoden körs mot.

Returer

Ett objekt som representerar en samling SearchServiceResources och deras åtgärder över en SearchServiceResource.

Gäller för

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

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.Pageable<Azure.ResourceManager.Search.SearchServiceResource> GetSearchServices (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member GetSearchServices : Azure.ResourceManager.Resources.SubscriptionResource * Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Search.SearchServiceResource>
<Extension()>
Public Function GetSearchServices (subscriptionResource As SubscriptionResource, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(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 samling av SearchServiceResource som kan ta flera tjänstbegäranden att iterera över.

Gäller för