你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

WebSiteSlotResource.GetSlotDifferencesSlotAsync 方法

定义

获取两个 Web 应用槽之间的配置设置差异的说明。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slots/{slot}/slotsdiffs
  • 操作IdWebApps_ListSlotDifferencesSlot
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)

参数

slotSwapEntity
CsmSlotEntity

包含目标槽名称的 JSON 对象。 请参阅示例。

cancellationToken
CancellationToken

要使用的取消标记。

返回

的异步集合 SlotDifference ,可能需要多个服务请求进行迭代。

例外

slotSwapEntity 为 null。

适用于