AIProjectIndexesOperations.GetIndexesAsync 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
| GetIndexesAsync(RequestOptions) |
[Protocol Method] List the latest version of each Index
|
| GetIndexesAsync(CancellationToken) |
List the latest version of each Index. |
GetIndexesAsync(RequestOptions)
[Protocol Method] List the latest version of each Index
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetIndexesAsync(System.ClientModel.Primitives.RequestOptions options);
abstract member GetIndexesAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetIndexesAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetIndexesAsync (options As RequestOptions) As AsyncCollectionResult
Parameters
- options
- RequestOptions
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
GetIndexesAsync(CancellationToken)
List the latest version of each Index.
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectIndex> GetIndexesAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexesAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectIndex>
override this.GetIndexesAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.AIProjectIndex>
Public Overridable Function GetIndexesAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of AIProjectIndex)
Parameters
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.