Aracılığıyla paylaş


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.

settingType
String

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

diffRule
String

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

settingName
String

Name of the setting.

valueInCurrentSlot
String

Value of the setting in the current slot.

valueInTargetSlot
String

Value of the setting in the target slot.

description
String

Description of the setting difference.

kind
String

Kind of resource.

Returns

A new SlotDifference instance for mocking.

Applies to