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

SlotDifference Class

Definition

A setting difference between two deployment slots of an app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SlotDifferenceTypeConverter))]
public class SlotDifference : Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISlotDifference, Microsoft.Azure.PowerShell.Cmdlets.Websites.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.SlotDifferenceTypeConverter))>]
type SlotDifference = class
    interface ISlotDifference
    interface IJsonSerializable
    interface IProxyOnlyResource
    interface IValidates
Public Class SlotDifference
Implements ISlotDifference, IValidates
Inheritance
SlotDifference
Attributes
Implements

Constructors

SlotDifference()

Creates an new SlotDifference instance.

Properties

Description

Description of the setting difference.

DiffRule

Rule that describes how to process the setting difference during a slot swap.

Id

Resource Id.

Kind

Kind of resource.

Level

Level of the difference: Information, Warning or Error.

Name

Resource Name.

SettingName

Name of the setting.

SettingType

The type of the setting: General, AppSetting or ConnectionString.

Type

Resource type.

ValueInCurrentSlot

Value of the setting in the current slot.

ValueInTargetSlot

Value of the setting in the target slot.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SlotDifference.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SlotDifference.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Websites.Models.Api20210201.ISlotDifference.

FromJsonString(String)

Creates a new instance of SlotDifference, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SlotDifference into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to