다음을 통해 공유


SearchExtensions.GetSearchServices 메서드

정의

오버로드

GetSearchServices(ResourceGroupResource)

ResourceGroupResource에서 SearchServiceResources의 컬렉션을 가져옵니다.

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

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

  • 요청 경로/구독/{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 실행되는 instance.

반환

SearchServiceResources의 컬렉션과 SearchServiceResource에 대한 해당 작업을 나타내는 개체입니다.

적용 대상

GetSearchServices(SubscriptionResource, SearchManagementRequestOptions, CancellationToken)

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

  • 요청 경로/구독/{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 실행되는 instance.

searchManagementRequestOptions
SearchManagementRequestOptions

매개 변수 그룹입니다.

cancellationToken
CancellationToken

사용할 취소 토큰입니다.

반환

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

적용 대상