This is a playground for understanding how to develop a DAPR function.
Login
Log into the Azure CLI from a command line and set the subscription. If running with windows ensure that Azure Powershell is connected as well.
az login
azd auth login # (Optional) --use-device-code
Environment Variables
An environment must be created using the following environment variables.
Variable | Purpose |
---|---|
AZURE_SUBSCRIPTION_ID | The Azure Subscription (GUID) |
AZURE_LOCATION | The Azure Region |
azd init -e dev
The workspace is brought online using the azure developer cli additionally visual studio tasks can be used.
Action | Command |
---|---|
Start | azd up |
Stop | azd down --purge --force |