共用方式為


SearchExtensions.GetSearchServices 方法

定義

多載

GetSearchServices(ResourceGroupResource)

取得 ResourceGroupResource 中的 SearchServiceResources 集合。

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

取得指定訂用帳戶中所有搜尋服務的清單。

  • 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.Search/searchServices
  • 作業IdServices_ListBySubscription

GetSearchServices(ResourceGroupResource)

取得 ResourceGroupResource 中的 SearchServiceResources 集合。

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

參數

resourceGroupResource
ResourceGroupResource

方法 ResourceGroupResource 將對其執行的實例。

傳回

物件,代表 SearchServiceResources 的集合及其在 SearchServiceResource 上的作業。

適用於

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

取得指定訂用帳戶中所有搜尋服務的清單。

  • 要求路徑/訂用帳戶/{subscriptionId}/providers/Microsoft.Search/searchServices
  • 作業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)

參數

subscriptionResource
SubscriptionResource

方法 SubscriptionResource 將對其執行的實例。

searchManagementRequestOptions
SearchManagementRequestOptions

參數群組。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

SearchServiceResource 集合,可能需要多個服務要求來逐一查看。

適用於