data_lake_connector_topic_maps
Creates, updates, deletes, gets or lists a data_lake_connector_topic_maps
resource.
Overview
Name | data_lake_connector_topic_maps |
Type | Resource |
Id | azure.iot_mq.data_lake_connector_topic_maps |
Fields
- vw_data_lake_connector_topic_maps
- data_lake_connector_topic_maps
Name | Datatype | Description |
---|---|---|
dataLakeConnectorName | text | field from the properties object |
data_lake_connector_ref | text | field from the properties object |
extended_location | text | field from the properties object |
location | text | The geo-location where the resource lives |
mapping | text | field from the properties object |
mqName | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
topicMapName | text | field from the properties object |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | ExtendedLocation properties |
location | string | The geo-location where the resource lives |
properties | object | MQ DataLakeConnector TopicMap Resource properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | dataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapName | Get a DataLakeTopicMapResource |
list_by_data_lake_connector_resource | SELECT | dataLakeConnectorName, mqName, resourceGroupName, subscriptionId | List DataLakeTopicMapResource resources by DataLakeConnectorResource |
create_or_update | INSERT | dataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapName, data__extendedLocation | Create a DataLakeTopicMapResource |
delete | DELETE | dataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapName | Delete a DataLakeTopicMapResource |
update | UPDATE | dataLakeConnectorName, mqName, resourceGroupName, subscriptionId, topicMapName | Update a DataLakeTopicMapResource |
SELECT
examples
List DataLakeTopicMapResource resources by DataLakeConnectorResource
- vw_data_lake_connector_topic_maps
- data_lake_connector_topic_maps
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 }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_mq.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: dataLakeConnectorRef
value: string
- name: mapping
value:
- name: allowedLatencySecs
value: integer
- name: clientId
value: string
- name: maxMessagesPerBatch
value: integer
- name: messagePayloadType
value: string
- name: mqttSourceTopic
value: string
- name: qos
value: integer
- name: table
value:
- name: schema
value:
- - name: format
value: []
- name: mapping
value: string
- name: name
value: string
- name: optional
value: boolean
- name: tableName
value: string
- name: tablePath
value: string
- name: provisioningState
value: []
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
- name: tags
value: object
- name: location
value: string
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 }}';