Dela via


WebAppsOperationsExtensions.CreateInstanceFunctionSlotAsync Metod

Definition

Skapa en funktion för webbplatsen eller ett distributionsfack.

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

Parametrar

operations
IWebAppsOperations

Åtgärdsgruppen för den här tilläggsmetoden.

resourceGroupName
String

Namnet på resursgruppen som resursen tillhör.

name
String

Webbplatsnamn.

functionName
String

Funktionsnamn.

slot
String

Namnet på distributionsplatsen.

functionEnvelope
FunctionEnvelopeInner

Funktionsinformation.

cancellationToken
CancellationToken

Annulleringstoken.

Returer

Kommentarer

Beskrivning av Funktionen Skapa för webbplatsen eller ett distributionsfack.

Gäller för