RegistryModelVersions interface
Interface representing a RegistryModelVersions.
Methods
begin |
Create or update version. |
begin |
Create or update version. |
begin |
Delete version. |
begin |
Delete version. |
create |
Generate a storage location and credential for the client to upload a model asset to. |
get(string, string, string, string, Registry |
Get version. |
list(string, string, string, Registry |
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.
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.
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.
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.
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.
Pending upload request object
The options parameters.
Returns
Promise<PendingUploadResponseDto>
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.
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.
The options parameters.