Partager via


WebAppsOperationsExtensions.CreateFunctionAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.FunctionEnvelope> CreateFunctionAsync (this Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.FunctionEnvelope functionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateFunctionAsync : Microsoft.Azure.Management.WebSites.Version2016_09_01.IWebAppsOperations * string * string * string * Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.FunctionEnvelope * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.WebSites.Version2016_09_01.Models.FunctionEnvelope>
<Extension()>
Public Function CreateFunctionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, functionName As String, functionEnvelope As FunctionEnvelope, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FunctionEnvelope)

Parameters

operations
IWebAppsOperations
resourceGroupName
String
name
String
functionName
String
functionEnvelope
FunctionEnvelope
cancellationToken
CancellationToken

Returns

Applies to