Skip to main content

broker_authentications

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

Overview

Namebroker_authentications
TypeResource
Idazure.iot_mq.broker_authentications

Fields

NameDatatypeDescription
authenticationNametextfield from the properties object
authentication_methodstextfield from the properties object
brokerNametextfield from the properties object
extended_locationtextfield from the properties object
listener_reftextfield from the properties object
locationtextThe geo-location where the resource lives
mqNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthenticationName, brokerName, mqName, resourceGroupName, subscriptionIdGet a BrokerAuthenticationResource
list_by_broker_resourceSELECTbrokerName, mqName, resourceGroupName, subscriptionIdList BrokerAuthenticationResource resources by BrokerResource
create_or_updateINSERTauthenticationName, brokerName, mqName, resourceGroupName, subscriptionId, data__extendedLocationCreate a BrokerAuthenticationResource
deleteDELETEauthenticationName, brokerName, mqName, resourceGroupName, subscriptionIdDelete a BrokerAuthenticationResource
updateUPDATEauthenticationName, brokerName, mqName, resourceGroupName, subscriptionIdUpdate a BrokerAuthenticationResource

SELECT examples

List BrokerAuthenticationResource resources by BrokerResource

SELECT
authenticationName,
authentication_methods,
brokerName,
extended_location,
listener_ref,
location,
mqName,
provisioning_state,
resourceGroupName,
subscriptionId,
tags
FROM azure.iot_mq.vw_broker_authentications
WHERE brokerName = '{{ brokerName }}'
AND mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a broker_authentications resource.

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

DELETE example

Deletes the specified broker_authentications resource.

/*+ delete */
DELETE FROM azure.iot_mq.broker_authentications
WHERE authenticationName = '{{ authenticationName }}'
AND brokerName = '{{ brokerName }}'
AND mqName = '{{ mqName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';