mqtt_bridge_topic_maps
Creates, updates, deletes, gets or lists a mqtt_bridge_topic_maps
resource.
Overview
Name | mqtt_bridge_topic_maps |
Type | Resource |
Id | azure.iot_mq.mqtt_bridge_topic_maps |
Fields
- vw_mqtt_bridge_topic_maps
- mqtt_bridge_topic_maps
Name | Datatype | Description |
---|---|---|
extended_location | text | field from the properties object |
location | text | The geo-location where the resource lives |
mqName | text | field from the properties object |
mqttBridgeConnectorName | text | field from the properties object |
mqtt_bridge_connector_ref | text | field from the properties object |
provisioning_state | text | field from the properties object |
resourceGroupName | text | field from the properties object |
routes | 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 | MqttBridgeTopicMap Properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, topicMapName | Get a MqttBridgeTopicMapResource |
list_by_mqtt_bridge_connector_resource | SELECT | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId | List MqttBridgeTopicMapResource resources by MqttBridgeConnectorResource |
create_or_update | INSERT | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, topicMapName, data__extendedLocation | Create a MqttBridgeTopicMapResource |
delete | DELETE | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, topicMapName | Delete a MqttBridgeTopicMapResource |
update | UPDATE | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, topicMapName | Update a MqttBridgeTopicMapResource |
SELECT
examples
List MqttBridgeTopicMapResource resources by MqttBridgeConnectorResource
- vw_mqtt_bridge_topic_maps
- mqtt_bridge_topic_maps
SELECT
extended_location,
location,
mqName,
mqttBridgeConnectorName,
mqtt_bridge_connector_ref,
provisioning_state,
resourceGroupName,
routes,
subscriptionId,
tags,
topicMapName
FROM azure.iot_mq.vw_mqtt_bridge_topic_maps
WHERE mqName = '{{ mqName }}'
AND mqttBridgeConnectorName = '{{ mqttBridgeConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_mq.mqtt_bridge_topic_maps
WHERE mqName = '{{ mqName }}'
AND mqttBridgeConnectorName = '{{ mqttBridgeConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';
INSERT
example
Use the following StackQL query and manifest file to create a new mqtt_bridge_topic_maps
resource.
- All Properties
- Manifest
/*+ create */
INSERT INTO azure.iot_mq.mqtt_bridge_topic_maps (
mqName,
mqttBridgeConnectorName,
resourceGroupName,
subscriptionId,
topicMapName,
data__extendedLocation,
properties,
extendedLocation,
tags,
location
)
SELECT
'{{ mqName }}',
'{{ mqttBridgeConnectorName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ topicMapName }}',
'{{ data__extendedLocation }}',
'{{ properties }}',
'{{ extendedLocation }}',
'{{ tags }}',
'{{ location }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: mqttBridgeConnectorRef
value: string
- name: routes
value:
- - name: direction
value: []
- name: name
value: string
- name: qos
value: integer
- name: sharedSubscription
value:
- name: groupMinimumShareNumber
value: integer
- name: groupName
value: string
- name: source
value: string
- name: target
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 mqtt_bridge_topic_maps
resource.
/*+ update */
UPDATE azure.iot_mq.mqtt_bridge_topic_maps
SET
tags = '{{ tags }}',
properties = '{{ properties }}'
WHERE
mqName = '{{ mqName }}'
AND mqttBridgeConnectorName = '{{ mqttBridgeConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND topicMapName = '{{ topicMapName }}';
DELETE
example
Deletes the specified mqtt_bridge_topic_maps
resource.
/*+ delete */
DELETE FROM azure.iot_mq.mqtt_bridge_topic_maps
WHERE mqName = '{{ mqName }}'
AND mqttBridgeConnectorName = '{{ mqttBridgeConnectorName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND topicMapName = '{{ topicMapName }}';