Skip to main content

online_deployments

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

Overview

Nameonline_deployments
TypeResource
Idazure.ml_services.online_deployments

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
app_insights_enabledtextfield from the properties object
code_configurationtextfield from the properties object
data_collectortextfield from the properties object
deploymentNametextfield from the properties object
egress_public_network_accesstextfield from the properties object
endpointNametextfield from the properties object
endpoint_compute_typetextfield from the properties object
environment_idtextfield from the properties object
environment_variablestextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
instance_typetextfield from the properties object
kindtextMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
liveness_probetextfield from the properties object
locationtextThe geo-location where the resource lives
modeltextfield from the properties object
model_mount_pathtextfield from the properties object
propertiestextfield from the properties object
provisioning_statetextfield from the properties object
readiness_probetextfield from the properties object
request_settingstextfield from the properties object
resourceGroupNametextfield from the properties object
scale_settingstextfield from the properties object
skutextThe resource model definition representing SKU
subscriptionIdtextfield from the properties object
tagstextResource tags.
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName
listSELECTendpointName, resourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName, data__location, data__properties
deleteDELETEdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName
updateUPDATEdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
description,
app_insights_enabled,
code_configuration,
data_collector,
deploymentName,
egress_public_network_access,
endpointName,
endpoint_compute_type,
environment_id,
environment_variables,
identity,
instance_type,
kind,
liveness_probe,
location,
model,
model_mount_path,
properties,
provisioning_state,
readiness_probe,
request_settings,
resourceGroupName,
scale_settings,
sku,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_online_deployments
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure.ml_services.online_deployments (
deploymentName,
endpointName,
resourceGroupName,
subscriptionId,
workspaceName,
data__location,
data__properties,
tags,
location,
identity,
kind,
properties,
sku
)
SELECT
'{{ deploymentName }}',
'{{ endpointName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ data__location }}',
'{{ data__properties }}',
'{{ tags }}',
'{{ location }}',
'{{ identity }}',
'{{ kind }}',
'{{ properties }}',
'{{ sku }}'
;

UPDATE example

Updates a online_deployments resource.

/*+ update */
UPDATE azure.ml_services.online_deployments
SET
tags = '{{ tags }}',
sku = '{{ sku }}'
WHERE
deploymentName = '{{ deploymentName }}'
AND endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

DELETE example

Deletes the specified online_deployments resource.

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