Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.appservice.implementation;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.microsoft.rest.serializer.JsonFlatten;
import com.microsoft.azure.management.appservice.ProxyOnlyResource;
A setting difference between two deployment slots of an app.
/**
* A setting difference between two deployment slots of an app.
*/
@JsonFlatten
public class SlotDifferenceInner extends ProxyOnlyResource {
Level of the difference: Information, Warning or Error.
/**
* Level of the difference: Information, Warning or Error.
*/
@JsonProperty(value = "properties.level", access = JsonProperty.Access.WRITE_ONLY)
private String level;
The type of the setting: General, AppSetting or ConnectionString.
/**
* The type of the setting: General, AppSetting or ConnectionString.
*/
@JsonProperty(value = "properties.settingType", access = JsonProperty.Access.WRITE_ONLY)
private String settingType;
Rule that describes how to process the setting difference during a slot
swap.
/**
* Rule that describes how to process the setting difference during a slot
* swap.
*/
@JsonProperty(value = "properties.diffRule", access = JsonProperty.Access.WRITE_ONLY)
private String diffRule;
Name of the setting.
/**
* Name of the setting.
*/
@JsonProperty(value = "properties.settingName", access = JsonProperty.Access.WRITE_ONLY)
private String settingName;
Value of the setting in the current slot.
/**
* Value of the setting in the current slot.
*/
@JsonProperty(value = "properties.valueInCurrentSlot", access = JsonProperty.Access.WRITE_ONLY)
private String valueInCurrentSlot;
Value of the setting in the target slot.
/**
* Value of the setting in the target slot.
*/
@JsonProperty(value = "properties.valueInTargetSlot", access = JsonProperty.Access.WRITE_ONLY)
private String valueInTargetSlot;
Description of the setting difference.
/**
* Description of the setting difference.
*/
@JsonProperty(value = "properties.description", access = JsonProperty.Access.WRITE_ONLY)
private String description;
Get level of the difference: Information, Warning or Error.
Returns: the level value
/**
* Get level of the difference: Information, Warning or Error.
*
* @return the level value
*/
public String level() {
return this.level;
}
Get the type of the setting: General, AppSetting or ConnectionString.
Returns: the settingType value
/**
* Get the type of the setting: General, AppSetting or ConnectionString.
*
* @return the settingType value
*/
public String settingType() {
return this.settingType;
}
Get rule that describes how to process the setting difference during a slot swap.
Returns: the diffRule value
/**
* Get rule that describes how to process the setting difference during a slot swap.
*
* @return the diffRule value
*/
public String diffRule() {
return this.diffRule;
}
Get name of the setting.
Returns: the settingName value
/**
* Get name of the setting.
*
* @return the settingName value
*/
public String settingName() {
return this.settingName;
}
Get value of the setting in the current slot.
Returns: the valueInCurrentSlot value
/**
* Get value of the setting in the current slot.
*
* @return the valueInCurrentSlot value
*/
public String valueInCurrentSlot() {
return this.valueInCurrentSlot;
}
Get value of the setting in the target slot.
Returns: the valueInTargetSlot value
/**
* Get value of the setting in the target slot.
*
* @return the valueInTargetSlot value
*/
public String valueInTargetSlot() {
return this.valueInTargetSlot;
}
Get description of the setting difference.
Returns: the description value
/**
* Get description of the setting difference.
*
* @return the description value
*/
public String description() {
return this.description;
}
}