Skip to main content

iot_connectors

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

Overview

Nameiot_connectors
TypeResource
Idazure_extras.healthcare.iot_connectors

Fields

The following fields are returned by SELECT queries:

The request was successful; the request was well-formed and received properly.

NameDatatypeDescription
identityobjectSetting indicating whether the service has a managed identity associated with it.
propertiesobjectIoT Connector configuration.
systemDataobjectMetadata pertaining to creation and last modification of the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresourceGroupName, subscriptionId, workspaceName, iotConnectorNameGets the properties of the specified IoT Connector.
list_by_workspaceselectresourceGroupName, subscriptionId, workspaceNameLists all IoT Connectors for the given workspace
create_or_updateinsertresourceGroupName, subscriptionId, workspaceName, iotConnectorNameCreates or updates an IoT Connector resource with the specified parameters.
updateupdateresourceGroupName, subscriptionId, iotConnectorName, workspaceNamePatch an IoT Connector.
deletedeletesubscriptionId, resourceGroupName, iotConnectorName, workspaceNameDeletes an IoT Connector.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
iotConnectorNamestringThe name of IoT Connector resource.
resourceGroupNamestringThe name of the resource group that contains the service instance.
subscriptionIdstringThe ID of the target subscription.
workspaceNamestringThe name of workspace resource.

SELECT examples

Gets the properties of the specified IoT Connector.

SELECT
identity,
properties,
systemData
FROM azure_extras.healthcare.iot_connectors
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
AND workspaceName = '{{ workspaceName }}' -- required
AND iotConnectorName = '{{ iotConnectorName }}' -- required
;

INSERT examples

Creates or updates an IoT Connector resource with the specified parameters.

INSERT INTO azure_extras.healthcare.iot_connectors (
data__identity,
data__properties,
resourceGroupName,
subscriptionId,
workspaceName,
iotConnectorName
)
SELECT
'{{ identity }}',
'{{ properties }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ workspaceName }}',
'{{ iotConnectorName }}'
RETURNING
identity,
properties,
systemData
;

UPDATE examples

Patch an IoT Connector.

UPDATE azure_extras.healthcare.iot_connectors
SET
data__tags = '{{ tags }}',
data__identity = '{{ identity }}'
WHERE
resourceGroupName = '{{ resourceGroupName }}' --required
AND subscriptionId = '{{ subscriptionId }}' --required
AND iotConnectorName = '{{ iotConnectorName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
RETURNING
identity,
properties,
systemData;

DELETE examples

Deletes an IoT Connector.

DELETE FROM azure_extras.healthcare.iot_connectors
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND iotConnectorName = '{{ iotConnectorName }}' --required
AND workspaceName = '{{ workspaceName }}' --required
;