WebAppsOperationsExtensions.SwapSlotSlotAsync Método

Definição

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

public static System.Threading.Tasks.Task SwapSlotSlotAsync (this Microsoft.Azure.Management.WebSites.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.WebSites.Models.CsmSlotEntity slotSwapEntity, string slot, System.Threading.CancellationToken cancellationToken = default);
static member SwapSlotSlotAsync : Microsoft.Azure.Management.WebSites.IWebAppsOperations * string * string * Microsoft.Azure.Management.WebSites.Models.CsmSlotEntity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function SwapSlotSlotAsync (operations As IWebAppsOperations, resourceGroupName As String, name As String, slotSwapEntity As CsmSlotEntity, slot As String, 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.

slot
String

Nome do slot de origem. Se um slot não for especificado, o slot de produção será usado como o slot de origem.

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