IndexesOperationsExtensions.ListAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Lists all indexes available for a search service. https://docs.microsoft.com/rest/api/searchservice/List-Indexes
public static System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.IndexListResult> ListAsync (this Microsoft.Azure.Search.IIndexesOperations operations, string select = default, Microsoft.Azure.Search.Models.SearchRequestOptions searchRequestOptions = default, System.Threading.CancellationToken cancellationToken = default);
static member ListAsync : Microsoft.Azure.Search.IIndexesOperations * string * Microsoft.Azure.Search.Models.SearchRequestOptions * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Search.Models.IndexListResult>
<Extension()>
Public Function ListAsync (operations As IIndexesOperations, Optional select As String = Nothing, Optional searchRequestOptions As SearchRequestOptions = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of IndexListResult)
Parameters
- operations
- IIndexesOperations
The operations group for this extension method.
- select
- String
Selects which properties of the index definitions to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.
- searchRequestOptions
- SearchRequestOptions
Additional parameters for the operation
- cancellationToken
- CancellationToken
The cancellation token.