ArmAppServiceModelFactory.SlotDifference Method

Definition

Initializes a new instance of SlotDifference.

public static Azure.ResourceManager.AppService.Models.SlotDifference SlotDifference(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string level = default, string settingType = default, string diffRule = default, string settingName = default, string valueInCurrentSlot = default, string valueInTargetSlot = default, string description = default, string kind = default);
static member SlotDifference : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * string * string * string * string * string -> Azure.ResourceManager.AppService.Models.SlotDifference
Public Shared Function SlotDifference (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional level As String = Nothing, Optional settingType As String = Nothing, Optional diffRule As String = Nothing, Optional settingName As String = Nothing, Optional valueInCurrentSlot As String = Nothing, Optional valueInTargetSlot As String = Nothing, Optional description As String = Nothing, Optional kind As String = Nothing) As SlotDifference

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

level
String

Level of the difference: Information, Warning or Error. Serialized Name: SlotDifference.properties.level

settingType
String

The type of the setting: General, AppSetting or ConnectionString. Serialized Name: SlotDifference.properties.settingType

diffRule
String

Rule that describes how to process the setting difference during a slot swap. Serialized Name: SlotDifference.properties.diffRule

settingName
String

Name of the setting. Serialized Name: SlotDifference.properties.settingName

valueInCurrentSlot
String

Value of the setting in the current slot. Serialized Name: SlotDifference.properties.valueInCurrentSlot

valueInTargetSlot
String

Value of the setting in the target slot. Serialized Name: SlotDifference.properties.valueInTargetSlot

description
String

Description of the setting difference. Serialized Name: SlotDifference.properties.description

kind
String

Kind of resource. Serialized Name: ProxyOnlyResource.kind

Returns

A new SlotDifference instance for mocking.

Applies to