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