Partilhar via


WebAppsOperationsExtensions.CreateFunctionAsync Método

Definição

Crie uma função para o web site ou um bloco de implementação.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner> CreateFunctionAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, string functionName, Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner functionEnvelope, System.Threading.CancellationToken cancellationToken = default);
static member CreateFunctionAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * 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 CreateFunctionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, functionName As String, functionEnvelope As FunctionEnvelopeInner, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FunctionEnvelopeInner)

Parâmetros

operations
IWebAppsOperations

O grupo de operações para este método de extensão.

resourceGroupName
String

Nome do grupo de recursos ao qual o recurso pertence.

name
String

Nome do site.

functionName
String

Nome da função.

functionEnvelope
FunctionEnvelopeInner

Detalhes da função.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Observações

Descrição para Criar função para web site ou um bloco de implementação.

Aplica-se a