AIProjectIndexesOperations.GetIndexVersions 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
| GetIndexVersions(String, RequestOptions) |
[Protocol Method] List all versions of the given Index
|
| GetIndexVersions(String, CancellationToken) |
List all versions of the given Index. |
GetIndexVersions(String, RequestOptions)
[Protocol Method] List all versions of the given Index
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.CollectionResult GetIndexVersions(string name, System.ClientModel.Primitives.RequestOptions options);
abstract member GetIndexVersions : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
override this.GetIndexVersions : string * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.CollectionResult
Public Overridable Function GetIndexVersions (name As String, options As RequestOptions) As CollectionResult
Parameters
- name
- String
The name of the resource.
- 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
name is null.
name is an empty string, and was expected to be non-empty.
Service returned a non-success status code.
Applies to
GetIndexVersions(String, CancellationToken)
List all versions of the given Index.
public virtual System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex> GetIndexVersions(string name, System.Threading.CancellationToken cancellationToken = default);
abstract member GetIndexVersions : string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex>
override this.GetIndexVersions : string * System.Threading.CancellationToken -> System.ClientModel.CollectionResult<Azure.AI.Projects.AIProjectIndex>
Public Overridable Function GetIndexVersions (name As String, Optional cancellationToken As CancellationToken = Nothing) As CollectionResult(Of AIProjectIndex)
Parameters
- name
- String
The name of the resource.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
name is null.
name is an empty string, and was expected to be non-empty.
Service returned a non-success status code.