ModelVersions interface

Interface representing a ModelVersions.

Methods

beginPublish(string, string, string, string, DestinationAsset, ModelVersionsPublishOptionalParams)

Publish version asset into registry.

beginPublishAndWait(string, string, string, string, DestinationAsset, ModelVersionsPublishOptionalParams)

Publish version asset into registry.

createOrUpdate(string, string, string, string, ModelVersion, ModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

delete(string, string, string, string, ModelVersionsDeleteOptionalParams)

Delete version.

get(string, string, string, string, ModelVersionsGetOptionalParams)

Get version.

list(string, string, string, ModelVersionsListOptionalParams)

List model versions.

Method Details

beginPublish(string, string, string, string, DestinationAsset, ModelVersionsPublishOptionalParams)

Publish version asset into registry.

function beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ModelVersionsPublishOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name.

version

string

Version identifier.

body
DestinationAsset

Destination registry info

options
ModelVersionsPublishOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginPublishAndWait(string, string, string, string, DestinationAsset, ModelVersionsPublishOptionalParams)

Publish version asset into registry.

function beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ModelVersionsPublishOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name.

version

string

Version identifier.

body
DestinationAsset

Destination registry info

options
ModelVersionsPublishOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, ModelVersion, ModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

function createOrUpdate(resourceGroupName: string, workspaceName: string, name: string, version: string, body: ModelVersion, options?: ModelVersionsCreateOrUpdateOptionalParams): Promise<ModelVersion>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

version

string

Version identifier. This is case-sensitive.

body
ModelVersion

Version entity to create or update.

options
ModelVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ModelVersion>

delete(string, string, string, string, ModelVersionsDeleteOptionalParams)

Delete version.

function delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

version

string

Version identifier. This is case-sensitive.

options
ModelVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, ModelVersionsGetOptionalParams)

Get version.

function get(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ModelVersionsGetOptionalParams): Promise<ModelVersion>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Container name. This is case-sensitive.

version

string

Version identifier. This is case-sensitive.

options
ModelVersionsGetOptionalParams

The options parameters.

Returns

Promise<ModelVersion>

list(string, string, string, ModelVersionsListOptionalParams)

List model versions.

function list(resourceGroupName: string, workspaceName: string, name: string, options?: ModelVersionsListOptionalParams): PagedAsyncIterableIterator<ModelVersion, ModelVersion[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Model name. This is case-sensitive.

options
ModelVersionsListOptionalParams

The options parameters.

Returns