Freigeben über


WebSiteSlotResource.ApplySlotConfigurationSlot Methode

Definition

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

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/applySlotConfig
  • Vorgangs-IdWebApps_ApplySlotConfigurationSlot
public virtual Azure.Response ApplySlotConfigurationSlot (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
abstract member ApplySlotConfigurationSlot : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Response
override this.ApplySlotConfigurationSlot : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ApplySlotConfigurationSlot (slotSwapEntity As CsmSlotEntity, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameter

slotSwapEntity
CsmSlotEntity

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

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

slotSwapEntity ist NULL.

Gilt für: