Skip to main content

code_containers

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

Overview

Namecode_containers
TypeResource
Idazure.ml_services.code_containers

Fields

NameDatatypeDescription
nametextfield from the properties object
is_archivedtextfield from the properties object
latest_versiontextfield from the properties object
next_versiontextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTname, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEname, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
name,
is_archived,
latest_version,
next_version,
provisioning_state,
resourceGroupName,
subscriptionId,
workspaceName
FROM azure.ml_services.vw_code_containers
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.code_containers (
name,
resourceGroupName,
subscriptionId,
workspaceName,
data__properties,
properties
)
SELECT
'{{ name }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__properties }}',
'{{ properties }}'
;

DELETE example

Deletes the specified code_containers resource.

/*+ delete */
DELETE FROM azure.ml_services.code_containers
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';