SearchIndexClient.GetIndexesWithSelectedPropertiesAsync 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.
Overloads
| Name | Description |
|---|---|
| GetIndexesWithSelectedPropertiesAsync(IEnumerable<String>, RequestContext) |
[Protocol Method] Lists all indexes available for a search service.
|
| GetIndexesWithSelectedPropertiesAsync(IEnumerable<String>, CancellationToken) |
Lists all indexes available for a search service. |
GetIndexesWithSelectedPropertiesAsync(IEnumerable<String>, RequestContext)
- Source:
- SearchIndexClient.cs
[Protocol Method] Lists all indexes available for a search service.
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual Azure.AsyncPageable<BinaryData> GetIndexesWithSelectedPropertiesAsync(System.Collections.Generic.IEnumerable<string> select, Azure.RequestContext context);
abstract member GetIndexesWithSelectedPropertiesAsync : seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
override this.GetIndexesWithSelectedPropertiesAsync : seq<string> * Azure.RequestContext -> Azure.AsyncPageable<BinaryData>
Public Overridable Function GetIndexesWithSelectedPropertiesAsync (select As IEnumerable(Of String), context As RequestContext) As AsyncPageable(Of BinaryData)
Parameters
- select
- IEnumerable<String>
Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.
- context
- RequestContext
The request options, which can override default behaviors of the client pipeline on a per-call basis.
Returns
The response returned from the service.
Exceptions
Service returned a non-success status code.
Applies to
GetIndexesWithSelectedPropertiesAsync(IEnumerable<String>, CancellationToken)
- Source:
- SearchIndexClient.cs
Lists all indexes available for a search service.
public virtual Azure.AsyncPageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse> GetIndexesWithSelectedPropertiesAsync(System.Collections.Generic.IEnumerable<string> select = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexesWithSelectedPropertiesAsync : seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse>
override this.GetIndexesWithSelectedPropertiesAsync : seq<string> * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.Search.Documents.Indexes.Models.SearchIndexResponse>
Public Overridable Function GetIndexesWithSelectedPropertiesAsync (Optional select As IEnumerable(Of String) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SearchIndexResponse)
Parameters
- select
- IEnumerable<String>
Selects which top-level properties to retrieve. Specified as a comma-separated list of JSON property names, or '*' for all properties. The default is all properties.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.