Skip to main content

registry_model_containers

Creates, updates, deletes, gets or lists a registry_model_containers resource.

Overview

Nameregistry_model_containers
TypeResource
Idazure.ml_services.registry_model_containers

Fields

NameDatatypeDescription
is_archivedtextfield from the properties object
latest_versiontextfield from the properties object
modelNametextfield from the properties object
next_versiontextfield from the properties object
provisioning_statetextfield from the properties object
registryNametextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTmodelName, registryName, resourceGroupName, subscriptionId
listSELECTregistryName, resourceGroupName, subscriptionId
create_or_updateINSERTmodelName, registryName, resourceGroupName, subscriptionId, data__properties
deleteDELETEmodelName, registryName, resourceGroupName, subscriptionId

SELECT examples

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 }}';

INSERT example

Use the following StackQL query and manifest file to create a new registry_model_containers resource.

/*+ create */
INSERT INTO azure.ml_services.registry_model_containers (
modelName,
registryName,
resourceGroupName,
subscriptionId,
data__properties,
properties
)
SELECT
'{{ modelName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__properties }}',
'{{ properties }}'
;

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 }}';