Skip to main content

broker_authentications

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

Overview

Namebroker_authentications
TypeResource
Idazure.iotoperations.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
instanceNametextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTauthenticationName, brokerName, instanceName, resourceGroupName, subscriptionIdGet a BrokerAuthenticationResource
list_by_resource_groupSELECTbrokerName, instanceName, resourceGroupName, subscriptionIdList BrokerAuthenticationResource resources by BrokerResource
create_or_updateINSERTauthenticationName, brokerName, instanceName, resourceGroupName, subscriptionId, data__extendedLocationCreate a BrokerAuthenticationResource
deleteDELETEauthenticationName, brokerName, instanceName, resourceGroupName, subscriptionIdDelete a BrokerAuthenticationResource

SELECT examples

List BrokerAuthenticationResource resources by BrokerResource

SELECT
authenticationName,
authentication_methods,
brokerName,
extended_location,
instanceName,
provisioning_state,
resourceGroupName,
subscriptionId
FROM azure.iotoperations.vw_broker_authentications
WHERE brokerName = '{{ brokerName }}'
AND instanceName = '{{ instanceName }}'
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.iotoperations.broker_authentications (
authenticationName,
brokerName,
instanceName,
resourceGroupName,
subscriptionId,
data__extendedLocation,
properties,
extendedLocation
)
SELECT
'{{ authenticationName }}',
'{{ brokerName }}',
'{{ instanceName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ data__extendedLocation }}',
'{{ properties }}',
'{{ extendedLocation }}'
;

DELETE example

Deletes the specified broker_authentications resource.

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