https://learn.microsoft.com/en-us/azure/container-apps/tutorial-deploy-first-app-cli?tabs=bash
https://techblog.ap-com.co.jp/entry/2021/11/03/093821
-- 1. 前作業
az login --use-device-code
az account show
az version
az configure --list-defaults
az configure --defaults location=japaneast
az configure --list-defaults
az group create \
--name rg9999999 \
--location japaneast
az group list
az upgrade
az extension add --name containerapp --upgrade
az provider register --namespace Microsoft.App
az provider register --namespace Microsoft.OperationalInsights
-- 2. Create an environment
az containerapp env create \
--name env01 \
--resource-group rg9999999 \
--location japaneast
az containerapp env list
-- 3. Create a container app
az containerapp create \
--name capp01 \
--resource-group rg9999999 \
--environment env01 \
--image mcr.microsoft.com/azuredocs/containerapps-helloworld:latest \
--target-port 80 \
--ingress 'external' \
--query properties.configuration.ingress.fqdn \
--min-replicas 1 \
--max-replicas 1 \
--memory 0.5Gi \
--cpu 0.25
az containerapp list
https://capp01.gentlerock-d47d05e9.japaneast.azurecontainerapps.io/
-- 4. クリーンアップ
az group list
az group delete \
--name rg9999999 \
--yes