WebSiteResource.GetSlotDifferencesFromProductionAsync Method

Definition

Description for Get the difference in configuration settings between two web app slots.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slotsdiffs
  • Operation Id: WebApps_ListSlotDifferencesFromProduction
  • Default Api Version: 2024-04-01
  • Resource: WebSiteResource
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)

Parameters

slotSwapEntity
CsmSlotEntity

JSON object that contains the target slot name. See example.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

An async collection of SlotDifference that may take multiple service requests to iterate over.

Exceptions

slotSwapEntity is null.

Applies to