Share via


ServicesOperationsExtensions.ListBySubscriptionAsync Method

Definition

Gets a list of all search services in the given subscription. https://aka.ms/search-manage

public static System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Search.Models.SearchService>> ListBySubscriptionAsync (this Microsoft.Azure.Management.Search.IServicesOperations operations, Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions searchManagementRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListBySubscriptionAsync : Microsoft.Azure.Management.Search.IServicesOperations * Microsoft.Azure.Management.Search.Models.SearchManagementRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.IPage<Microsoft.Azure.Management.Search.Models.SearchService>>
<Extension()>
Public Function ListBySubscriptionAsync (operations As IServicesOperations, Optional searchManagementRequestOptions As SearchManagementRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IPage(Of SearchService))

Parameters

operations
IServicesOperations

The operations group for this extension method.

searchManagementRequestOptions
SearchManagementRequestOptions

Additional parameters for the operation

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to