registry_model_versions
Creates, updates, deletes, gets or lists a registry_model_versions
resource.
Overview
Name | registry_model_versions |
Type | Resource |
Id | azure.ml_services.registry_model_versions |
Fields
- vw_registry_model_versions
- registry_model_versions
Name | Datatype | Description |
---|---|---|
flavors | text | field from the properties object |
is_anonymous | text | field from the properties object |
is_archived | text | field from the properties object |
job_name | text | field from the properties object |
modelName | text | field from the properties object |
model_type | text | field from the properties object |
model_uri | 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 |
stage | 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 | Model asset version details. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | modelName, registryName, resourceGroupName, subscriptionId, version | |
list | SELECT | modelName, registryName, resourceGroupName, subscriptionId | |
create_or_get_start_pending_upload | INSERT | modelName, registryName, resourceGroupName, subscriptionId, version | |
create_or_update | INSERT | modelName, registryName, resourceGroupName, subscriptionId, version, data__properties | |
delete | DELETE | modelName, registryName, resourceGroupName, subscriptionId, version |
SELECT
examples
- vw_registry_model_versions
- registry_model_versions
SELECT
flavors,
is_anonymous,
is_archived,
job_name,
modelName,
model_type,
model_uri,
provisioning_state,
registryName,
resourceGroupName,
stage,
subscriptionId,
version
FROM azure.ml_services.vw_registry_model_versions
WHERE modelName = '{{ modelName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.ml_services.registry_model_versions
WHERE modelName = '{{ modelName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new registry_model_versions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.registry_model_versions (
modelName,
registryName,
resourceGroupName,
subscriptionId,
version,
pendingUploadId,
pendingUploadType
)
SELECT
'{{ modelName }}',
'{{ 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_model_versions
resource.
/*+ delete */
DELETE FROM azure.ml_services.registry_model_versions
WHERE modelName = '{{ modelName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND version = '{{ version }}';