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

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
extendedLocationobjectExtended Location
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, mqName, dataLakeConnectorName, topicMapNameGet a DataLakeTopicMapResource
list_by_data_lake_connector_resourceselectsubscriptionId, resourceGroupName, mqName, dataLakeConnectorNameList DataLakeTopicMapResource resources by DataLakeConnectorResource
create_or_updateinsertsubscriptionId, resourceGroupName, mqName, dataLakeConnectorName, topicMapName, data__extendedLocationCreate a DataLakeTopicMapResource
updateupdatesubscriptionId, resourceGroupName, mqName, dataLakeConnectorName, topicMapNameUpdate a DataLakeTopicMapResource
deletedeletesubscriptionId, resourceGroupName, mqName, dataLakeConnectorName, topicMapNameDelete a DataLakeTopicMapResource

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
dataLakeConnectorNamestringName of MQ dataLakeConnector resource
mqNamestringName of MQ resource
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.
topicMapNamestringName of MQ dataLakeConnector/topicMap resource

SELECT examples

Get a DataLakeTopicMapResource

SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_mq.data_lake_connector_topic_maps
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND mqName = '{{ mqName }}' -- required
AND dataLakeConnectorName = '{{ dataLakeConnectorName }}' -- required
AND topicMapName = '{{ topicMapName }}' -- required
;

INSERT examples

Create a DataLakeTopicMapResource

INSERT INTO azure.iot_mq.data_lake_connector_topic_maps (
data__properties,
data__extendedLocation,
data__tags,
data__location,
subscriptionId,
resourceGroupName,
mqName,
dataLakeConnectorName,
topicMapName
)
SELECT
'{{ properties }}',
'{{ extendedLocation }}' /* required */,
'{{ tags }}',
'{{ location }}',
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ mqName }}',
'{{ dataLakeConnectorName }}',
'{{ topicMapName }}'
RETURNING
extendedLocation,
location,
properties,
tags
;

UPDATE examples

Update a DataLakeTopicMapResource

UPDATE azure.iot_mq.data_lake_connector_topic_maps
SET
data__tags = '{{ tags }}',
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND mqName = '{{ mqName }}' --required
AND dataLakeConnectorName = '{{ dataLakeConnectorName }}' --required
AND topicMapName = '{{ topicMapName }}' --required
RETURNING
extendedLocation,
location,
properties,
tags;

DELETE examples

Delete a DataLakeTopicMapResource

DELETE FROM azure.iot_mq.data_lake_connector_topic_maps
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND mqName = '{{ mqName }}' --required
AND dataLakeConnectorName = '{{ dataLakeConnectorName }}' --required
AND topicMapName = '{{ topicMapName }}' --required
;