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

The following fields are returned by SELECT queries:

Azure operation completed successfully.

NameDatatypeDescription
extendedLocationobjectEdge location of the resource.
propertiesobjectThe resource-specific properties for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, instanceName, brokerName, authenticationNameGet a BrokerAuthenticationResource
list_by_resource_groupselectsubscriptionId, resourceGroupName, instanceName, brokerNameList BrokerAuthenticationResource resources by BrokerResource
create_or_updateinsertsubscriptionId, resourceGroupName, instanceName, brokerName, authenticationName, data__extendedLocationCreate a BrokerAuthenticationResource
deletedeletesubscriptionId, resourceGroupName, instanceName, brokerName, authenticationNameDelete a BrokerAuthenticationResource

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
authenticationNamestringName of Instance broker authentication resource
brokerNamestringName of broker.
instanceNamestringName of instance.
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstring (uuid)The ID of the target subscription. The value must be an UUID.

SELECT examples

Get a BrokerAuthenticationResource

SELECT
extendedLocation,
properties
FROM azure.iotoperations.broker_authentications
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND instanceName = '{{ instanceName }}' -- required
AND brokerName = '{{ brokerName }}' -- required
AND authenticationName = '{{ authenticationName }}' -- required
;

INSERT examples

Create a BrokerAuthenticationResource

INSERT INTO azure.iotoperations.broker_authentications (
data__properties,
data__extendedLocation,
subscriptionId,
resourceGroupName,
instanceName,
brokerName,
authenticationName
)
SELECT
'{{ properties }}',
'{{ extendedLocation }}' /* required */,
'{{ subscriptionId }}',
'{{ resourceGroupName }}',
'{{ instanceName }}',
'{{ brokerName }}',
'{{ authenticationName }}'
RETURNING
extendedLocation,
properties
;

DELETE examples

Delete a BrokerAuthenticationResource

DELETE FROM azure.iotoperations.broker_authentications
WHERE subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND instanceName = '{{ instanceName }}' --required
AND brokerName = '{{ brokerName }}' --required
AND authenticationName = '{{ authenticationName }}' --required
;