Condividi tramite


SlotDifferenceInner Class

public final class SlotDifferenceInner
extends ProxyOnlyResource

A setting difference between two deployment slots of an app.

Method Summary

Modifier and Type Method and Description
String description()

Get the description property: Description of the setting difference.

String diffRule()

Get the diffRule property: Rule that describes how to process the setting difference during a slot swap.

static SlotDifferenceInner fromJson(JsonReader jsonReader)

Reads an instance of SlotDifferenceInner from the JsonReader.

String id()

Get the id property: Resource Id.

String level()

Get the level property: Level of the difference: Information, Warning or Error.

String name()

Get the name property: Resource Name.

String settingName()

Get the settingName property: Name of the setting.

String settingType()

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

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: Resource type.

void validate()

Validates the instance.

String valueInCurrentSlot()

Get the valueInCurrentSlot property: Value of the setting in the current slot.

String valueInTargetSlot()

Get the valueInTargetSlot property: Value of the setting in the target slot.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Method Details

description

public String description()

Get the description property: Description of the setting difference.

Returns:

the description value.

diffRule

public String diffRule()

Get the diffRule property: Rule that describes how to process the setting difference during a slot swap.

Returns:

the diffRule value.

fromJson

public static SlotDifferenceInner fromJson(JsonReader jsonReader)

Reads an instance of SlotDifferenceInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SlotDifferenceInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the SlotDifferenceInner.

id

public String id()

Get the id property: Resource Id.

Overrides:

SlotDifferenceInner.id()

Returns:

the id value.

level

public String level()

Get the level property: Level of the difference: Information, Warning or Error.

Returns:

the level value.

name

public String name()

Get the name property: Resource Name.

Overrides:

SlotDifferenceInner.name()

Returns:

the name value.

settingName

public String settingName()

Get the settingName property: Name of the setting.

Returns:

the settingName value.

settingType

public String settingType()

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

Returns:

the settingType value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SlotDifferenceInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: Resource type.

Overrides:

SlotDifferenceInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Overrides:

SlotDifferenceInner.validate()

valueInCurrentSlot

public String valueInCurrentSlot()

Get the valueInCurrentSlot property: Value of the setting in the current slot.

Returns:

the valueInCurrentSlot value.

valueInTargetSlot

public String valueInTargetSlot()

Get the valueInTargetSlot property: Value of the setting in the target slot.

Returns:

the valueInTargetSlot value.

Applies to