device-simulation-dotnet/scripts/env-vars-setup.ps1

14 строки
561 B
PowerShell

# Prepare the environment variables used by the application.
#
# For more information about finding IoT Hub settings, more information here:
#
# * https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-create-through-portal#endpoints
# * https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-csharp-csharp-getstarted
#
# The port where Device Simulation web service is listening
$env:PCS_DEVICESIMULATION_WEBSERVICE_PORT = '9003'
# The URL where IoT Hub Manager web service is listening
$env:PCS_IOTHUBMANAGER_WEBSERVICE_URL = 'http://127.0.0.1:9002/v1'