Skip to main content

endpoint_deployments

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

Overview

Nameendpoint_deployments
TypeResource
Idazure.ml_services.endpoint_deployments

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
deploymentNametextfield from the properties object
endpointNametextfield 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
getSELECTdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName
get_in_workspaceSELECTresourceGroupName, subscriptionId, workspaceName
listSELECTendpointName, resourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName, data__properties
deleteDELETEdeploymentName, endpointName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

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

INSERT example

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

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

DELETE example

Deletes the specified endpoint_deployments resource.

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