Skip to main content

registry_environment_versions

Creates, updates, deletes, gets or lists a registry_environment_versions resource.

Overview

Nameregistry_environment_versions
TypeResource
Idazure.ml_services.registry_environment_versions

Fields

NameDatatypeDescription
auto_rebuildtextfield from the properties object
buildtextfield from the properties object
conda_filetextfield from the properties object
environmentNametextfield from the properties object
environment_typetextfield from the properties object
imagetextfield from the properties object
inference_configtextfield from the properties object
is_anonymoustextfield from the properties object
is_archivedtextfield from the properties object
os_typetextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
stagetextfield from the properties object
subscriptionIdtextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTenvironmentName, registryName, resourceGroupName, subscriptionId, version
listSELECTenvironmentName, registryName, resourceGroupName, subscriptionId
create_or_updateINSERTenvironmentName, registryName, resourceGroupName, subscriptionId, version, data__properties
deleteDELETEenvironmentName, registryName, resourceGroupName, subscriptionId, version

SELECT examples

SELECT
auto_rebuild,
build,
conda_file,
environmentName,
environment_type,
image,
inference_config,
is_anonymous,
is_archived,
os_type,
provisioning_state,
registryName,
resourceGroupName,
stage,
subscriptionId,
version
FROM azure.ml_services.vw_registry_environment_versions
WHERE environmentName = '{{ environmentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new registry_environment_versions resource.

/*+ create */
INSERT INTO azure.ml_services.registry_environment_versions (
environmentName,
registryName,
resourceGroupName,
subscriptionId,
version,
data__properties,
properties
)
SELECT
'{{ environmentName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ version }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified registry_environment_versions resource.

/*+ delete */
DELETE FROM azure.ml_services.registry_environment_versions
WHERE environmentName = '{{ environmentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND version = '{{ version }}';