共用方式為


SearchServiceCollection.GetAll 方法

定義

取得指定資源群組中所有搜尋服務的清單。

  • 要求路徑/訂用帳戶/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Search/searchServices
  • 作業IdServices_ListByResourceGroup
public virtual Azure.Pageable<Azure.ResourceManager.Search.SearchServiceResource> GetAll (Azure.ResourceManager.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Search.SearchServiceResource>
override this.GetAll : Azure.ResourceManager.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Search.SearchServiceResource>
Public Overridable Function GetAll (Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SearchServiceResource)

參數

searchManagementRequestOptions
SearchManagementRequestOptions

參數群組。

cancellationToken
CancellationToken

要使用的取消權杖。

傳回

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

適用於