你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SlotDifference 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
应用两个部署槽位之间的设置差异。
[Microsoft.Rest.Serialization.JsonTransformation]
public class SlotDifference : Microsoft.Azure.Management.AppService.Fluent.Models.ProxyOnlyResourceInner
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SlotDifference = class
inherit ProxyOnlyResourceInner
Public Class SlotDifference
Inherits ProxyOnlyResourceInner
- 继承
- 属性
构造函数
SlotDifference() |
初始化 SlotDifference 类的新实例。 |
SlotDifference(String, String, String, String, String, String, String, String, String, String, String) |
初始化 SlotDifference 类的新实例。 |
属性
Description |
获取设置差异的说明。 |
DiffRule |
获取描述如何在槽交换期间处理设置差异的规则。 |
Id |
资源 ID。Setter 受保护,因为需要在网络资源中设置 ID。 (继承自 ProxyResource) |
Kind |
获取或设置资源的种类。 (继承自 ProxyOnlyResourceInner) |
Level |
获取差异的级别:信息、警告或错误。 |
Location |
资源位置 (继承自 Resource) |
Name |
资源名称 (继承自 ProxyResource) |
SettingName |
获取设置的名称。 |
SettingType |
获取设置的类型:General、AppSetting 或 ConnectionString。 |
Tags |
资源标记 (继承自 Resource) |
Type |
资源类型 (继承自 ProxyResource) |
ValueInCurrentSlot |
获取当前槽中设置的值。 |
ValueInTargetSlot |
获取目标槽中设置的值。 |
方法
Validate() |
验证 对象。 如果验证失败,则引发 ValidationException。 (继承自 Resource) |