共用方式為


SlotDifference Class

Definition

A setting difference between two deployment slots of an app.

public class SlotDifference : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.AppService.Models.SlotDifference>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.AppService.Models.SlotDifference>
type SlotDifference = class
    inherit ResourceData
    interface IJsonModel<SlotDifference>
    interface IPersistableModel<SlotDifference>
Public Class SlotDifference
Inherits ResourceData
Implements IJsonModel(Of SlotDifference), IPersistableModel(Of SlotDifference)
Inheritance
SlotDifference
Implements

Constructors

SlotDifference()

Initializes a new instance of SlotDifference.

Properties

Description

Description of the setting difference.

DiffRule

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Kind

Kind of resource.

Level

Level of the difference: Information, Warning or Error.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SettingName

Name of the setting.

SettingType

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
ValueInCurrentSlot

Value of the setting in the current slot.

ValueInTargetSlot

Value of the setting in the target slot.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SlotDifference>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SlotDifference>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SlotDifference>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SlotDifference>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SlotDifference>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to