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

ArmAppServiceModelFactory.SlotDifference 方法

定义

初始化 SlotDifference 的新实例。

public static Azure.ResourceManager.AppService.Models.SlotDifference SlotDifference (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string level = default, string settingType = default, string diffRule = default, string settingName = default, string valueInCurrentSlot = default, string valueInTargetSlot = default, string description = default, string kind = default);
static member SlotDifference : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * string * string * string -> Azure.ResourceManager.AppService.Models.SlotDifference
Public Shared Function SlotDifference (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional level As String = Nothing, Optional settingType As String = Nothing, Optional diffRule As String = Nothing, Optional settingName As String = Nothing, Optional valueInCurrentSlot As String = Nothing, Optional valueInTargetSlot As String = Nothing, Optional description As String = Nothing, Optional kind As String = Nothing) As SlotDifference

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

level
String

差异级别:信息、警告或错误。

settingType
String

设置的类型:常规、AppSetting 或 ConnectionString。

diffRule
String

描述如何在槽交换期间处理设置差异的规则。

settingName
String

设置的名称。

valueInCurrentSlot
String

当前槽中设置的值。

valueInTargetSlot
String

目标槽中设置的值。

description
String

设置差异的说明。

kind
String

资源类型。

返回

用于模拟的新 SlotDifference 实例。

适用于