RegistryCodeVersions interface
Interface representing a RegistryCodeVersions.
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 code asset to. |
get(string, string, string, string, Registry |
Get version. |
list(string, string, string, Registry |
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.
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.
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.
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.
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.
Pending upload request object
The options parameters.
Returns
Promise<PendingUploadResponseDto>
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.
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.
The options parameters.