Skip to main content

endpoints

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

Overview

Nameendpoints
TypeResource
Idazure.digital_twins.endpoints

Fields

NameDatatypeDescription
idtextThe resource identifier.
nametextExtension resource name.
authentication_typetextfield from the properties object
created_timetextfield from the properties object
dead_letter_secrettextfield from the properties object
dead_letter_uritextfield from the properties object
endpointNametextfield from the properties object
endpoint_typetextfield from the properties object
identitytextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
typetextThe resource type.

Methods

NameAccessible byRequired ParamsDescription
getSELECTendpointName, resourceGroupName, resourceName, subscriptionIdGet DigitalTwinsInstances Endpoint.
listSELECTresourceGroupName, resourceName, subscriptionIdGet DigitalTwinsInstance Endpoints.
create_or_updateINSERTendpointName, resourceGroupName, resourceName, subscriptionId, data__propertiesCreate or update DigitalTwinsInstance endpoint.
deleteDELETEendpointName, resourceGroupName, resourceName, subscriptionIdDelete a DigitalTwinsInstance endpoint.

SELECT examples

Get DigitalTwinsInstance Endpoints.

SELECT
id,
name,
authentication_type,
created_time,
dead_letter_secret,
dead_letter_uri,
endpointName,
endpoint_type,
identity,
provisioning_state,
resourceGroupName,
resourceName,
subscriptionId,
system_data,
type
FROM azure.digital_twins.vw_endpoints
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

DELETE example

Deletes the specified endpoints resource.

/*+ delete */
DELETE FROM azure.digital_twins.endpoints
WHERE endpointName = '{{ endpointName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND resourceName = '{{ resourceName }}'
AND subscriptionId = '{{ subscriptionId }}';