SlotDifferenceInner Class

public final class SlotDifferenceInner
extends ProxyOnlyResource

A setting difference between two deployment slots of an app.

Constructor Summary

Constructor Description
SlotDifferenceInner()

Creates an instance of SlotDifferenceInner class.

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: Fully qualified resource Id for the resource.

String level()

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

String name()

Get the name property: The name of the resource.

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: The type of the resource.

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.

SlotDifferenceInner withKind(String kind)

Set the kind property: Kind of resource.

Methods inherited from ProxyOnlyResource

Methods inherited from java.lang.Object

Constructor Details

SlotDifferenceInner

public SlotDifferenceInner()

Creates an instance of SlotDifferenceInner class.

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 the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

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: The name of the resource.

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: The type of the resource.

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.

withKind

public SlotDifferenceInner withKind(String kind)

Set the kind property: Kind of resource.

Overrides:

SlotDifferenceInner.withKind(String kind)

Parameters:

kind

Applies to