WebAppsOperationsExtensions.SwapSlotWithProductionAsync Método

Definição

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

public static System.Threading.Tasks.Task SwapSlotWithProductionAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
static member SwapSlotWithProductionAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.CsmSlotEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SwapSlotWithProductionAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slotSwapEntity As CsmSlotEntity, Optional cancellationToken As CancellationToken = Nothing) As Task

Parâmetros

operations
IWebAppsOperations

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

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.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Comentários

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

Aplica-se a