다음을 통해 공유


SearchExtensions.GetSearchServicesAsync 메서드

정의

지정된 구독의 모든 Search 서비스 목록을 가져옵니다.

  • 요청 경로/구독/{subscriptionId}/providers/Microsoft.Search/searchServices
  • 작업 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)

매개 변수

subscriptionResource
SubscriptionResource

메서드가 SubscriptionResource 실행되는 instance.

searchManagementRequestOptions
SearchManagementRequestOptions

매개 변수 그룹입니다.

cancellationToken
CancellationToken

사용할 취소 토큰입니다.

반환

여러 서비스 요청을 반복하는 데 걸릴 수 있는 의 SearchServiceResource 비동기 컬렉션입니다.

적용 대상