Class SlotConfigNames
java.lang.Object
com.azure.resourcemanager.appservice.fluent.models.SlotConfigNames
- All Implemented Interfaces:
com.azure.json.JsonSerializable<SlotConfigNames>
public final class SlotConfigNames
extends Object
implements com.azure.json.JsonSerializable<SlotConfigNames>
Names for connection strings, application settings, and external Azure storage account configuration
identifiers to be marked as sticky to the deployment slot and not moved during a swap operation.
This is valid for all deployment slots in an app.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the appSettingNames property: List of application settings names.Get the azureStorageConfigNames property: List of external Azure storage account identifiers.Get the connectionStringNames property: List of connection string names.static SlotConfigNames
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of SlotConfigNames from the JsonReader.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) void
validate()
Validates the instance.withAppSettingNames
(List<String> appSettingNames) Set the appSettingNames property: List of application settings names.withAzureStorageConfigNames
(List<String> azureStorageConfigNames) Set the azureStorageConfigNames property: List of external Azure storage account identifiers.withConnectionStringNames
(List<String> connectionStringNames) Set the connectionStringNames property: List of connection string names.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
SlotConfigNames
public SlotConfigNames()Creates an instance of SlotConfigNames class.
-
-
Method Details
-
connectionStringNames
Get the connectionStringNames property: List of connection string names.- Returns:
- the connectionStringNames value.
-
withConnectionStringNames
Set the connectionStringNames property: List of connection string names.- Parameters:
connectionStringNames
- the connectionStringNames value to set.- Returns:
- the SlotConfigNames object itself.
-
appSettingNames
Get the appSettingNames property: List of application settings names.- Returns:
- the appSettingNames value.
-
withAppSettingNames
Set the appSettingNames property: List of application settings names.- Parameters:
appSettingNames
- the appSettingNames value to set.- Returns:
- the SlotConfigNames object itself.
-
azureStorageConfigNames
Get the azureStorageConfigNames property: List of external Azure storage account identifiers.- Returns:
- the azureStorageConfigNames value.
-
withAzureStorageConfigNames
Set the azureStorageConfigNames property: List of external Azure storage account identifiers.- Parameters:
azureStorageConfigNames
- the azureStorageConfigNames value to set.- Returns:
- the SlotConfigNames object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<SlotConfigNames>
- Throws:
IOException
-
fromJson
Reads an instance of SlotConfigNames from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of SlotConfigNames 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 SlotConfigNames.
-