Skip to main content

registry_data_versions

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

Overview

Nameregistry_data_versions
TypeResource
Idazure.ml_services.registry_data_versions

Fields

NameDatatypeDescription
nametextfield from the properties object
data_typetextfield from the properties object
data_uritextfield from the properties object
is_anonymoustextfield from the properties object
is_archivedtextfield 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
getSELECTname, registryName, resourceGroupName, subscriptionId, version
listSELECTname, registryName, resourceGroupName, subscriptionId
create_or_get_start_pending_uploadINSERTname, registryName, resourceGroupName, subscriptionId, version
create_or_updateINSERTname, registryName, resourceGroupName, subscriptionId, version, data__properties
deleteDELETEname, registryName, resourceGroupName, subscriptionId, version

SELECT examples

SELECT
name,
data_type,
data_uri,
is_anonymous,
is_archived,
registryName,
resourceGroupName,
subscriptionId,
version
FROM azure.ml_services.vw_registry_data_versions
WHERE name = '{{ name }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.registry_data_versions (
name,
registryName,
resourceGroupName,
subscriptionId,
version,
pendingUploadId,
pendingUploadType
)
SELECT
'{{ name }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ version }}',
'{{ pendingUploadId }}',
'{{ pendingUploadType }}'
;

DELETE example

Deletes the specified registry_data_versions resource.

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