次の方法で共有


WebSiteResource.ApplySlotConfigToProduction メソッド

定義

[説明] ターゲット スロットから現在のスロットに構成設定を適用します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/applySlotConfig
  • 操作IdWebApps_ApplySlotConfigToProduction
public virtual Azure.Response ApplySlotConfigToProduction (Azure.ResourceManager.AppService.Models.CsmSlotEntity slotSwapEntity, System.Threading.CancellationToken cancellationToken = default);
abstract member ApplySlotConfigToProduction : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Response
override this.ApplySlotConfigToProduction : Azure.ResourceManager.AppService.Models.CsmSlotEntity * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function ApplySlotConfigToProduction (slotSwapEntity As CsmSlotEntity, Optional cancellationToken As CancellationToken = Nothing) As Response

パラメーター

slotSwapEntity
CsmSlotEntity

ターゲット スロット名を含む JSON オブジェクト。 例を参照してください。

cancellationToken
CancellationToken

使用する取り消しトークン。

戻り値

例外

slotSwapEntity が null です。

適用対象