Skip to main content

endpoints

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

Overview

Nameendpoints
TypeResource
Idazure.ml_services.endpoints

Fields

NameDatatypeDescription
idtextFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
nametextThe name of the resource
associated_resource_idtextfield from the properties object
deploymentstextfield from the properties object
endpointNametextfield from the properties object
endpoint_typetextfield from the properties object
endpoint_uritextfield from the properties object
failure_reasontextfield from the properties object
locationtextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
should_create_ai_services_endpointtextfield 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
getSELECTendpointName, resourceGroupName, subscriptionId, workspaceName
listSELECTresourceGroupName, subscriptionId, workspaceName
create_or_updateINSERTendpointName, resourceGroupName, subscriptionId, workspaceName, data__properties
regenerate_keysEXECendpointName, resourceGroupName, subscriptionId, workspaceName

SELECT examples

SELECT
id,
name,
associated_resource_id,
deployments,
endpointName,
endpoint_type,
endpoint_uri,
failure_reason,
location,
provisioning_state,
resourceGroupName,
should_create_ai_services_endpoint,
subscriptionId,
system_data,
type,
workspaceName
FROM azure.ml_services.vw_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

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