WebAppsOperationsExtensions.AddPremierAddOnSlot(IWebAppsOperations, String, String, String, PremierAddOn, String) Method

Definition

Updates a named add-on of an app.

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

Parameters

operations
IWebAppsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the app.

premierAddOnName
System.String

Add-on name.

premierAddOn
PremierAddOn

A JSON representation of the edited premier add-on.

slot
System.String

Name of the deployment slot. If a slot is not specified, the API will update the named add-on for the production slot.

Returns

PremierAddOn

Remarks

Updates a named add-on of an app.

Applies to