AIProjectIndexesOperations.GetIndexes 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
| GetIndexes(RequestOptions) |
[Protocol Method] List the latest version of each Index
|
| GetIndexes(CancellationToken) |
List the latest version of each Index. |
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.
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)
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.