Compartilhar via


IWebAppsOperations.BeginCreateFunctionWithHttpMessagesAsync Método

Definição

Crie uma função para o site ou um slot de implantação.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner>> BeginCreateFunctionWithHttpMessagesAsync (string resourceGroupName, string name, string functionName, Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner functionEnvelope, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginCreateFunctionWithHttpMessagesAsync : string * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.FunctionEnvelopeInner>>
Public Function BeginCreateFunctionWithHttpMessagesAsync (resourceGroupName As String, name As String, functionName As String, functionEnvelope As FunctionEnvelopeInner, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of FunctionEnvelopeInner))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual pertence o recurso.

name
String

Nome do site.

functionName
String

Nome da função.

functionEnvelope
FunctionEnvelopeInner

Detalhes da função.

customHeaders
Dictionary<String,List<String>>

Os cabeçalhos que serão adicionados à solicitação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

Gerada quando a operação retornou um código de status inválido

Gerada quando não é possível desserializar a resposta

Gerado quando um parâmetro necessário é nulo

Comentários

Descrição para Criar função para site ou um slot de implantação.

Aplica-se a