Partager via


SlotDifference Class

Definition

A setting difference between two deployment slots of an app.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.SlotDifferenceTypeConverter))]
public class SlotDifference : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.ISlotDifference, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api20190801.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.Functions.Models.Api20190801.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.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to