registry_model_containers
Creates, updates, deletes, gets or lists a registry_model_containers
resource.
Overview
Name | registry_model_containers |
Type | Resource |
Id | azure.ml_services.registry_model_containers |
Fields
- vw_registry_model_containers
- registry_model_containers
Name | Datatype | Description |
---|---|---|
is_archived | text | field from the properties object |
latest_version | text | field from the properties object |
modelName | text | field from the properties object |
next_version | 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 |
Name | Datatype | Description |
---|---|---|
properties | object |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | modelName, registryName, resourceGroupName, subscriptionId | |
list | SELECT | registryName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | modelName, registryName, resourceGroupName, subscriptionId, data__properties | |
delete | DELETE | modelName, registryName, resourceGroupName, subscriptionId |
SELECT
examples
- vw_registry_model_containers
- registry_model_containers
SELECT
is_archived,
latest_version,
modelName,
next_version,
provisioning_state,
registryName,
resourceGroupName,
subscriptionId
FROM azure.ml_services.vw_registry_model_containers
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.ml_services.registry_model_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_model_containers
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.registry_model_containers (
modelName,
registryName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ modelName }}',
'{{ 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: provisioningState
value: []
DELETE
example
Deletes the specified registry_model_containers
resource.
/*+ delete */
DELETE FROM azure.ml_services.registry_model_containers
WHERE modelName = '{{ modelName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';