Loading source
Pulling the file list, source metadata, and syntax-aware rendering for this listing.
Source from repo
Execute Azure deployments using azd, Terraform, or Bicep with built-in error recovery.
Files
Skill
Size
Entrypoint
Format
Open file
Syntax-highlighted preview of this file as included in the skill package.
references/recipes/azcli/verify.md
1# Azure CLI Verification23```bash4az resource list --resource-group <rg-name> --output table5```67## Health Check89```bash10curl -s https://<endpoint>/health | jq .11```1213## Container Apps1415```bash16az containerapp revision list \17--name <app-name> \18--resource-group <rg-name> \19--query "[].{name:name, active:properties.active}" \20--output table21```2223## App Service2425```bash26az webapp show \27--name <app-name> \28--resource-group <rg-name> \29--query "{state:state, hostNames:hostNames}"30```3132## Report Results to User3334> ⛔ **MANDATORY** — You **MUST** present the deployed endpoint URLs to the user in your response.3536Extract endpoints using the appropriate command for the service type:3738```bash39# Container Apps40FQDN=$(az containerapp show --name <app-name> --resource-group <rg-name> --query "properties.configuration.ingress.fqdn" -o tsv)41echo "https://$FQDN"4243# App Service44HOSTNAME=$(az webapp show --name <app-name> --resource-group <rg-name> --query "defaultHostName" -o tsv)45echo "https://$HOSTNAME"4647# Static Web Apps48HOSTNAME=$(az staticwebapp show --name <app-name> --resource-group <rg-name> --query "defaultHostname" -o tsv)49echo "https://$HOSTNAME"50```5152**PowerShell:**53```powershell54# Container Apps55$Fqdn = az containerapp show --name <app-name> --resource-group <rg-name> --query "properties.configuration.ingress.fqdn" -o tsv56Write-Output "https://$Fqdn"5758# App Service59$Hostname = az webapp show --name <app-name> --resource-group <rg-name> --query "defaultHostName" -o tsv60Write-Output "https://$Hostname"6162# Static Web Apps63$Hostname = az staticwebapp show --name <app-name> --resource-group <rg-name> --query "defaultHostname" -o tsv64Write-Output "https://$Hostname"65```6667> ⚠️ **These commands return bare hostnames without a scheme.** Always prepend `https://` when presenting URLs to the user. For example, report `https://myapp.azurewebsites.net`, never `myapp.azurewebsites.net`.6869Present a summary including all service URLs as fully-qualified `https://` links. Do NOT end your response without including them.70