Skip to main content

mqtt_bridge_connectors

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

Overview

Namemqtt_bridge_connectors
TypeResource
Idazure.iot_mq.mqtt_bridge_connectors

Fields

NameDatatypeDescription
bridge_instancestextfield from the properties object
client_id_prefixtextfield from the properties object
extended_locationtextfield from the properties object
imagetextfield 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
mqttBridgeConnectorNametextfield from the properties object
node_tolerationstextfield from the properties object
protocoltextfield from the properties object
provisioning_statetextfield from the properties object
remote_broker_connectiontextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTmqName, mqttBridgeConnectorName, resourceGroupName, subscriptionIdGet a MqttBridgeConnectorResource
list_by_mq_resourceSELECTmqName, resourceGroupName, subscriptionIdList MqttBridgeConnectorResource resources by MqResource
create_or_updateINSERTmqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, data__extendedLocationCreate a MqttBridgeConnectorResource
deleteDELETEmqName, mqttBridgeConnectorName, resourceGroupName, subscriptionIdDelete a MqttBridgeConnectorResource
updateUPDATEmqName, mqttBridgeConnectorName, resourceGroupName, subscriptionIdUpdate a MqttBridgeConnectorResource

SELECT examples

List MqttBridgeConnectorResource resources by MqResource

SELECT
bridge_instances,
client_id_prefix,
extended_location,
image,
local_broker_connection,
location,
log_level,
mqName,
mqttBridgeConnectorName,
node_tolerations,
protocol,
provisioning_state,
remote_broker_connection,
resourceGroupName,
subscriptionId,
tags
FROM azure.iot_mq.vw_mqtt_bridge_connectors
WHERE mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a mqtt_bridge_connectors resource.

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

DELETE example

Deletes the specified mqtt_bridge_connectors resource.

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