registry_component_versions
Creates, updates, deletes, gets or lists a registry_component_versions
resource.
Overview
Name | registry_component_versions |
Type | Resource |
Id | azure.ml_services.registry_component_versions |
Fields
- vw_registry_component_versions
- registry_component_versions
Name | Datatype | Description |
---|---|---|
componentName | text | field from the properties object |
component_spec | text | field from the properties object |
is_anonymous | text | field from the properties object |
is_archived | text | field from the properties object |
provisioning_state | 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 | Definition of a component version: defines resources that span component types. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | componentName, registryName, resourceGroupName, subscriptionId, version | |
list | SELECT | componentName, registryName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | componentName, registryName, resourceGroupName, subscriptionId, version, data__properties | |
delete | DELETE | componentName, registryName, resourceGroupName, subscriptionId, version |
SELECT
examples
- vw_registry_component_versions
- registry_component_versions
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 }}';
SELECT
properties
FROM azure.ml_services.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: isAnonymous
value: boolean
- name: isArchived
value: boolean
- name: componentSpec
value: object
- name: provisioningState
value: []
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 }}';