教程:在市场中发布 Azure 托管应用程序Tutorial: Publish Azure managed applications in the Marketplace

供应商可以使用 Azure 托管应用程序向所有 Azure 市场客户提供其解决方案。Vendors can use Azure managed applications to offer their solutions to all Azure Marketplace customers. 这些供应商可以包括托管服务提供商 (MSP)、独立软件供应商 (ISV) 和系统集成商 (SI)。Those vendors can include managed service providers (MSPs), independent software vendors (ISVs), and system integrators (SIs). 托管应用程序可减少客户的维护和服务开销。Managed applications reduce the maintenance and servicing overhead for customers. 供应商通过市场出售基础结构和软件。Vendors sell infrastructure and software through the marketplace. 他们可以将服务和操作支持附加到托管应用程序。They can attach services and operational support to managed applications. 有关详细信息,请参阅托管应用程序概述For more information, see Managed application overview.

本文介绍如何将应用程序发布到市场并将其广泛提供给客户。This article explains how you can publish an application to the marketplace and make it broadly available to customers.

发布托管应用程序的先决条件Prerequisites for publishing a managed application

若要完成本文中的操作,必须已有包含托管应用程序定义的 .zip 文件。To complete this article, you must already have the .zip file for your managed application definition. 有关详细信息,请参阅创建服务目录应用程序For more information, see Create service catalog application.

有几个业务先决条件。There are several business prerequisites. 它们分别是:They are:

  • 公司或其子公司必须位于市场支持销售的国家/地区。Your company or its subsidiary must be located in a country/region where sales are supported by the marketplace.
  • 产品必须按与市场支持的计费模型兼容的方式获得许可。Your product must be licensed in a way that is compatible with billing models supported by the marketplace.
  • 以商业上合理的方式向客户提供技术支持。Make technical support available to customers in a commercially reasonable manner. 支持形式可以为免费、付费或社区支持。The support can be free, paid, or through community support.
  • 针对你的软件和任何第三方软件依赖项授予许可。License your software and any third-party software dependencies.
  • 提供的内容必须符合在市场上和 Azure 门户中上架产品/服务的标准。Provide content that meets criteria for your offering to be listed in the Marketplace and in the Azure portal.
  • 同意 Azure 市场参与政策与发布者协议的条款。Agree to the terms of the Azure Marketplace Participation Policies and Publisher Agreement.
  • 同意遵守使用条款、Microsoft 隐私声明和 Microsoft Azure 认证计划协议。Agree to comply with the Terms of Use, Microsoft Privacy Statement, and Microsoft Azure Certified Program Agreement.

还必须拥有市场帐户。You must also have a Marketplace account.

创建新的 Azure 应用程序产品/服务Create a new Azure application offer

创建合作伙伴门户帐户之后,就可以开始创建托管应用程序产品/服务。After creating your partner portal account, you're ready to create your managed application offer.

设置产品/服务Set up an offer

托管应用程序的产品/服务对应于发布者提供的一类产品/服务。The offer for a managed application corresponds to a class of product offering from a publisher. 如果有想要在市场中推出的新类型应用程序,则可以将其设置为新的产品/服务。If you have a new type of application that you want to make available in the marketplace, you can set it up as a new offer. 产品/服务是 SKU 的集合。An offer is a collection of SKUs. 每个产品/服务在市场中都显示为其自己的实体。Every offer appears as its own entity in the marketplace.

  1. 登录云合作伙伴门户Sign in to the Cloud Partner portal.

  2. 在左侧导航窗格中,选择“+ 新产品/服务” > “Azure 应用程序” 。In the navigation pane on the left, select + New offer > Azure Applications.

  3. 在“编辑器” 视图中,查看所需的窗体。In the Editor view, you see the required forms. 将在本文中后面介绍每个窗体。Each form is described later in this article.

产品/服务设置窗体Offer Settings form

“产品/服务设置” 窗体的字段包括:The fields for the Offer Settings form are:

  • 产品/服务 ID:此唯一标识符标识发布者配置文件内的产品/服务。Offer ID: This unique identifier identifies the offer within a publisher profile. 此 ID 显示在产品 URL、Resource Manager 模板和计费报表中。This ID is visible in product URLs, Resource Manager templates, and billing reports. 它只能由小写字母数字字符或短划线 (-) 组成。It can only be composed of lowercase alphanumeric characters or dashes (-). ID 不能以短划线结尾。The ID can't end in a dash. 不能超过 50 个字符。It's limited to a maximum of 50 characters. 此字段在套餐推出后处于锁定状态。After an offer goes live, this field is locked.
  • 发布者 ID:使用此下拉列表,可以选择要在其下发布此产品/服务的发布者配置文件。Publisher ID: Use this drop-down list to choose the publisher profile you want to publish this offer under. 此字段在套餐推出后处于锁定状态。After an offer goes live, this field is locked.
  • Name:此产品/服务显示名称会显示在市场和门户中。Name: This display name for your offer appears in the Marketplace and in the portal. 该名称不能超过 50 个字符。It can have a maximum of 50 characters. 其中包含产品的可识别品牌名称。Include a recognizable brand name for your product. 除非销售需要,否则不要在此处包含公司名称。Don't include your company name here unless that's how it's marketed. 如果要在自己的网站上销售此产品/服务,请确保名称与在网站上显示的名称完全相同。If you're marketing this offer on your own website, ensure that the name is exactly how it appears on your website.

完成后,选择“保存” 保存进度。When done, select Save to save your progress.

SKU 窗体SKUs form

下一步是为产品/服务添加 SKU。The next step is to add SKUs for your offer.

SKU 是可购买的产品/服务的最小单位。A SKU is the smallest purchasable unit of an offer. 你可以使用相同产品类(产品/服务) 中的 SKU 在两者之间进行区分:You can use a SKU within the same product class (offer) to differentiate between:

  • 支持的不同功能Different features that are supported
  • 产品/服务为托管的还是非托管的Whether the offer is managed or unmanaged
  • 支持的计费模型Billing models that are supported

SKU 在市场中显示在父级产品/服务下。A SKU appears under the parent offer in the marketplace. 它在 Azure 门户中显示为其自己的可购买实体。It appears as its own purchasable entity in the Azure portal.

  1. 选择“SKU” > “新建 SKU” 。Select SKUs > New SKU.

  2. 输入“SKU ID” 。Enter a SKU ID. SKU ID是 SKU 在套餐内的唯一标识符。A SKU ID is a unique identifier for the SKU within an offer. 此 ID 显示在产品 URL、Resource Manager 模板和计费报表中。This ID is visible in product URLs, Resource Manager templates, and billing reports. 它只能由小写字母数字字符或短划线 (-) 组成。It can only be composed of lowercase alphanumeric characters or dashes (-). ID 不能以短划线结束,并且不能超过 50 个字符。The ID can't end in a dash, and it's limited to a maximum of 50 characters. 此字段在套餐推出后处于锁定状态。After an offer goes live, this field is locked. 在产品/服务内可以有多个 SKU。You can have multiple SKUs within an offer. 每个计划发布的映像都需要一个 SKU。You need a SKU for each image you plan to publish.

  3. 填写下面表单上的“SKU 详细信息” 部分:Fill out the SKU Details section on the following form:

    填写以下字段:Fill out the following fields:

    • 标题:输入此 SKU 的标题。Title: Enter a title for this SKU. 此标题出现在该项的库中。This title appears in the gallery for this item.
    • 汇总:为此 SKU 输入简短摘要。Summary: Enter a short summary for this SKU. 此文本显示在标题下方。This text appears underneath the title.
    • 说明:输入关于此 SKU 的详细说明。Description: Enter a detailed description about the SKU.
    • SKU 类型:允许的值为“托管应用程序”和“解决方案模板”。 SKU Type: The allowed values are Managed Application and Solution Templates. 对于本例,请选择“托管应用程序”。 For this case, select Managed Application.
    • 国家/地区可用性:选择托管应用程序可用的国家/地区。Country/Region availability: Select the countries/regions where the managed application is available.
    • 定价:提供应用程序管理的价格。Pricing: Provide a price for management of the application. 在设置价格之前,选择可用的国家/地区。Select the available countries/regions before setting the price.
  4. 添加新的程序包。Add a new package. 填写下面表单上的“程序包详细信息” 部分:Fill out the Package Details section on the following form:

    填写以下字段:Fill out the following fields:

    • 版本:输入你上传的程序包的版本。Version: Enter a version for the package you upload. 它应采用格式 {number}.{number}.{number}{number}It should be in the format {number}.{number}.{number}{number}.

    • 程序包文件 (.zip) :此程序包中包含压缩为 .zip 包的两个必需文件。Package file (.zip): This package contains two required files compressed into a .zip package. 其中一个文件是资源管理器模板,用于定义要为托管应用程序部署的资源。One file is a Resource Manager template that defines the resources to deploy for the managed application. 另一个文件定义用户界面,以便使用者通过门户部署托管应用程序。The other file defines the user interface for consumers deploying the managed application through the portal. 在用户界面中,可以指定让使用者能够提供参数值的元素。In the user interface, you specify elements that enable consumers to provide parameter values.

    • 租户 ID:要访问的帐户的租户 ID。Tenant ID: The tenant ID for the account to get access.

    • 启用 JIT 访问:选择以启用中实时访问控制的帐户。Enable JIT Access: Select Yes to enable just-in-time access control for the account. 启用后,你将在指定的时间段内请求访问使用者的帐户。When enabled, you request access to the consumer's account for a specified time period. 若要要求托管应用程序的使用者授予你的帐户永久访问权限,请选择“否” 。To require that consumers of your managed application grant your account permanent access, select No.

    • 自定义允许的客户操作? :选择“是” 以指定使用者可以对托管资源执行的操作。Customize allowed customer actions?: Select Yes to specify which actions consumers can perform on the managed resources.

    • 允许的客户操作:如果对前一设置选择“是” ,则可以通过使用 Azure 资源的拒绝分配来指定允许使用者执行哪些操作。Allowed customer actions: If you select Yes for the previous setting, you can specify which actions are permitted to consumers by using deny assignments for Azure resources.

      有关可用操作,请参阅 Azure 资源管理器资源提供程序操作For available actions, see Azure Resource Manager resource provider operations. 例如,若要允许使用者重启虚拟机,请将 Microsoft.Compute/virtualMachines/restart/action 添加到允许的操作。For example, to permit consumers to restart virtual machines, add Microsoft.Compute/virtualMachines/restart/action to the allowed actions. 自动允许 */read 操作,因此你不需要包括该设置。The */read action is automatically allowed so you don't need to include that setting.

    • PrincipalId:此属性是被授予对客户订阅中资源的访问权限的用户、用户组或应用程序的 Azure Active Directory (Azure AD) 标识符。PrincipalId: This property is the Azure Active Directory (Azure AD) identifier of a user, user group, or application that's granted access to the resources in the customer's subscription. Role Definition 描述权限。The Role Definition describes the permissions.

    • 角色定义:此属性是 Azure AD 提供的所有 Azure 内置角色的列表。Role Definition: This property is a list of all the Azure built-in roles provided by Azure AD. 你可以选择最合适的角色用于代表客户管理资源。You can select the role that's most appropriate to use to manage the resources on behalf of the customer.

    • 策略设置:向托管应用程序应用 Azure Policy 以指定所部署的解决方案的符合性要求。Policy Settings: Apply an Azure Policy to your managed application to specify compliance requirements for the deployed solutions. 从可用选项中,选择要应用的策略。From the available options, select the policies to apply. 对于“策略参数” ,请提供包含参数值的 JSON 字符串。For Policy Parameters, provide a JSON string with the parameter values. 有关策略定义和参数值的格式,请参阅 Azure Policy 示例For policy definitions and the format of the parameter values, see Azure Policy Samples.

可以添加多个授权。You can add several authorizations. 我们建议你创建 AD 用户组,并在“PrincipalId” 中指定其 ID。We recommend that you create an AD user group and specify its ID in PrincipalId. 以此,可以将更多的用户添加到用户组,而无需更新 SKU。This way, you can add more users to the user group without the need to update the SKU.

有关 RBAC 的详细信息,请参阅 Azure 门户中的 RBAC 入门For more information about RBAC, see Get started with RBAC in the Azure portal.

市场窗体Marketplace form

市场窗体要求填写将显示在 Azure 市场Azure 门户中的字段。The Marketplace form asks for fields that show up on the Azure Marketplace and on the Azure portal.

预览订阅 IDPreview subscription IDs

输入 Azure 订阅 ID 列表,可以在发布后访问套餐。Enter a list of Azure subscription IDs that can access the offer after it's published. 通过这些列入允许列表的订阅,可以在推出套餐前测试预览的套餐。You can use these white-listed subscriptions to test the previewed offer before you make it live. 你可以在合作伙伴门户中编译最多 100 个订阅的允许列表。You can compile an allow list of up to 100 subscriptions in the partner portal.

建议的类别Suggested categories

从列表中选择最多五个与产品/服务最相关的类别。Select up to five categories from the list that your offer can be best associated with. 这些类别用于将产品/服务映射到在 Azure 市场Azure 门户中提供的产品类别。These categories are used to map your offer to the product categories that are available in the Azure Marketplace and the Azure portal.

Azure 市场Azure Marketplace

托管应用程序的摘要将显示以下字段:The summary of your managed application displays the following fields:

市场摘要

托管应用程序的“概述” 选项卡将显示以下字段:The Overview tab for your managed application displays the following fields:

市场概述

托管应用程序的“计划 + 定价” 选项卡将显示以下字段:The Plans + Pricing tab for your managed application displays the following fields:

市场计划

Azure 门户Azure portal

托管应用程序的摘要将显示以下字段:The summary of your managed application displays the following fields:

门户摘要

托管应用程序的概述将显示以下字段:The overview for your managed application displays the following fields:

门户概述

徽标准则Logo guidelines

在云合作伙伴门户中上传任何徽标时,请遵循以下准则:Follow these guidelines for any logo that you upload in the Cloud Partner portal:

  • Azure 设计具有简单的调色板。The Azure design has a simple color palette. 限制徽标上的主要和次要颜色数。Limit the number of primary and secondary colors on your logo.
  • 门户的主题颜色为白色和黑色。The theme colors of the portal are white and black. 请勿将这些颜色用作徽标的背景色。Don't use these colors as the background color for your logo. 使用可使徽标在门户中更为突出的颜色。Use a color that makes your logo prominent in the portal. 建议使用简单的主颜色。We recommend simple primary colors. 如果你使用透明背景,请确保徽标和文本不是白色、黑色或蓝色。 If you use a transparent background, make sure that the logo and text aren't white, black, or blue.
  • 不要在徽标上使用渐变背景。Don't use a gradient background on the logo.
  • 不要在徽标上放置文本,即使是公司或品牌名称也不可以。Don't place text on the logo, not even your company or brand name. 徽标的外观应平整,并且应避免渐变。The look and feel of your logo should be flat and avoid gradients.
  • 确保徽标未被拉伸。Make sure the logo isn't stretched.

特大徽标是可选的。The hero logo is optional. 发布者可以选择不上传特大徽标。The publisher can choose not to upload a hero logo. 上传特大图标后将无法删除。After the hero icon is uploaded, it can't be deleted. 这种情况下,合作伙伴必须遵循适用于特大图标的市场准则。At that time, the partner must follow the Marketplace guidelines for hero icons.

请遵循适用于特大徽标图标的准则:Follow these guidelines for the hero logo icon:

  • 以白色显示发布者显示名称、计划标题和套餐详细摘要。The publisher display name, the plan title, and the offer long summary are displayed in white. 因此,不要在特大图标的背景下使用浅色。Therefore, don't use a light color for the background of the hero icon. 特大图标不允许使用黑色、白色或透明背景。A black, white, or transparent background isn't allowed for hero icons.

  • 列出产品/服务后,会以编程方式在特大徽标内嵌入元素。After the offer is listed, elements are embedded programmatically inside the hero logo. 嵌入的元素包括发布者显示名称、计划标题、套餐长摘要和“创建”按钮。 The embedded elements include the publisher display name, the plan title, the offer long summary, and the Create button. 因此,在设计特大徽标时,请勿输入任何文本。Consequently, don't enter any text while you design the hero logo. 在右侧留出空白区域,因为文本是以编程方式包含在该空白区域中的。Leave empty space on the right because the text is included programmatically in that space. 右侧的文本空白区域应为 415 x 100 像素。The empty space for the text should be 415 x 100 pixels on the right. 它从左侧偏移了 370 个像素。It's offset by 370 pixels from the left.

    特大徽标示例

支持窗体Support form

使用公司中的支持联系人填写“支持” 表单。Fill out the Support form with support contacts from your company. 此信息可能是工程联系人和客户支持联系人。This information might be engineering contacts and customer support contacts.

发布产品/服务Publish an offer

填写所有部分后,选择“发布” ,开始向客户提供产品/服务的过程。After you fill out all the sections, select Publish to start the process that makes your offer available to customers.

后续步骤Next steps