Skip to main content

serverless_endpoints

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

Overview

Nameserverless_endpoints
TypeResource
Idazure.ml_services.serverless_endpoints

Fields

NameDatatypeDescription
nametextfield from the properties object
auth_modetextfield from the properties object
content_safetytextfield from the properties object
endpoint_statetextfield from the properties object
identitytextManaged service identity (system assigned and/or user assigned identities)
inference_endpointtextfield from the properties object
kindtextMetadata used by portal/tooling/etc to render different UX experiences for resources of the same type.
locationtextThe geo-location where the resource lives
marketplace_subscription_idtextfield from the properties object
model_settingstextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield 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
getSELECTname, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTname, resourceGroupName, subscriptionId, workspaceName, data__location, data__properties
deleteDELETEname, resourceGroupName, subscriptionId, workspaceName
updateUPDATEname, resourceGroupName, subscriptionId, workspaceName
regenerate_keysEXECname, resourceGroupName, subscriptionId, workspaceName, data__keyType

SELECT examples

SELECT
name,
auth_mode,
content_safety,
endpoint_state,
identity,
inference_endpoint,
kind,
location,
marketplace_subscription_id,
model_settings,
provisioning_state,
resourceGroupName,
sku,
subscriptionId,
tags,
workspaceName
FROM azure.ml_services.vw_serverless_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

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

UPDATE example

Updates a serverless_endpoints resource.

/*+ update */
UPDATE azure.ml_services.serverless_endpoints
SET
tags = '{{ tags }}',
identity = '{{ identity }}',
sku = '{{ sku }}'
WHERE
name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

DELETE example

Deletes the specified serverless_endpoints resource.

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