This is a legacy connector for Azure IoT Central V2 applications that will become deprecated in the future. You should use the Azure IoT Central V3 connector and applications instead. Azure IoT Central makes it easy to connect, monitor, and manage your IoT devices at scale. With the IoT Central V2 connector, you can trigger flows when a rule has fired and take action by creating new devices, updating existing devices, and deleting devices.
Status: Preview |
Tier: Premium |
Version: 1.0.0 |
Name |
Summary |
Get the list of actions in an application |
|
Actions_Schema (string application_id, [Optional]string type, [Optional]string ruleId) |
|
Get an action by ID |
|
Delete an action |
|
Run a command |
|
Devices_List (string application_id, [Optional]string deviceTemplateDisplayId) |
Get the list of devices in an application |
Devices_Create (string application_id, Device body, [Optional]string deviceTemplateDisplayId) |
Create a device |
|
|
Devices_Get (string application_id, string device_id, [Optional]string deviceTemplateDisplayId) |
Get a device |
Update a device |
|
Delete a device |
|
|
|
Get the DPS environment |
|
Get the list of rules in an application |
|
Get a rule by ID |
|
Get the list of applications accessible to the signed-in user |
|
Get an application by ID |
|
DeviceCommandDisplay_List (string application_id, string device_template_display_id) |
|
|
|
|
Name |
Summary |
When a rule is fired |
Name |
Summary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Summary: Get the list of actions in an application
Description:
Syntax:
AzureIoTCentralV2.Actions_List (string application_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
Returns:
Type:ActionCollection
Summary:
Description:
Syntax:
AzureIoTCentralV2.Actions_Schema (string application_id, [Optional]string type, [Optional]string ruleId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
type |
string
|
|
False |
|
ruleId |
string
|
|
False |
Returns:
Summary: Get an action by ID
Description:
Syntax:
AzureIoTCentralV2.Actions_Get (string application_id, string action_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
action_id |
string (Action) |
Unique ID of the action. |
True |
Returns:
Type:Action
Summary: Delete an action
Description:
Syntax:
AzureIoTCentralV2.Actions_Remove (string application_id, string action_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
action_id |
string (Action) |
Unique ID of the action. |
True |
Returns:
Summary: Run a command
Description: Run a command by ID on a device.
Syntax:
AzureIoTCentralV2.DeviceCommands_Run (string application_id, string device_id, string device_command_id, DeviceCommandParameters body, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_id |
string (Device) |
Unique ID of the device. |
True |
|
device_command_id |
string (Command) |
ID of the command. |
True |
|
body |
|
|
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Summary: Get the list of devices in an application
Description:
Syntax:
AzureIoTCentralV2.Devices_List (string application_id, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Type:DeviceCollection
Summary: Create a device
Description: Create a new real or simulated device of a specified device template.
Syntax:
AzureIoTCentralV2.Devices_Create (string application_id, Device body, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
body |
|
|
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Type:Device
Summary:
Description:
Syntax:
AzureIoTCentralV2.Devices_Schema (string application_id, [Optional]string id, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
id |
string
|
|
False |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Summary: Get a device
Description: Get details about an existing device by device ID.
Syntax:
AzureIoTCentralV2.Devices_Get (string application_id, string device_id, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_id |
string (Device) |
Unique ID of the device. |
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Type:Device
Summary: Update a device
Description: Update an existing device by device ID.
Syntax:
AzureIoTCentralV2.Devices_Update (string application_id, string device_id, DeviceUpdate body, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_id |
string (Device) |
Unique ID of the device. |
True |
|
body |
|
|
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Type:Device
Summary: Delete a device
Description: Delete an existing device by device ID.
Syntax:
AzureIoTCentralV2.Devices_Remove (string application_id, string device_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_id |
string (Device) |
Unique ID of the device. |
True |
Returns:
Summary:
Description:
Syntax:
AzureIoTCentralV2.Devices_Definition (string application_id, string device_id, [Optional]string deviceTemplateDisplayId)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_id |
string (Device) |
Unique ID of the device. |
True |
|
deviceTemplateDisplayId |
string (Device Template) |
Device template associated with this device. |
False |
Returns:
Summary: Get the DPS environment
Description:
Syntax:
AzureIoTCentralV2.Dps_Details (string application_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
Returns:
Type:DpsEnvironment
Summary: Get the list of rules in an application
Description:
Syntax:
AzureIoTCentralV2.Rules_List (string application_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
Returns:
Type:RuleCollection
Summary: Get a rule by ID
Description:
Syntax:
AzureIoTCentralV2.Rules_Get (string application_id, string rule_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
rule_id |
string (Rule) |
Unique ID of the rule. |
True |
Returns:
Type:Rule
Summary: Get the list of applications accessible to the signed-in user
Description:
Syntax:
AzureIoTCentralV2.Applications_List ()
Returns:
Summary: Get an application by ID
Description:
Syntax:
AzureIoTCentralV2.Applications_Get (string application_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
Returns:
Type:Application
Summary:
Description:
Syntax:
AzureIoTCentralV2.DeviceCommandDisplay_List (string application_id, string device_template_display_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_template_display_id |
string
|
|
True |
Returns:
Summary:
Description:
Syntax:
AzureIoTCentralV2.DeviceCommandDisplay_Definition (string application_id, string device_template_display_id, string device_command_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
device_template_display_id |
string
|
|
True |
|
device_command_id |
string
|
|
True |
Returns:
Summary:
Description:
Syntax:
AzureIoTCentralV2.DeviceTemplateDisplay_List (string application_id)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
Returns:
Summary: When a rule is fired
Description: Create an action which triggers when a rule is fired in IoT Central.
Syntax:
AzureIoTCentralV2.Actions_Create (string application_id, Action body, [internal][Optional]string user-agent, [internal][Optional]string x-ms-workflow-name)
Parameters:
Name |
Type |
Summary |
Required |
Related Action |
application_id |
string (Application) |
Unique ID of the application. |
True |
|
body |
|
|
True |
|
user-agent |
string
|
|
False |
|
x-ms-workflow-name |
string
|
|
False |
Returns:
Type:Action
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Action ID |
Unique ID of the action. |
ruleId |
string Rule |
Unique ID of the rule that is tied to the action. |
type |
string Action Type |
Type of the action. Values: [flow] |
url |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (Action)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Application ID |
Unique ID of the application. |
name |
string Application Name |
Display name of the application. |
subdomain |
string Application Subdomain |
Subdomain of the application. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (Application)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
type |
string
|
Values: [tpm, x509, symmetricKey] |
tpm |
|
|
x509 |
|
|
symmetricKey |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
primary |
string
|
|
secondary |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Device ID |
Unique ID of the device in IoT Central. |
name |
string Device Name |
Display name of the device. |
simulated |
boolean Device Simulated |
Simulated flag of the device. True if device is simulated. |
deviceId |
string Device Connection ID |
ID used for device connectivity. |
deviceTemplate |
|
|
properties |
|
|
settings |
|
|
measurements |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (Device)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
telemetry |
|
|
events |
|
|
states |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
device |
|
|
cloud |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
cloud |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
device |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
device |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Device Template ID |
Unique ID of the device template. |
version |
string Device Template Version |
Version of the device template. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Device Template ID |
Unique ID of the device template. |
version |
string Device Template Version |
Version of the device template. |
Summary:
Description:
Properties:
Name |
Type |
Summary |
name |
string Device Name |
Display name of the device. |
simulated |
boolean Device Simulated |
Simulated flag of the device. True if device is simulated. |
deviceId |
string Device Connection ID |
ID used for device connectivity. |
deviceTemplate |
|
|
properties |
|
|
settings |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string
|
|
name |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (DisplayEntity)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
idScope |
string
|
|
deviceProvisioningHostName |
string
|
|
enrollmentGroups |
array of (EnrollmentGroup)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
enrollmentGroupId |
string
|
|
provisioningStatus |
string
|
Values: [enabled, disabled] |
attestation |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
id |
string Rule ID |
Unique ID of the rule. |
name |
string Rule Name |
Display name of the rule. |
enabled |
boolean Rule Enabled |
Enabled flag of the rule. True if rule is enabled. |
deviceTemplate |
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
value |
array of (Rule)
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
primaryKey |
string
|
|
secondaryKey |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
endorsementKey |
string
|
|
storageRootKey |
string
|
|
Summary:
Description:
Properties:
Name |
Type |
Summary |
caReferences |
|
|