Class StorageConfigurationSettings
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.StorageConfigurationSettings
Storage Configurations for SQL Data, Log and TempDb.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the diskConfigurationType property: Disk configuration to apply to SQL Server.Get the sqlDataSettings property: SQL Server Data Storage Settings.Get the sqlLogSettings property: SQL Server Log Storage Settings.Get the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.Get the sqlTempDbSettings property: SQL Server TempDb Storage Settings.Get the storageWorkloadType property: Storage workload type.void
validate()
Validates the instance.withDiskConfigurationType
(DiskConfigurationType diskConfigurationType) Set the diskConfigurationType property: Disk configuration to apply to SQL Server.withSqlDataSettings
(SqlStorageSettings sqlDataSettings) Set the sqlDataSettings property: SQL Server Data Storage Settings.withSqlLogSettings
(SqlStorageSettings sqlLogSettings) Set the sqlLogSettings property: SQL Server Log Storage Settings.withSqlSystemDbOnDataDisk
(Boolean sqlSystemDbOnDataDisk) Set the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.withSqlTempDbSettings
(SqlTempDbSettings sqlTempDbSettings) Set the sqlTempDbSettings property: SQL Server TempDb Storage Settings.withStorageWorkloadType
(StorageWorkloadType storageWorkloadType) Set the storageWorkloadType property: Storage workload type.
-
Constructor Details
-
StorageConfigurationSettings
public StorageConfigurationSettings()
-
-
Method Details
-
sqlDataSettings
Get the sqlDataSettings property: SQL Server Data Storage Settings.- Returns:
- the sqlDataSettings value.
-
withSqlDataSettings
Set the sqlDataSettings property: SQL Server Data Storage Settings.- Parameters:
sqlDataSettings
- the sqlDataSettings value to set.- Returns:
- the StorageConfigurationSettings object itself.
-
sqlLogSettings
Get the sqlLogSettings property: SQL Server Log Storage Settings.- Returns:
- the sqlLogSettings value.
-
withSqlLogSettings
Set the sqlLogSettings property: SQL Server Log Storage Settings.- Parameters:
sqlLogSettings
- the sqlLogSettings value to set.- Returns:
- the StorageConfigurationSettings object itself.
-
sqlTempDbSettings
Get the sqlTempDbSettings property: SQL Server TempDb Storage Settings.- Returns:
- the sqlTempDbSettings value.
-
withSqlTempDbSettings
Set the sqlTempDbSettings property: SQL Server TempDb Storage Settings.- Parameters:
sqlTempDbSettings
- the sqlTempDbSettings value to set.- Returns:
- the StorageConfigurationSettings object itself.
-
sqlSystemDbOnDataDisk
Get the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.- Returns:
- the sqlSystemDbOnDataDisk value.
-
withSqlSystemDbOnDataDisk
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
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
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.
-