Compartilhar via


WebAppsOperationsExtensions.ApplySlotConfigToProductionAsync Método

Definição

Aplica as definições de configuração do slot de destino ao slot atual.

public static System.Threading.Tasks.Task ApplySlotConfigToProductionAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Microsoft.Azure.Management.AppService.Fluent.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
static member ApplySlotConfigToProductionAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Microsoft.Azure.Management.AppService.Fluent.Models.CsmSlotEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function ApplySlotConfigToProductionAsync (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 de Aplica as definições de configuração do slot de destino ao slot atual.

Aplica-se a