创建新的 Azure API 管理服务实例Create a new Azure API Management service instance

Azure API 管理 (APIM) 可帮助组织将 API 发布给外部、合作伙伴和内部开发人员,以充分发挥其数据和服务的潜力。Azure API Management (APIM) helps organizations publish APIs to external, partner, and internal developers to unlock the potential of their data and services. API 管理通过开发人员参与、商业洞察力、分析、安全性和保护提供了核心竞争力以确保成功的 API 程序。API Management provides the core competencies to ensure a successful API program through developer engagement, business insights, analytics, security, and protection. 使用 APIM 可以为在任何位置托管的现有后端服务创建和管理新式 API 网关。APIM enables you to create and manage modern API gateways for existing backend services hosted anywhere. 有关详细信息,请参阅概述主题。For more information, see the Overview topic.

本快速入门介绍如何使用 Azure 门户创建新的 API 管理实例的步骤。This quickstart describes the steps for creating a new API Management instance using the Azure portal.

如果没有 Azure 订阅,可在开始前创建一个试用帐户If you don't have an Azure subscription, create a trial account before you begin.

新实例

登录 AzureLog in to Azure

http://portal.azure.cn 登录 Azure 门户。Log in to the Azure portal at http://portal.azure.cn.

创建新服务Create a new service

新建 Azure API 管理实例

  1. Azure 门户中,选择“创建资源” > “企业集成” > “API 管理”。In the Azure portal, select Create a resource > Enterprise Integration > API management.

    或者,选择“新建”,在搜索框中键入 API management,然后按 Enter。Alternatively, choose New, type API management in the search box, and press Enter. 单击创建Click Create.

  2. 在“API 管理服务”窗口中,输入设置。In the API Management service window, enter settings.

    新实例

    设置Setting 建议的值Suggested value 说明Description
    名称Name API 管理服务的唯一名称A unique name for your API Management service 以后无法更改此名称。The name can't be changed later. 服务名称用来以 {name}.azure-api.cn 形式生成默认域名。Service name is used to generate a default domain name in the form of {name}.azure-api.cn. 如果希望使用自定义域名,请参阅配置自定义域名If you would like to use a custom domain name, see Configure a custom domain.
    服务名称用来引用服务和相应的 Azure 资源。Service name is used to refer to the service and the corresponding Azure resource.
    订阅Subscription 你的订阅Your subscription 要在其下创建此新服务实例的订阅。The subscription under which this new service instance will be created. 在可以访问的不同 Azure 订阅中选择一个订阅。You can select the subscription among the different Azure subscriptions that you have access to.
    资源组Resource Group apimResourceGroupapimResourceGroup 可以选择新的或现有的资源。You can select a new or existing resource. 资源组是共享生命周期、权限和策略的资源的集合。A resource group is a collection of resources that share lifecycle, permissions, and policies. 此处了解更多信息。Learn more here.
    位置Location 中国东部China East 选择最近的地理区域。Select the geographic region near you. 下拉列表中仅显示可用的 API 管理服务区域。Only the available API Management service regions appear in the drop-down list box.
    组织名称Organization name 组织的名称The name of your organization 许多位置,包括开发人员门户和通知电子邮件的发件人的标题中使用此名称。This name is used in a number of places, including the title of the developer portal and sender of notification emails.
    管理员电子邮件Administrator email admin@org.com 设置要将来自 API 管理的所有通知发送到的电子邮件地址。Set email address to which all the notifications from API Management will be sent.
    定价层Pricing tier 开发人员Developer 设置“开发人员”层来评估服务。Set Developer tier to evaluate the service. 此层不用于生产用途。This tier is not for production use. 有关对 API 管理层进行缩放的详细信息,请参阅升级和缩放For more information about scaling the API Management tiers, see upgrade and scale.
  3. 选择“创建”。Choose Create.

    Tip

    创建 API 管理服务通常需要花费 20 到 30 分钟。It usually takes between 20 and 30 minutes to create an API Management service. 选择“固定到仪表板”可以更容易地查找新创建的服务。Selecting Pin to dashboard makes finding a newly created service easier.

转到你的 API 管理实例Go to your API Management instance

  1. 登录到 Azure 门户Sign in to the Azure portal.

  2. 选择“所有服务”。Select All services.

  3. 在搜索框中输入 apiIn the search box, enter api.

  4. 在搜索结果中,选择“API 管理服务”。In the search results, select API Management services.

  5. 选择自己的 API 管理服务实例。Select your API Management service instance.

Tip

若要将 API 管理添加到 Azure 门户中的收藏夹,请选择星形。To add API Management to your favorites in the Azure portal, select the star.

API 管理图标The API Management icon ((API 管理图标)现在显示在门户的左侧菜单中。) now appears in the left menu in the portal.

清理资源Clean up resources

如果不再需要资源组和所有相关资源,可以使用以下步骤将其删除:When no longer needed, you can remove the resource group and all related resources by following these steps:

  1. 在 Azure 门户中,选择“所有服务”。In the Azure portal, select All services.

  2. 在搜索框中输入 resource groups,然后单击结果。Input resource groups in the search box and click on the result.

    资源组导航

  3. 找到并单击资源组。Find your resource group and click on it.

  4. 单击“删除资源组”。Click Delete resource group.

    资源组导航

  5. 输入资源组的名称,确认删除。Confirm the deletion by inputting the name of your resource group.

  6. 单击“删除” 。Click Delete.

后续步骤Next steps