Share via


AIProjectIndexesOperations.GetIndexes Method

Definition

Overloads

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

List the latest version of each Index.

GetIndexes(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.CollectionResult GetIndexes(System.ClientModel.Primitives.RequestOptions options);
abstract member GetIndexes : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetIndexes : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetIndexes (options As RequestOptions) As CollectionResult

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

GetIndexes(CancellationToken)

Source:
AIProjectIndexesOperations.cs

List the latest version of each Index.

public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex> GetIndexes(System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexes : System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex>
override this.GetIndexes : System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex>
Public Overridable Function GetIndexes (Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(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