Partilhar via


WebAppsOperationsExtensions.ApplySlotConfigToProductionAsync Método

Definição

Aplica as definições de configuração do bloco de destino ao bloco 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 este método de extensão.

resourceGroupName
String

Nome do grupo de recursos ao qual o recurso pertence.

name
String

Nome da aplicação.

slotSwapEntity
CsmSlotEntity

Objeto JSON que contém o nome do bloco de destino. Veja o exemplo.

cancellationToken
CancellationToken

O token de cancelamento.

Devoluções

Observações

Descrição para Aplica as definições de configuração do bloco de destino para o bloco atual.

Aplica-se a