Repository navigation
AI Gateway CLI 1.0.0b15
Pre-release
Pre-release
Highlights
- Gateway SKU selection (
--sku):az aigateway createandaz aigateway updatenow accept--sku Consumption|Premium(defaults toConsumptiononcreate), andaz aigateway list/show -o tableincludes theSkucolumn. - Partial provider configuration updates (
model-provider update):az aigateway model-provider update --foundry ...and--custom ...deep-merge partial JSON updates with the existing provider configuration onMicrosoft.ApiManagement/aigatewayswithout requiring unchanged fields or existing API keys. - Multi-provider Foundry bulk import:
az aigateway model-provider create --foundry-resource-id <id>scopes duplicate-deployment checks per provider so multiple Foundry providers can register models with the same deployment name, and automatically cleans up an empty provider if onboarding fails before any model is created. - Idempotent model alias creation (
model-alias create --overwrite): Added--overwritetoaz aigateway model-alias createfor idempotent script re-runs, and suppressed the non-atomic alias creation warning unless--verboseis passed. - API key & model ergonomics:
az aigateway api-key createmakes--display-nameoptional (defaults to--name).az aigateway model createdefaults--backend-modelto--nameand infers--api-formatfrom the provider kind (AzureOpenAIforfoundry,OpenAIforopenai).az aigateway model policy setallows updating--token-periodor--token-counter-keyon an existing token-limit policy without repeating--token-limit.
- New-RP-first resolution & redacted
--debuglogging:- Commands now probe
Microsoft.ApiManagement/aigatewaysfirst before falling back to legacyMicrosoft.ApiManagement/service, eliminating unnecessary404probes in--debug. --debugnow logs the HTTP method, URL, and secret-redacted request body for all child write operations (PUT/PATCH/POST/DELETE).
- Commands now probe
Install or Upgrade
Bash (macOS / Linux)
curl -fsSL https://aka.ms/aigateway-cli-install | bash
az aigateway versionPowerShell (Windows / macOS / Linux)
irm https://aka.ms/aigateway-cli-install-ps | iex
az aigateway versionDocumentation
- Quickstart: https://github.com/Azure/aigateway/blob/main/cli/README.md#quickstart
- CLI Command Reference: https://github.com/Azure/aigateway/blob/main/cli/command-reference.md
- AI Gateway Documentation: https://aka.ms/aigateway/docs
Release Asset & Checksum
- Wheel:
aigateway-1.0.0b15-py3-none-any.whl - SHA-256:
8d059b7c5e006631ba843f3c4f6e41840d89c71312b13217796da16125a04a6d