你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebAppsOperationsExtensions.AddPremierAddOnSlot 方法

定义

汇报应用的命名加载项。

public static Microsoft.Azure.Management.WebSites.Models.PremierAddOn AddPremierAddOnSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string premierAddOnName, Microsoft.Azure.Management.WebSites.Models.PremierAddOn premierAddOn, string slot);
static member AddPremierAddOnSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Models.PremierAddOn * string -> Microsoft.Azure.Management.WebSites.Models.PremierAddOn
<Extension()>
Public Function AddPremierAddOnSlot (operations As IWebAppsOperations, resourceGroupName As String, name As String, premierAddOnName As String, premierAddOn As PremierAddOn, slot As String) As PremierAddOn

参数

operations
IWebAppsOperations

此扩展方法的操作组。

resourceGroupName
String

资源所属的资源组的名称。

name
String

应用的名称。

premierAddOnName
String

加载项名称。

premierAddOn
PremierAddOn

已编辑的主要加载项的 JSON 表示形式。

slot
String

部署槽的名称。 如果未指定槽,API 将更新生产槽的命名加载项。

返回

注解

有关汇报应用的命名加载项的说明。

适用于