Skip to main content

registries

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

Overview

Nameregistries
TypeResource
Idazure.ml_services.registries

Fields

NameDatatypeDescription
discovery_urltextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
intellectual_property_publishertextfield from the properties object
kindtextMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
locationtextThe geo-location where the resource lives
managed_resource_grouptextfield from the properties object
managed_resource_group_settingstextfield from the properties object
ml_flow_registry_uritextfield from the properties object
public_network_accesstextfield from the properties object
region_detailstextfield from the properties object
registryNametextfield from the properties object
registry_private_endpoint_connectionstextfield from the properties object
resourceGroupNametextfield from the properties object
skutextThe resource model definition representing SKU
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTregistryName, resourceGroupName, subscriptionId
listSELECTresourceGroupName, subscriptionId
list_by_subscriptionSELECTsubscriptionId
create_or_updateINSERTregistryName, resourceGroupName, subscriptionId, data__location, data__properties
deleteDELETEregistryName, resourceGroupName, subscriptionId
updateUPDATEregistryName, resourceGroupName, subscriptionId
remove_regionsEXECregistryName, resourceGroupName, subscriptionId, data__location, data__properties

SELECT examples

SELECT
discovery_url,
identity,
intellectual_property_publisher,
kind,
location,
managed_resource_group,
managed_resource_group_settings,
ml_flow_registry_uri,
public_network_access,
region_details,
registryName,
registry_private_endpoint_connections,
resourceGroupName,
sku,
subscriptionId,
tags
FROM azure.ml_services.vw_registries
WHERE subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.registries (
registryName,
resourceGroupName,
subscriptionId,
data__location,
data__properties,
tags,
location,
identity,
kind,
properties,
sku
)
SELECT
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ kind }}',
'{{ properties }}',
'{{ sku }}'
;

UPDATE example

Updates a registries resource.

/*+ update */
UPDATE azure.ml_services.registries
SET
identity = '{{ identity }}',
sku = '{{ sku }}',
tags = '{{ tags }}'
WHERE
registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified registries resource.

/*+ delete */
DELETE FROM azure.ml_services.registries
WHERE registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';