Class SqlTempDbSettings
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.SqlTempDbSettings
Set tempDb storage settings for SQL Server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the dataFileCount property: SQL Server tempdb data file count.Get the dataFileSize property: SQL Server tempdb data file size.Get the dataGrowth property: SQL Server tempdb data file autoGrowth size.Get the defaultFilePath property: SQL Server default file path.Get the logFileSize property: SQL Server tempdb log file size.Get the logGrowth property: SQL Server tempdb log file autoGrowth size.luns()
Get the luns property: Logical Unit Numbers for the disks.Get the persistFolder property: SQL Server tempdb persist folder choice.Get the persistFolderPath property: SQL Server tempdb persist folder location.void
validate()
Validates the instance.withDataFileCount
(Integer dataFileCount) Set the dataFileCount property: SQL Server tempdb data file count.withDataFileSize
(Integer dataFileSize) Set the dataFileSize property: SQL Server tempdb data file size.withDataGrowth
(Integer dataGrowth) Set the dataGrowth property: SQL Server tempdb data file autoGrowth size.withDefaultFilePath
(String defaultFilePath) Set the defaultFilePath property: SQL Server default file path.withLogFileSize
(Integer logFileSize) Set the logFileSize property: SQL Server tempdb log file size.withLogGrowth
(Integer logGrowth) Set the logGrowth property: SQL Server tempdb log file autoGrowth size.Set the luns property: Logical Unit Numbers for the disks.withPersistFolder
(Boolean persistFolder) Set the persistFolder property: SQL Server tempdb persist folder choice.withPersistFolderPath
(String persistFolderPath) Set the persistFolderPath property: SQL Server tempdb persist folder location.
-
Constructor Details
-
SqlTempDbSettings
public SqlTempDbSettings()
-
-
Method Details
-
dataFileSize
Get the dataFileSize property: SQL Server tempdb data file size.- Returns:
- the dataFileSize value.
-
withDataFileSize
Set the dataFileSize property: SQL Server tempdb data file size.- Parameters:
dataFileSize
- the dataFileSize value to set.- Returns:
- the SqlTempDbSettings object itself.
-
dataGrowth
Get the dataGrowth property: SQL Server tempdb data file autoGrowth size.- Returns:
- the dataGrowth value.
-
withDataGrowth
Set the dataGrowth property: SQL Server tempdb data file autoGrowth size.- Parameters:
dataGrowth
- the dataGrowth value to set.- Returns:
- the SqlTempDbSettings object itself.
-
logFileSize
Get the logFileSize property: SQL Server tempdb log file size.- Returns:
- the logFileSize value.
-
withLogFileSize
Set the logFileSize property: SQL Server tempdb log file size.- Parameters:
logFileSize
- the logFileSize value to set.- Returns:
- the SqlTempDbSettings object itself.
-
logGrowth
Get the logGrowth property: SQL Server tempdb log file autoGrowth size.- Returns:
- the logGrowth value.
-
withLogGrowth
Set the logGrowth property: SQL Server tempdb log file autoGrowth size.- Parameters:
logGrowth
- the logGrowth value to set.- Returns:
- the SqlTempDbSettings object itself.
-
dataFileCount
Get the dataFileCount property: SQL Server tempdb data file count.- Returns:
- the dataFileCount value.
-
withDataFileCount
Set the dataFileCount property: SQL Server tempdb data file count.- Parameters:
dataFileCount
- the dataFileCount value to set.- Returns:
- the SqlTempDbSettings object itself.
-
persistFolder
Get the persistFolder property: SQL Server tempdb persist folder choice.- Returns:
- the persistFolder value.
-
withPersistFolder
Set the persistFolder property: SQL Server tempdb persist folder choice.- Parameters:
persistFolder
- the persistFolder value to set.- Returns:
- the SqlTempDbSettings object itself.
-
persistFolderPath
Get the persistFolderPath property: SQL Server tempdb persist folder location.- Returns:
- the persistFolderPath value.
-
withPersistFolderPath
Set the persistFolderPath property: SQL Server tempdb persist folder location.- Parameters:
persistFolderPath
- the persistFolderPath value to set.- Returns:
- the SqlTempDbSettings object itself.
-
luns
Get the luns property: Logical Unit Numbers for the disks.- Returns:
- the luns value.
-
withLuns
Set the luns property: Logical Unit Numbers for the disks.- Parameters:
luns
- the luns value to set.- Returns:
- the SqlTempDbSettings object itself.
-
defaultFilePath
Get the defaultFilePath property: SQL Server default file path.- Returns:
- the defaultFilePath value.
-
withDefaultFilePath
Set the defaultFilePath property: SQL Server default file path.- Parameters:
defaultFilePath
- the defaultFilePath value to set.- Returns:
- the SqlTempDbSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-