Skip to main content

batch_deployments

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

Overview

Namebatch_deployments
TypeResource
Idazure.ml_services.batch_deployments

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
code_configurationtextfield from the properties object
computetextfield from the properties object
deploymentNametextfield from the properties object
deployment_configurationtextfield from the properties object
endpointNametextfield from the properties object
environment_idtextfield from the properties object
environment_variablestextfield from the properties object
error_thresholdtextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
kindtextMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
locationtextThe geo-location where the resource lives
logging_leveltextfield from the properties object
max_concurrency_per_instancetextfield from the properties object
mini_batch_sizetextfield from the properties object
modeltextfield from the properties object
output_actiontextfield from the properties object
output_file_nametextfield from the properties object
propertiestextBatch inference settings per deployment.
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourcestextfield from the properties object
retry_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,
code_configuration,
compute,
deploymentName,
deployment_configuration,
endpointName,
environment_id,
environment_variables,
error_threshold,
identity,
kind,
location,
logging_level,
max_concurrency_per_instance,
mini_batch_size,
model,
output_action,
output_file_name,
properties,
provisioning_state,
resourceGroupName,
resources,
retry_settings,
sku,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_batch_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 batch_deployments resource.

/*+ create */
INSERT INTO azure.ml_services.batch_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 batch_deployments resource.

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

DELETE example

Deletes the specified batch_deployments resource.

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