Language

AIProjectModels.GetLatestModelVersions Method

Definition

Overloads

Name Description
GetLatestModelVersions(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.
GetLatestModelVersions(CancellationToken)

List the latest version of each ModelVersion.

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

GetLatestModelVersions(CancellationToken)

Source:
AIProjectModels.cs

List the latest version of each ModelVersion.

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