IWebAppsOperations.BeginSwapSlotWithProductionWithHttpMessagesAsync Método

Definição

Troca dois slots de implantação de um aplicativo.

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

Parâmetros

resourceGroupName
String

Nome do grupo de recursos ao qual pertence o recurso.

name
String

Nome do aplicativo.

slotSwapEntity
CsmSlotEntity

Objeto JSON que contém o nome do slot de destino. Confira o exemplo.

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Exceções

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

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

Gerado quando um parâmetro necessário é nulo

Comentários

Descrição para Trocas de dois slots de implantação de um aplicativo.

Aplica-se a