Tool to get reserved iothub names for an IoT Central application
Перейти к файлу
Ankit Aggarwal 96bd99e378 update version 2019-10-18 15:19:23 -07:00
src update script to handle new response payload 2019-10-18 15:02:22 -07:00
CODE_OF_CONDUCT.md Initial CODE_OF_CONDUCT.md commit 2019-10-17 14:34:10 -07:00
LICENSE Initial LICENSE commit 2019-10-17 14:34:11 -07:00
README.md update version 2019-10-18 15:19:23 -07:00
SECURITY.md Initial SECURITY.md commit 2019-10-17 14:34:14 -07:00
package-lock.json update version 2019-10-18 15:19:23 -07:00
package.json update version 2019-10-18 15:19:23 -07:00
tsconfig.json first commit 2019-10-17 13:22:33 -07:00

README.md

NOTE: This tool only works for Preview Applications.

Lists the IotHub FQDNs for the IotC application

This projects is a utility to get the list of hub names associated with an IoTC application.

Pre-requisites

  • NodeJS 10+

Installing

Run the following command to link the CLI command to run the utility.

npm i -g iotc-reserved-hubs

This command will run npm install and build the project. Once built it will link the iotc-reserved-hubs command on your path. To run the utility use the follwing command:

iotc-reserved-hubs

Arguments

The following arguments should be used with this utility

-u | --url : Application URL of the IoTC app. For e.g. https://sample-test-app.azureiotcentral.com

-t | --token: The API token from the IoTC application which authenticated the user using this script