registry_environment_versions
Creates, updates, deletes, gets or lists a registry_environment_versions
resource.
Overview
Name | registry_environment_versions |
Type | Resource |
Id | azure.ml_services.registry_environment_versions |
Fields
- vw_registry_environment_versions
- registry_environment_versions
Name | Datatype | Description |
---|---|---|
auto_rebuild | text | field from the properties object |
build | text | field from the properties object |
conda_file | text | field from the properties object |
environmentName | text | field from the properties object |
environment_type | text | field from the properties object |
image | text | field from the properties object |
inference_config | text | field from the properties object |
is_anonymous | text | field from the properties object |
is_archived | text | field from the properties object |
os_type | 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 | Environment version details. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | environmentName, registryName, resourceGroupName, subscriptionId, version | |
list | SELECT | environmentName, registryName, resourceGroupName, subscriptionId | |
create_or_update | INSERT | environmentName, registryName, resourceGroupName, subscriptionId, version, data__properties | |
delete | DELETE | environmentName, registryName, resourceGroupName, subscriptionId, version |
SELECT
examples
- vw_registry_environment_versions
- registry_environment_versions
SELECT
auto_rebuild,
build,
conda_file,
environmentName,
environment_type,
image,
inference_config,
is_anonymous,
is_archived,
os_type,
provisioning_state,
registryName,
resourceGroupName,
stage,
subscriptionId,
version
FROM azure.ml_services.vw_registry_environment_versions
WHERE environmentName = '{{ environmentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
properties
FROM azure.ml_services.registry_environment_versions
WHERE environmentName = '{{ environmentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new registry_environment_versions
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.ml_services.registry_environment_versions (
environmentName,
registryName,
resourceGroupName,
subscriptionId,
version,
data__properties,
properties
)
SELECT
'{{ environmentName }}',
'{{ registryName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ version }}',
'{{ data__properties }}',
'{{ properties }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: isAnonymous
value: boolean
- name: isArchived
value: boolean
- name: autoRebuild
value: []
- name: build
value:
- name: contextUri
value: string
- name: dockerfilePath
value: string
- name: condaFile
value: string
- name: environmentType
value: []
- name: image
value: string
- name: inferenceConfig
value:
- name: livenessRoute
value:
- name: path
value: string
- name: port
value: integer
- name: osType
value: []
- name: provisioningState
value: []
- name: stage
value: string
DELETE
example
Deletes the specified registry_environment_versions
resource.
/*+ delete */
DELETE FROM azure.ml_services.registry_environment_versions
WHERE environmentName = '{{ environmentName }}'
AND registryName = '{{ registryName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND version = '{{ version }}';