Skip to main content

connection_deployments

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

Overview

Nameconnection_deployments
TypeResource
Idazure.ml_services.connection_deployments

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
connectionNametextfield from the properties object
deploymentNametextfield from the properties object
failure_reasontextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTconnectionName, deploymentName, resourceGroupName, subscriptionId, workspaceName
listSELECTconnectionName, resourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTconnectionName, deploymentName, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEconnectionName, deploymentName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
name,
connectionName,
deploymentName,
failure_reason,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_connection_deployments
WHERE connectionName = '{{ connectionName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

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

DELETE example

Deletes the specified connection_deployments resource.

/*+ delete */
DELETE FROM azure.ml_services.connection_deployments
WHERE connectionName = '{{ connectionName }}'
AND deploymentName = '{{ deploymentName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';