registry_data_containers
Creates, updates, deletes, gets or lists a registry_data_containers
resource.
Overview
Name | registry_data_containers |
Type | Resource |
Id | azure.ml_services.registry_data_containers |
Fields
- vw_registry_data_containers
- registry_data_containers
Name | Datatype | Description |
---|---|---|
name | text | field from the properties object |
data_type | text | field from the properties object |
is_archived | text | field from the properties object |
latest_version | text | field from the properties object |
next_version | 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 |
Name | Datatype | Description |
---|---|---|
properties | object | Container for data asset versions. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | name, registryName, resourceGroupName, subscriptionId | |
list | SELECT | registryName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | name, registryName, resourceGroupName, subscriptionId, data__properties | |
delete | DELETE | name, registryName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_registry_data_containers
- registry_data_containers
SELECT
name,
data_type,
is_archived,
latest_version,
next_version,
registryName,
resourceGroupName,
subscriptionId
FROM azure.ml_services.vw_registry_data_containers
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.ml_services.registry_data_containers
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new registry_data_containers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.registry_data_containers (
name,
registryName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: isArchived
value: boolean
- name: latestVersion
value: string
- name: nextVersion
value: string
- name: dataType
value: []
DELETE
example
Deletes the specified registry_data_containers
resource.
/*+ delete */
DELETE FROM azure.ml_services.registry_data_containers
WHERE name = '{{ name }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';