forked from Azure/device-simulation-dotnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env-vars-setup.cmd
21 lines (16 loc) · 857 Bytes
/
env-vars-setup.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
:: Copyright (c) Microsoft. All rights reserved.
:: Prepare the environment variables used by the application.
::
:: For more information about finding IoT Hub settings, more information here:
::
:: * https://docs.microsoft.com/azure/iot-hub/iot-hub-create-through-portal#endpoints
:: * https://docs.microsoft.com/azure/iot-hub/iot-hub-csharp-csharp-getstarted
::
:: Azure IoT Hub Connection string
SETX PCS_IOTHUB_CONNSTRING "your Azure IoT Hub connection string"
:: Endpoint to reach the storage adapter
SETX PCS_STORAGEADAPTER_DOCUMENTDB_CONNSTRING "your Cosmos DB SQL connection string"
:: The Azure storage account used to create and delete devices in bulk
SETX PCS_AZURE_STORAGE_ACCOUNT "your Azure Storage Account connection string"
:: Endpoint to reach the storage adapter
SETX PCS_STORAGEADAPTER_WEBSERVICE_URL "http://127.0.0.1:9022/v1"