Class StorageConfigurationSettings

java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.StorageConfigurationSettings

public final class StorageConfigurationSettings extends Object
Storage Configurations for SQL Data, Log and TempDb.
  • Constructor Details

    • StorageConfigurationSettings

      public StorageConfigurationSettings()
  • Method Details

    • sqlDataSettings

      public SqlStorageSettings sqlDataSettings()
      Get the sqlDataSettings property: SQL Server Data Storage Settings.
      Returns:
      the sqlDataSettings value.
    • withSqlDataSettings

      public StorageConfigurationSettings withSqlDataSettings(SqlStorageSettings sqlDataSettings)
      Set the sqlDataSettings property: SQL Server Data Storage Settings.
      Parameters:
      sqlDataSettings - the sqlDataSettings value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • sqlLogSettings

      public SqlStorageSettings sqlLogSettings()
      Get the sqlLogSettings property: SQL Server Log Storage Settings.
      Returns:
      the sqlLogSettings value.
    • withSqlLogSettings

      public StorageConfigurationSettings withSqlLogSettings(SqlStorageSettings sqlLogSettings)
      Set the sqlLogSettings property: SQL Server Log Storage Settings.
      Parameters:
      sqlLogSettings - the sqlLogSettings value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • sqlTempDbSettings

      public SqlTempDbSettings sqlTempDbSettings()
      Get the sqlTempDbSettings property: SQL Server TempDb Storage Settings.
      Returns:
      the sqlTempDbSettings value.
    • withSqlTempDbSettings

      public StorageConfigurationSettings withSqlTempDbSettings(SqlTempDbSettings sqlTempDbSettings)
      Set the sqlTempDbSettings property: SQL Server TempDb Storage Settings.
      Parameters:
      sqlTempDbSettings - the sqlTempDbSettings value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • sqlSystemDbOnDataDisk

      public Boolean sqlSystemDbOnDataDisk()
      Get the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.
      Returns:
      the sqlSystemDbOnDataDisk value.
    • withSqlSystemDbOnDataDisk

      public StorageConfigurationSettings withSqlSystemDbOnDataDisk(Boolean sqlSystemDbOnDataDisk)
      Set the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.
      Parameters:
      sqlSystemDbOnDataDisk - the sqlSystemDbOnDataDisk value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • diskConfigurationType

      public DiskConfigurationType diskConfigurationType()
      Get the diskConfigurationType property: Disk configuration to apply to SQL Server.
      Returns:
      the diskConfigurationType value.
    • withDiskConfigurationType

      public StorageConfigurationSettings withDiskConfigurationType(DiskConfigurationType diskConfigurationType)
      Set the diskConfigurationType property: Disk configuration to apply to SQL Server.
      Parameters:
      diskConfigurationType - the diskConfigurationType value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • storageWorkloadType

      public StorageWorkloadType storageWorkloadType()
      Get the storageWorkloadType property: Storage workload type.
      Returns:
      the storageWorkloadType value.
    • withStorageWorkloadType

      public StorageConfigurationSettings withStorageWorkloadType(StorageWorkloadType storageWorkloadType)
      Set the storageWorkloadType property: Storage workload type.
      Parameters:
      storageWorkloadType - the storageWorkloadType value to set.
      Returns:
      the StorageConfigurationSettings object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.