共用方式為


RegistryDataVersions interface

Interface representing a RegistryDataVersions.

Methods

beginCreateOrUpdate(string, string, string, string, DataVersionBase, RegistryDataVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginCreateOrUpdateAndWait(string, string, string, string, DataVersionBase, RegistryDataVersionsCreateOrUpdateOptionalParams)

Create or update version.

beginDelete(string, string, string, string, RegistryDataVersionsDeleteOptionalParams)

Delete version.

beginDeleteAndWait(string, string, string, string, RegistryDataVersionsDeleteOptionalParams)

Delete version.

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams)

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

get(string, string, string, string, RegistryDataVersionsGetOptionalParams)

Get version.

list(string, string, string, RegistryDataVersionsListOptionalParams)

List data versions in the data container

Method Details

beginCreateOrUpdate(string, string, string, string, DataVersionBase, RegistryDataVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdate(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<DataVersionBase>, DataVersionBase>>

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

name

string

Container name.

version

string

Version identifier.

body
DataVersionBase

Version entity to create or update.

options
RegistryDataVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, string, DataVersionBase, RegistryDataVersionsCreateOrUpdateOptionalParams)

Create or update version.

function beginCreateOrUpdateAndWait(resourceGroupName: string, registryName: string, name: string, version: string, body: DataVersionBase, options?: RegistryDataVersionsCreateOrUpdateOptionalParams): Promise<DataVersionBase>

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

name

string

Container name.

version

string

Version identifier.

body
DataVersionBase

Version entity to create or update.

options
RegistryDataVersionsCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<DataVersionBase>

beginDelete(string, string, string, string, RegistryDataVersionsDeleteOptionalParams)

Delete version.

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

name

string

Container name.

version

string

Version identifier.

options
RegistryDataVersionsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, RegistryDataVersionsDeleteOptionalParams)

Delete version.

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

name

string

Container name.

version

string

Version identifier.

options
RegistryDataVersionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrGetStartPendingUpload(string, string, string, string, PendingUploadRequestDto, RegistryDataVersionsCreateOrGetStartPendingUploadOptionalParams)

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

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

name

string

Data asset 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, RegistryDataVersionsGetOptionalParams)

Get version.

function get(resourceGroupName: string, registryName: string, name: string, version: string, options?: RegistryDataVersionsGetOptionalParams): Promise<DataVersionBase>

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

name

string

Container name.

version

string

Version identifier.

options
RegistryDataVersionsGetOptionalParams

The options parameters.

Returns

Promise<DataVersionBase>

list(string, string, string, RegistryDataVersionsListOptionalParams)

List data versions in the data container

function list(resourceGroupName: string, registryName: string, name: string, options?: RegistryDataVersionsListOptionalParams): PagedAsyncIterableIterator<DataVersionBase, DataVersionBase[], 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

name

string

Data container's name

options
RegistryDataVersionsListOptionalParams

The options parameters.

Returns