Sprog

AIProjectModels.GetLatestModelVersionsAsync Method

Definition

Overloads

Name Description
GetLatestModelVersionsAsync(RequestOptions)

[Protocol Method] List the latest version of each ModelVersion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
GetLatestModelVersionsAsync(CancellationToken)

List the latest version of each ModelVersion.

GetLatestModelVersionsAsync(RequestOptions)

Source:
AIProjectModels.cs

[Protocol Method] List the latest version of each ModelVersion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
public virtual System.ClientModel.Primitives.AsyncCollectionResult GetLatestModelVersionsAsync(System.ClientModel.Primitives.RequestOptions options);
abstract member GetLatestModelVersionsAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
override this.GetLatestModelVersionsAsync : System.ClientModel.Primitives.RequestOptions -> System.ClientModel.Primitives.AsyncCollectionResult
Public Overridable Function GetLatestModelVersionsAsync (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

GetLatestModelVersionsAsync(CancellationToken)

Source:
AIProjectModels.cs

List the latest version of each ModelVersion.

public virtual System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ModelVersion> GetLatestModelVersionsAsync(System.Threading.CancellationToken cancellationToken = default);
abstract member GetLatestModelVersionsAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ModelVersion>
override this.GetLatestModelVersionsAsync : System.Threading.CancellationToken -> System.ClientModel.AsyncCollectionResult<Azure.AI.Projects.ModelVersion>
Public Overridable Function GetLatestModelVersionsAsync (Optional cancellationToken As CancellationToken = Nothing) As AsyncCollectionResult(Of ModelVersion)

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