Skip to main content

component_versions

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

Overview

Namecomponent_versions
TypeResource
Idazure.ml_services.component_versions

Fields

NameDatatypeDescription
nametextfield from the properties object
component_spectextfield from the properties object
is_anonymoustextfield from the properties object
is_archivedtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
versiontextfield from the properties object
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTname, resourceGroupName, subscriptionId, version, workspaceName
listSELECTname, resourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTname, resourceGroupName, subscriptionId, version, workspaceName, data__properties
deleteDELETEname, resourceGroupName, subscriptionId, version, workspaceName
publishEXECname, resourceGroupName, subscriptionId, version, workspaceName

SELECT examples

SELECT
name,
component_spec,
is_anonymous,
is_archived,
provisioning_state,
resourceGroupName,
subscriptionId,
version,
workspaceName
FROM azure.ml_services.vw_component_versions
WHERE name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

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

DELETE example

Deletes the specified component_versions resource.

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