Freigeben über


WebSiteResource.GetSlotDifferencesFromProductionAsync Methode

Definition

Beschreibung für Abrufen des Unterschieds in den Konfigurationseinstellungen zwischen zwei Web-App-Slots.

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

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

Eine asynchrone Sammlung von, bei der SlotDifference mehrere Dienstanforderungen zum Durchlaufen verwendet werden können.

Ausnahmen

slotSwapEntity ist NULL.

Gilt für: