Skip to main content

iot_connectors

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

Overview

Nameiot_connectors
TypeResource
Idazure_extras.healthcare.iot_connectors

Fields

NameDatatypeDescription
device_mappingtextfield from the properties object
identitytextSetting indicating whether the service has a managed identity associated with it.
ingestion_endpoint_configurationtextfield from the properties object
iotConnectorNametextfield 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
workspaceNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTiotConnectorName, resourceGroupName, subscriptionId, workspaceNameGets the properties of the specified IoT Connector.
list_by_workspaceSELECTresourceGroupName, subscriptionId, workspaceNameLists all IoT Connectors for the given workspace
create_or_updateINSERTiotConnectorName, resourceGroupName, subscriptionId, workspaceNameCreates or updates an IoT Connector resource with the specified parameters.
deleteDELETEiotConnectorName, resourceGroupName, subscriptionId, workspaceNameDeletes an IoT Connector.
updateUPDATEiotConnectorName, resourceGroupName, subscriptionId, workspaceNamePatch an IoT Connector.

SELECT examples

Lists all IoT Connectors for the given workspace

SELECT
device_mapping,
identity,
ingestion_endpoint_configuration,
iotConnectorName,
provisioning_state,
resourceGroupName,
subscriptionId,
system_data,
workspaceName
FROM azure_extras.healthcare.vw_iot_connectors
WHERE resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

INSERT example

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

/*+ create */
INSERT INTO azure_extras.healthcare.iot_connectors (
iotConnectorName,
resourceGroupName,
subscriptionId,
workspaceName,
identity,
properties,
systemData
)
SELECT
'{{ iotConnectorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ identity }}',
'{{ properties }}',
'{{ systemData }}'
;

UPDATE example

Updates a iot_connectors resource.

/*+ update */
UPDATE azure_extras.healthcare.iot_connectors
SET
tags = '{{ tags }}',
identity = '{{ identity }}'
WHERE
iotConnectorName = '{{ iotConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';

DELETE example

Deletes the specified iot_connectors resource.

/*+ delete */
DELETE FROM azure_extras.healthcare.iot_connectors
WHERE iotConnectorName = '{{ iotConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND workspaceName = '{{ workspaceName }}';