Skip to main content

edge_modules_provisioning_tokens

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

Overview

Nameedge_modules_provisioning_tokens
TypeResource
Idazure.video_analyzer.edge_modules_provisioning_tokens

Fields

NameDatatypeDescription
expirationDatestringThe expiration date of the registration token. The Azure Video Analyzer IoT edge module must be initialized and connected to the Internet prior to the token expiration date.
tokenstringThe token blob to be provided to the Azure Video Analyzer IoT edge module through the Azure IoT Edge module twin properties.

Methods

NameAccessible byRequired ParamsDescription
listSELECTaccountName, edgeModuleName, resourceGroupName, subscriptionId, data__expirationDateCreates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset.

SELECT examples

Creates a new provisioning token. A provisioning token allows for a single instance of Azure Video analyzer IoT edge module to be initialized and authorized to the cloud account. The provisioning token itself is short lived and it is only used for the initial handshake between IoT edge module and the cloud. After the initial handshake, the IoT edge module will agree on a set of authentication keys which will be auto-rotated as long as the module is able to periodically connect to the cloud. A new provisioning token can be generated for the same IoT edge module in case the module state lost or reset.

SELECT
expirationDate,
token
FROM azure.video_analyzer.edge_modules_provisioning_tokens
WHERE accountName = '{{ accountName }}'
AND edgeModuleName = '{{ edgeModuleName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND data__expirationDate = '{{ data__expirationDate }}';