WebSiteResource.GetSlotDifferencesFromProduction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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.