Lingua

AIProjectModels Class

Definition

The AIProjectModels sub-client.

public class AIProjectModels
type AIProjectModels = class
Public Class AIProjectModels
Inheritance
AIProjectModels

Constructors

Name Description
AIProjectModels()

Initializes a new instance of AIProjectModels for mocking.

Properties

Name Description
Pipeline

The HTTP pipeline for sending and receiving REST requests and responses.

Methods

Name Description
CreateModelVersionRequest(String, String, BinaryContent, RequestOptions)

[Protocol Method] Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a location header for polling the operation status.

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

Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a location header for polling the operation status.

CreateModelVersionRequestAsync(String, String, BinaryContent, RequestOptions)

[Protocol Method] Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a location header for polling the operation status.

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

Creates a model version asynchronously with blob content validation. Returns 202 Accepted with a location header for polling the operation status.

DeleteModelVersion(String, String, CancellationToken)

Removes the specified model version. Returns 200 whether the version existed or not.

DeleteModelVersion(String, String, RequestOptions)

[Protocol Method] Removes the specified model version. Returns 200 whether the version existed or not.

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

Removes the specified model version. Returns 200 whether the version existed or not.

DeleteModelVersionAsync(String, String, RequestOptions)

[Protocol Method] Removes the specified model version. Returns 200 whether the version existed or not.

  • 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)

[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)

[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.
GetModelCredentials(String, String, BinaryContent, RequestOptions)

[Protocol Method] Retrieves temporary credentials for accessing the storage backing the specified model version.

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

Retrieves temporary credentials for accessing the storage backing the specified model version.

GetModelCredentialsAsync(String, String, BinaryContent, RequestOptions)

[Protocol Method] Retrieves temporary credentials for accessing the storage backing the specified model version.

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

Retrieves temporary credentials for accessing the storage backing the specified model version.

GetModelVersion(String, String, CancellationToken)

Retrieves the specified model version, returning 404 if it does not exist.

GetModelVersion(String, String, RequestOptions)

[Protocol Method] Retrieves the specified model version, returning 404 if it does not exist.

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

Retrieves the specified model version, returning 404 if it does not exist.

GetModelVersionAsync(String, String, RequestOptions)

[Protocol Method] Retrieves the specified model version, returning 404 if it does not exist.

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

List all versions of the given ModelVersion.

GetModelVersions(String, RequestOptions)

[Protocol Method] List all versions of the given ModelVersion

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

List all versions of the given ModelVersion.

GetModelVersionsAsync(String, RequestOptions)

[Protocol Method] List all versions of the given ModelVersion

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
StartModelPendingUpload(String, String, BinaryContent, RequestOptions)

[Protocol Method] Initiates a new pending upload or retrieves an existing one for the specified model version.

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

Initiates a new pending upload or retrieves an existing one for the specified model version.

StartModelPendingUploadAsync(String, String, BinaryContent, RequestOptions)

[Protocol Method] Initiates a new pending upload or retrieves an existing one for the specified model version.

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

Initiates a new pending upload or retrieves an existing one for the specified model version.

UpdateModelVersion(String, String, BinaryContent, RequestOptions)

[Protocol Method] Updates an existing model version identified by its version ID.

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

Update an existing ModelVersion with the given version id

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UpdateModelVersionAsync(String, String, BinaryContent, RequestOptions)

[Protocol Method] Updates an existing model version identified by its version ID.

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

Update an existing ModelVersion with the given version id

  • This protocol method allows explicit creation of the request and processing of the response for advanced scenarios.
UploadModel(String, String, String)

Upload the model directory.

UploadModelAsync(String, String, String)

Upload the model directory.

Applies to