Class SqlStorageSettings
- java.lang.Object
-
- com.azure.resourcemanager.sqlvirtualmachine.models.SqlStorageSettings
-
public final class SqlStorageSettings extends Object
Set disk storage settings for SQL Server.
-
-
Constructor Summary
Constructors Constructor Description SqlStorageSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
defaultFilePath()
Get the defaultFilePath property: SQL Server default file path.List<Integer>
luns()
Get the luns property: Logical Unit Numbers for the disks.void
validate()
Validates the instance.SqlStorageSettings
withDefaultFilePath(String defaultFilePath)
Set the defaultFilePath property: SQL Server default file path.SqlStorageSettings
withLuns(List<Integer> luns)
Set the luns property: Logical Unit Numbers for the disks.
-
-
-
Method Detail
-
luns
public List<Integer> luns()
Get the luns property: Logical Unit Numbers for the disks.- Returns:
- the luns value.
-
withLuns
public SqlStorageSettings withLuns(List<Integer> luns)
Set the luns property: Logical Unit Numbers for the disks.- Parameters:
luns
- the luns value to set.- Returns:
- the SqlStorageSettings object itself.
-
defaultFilePath
public String defaultFilePath()
Get the defaultFilePath property: SQL Server default file path.- Returns:
- the defaultFilePath value.
-
withDefaultFilePath
public SqlStorageSettings withDefaultFilePath(String defaultFilePath)
Set the defaultFilePath property: SQL Server default file path.- Parameters:
defaultFilePath
- the defaultFilePath value to set.- Returns:
- the SqlStorageSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-