Evaluators.GetLatestVersionsAsync 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
| Name | Description |
|---|---|
| GetLatestVersionsAsync(String, Nullable<Int32>, RequestOptions) |
[Protocol Method] List the latest version of each evaluator
|
| GetLatestVersionsAsync(Nullable<ListVersionsRequestType>, Nullable<Int32>, CancellationToken) |
List the latest version of each evaluator. |
GetLatestVersionsAsync(String, Nullable<Int32>, RequestOptions)
- Source:
- Evaluators.cs
[Protocol Method] List the latest version of each evaluator
- This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetLatestVersionsAsync(string type, int? limit, System.ClientModel.Primitives.RequestOptions options);
abstract member GetLatestVersionsAsync : string * Nullable<int> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetLatestVersionsAsync : string * Nullable<int> * System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetLatestVersionsAsync (type As String, limit As Nullable(Of Integer), options As RequestOptions) As AsyncCollectionResult
Parameters
- type
- String
Filter evaluators by type. Possible values: 'all', 'custom', 'builtin'.
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
- 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
GetLatestVersionsAsync(Nullable<ListVersionsRequestType>, Nullable<Int32>, CancellationToken)
- Source:
- Evaluators.cs
List the latest version of each evaluator.
public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluatorVersion> GetLatestVersionsAsync(Azure.AI.Projects.ListVersionsRequestType? type = default, int? limit = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetLatestVersionsAsync : Nullable<Azure.AI.Projects.ListVersionsRequestType> * Nullable<int> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluatorVersion>
override this.GetLatestVersionsAsync : Nullable<Azure.AI.Projects.ListVersionsRequestType> * Nullable<int> * System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.EvaluatorVersion>
Public Overridable Function GetLatestVersionsAsync (Optional type As Nullable(Of ListVersionsRequestType) = Nothing, Optional limit As Nullable(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of EvaluatorVersion)
Parameters
Filter evaluators by type. Possible values: 'all', 'custom', 'builtin'.
A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 20.
- cancellationToken
- CancellationToken
The cancellation token that can be used to cancel the operation.
Returns
Exceptions
Service returned a non-success status code.