RegistryCodeVersions interface

Interface representing a RegistryCodeVersions.

Methods

beginCreateOrUpdate(string, string, string, string, CodeVersion, RegistryCodeVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginCreateOrUpdateAndWait(string, string, string, string, CodeVersion, RegistryCodeVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginDelete(string, string, string, string, RegistryCodeVersionsDeleteOptionalParams)

Delete version.

beginDeleteAndWait(string, string, string, string, RegistryCodeVersionsDeleteOptionalParams)

Delete version.

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams)

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

get(string, string, string, string, RegistryCodeVersionsGetOptionalParams)

Get version.

list(string, string, string, RegistryCodeVersionsListOptionalParams)

List versions.

Method Details

beginCreateOrUpdate(string, string, string, string, CodeVersion, RegistryCodeVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdate(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<CodeVersion>, CodeVersion>>

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

codeName

string

Container name.

version

string

Version identifier.

body
CodeVersion

Version entity to create or update.

options
RegistryCodeVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, string, CodeVersion, RegistryCodeVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, body: CodeVersion, options?: RegistryCodeVersionsCreateOrUpdateOptionalParams): Promise<CodeVersion>

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

codeName

string

Container name.

version

string

Version identifier.

body
CodeVersion

Version entity to create or update.

options
RegistryCodeVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<CodeVersion>

beginDelete(string, string, string, string, RegistryCodeVersionsDeleteOptionalParams)

Delete version.

function beginDelete(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): 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

codeName

string

Container name.

version

string

Version identifier.

options
RegistryCodeVersionsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, RegistryCodeVersionsDeleteOptionalParams)

Delete version.

function beginDeleteAndWait(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsDeleteOptionalParams): 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

codeName

string

Container name.

version

string

Version identifier.

options
RegistryCodeVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams)

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

function createOrGetStartPendingUpload(resourceGroupName: string, registryName: string, codeName: string, version: string, body: PendingUploadRequestDto, options?: RegistryCodeVersionsCreateOrGetStartPendingUploadOptionalParams): 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

codeName

string

Pending upload 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, RegistryCodeVersionsGetOptionalParams)

Get version.

function get(resourceGroupName: string, registryName: string, codeName: string, version: string, options?: RegistryCodeVersionsGetOptionalParams): Promise<CodeVersion>

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

codeName

string

Container name.

version

string

Version identifier.

options
RegistryCodeVersionsGetOptionalParams

The options parameters.

Returns

Promise<CodeVersion>

list(string, string, string, RegistryCodeVersionsListOptionalParams)

List versions.

function list(resourceGroupName: string, registryName: string, codeName: string, options?: RegistryCodeVersionsListOptionalParams): PagedAsyncIterableIterator<CodeVersion, CodeVersion[], 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

codeName

string

Container name.

options
RegistryCodeVersionsListOptionalParams

The options parameters.

Returns