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 Details

    • SlotConfigNames

      public SlotConfigNames()
      Creates an instance of SlotConfigNames class.
  • Method Details

    • connectionStringNames

      public List<String> connectionStringNames()
      Get the connectionStringNames property: List of connection string names.
      Returns:
      the connectionStringNames value.
    • withConnectionStringNames

      public SlotConfigNames withConnectionStringNames(List<String> connectionStringNames)
      Set the connectionStringNames property: List of connection string names.
      Parameters:
      connectionStringNames - the connectionStringNames value to set.
      Returns:
      the SlotConfigNames object itself.
    • appSettingNames

      public List<String> appSettingNames()
      Get the appSettingNames property: List of application settings names.
      Returns:
      the appSettingNames value.
    • withAppSettingNames

      public SlotConfigNames withAppSettingNames(List<String> appSettingNames)
      Set the appSettingNames property: List of application settings names.
      Parameters:
      appSettingNames - the appSettingNames value to set.
      Returns:
      the SlotConfigNames object itself.
    • azureStorageConfigNames

      public List<String> azureStorageConfigNames()
      Get the azureStorageConfigNames property: List of external Azure storage account identifiers.
      Returns:
      the azureStorageConfigNames value.
    • withAzureStorageConfigNames

      public SlotConfigNames withAzureStorageConfigNames(List<String> azureStorageConfigNames)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<SlotConfigNames>
      Throws:
      IOException
    • fromJson

      public static SlotConfigNames fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.