WebAppsOperationsExtensions.CreateInstanceFunctionSlot(IWebAppsOperations, String, String, String, String, FunctionEnvelope) Method

Definition

Create function for web site, or a deployment slot.

public static Microsoft.Azure.Management.WebSites.Models.FunctionEnvelope CreateInstanceFunctionSlot (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, string slot, Microsoft.Azure.Management.WebSites.Models.FunctionEnvelope functionEnvelope);
static member CreateInstanceFunctionSlot : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * string * string * Microsoft.Azure.Management.WebSites.Models.FunctionEnvelope -> Microsoft.Azure.Management.WebSites.Models.FunctionEnvelope

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

Site name.

functionName
System.String

Function name.

slot
System.String

Name of the deployment slot. If a slot is not specified, the API deletes a deployment for the production slot.

functionEnvelope
FunctionEnvelope

Function details.

Returns

FunctionEnvelope

Remarks

Create function for web site, or a deployment slot.

Applies to