Skip to main content

data_lake_connectors

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

Overview

Namedata_lake_connectors
TypeResource
Idazure.iot_mq.data_lake_connectors

Fields

NameDatatypeDescription
dataLakeConnectorNametextfield from the properties object
database_formattextfield from the properties object
extended_locationtextfield from the properties object
imagetextfield from the properties object
instancestextfield from the properties object
local_broker_connectiontextfield from the properties object
locationtextThe geo-location where the resource lives
log_leveltextfield from the properties object
mqNametextfield from the properties object
node_tolerationstextfield from the properties object
protocoltextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
targettextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataLakeConnectorName, mqName, resourceGroupName, subscriptionIdGet a DataLakeConnectorResource
list_by_mq_resourceSELECTmqName, resourceGroupName, subscriptionIdList DataLakeConnectorResource resources by MqResource
create_or_updateINSERTdataLakeConnectorName, mqName, resourceGroupName, subscriptionId, data__extendedLocationCreate a DataLakeConnectorResource
deleteDELETEdataLakeConnectorName, mqName, resourceGroupName, subscriptionIdDelete a DataLakeConnectorResource
updateUPDATEdataLakeConnectorName, mqName, resourceGroupName, subscriptionIdUpdate a DataLakeConnectorResource

SELECT examples

List DataLakeConnectorResource resources by MqResource

SELECT
dataLakeConnectorName,
database_format,
extended_location,
image,
instances,
local_broker_connection,
location,
log_level,
mqName,
node_tolerations,
protocol,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
target
FROM azure.iot_mq.vw_data_lake_connectors
WHERE mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.iot_mq.data_lake_connectors (
dataLakeConnectorName,
mqName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
properties,
extendedLocation,
tags,
location
)
SELECT
'{{ dataLakeConnectorName }}',
'{{ mqName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ properties }}',
'{{ extendedLocation }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a data_lake_connectors resource.

/*+ update */
UPDATE azure.iot_mq.data_lake_connectors
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
dataLakeConnectorName = '{{ dataLakeConnectorName }}'
AND mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified data_lake_connectors resource.

/*+ delete */
DELETE FROM azure.iot_mq.data_lake_connectors
WHERE dataLakeConnectorName = '{{ dataLakeConnectorName }}'
AND mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';