Partager via


ComponentVersions interface

Interface representing a ComponentVersions.

Methods

beginPublish(string, string, string, string, DestinationAsset, ComponentVersionsPublishOptionalParams)

Publish version asset into registry.

beginPublishAndWait(string, string, string, string, DestinationAsset, ComponentVersionsPublishOptionalParams)

Publish version asset into registry.

createOrUpdate(string, string, string, string, ComponentVersion, ComponentVersionsCreateOrUpdateOptionalParams)

Create or update version.

delete(string, string, string, string, ComponentVersionsDeleteOptionalParams)

Delete version.

get(string, string, string, string, ComponentVersionsGetOptionalParams)

Get version.

list(string, string, string, ComponentVersionsListOptionalParams)

List component versions.

Method Details

beginPublish(string, string, string, string, DestinationAsset, ComponentVersionsPublishOptionalParams)

Publish version asset into registry.

function beginPublish(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams): 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
ComponentVersionsPublishOptionalParams

The options parameters.

Returns

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

beginPublishAndWait(string, string, string, string, DestinationAsset, ComponentVersionsPublishOptionalParams)

Publish version asset into registry.

function beginPublishAndWait(resourceGroupName: string, workspaceName: string, name: string, version: string, body: DestinationAsset, options?: ComponentVersionsPublishOptionalParams): 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
ComponentVersionsPublishOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, ComponentVersion, ComponentVersionsCreateOrUpdateOptionalParams)

Create or update version.

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

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
ComponentVersion

Version entity to create or update.

options
ComponentVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<ComponentVersion>

delete(string, string, string, string, ComponentVersionsDeleteOptionalParams)

Delete version.

function delete(resourceGroupName: string, workspaceName: string, name: string, version: string, options?: ComponentVersionsDeleteOptionalParams): 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.

options
ComponentVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, ComponentVersionsGetOptionalParams)

Get version.

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

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.

options
ComponentVersionsGetOptionalParams

The options parameters.

Returns

Promise<ComponentVersion>

list(string, string, string, ComponentVersionsListOptionalParams)

List component versions.

function list(resourceGroupName: string, workspaceName: string, name: string, options?: ComponentVersionsListOptionalParams): PagedAsyncIterableIterator<ComponentVersion, ComponentVersion[], 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

Component name.

options
ComponentVersionsListOptionalParams

The options parameters.

Returns