Skip to main content

registry_component_versions

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

Overview

Nameregistry_component_versions
TypeResource
Idazure.ml_services.registry_component_versions

Fields

NameDatatypeDescription
componentNametextfield from the properties object
component_spectextfield from the properties object
is_anonymoustextfield from the properties object
is_archivedtextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTcomponentName, registryName, resourceGroupName, subscriptionId, version
listSELECTcomponentName, registryName, resourceGroupName, subscriptionId
create_or_updateINSERTcomponentName, registryName, resourceGroupName, subscriptionId, version, data__properties
deleteDELETEcomponentName, registryName, resourceGroupName, subscriptionId, version

SELECT examples

SELECT
componentName,
component_spec,
is_anonymous,
is_archived,
provisioning_state,
registryName,
resourceGroupName,
subscriptionId,
version
FROM azure.ml_services.vw_registry_component_versions
WHERE componentName = '{{ componentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified registry_component_versions resource.

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