共用方式為


EnvironmentVersions interface

Interface representing a EnvironmentVersions.

Methods

beginPublish(string, string, string, string, DestinationAsset, EnvironmentVersionsPublishOptionalParams)

Publish version asset into registry.

beginPublishAndWait(string, string, string, string, DestinationAsset, EnvironmentVersionsPublishOptionalParams)

Publish version asset into registry.

createOrUpdate(string, string, string, string, EnvironmentVersion, EnvironmentVersionsCreateOrUpdateOptionalParams)

Creates or updates an EnvironmentVersion.

delete(string, string, string, string, EnvironmentVersionsDeleteOptionalParams)

Delete version.

get(string, string, string, string, EnvironmentVersionsGetOptionalParams)

Get version.

list(string, string, string, EnvironmentVersionsListOptionalParams)

List versions.

Method Details

beginPublish(string, string, string, string, DestinationAsset, EnvironmentVersionsPublishOptionalParams)

Publish version asset into registry.

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

The options parameters.

Returns

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

beginPublishAndWait(string, string, string, string, DestinationAsset, EnvironmentVersionsPublishOptionalParams)

Publish version asset into registry.

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

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, EnvironmentVersion, EnvironmentVersionsCreateOrUpdateOptionalParams)

Creates or updates an EnvironmentVersion.

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

Parameters

resourceGroupName

string

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

workspaceName

string

Name of Azure Machine Learning workspace.

name

string

Name of EnvironmentVersion. This is case-sensitive.

version

string

Version of EnvironmentVersion.

body
EnvironmentVersion

Definition of EnvironmentVersion.

options
EnvironmentVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

delete(string, string, string, string, EnvironmentVersionsDeleteOptionalParams)

Delete version.

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

The options parameters.

Returns

Promise<void>

get(string, string, string, string, EnvironmentVersionsGetOptionalParams)

Get version.

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

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
EnvironmentVersionsGetOptionalParams

The options parameters.

Returns

list(string, string, string, EnvironmentVersionsListOptionalParams)

List versions.

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

Container name. This is case-sensitive.

options
EnvironmentVersionsListOptionalParams

The options parameters.

Returns