Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

iotc-reserved-hubs

aggarwal00948MIT1.2.1

Lists reserved iothubs FQDNs(fully qualified domain names) for an IoTC application

readme

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