registry_data_versions
Creates, updates, deletes, gets or lists a registry_data_versions
resource.
Overview
Name | registry_data_versions |
Type | Resource |
Id | azure.ml_services.registry_data_versions |
Fields
- vw_registry_data_versions
- registry_data_versions
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
data_type | text | field from the properties object |
data_uri | text | field from the properties object |
is_anonymous | text | field from the properties object |
is_archived | text | field from the properties object |
registryName | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
version | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
properties | object | Data version base definition |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, registryName, resourceGroupName, subscriptionId, version | |
list | SELECT | name, registryName, resourceGroupName, subscriptionId | |
create_or_get_start_pending_upload | INSERT | name, registryName, resourceGroupName, subscriptionId, version | |
create_or_update | INSERT | name, registryName, resourceGroupName, subscriptionId, version, data__properties | |
delete | DELETE | name, registryName, resourceGroupName, subscriptionId, version |
SELECT
examples
- vw_registry_data_versions
- registry_data_versions
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 }}';
SELECT
properties
FROM azure.ml_services.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.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.registry_data_versions (
name,
registryName,
resourceGroupName,
subscriptionId,
version,
pendingUploadId,
pendingUploadType
)
SELECT
'{{ name }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ version }}',
'{{ pendingUploadId }}',
'{{ pendingUploadType }}'
;
- name: your_resource_model_name
props:
- name: pendingUploadId
value: string
- name: pendingUploadType
value: []
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 }}';