mqtt_bridge_connectors
Creates, updates, deletes, gets or lists a mqtt_bridge_connectors
resource.
Overview
Name | mqtt_bridge_connectors |
Type | Resource |
Id | azure.iot_mq.mqtt_bridge_connectors |
Fields
- vw_mqtt_bridge_connectors
- mqtt_bridge_connectors
Name | Datatype | Description |
---|---|---|
bridge_instances | text | field from the properties object |
client_id_prefix | text | field from the properties object |
extended_location | text | field from the properties object |
image | text | field from the properties object |
local_broker_connection | text | field from the properties object |
location | text | The geo-location where the resource lives |
log_level | text | field from the properties object |
mqName | text | field from the properties object |
mqttBridgeConnectorName | text | field from the properties object |
node_tolerations | text | field from the properties object |
protocol | text | field from the properties object |
provisioning_state | text | field from the properties object |
remote_broker_connection | text | field from the properties object |
resourceGroupName | text | field from the properties object |
subscriptionId | text | field from the properties object |
tags | text | Resource tags. |
Name | Datatype | Description |
---|---|---|
extendedLocation | object | ExtendedLocation properties |
location | string | The geo-location where the resource lives |
properties | object | MqttBridgeConnector Properties |
tags | object | Resource tags. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId | Get a MqttBridgeConnectorResource |
list_by_mq_resource | SELECT | mqName, resourceGroupName, subscriptionId | List MqttBridgeConnectorResource resources by MqResource |
create_or_update | INSERT | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId, data__extendedLocation | Create a MqttBridgeConnectorResource |
delete | DELETE | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId | Delete a MqttBridgeConnectorResource |
update | UPDATE | mqName, mqttBridgeConnectorName, resourceGroupName, subscriptionId | Update a MqttBridgeConnectorResource |
SELECT
examples
List MqttBridgeConnectorResource resources by MqResource
- vw_mqtt_bridge_connectors
- mqtt_bridge_connectors
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 }}';
SELECT
extendedLocation,
location,
properties,
tags
FROM azure.iot_mq.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.
- All Properties
- Manifest
/*+ 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 }}'
;
- name: your_resource_model_name
props:
- name: properties
value:
- name: bridgeInstances
value: integer
- name: clientIdPrefix
value: string
- name: image
value:
- name: pullPolicy
value: string
- name: pullSecrets
value: string
- name: repository
value: string
- name: tag
value: string
- name: localBrokerConnection
value:
- name: authentication
value:
- name: kubernetes
value:
- name: secretPath
value: string
- name: serviceAccountTokenName
value: string
- name: endpoint
value: string
- name: tls
value:
- name: tlsEnabled
value: boolean
- name: trustedCaCertificateConfigMap
value: string
- name: logLevel
value: string
- name: nodeTolerations
value:
- name: effect
value: string
- name: key
value: string
- name: operator
value: string
- name: value
value: string
- name: protocol
value: []
- name: provisioningState
value: []
- name: remoteBrokerConnection
value:
- name: authentication
value:
- name: x509
value:
- name: keyVault
value:
- name: vault
value:
- name: credentials
value:
- name: servicePrincipalLocalSecretName
value: string
- name: directoryId
value: string
- name: name
value: string
- name: vaultCaChainSecret
value:
- name: name
value: string
- name: version
value: string
- name: secretName
value: string
- name: systemAssignedManagedIdentity
value:
- name: audience
value: string
- name: extensionName
value: string
- name: endpoint
value: string
- name: protocol
value: string
- name: tls
value:
- name: tlsEnabled
value: boolean
- name: trustedCaCertificateConfigMap
value: string
- name: extendedLocation
value:
- name: name
value: string
- name: type
value: []
- name: tags
value: object
- name: location
value: string
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 }}';