Linux command
az-apim 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create a new API Management
az apim create --name [MyApim] --resource-group [MyResourceGroup] --publisher-email [email@domain.com] --publisher-name [MyCompany] --location [eastus]
List all API Management
az apim list --resource-group [MyResourceGroup]
Show details
az apim show --name [MyApim] --resource-group [MyResourceGroup]
Import an API
az apim api import --service-name [MyApim] --resource-group [MyResourceGroup] --path [myapi] --specification-format OpenAPI --specification-url [https://example.com/swagger.json]
List all APIs
az apim api list --service-name [MyApim] --resource-group [MyResourceGroup]
Create a backup
az apim backup --name [MyApim] --resource-group [MyResourceGroup] --backup-name [myBackup] --storage-account-name [mystorageaccount] --storage-account-container [backups]
Delete an API Management
az apim delete --name [MyApim] --resource-group [MyResourceGroup] --yes
说明
az apim manages Azure API Management services, which provide a way to create consistent and modern API gateways for existing back-end services. It handles API creation, versioning, documentation, security policies, rate limiting, and developer portal management. API Management supports multiple SKU tiers: Basic, Consumption, Developer, Isolated, Premium, and Standard, each offering different capabilities and scale options.
FAQ
What is the az-apim command used for?
az apim manages Azure API Management services, which provide a way to create consistent and modern API gateways for existing back-end services. It handles API creation, versioning, documentation, security policies, rate limiting, and developer portal management. API Management supports multiple SKU tiers: Basic, Consumption, Developer, Isolated, Premium, and Standard, each offering different capabilities and scale options.
How do I run a basic az-apim example?
Run `az apim create --name [MyApim] --resource-group [MyResourceGroup] --publisher-email [email@domain.com] --publisher-name [MyCompany] --location [eastus]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
Where can I find more az-apim examples?
This page includes 7 examples for az-apim, plus related commands for nearby Linux tasks.