RegistryModelVersions interface

Interface representing a RegistryModelVersions.

Methods

beginCreateOrUpdate(string, string, string, string, ModelVersion, RegistryModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginCreateOrUpdateAndWait(string, string, string, string, ModelVersion, RegistryModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginDelete(string, string, string, string, RegistryModelVersionsDeleteOptionalParams)

Delete version.

beginDeleteAndWait(string, string, string, string, RegistryModelVersionsDeleteOptionalParams)

Delete version.

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams)

Generate a storage location and credential for the client to upload a model asset to.

get(string, string, string, string, RegistryModelVersionsGetOptionalParams)

Get version.

list(string, string, string, RegistryModelVersionsListOptionalParams)

List versions.

Method Details

beginCreateOrUpdate(string, string, string, string, ModelVersion, RegistryModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdate(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ModelVersion>, ModelVersion>>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name.

version

string

Version identifier.

body
ModelVersion

Version entity to create or update.

options
RegistryModelVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, string, ModelVersion, RegistryModelVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, body: ModelVersion, options?: RegistryModelVersionsCreateOrUpdateOptionalParams): Promise<ModelVersion>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name.

version

string

Version identifier.

body
ModelVersion

Version entity to create or update.

options
RegistryModelVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ModelVersion>

beginDelete(string, string, string, string, RegistryModelVersionsDeleteOptionalParams)

Delete version.

function beginDelete(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name.

version

string

Version identifier.

options
RegistryModelVersionsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, RegistryModelVersionsDeleteOptionalParams)

Delete version.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name.

version

string

Version identifier.

options
RegistryModelVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams)

Generate a storage location and credential for the client to upload a model asset to.

function createOrGetStartPendingUpload(resourceGroupName: string, registryName: string, modelName: string, version: string, body: PendingUploadRequestDto, options?: RegistryModelVersionsCreateOrGetStartPendingUploadOptionalParams): Promise<PendingUploadResponseDto>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Model name. This is case-sensitive.

version

string

Version identifier. This is case-sensitive.

body
PendingUploadRequestDto

Pending upload request object

Returns

get(string, string, string, string, RegistryModelVersionsGetOptionalParams)

Get version.

function get(resourceGroupName: string, registryName: string, modelName: string, version: string, options?: RegistryModelVersionsGetOptionalParams): Promise<ModelVersion>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name. This is case-sensitive.

version

string

Version identifier. This is case-sensitive.

options
RegistryModelVersionsGetOptionalParams

The options parameters.

Returns

Promise<ModelVersion>

list(string, string, string, RegistryModelVersionsListOptionalParams)

List versions.

function list(resourceGroupName: string, registryName: string, modelName: string, options?: RegistryModelVersionsListOptionalParams): PagedAsyncIterableIterator<ModelVersion, ModelVersion[], PageSettings>

Parameters

resourceGroupName

string

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

registryName

string

Name of Azure Machine Learning registry. This is case-insensitive

modelName

string

Container name. This is case-sensitive.

options
RegistryModelVersionsListOptionalParams

The options parameters.

Returns