SlotDifference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A setting difference between two deployment slots of an app. Serialized Name: SlotDifference
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
- Implements
Constructors
| Name | Description |
|---|---|
| SlotDifference() |
Initializes a new instance of SlotDifference. |
Properties
| Name | Description |
|---|---|
| Description |
Description of the setting difference. Serialized Name: SlotDifference.properties.description |
| DiffRule |
Rule that describes how to process the setting difference during a slot swap. Serialized Name: SlotDifference.properties.diffRule |
| Id |
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. (Inherited from ResourceData) |
| Kind |
Kind of resource. Serialized Name: ProxyOnlyResource.kind |
| Level |
Level of the difference: Information, Warning or Error. Serialized Name: SlotDifference.properties.level |
| 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. Serialized Name: SlotDifference.properties.settingName |
| SettingType |
The type of the setting: General, AppSetting or ConnectionString. Serialized Name: SlotDifference.properties.settingType |
| SystemData |
Azure Resource Manager metadata containing createdBy and modifiedBy information. (Inherited from ResourceData) |
| ValueInCurrentSlot |
Value of the setting in the current slot. Serialized Name: SlotDifference.properties.valueInCurrentSlot |
| ValueInTargetSlot |
Value of the setting in the target slot. Serialized Name: SlotDifference.properties.valueInTargetSlot |
Methods
| Name | Description |
|---|---|
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |