Skip to main content

data_lake_connector_topic_maps

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

Overview

Namedata_lake_connector_topic_maps
TypeResource
Idazure.iot_mq.data_lake_connector_topic_maps

Fields

NameDatatypeDescription
dataLakeConnectorNametextfield from the properties object
data_lake_connector_reftextfield from the properties object
extended_locationtextfield from the properties object
locationtextThe geo-location where the resource lives
mappingtextfield from the properties object
mqNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.
topicMapNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTdataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapNameGet a DataLakeTopicMapResource
list_by_data_lake_connector_resourceSELECTdataLakeConnectorName, mqName, resourceGroupName, subscriptionIdList DataLakeTopicMapResource resources by DataLakeConnectorResource
create_or_updateINSERTdataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapName, data__extendedLocationCreate a DataLakeTopicMapResource
deleteDELETEdataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapNameDelete a DataLakeTopicMapResource
updateUPDATEdataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapNameUpdate a DataLakeTopicMapResource

SELECT examples

List DataLakeTopicMapResource resources by DataLakeConnectorResource

SELECT
dataLakeConnectorName,
data_lake_connector_ref,
extended_location,
location,
mapping,
mqName,
provisioning_state,
resourceGroupName,
subscriptionId,
tags,
topicMapName
FROM azure.iot_mq.vw_data_lake_connector_topic_maps
WHERE dataLakeConnectorName = '{{ dataLakeConnectorName }}'
AND mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a data_lake_connector_topic_maps resource.

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

DELETE example

Deletes the specified data_lake_connector_topic_maps resource.

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