共用方式為


WebSiteSlotResource.GetSlotDifferencesSlotAsync 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}/slots/{slot}/slotsdiffs
  • Operation Id: WebApps_ListSlotDifferencesSlot
  • Default Api Version: 2024-04-01
  • Resource: WebSiteSlotResource
public virtual Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.SlotDifference> GetSlotDifferencesSlotAsync (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSlotDifferencesSlotAsync : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.SlotDifference>
override this.GetSlotDifferencesSlotAsync : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.AppService.Models.SlotDifference>
Public Overridable Function GetSlotDifferencesSlotAsync (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