WebSiteResource.GetSlotDifferencesFromProduction 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: 2023-12-01
  • Resource: WebSiteResource
public virtual Azure.Pageable<Azure.ResourceManager.AppService.Models.SlotDifference> GetSlotDifferencesFromProduction (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSlotDifferencesFromProduction : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.SlotDifference>
override this.GetSlotDifferencesFromProduction : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.AppService.Models.SlotDifference>
Public Overridable Function GetSlotDifferencesFromProduction (slotSwapEntity As CsmSlotEntity, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SlotDifference)

Parameters

slotSwapEntity
CsmSlotEntity

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

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Exceptions

slotSwapEntity is null.

Applies to