Share via


AIProjectIndexesOperations.GetIndexesAsync Method

Definition

Overloads

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.
GetIndexesAsync(CancellationToken)

List the latest version of each Index.

GetIndexesAsync(RequestOptions)

Source:
AIProjectIndexesOperations.cs

[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)

Source:
AIProjectIndexesOperations.cs

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.

Applies to