bringing up containers in azure

Create a resource group

az group create --name myGroup --location eastus

Create the container

az container create --resource-group myGroup --name myName --image tensorflow/tensorflow --dns-name-label myDnsName --ports 8888

Show status

az container show --resource-group myGroup --name myName --query "{FQDN:ipAddress.fqdn,ProvisioningState:provisioningState}" --out table

azure container repository login

az login
az acr login --name repoName

creating a service principal with cli

# create - returns client id & secret
az ad sp create-for-rbac -n "my-service-principal"

# reset
az ad sp reset-credentials --name "my-service-principal"

creating azure signalr service with cli

# standard
az signalr create --name mySignalR --resource-group myResourceGroup --sku Standard_S1

# free
az signalr create --name mySignalR --resource-group myResourceGroup --sku Free_F1

# get connection string
az signalr key list -n mySignalR -g myResourceGroup --query primaryConnectionString -o tsv