Compartilhar via


IWebAppsOperations.CreateOrUpdateSourceControlSlotWithHttpMessagesAsync Método

Definição

Atualizações a configuração de controle do código-fonte de um aplicativo.

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner>> CreateOrUpdateSourceControlSlotWithHttpMessagesAsync (string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner siteSourceControl, string slot, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdateSourceControlSlotWithHttpMessagesAsync : string * string * Microsoft.Azure.Management.AppService.Fluent.Models.SiteSourceControlInner * string * 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.SiteSourceControlInner>>
Public Function CreateOrUpdateSourceControlSlotWithHttpMessagesAsync (resourceGroupName As String, name As String, siteSourceControl As SiteSourceControlInner, slot As String, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of SiteSourceControlInner))

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual pertence o recurso.

name
String

Nome do aplicativo.

siteSourceControl
SiteSourceControlInner

Representação JSON de um objeto SiteSourceControl. Confira o exemplo.

slot
String

Nome do slot de implantação. Se um slot não for especificado, a API atualizará a configuração de controle do código-fonte para o slot de produçã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 Atualizações a configuração de controle do código-fonte de um aplicativo.

Aplica-se a