Freigeben über


WebSiteResource.ApplySlotConfigToProductionAsync Methode

Definition

Beschreibung für Wendet die Konfigurationseinstellungen vom Zielslot auf den aktuellen Slot an.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig
  • Vorgang IdWebApps_ApplySlotConfigToProduction
public virtual System.Threading.Tasks.Task<Azure.Response> ApplySlotConfigToProductionAsync (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
abstract member ApplySlotConfigToProductionAsync : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
override this.ApplySlotConfigToProductionAsync : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response>
Public Overridable Function ApplySlotConfigToProductionAsync (slotSwapEntity As CsmSlotEntity, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response)

Parameter

slotSwapEntity
CsmSlotEntity

JSON-Objekt, das den Namen des Zielslots enthält. Weitere Informationen sind im Beispiel enthalten.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

slotSwapEntity ist NULL.

Gilt für: