您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

创建 Azure IoT Central 应用程序Create an Azure IoT Central application

备注

你当前正在查看的是原始 IoT Central 文档。You're currently viewing the original IoT Central documentation. 若要查看更新的预览功能 文档,请访问什么是 Azure IoT Central(预览功能)?To view the updated preview features documentation go to What is Azure IoT Central (preview features)?.

构建人员可以使用 Azure IoT Central UI 来定义 Microsoft Azure IoT Central 应用程序。 As a builder, you use the Azure IoT Central UI to define your Microsoft Azure IoT Central application. 本快速入门介绍如何创建一个包含示例设备模板的 Azure IoT Central 应用程序。 This quickstart shows you how to create an Azure IoT Central application that contains a sample device template.

创建应用程序Create an application

导航到 Azure IoT Central 应用程序管理器网站。Navigate to the Azure IoT Central application manager website. 然后使用 Microsoft 个人、工作或学校帐户登录。Then sign in with a Microsoft personal, work, or school account.

若要开始创建新的 Azure IoT Central 应用程序,请选择“新建应用程序” 。To start creating a new Azure IoT Central application, select New Application. 此链接会将你转到“创建应用程序” 页。This link takes you to the Create an application page.

Azure IoT Central 的“创建应用程序”页

若要创建新的 Azure IoT Central 应用程序:To create a new Azure IoT Central application:

  1. 选择付款计划:Choose a payment plan:

    • 试用版应用程序免费 7 天,然后过期。Trial applications are free for seven days before they expire. 它们可以在到期之前随时转换为“即用即付”。 They can be converted to Pay-As-You-Go at any time before they expire. 若要创建试用版应用程序,则需要输入联系信息并选择是否接收 Microsoft 发送的信息和使用技巧 。If you create a Trial application, you need to enter your contact information and choose whether to receive information and tips from Microsoft.

    • 即用即付应用程序按设备收费,前 5 台设备免费。Pay-As-You-Go applications are charged per device, with the first five devices free. 若要创建即用即付应用程序,需要选择“目录”、“Azure 订阅”和“区域” :If you create a Pay-As-You-Go application, you need to select your Directory, Azure Subscription, and Region:

      • 目录是用于创建应用程序的 Azure Active Directory (AD) 。Directory is the Azure Active Directory (AD) to create your application. 它包含用户标识、凭据和其他组织信息。It contains user identities, credentials, and other organizational information. 如果没有 Azure AD,则在创建 Azure 订阅时,系统会为你创建一个 Azure AD。If you don’t have an Azure AD, one is created for you when you create an Azure subscription.
      • 有了 Azure 订阅,就可以创建 Azure 服务的实例。An Azure Subscription enables you to create instances of Azure services. IoT Central 将在订阅中预配资源。IoT Central provisions resources in your subscription. 如果没有 Azure 订阅,则可在 Azure 注册页上创建一个。If you don’t have an Azure subscription, you can create one on the Azure sign-up page. 创建 Azure 订阅以后,请导航回“创建应用程序”页。 After you create the Azure subscription, navigate back to the Create an application page. 新订阅显示在“Azue 订阅” 下拉列表中。Your new subscription appears in the Azure Subscription drop-down.
      • 区域 是你想要创建应用程序的物理位置或地理位置Region is the physical location or geography where you’d like to create your application. 通常,应选择物理上离设备最近的区域以获得最佳性能。Typically, you should choose the region that's physically closest to your devices to get optimal performance. 可以在可用产品(按区域)页面上查看提供 Azure IoT Central 的区域。You can see the regions in which Azure IoT Central is available on the Products available by region page. 选择一个区域后,就不能在以后将应用程序移到其他区域。Once you choose a region, you can't move your application to a different region later.

      可在 Azure IoT Central 定价页上了解定价详细信息。Learn more about pricing on the Azure IoT Central pricing page.

  2. 选择应用程序模板。Select an application template. 应用程序模板可能包含入门所需的预定义项目(例如设备模板和仪表板)。An application template can contain predefined items such as device templates and dashboards to help you get started.

    应用程序模板Application template 说明Description
    示例 ContosoSample Contoso 创建一个应用程序,其中包含已为冷藏食品贩卖机创建的设备模板。Creates an application that includes a device template already created for a Refrigerated Vending Machine. 通过此模板来完成 Azure IoT Central 的入门。Use this template to get started exploring Azure IoT Central.
    示例 DevkitSample Devkits 创建一个应用程序,其中的设备模板可以用来连接 MXChip 或 Raspberry Pi 设备。Creates an application with device templates ready for you to connect an MXChip or Raspberry Pi device. 如果你是在这其中任一设备上进行试验的设备开发人员,请使用此模板。Use this template if you are a device developer experimenting with any of these devices.
    自定义应用程序Custom application 创建一个空的应用程序,以便在其中填充你自己的设备模板和设备。Creates an empty application for you to populate with your own device templates and devices.
  3. Azure IoT Central 会根据所选应用程序模板自动建议应用程序名称。Azure IoT Central automatically suggests an application name based on the application template you've selected. 可以接受此名称或输入自己的友好应用程序名称,例如 Contoso IoTYou can accept this name or enter your own friendly application name, such as Contoso IoT. Azure IoT Central 还会根据应用程序名称为你生成唯一的 URL 前缀。Azure IoT Central also generates a unique URL prefix for you, based on the application name. 如果你愿意,可以自由地将此 URL 前缀更改为更令人难忘的内容。You're free to change this URL prefix to something more memorable if you'd like.

  4. 填写之前在步骤 1 中选择的付款计划所需的其他信息。Fill additional information required for the payment plan you selected earlier, in Step 1.

  5. 在页面底部选择“创建” 。Select Create at the bottom of the page.

后续步骤Next steps

在本快速入门中,创建了 IoT Central 应用程序。In this quickstart, you created an IoT Central application. 下面是建议的后续步骤:Here's the suggested next step: