StorageConfigurationSettings Class

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

public final class StorageConfigurationSettings

Storage Configurations for SQL Data, Log and TempDb.

Constructor Summary

Constructor Description
StorageConfigurationSettings()

Creates an instance of StorageConfigurationSettings class.

Method Summary

Modifier and Type Method and Description
DiskConfigurationType diskConfigurationType()

Get the diskConfigurationType property: Disk configuration to apply to SQL Server.

SqlStorageSettings sqlDataSettings()

Get the sqlDataSettings property: SQL Server Data Storage Settings.

SqlStorageSettings sqlLogSettings()

Get the sqlLogSettings property: SQL Server Log Storage Settings.

Boolean sqlSystemDbOnDataDisk()

Get the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.

SqlTempDbSettings sqlTempDbSettings()

Get the sqlTempDbSettings property: SQL Server TempDb Storage Settings.

StorageWorkloadType storageWorkloadType()

Get the storageWorkloadType property: Storage workload type.

void validate()

Validates the instance.

StorageConfigurationSettings withDiskConfigurationType(DiskConfigurationType diskConfigurationType)

Set the diskConfigurationType property: Disk configuration to apply to SQL Server.

StorageConfigurationSettings withSqlDataSettings(SqlStorageSettings sqlDataSettings)

Set the sqlDataSettings property: SQL Server Data Storage Settings.

StorageConfigurationSettings withSqlLogSettings(SqlStorageSettings sqlLogSettings)

Set the sqlLogSettings property: SQL Server Log Storage Settings.

StorageConfigurationSettings withSqlSystemDbOnDataDisk(Boolean sqlSystemDbOnDataDisk)

Set the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.

StorageConfigurationSettings withSqlTempDbSettings(SqlTempDbSettings sqlTempDbSettings)

Set the sqlTempDbSettings property: SQL Server TempDb Storage Settings.

StorageConfigurationSettings withStorageWorkloadType(StorageWorkloadType storageWorkloadType)

Set the storageWorkloadType property: Storage workload type.

Methods inherited from java.lang.Object

Constructor Details

StorageConfigurationSettings

public StorageConfigurationSettings()

Creates an instance of StorageConfigurationSettings class.

Method Details

diskConfigurationType

public DiskConfigurationType diskConfigurationType()

Get the diskConfigurationType property: Disk configuration to apply to SQL Server.

Returns:

the diskConfigurationType value.

sqlDataSettings

public SqlStorageSettings sqlDataSettings()

Get the sqlDataSettings property: SQL Server Data Storage Settings.

Returns:

the sqlDataSettings value.

sqlLogSettings

public SqlStorageSettings sqlLogSettings()

Get the sqlLogSettings property: SQL Server Log Storage Settings.

Returns:

the sqlLogSettings value.

sqlSystemDbOnDataDisk

public Boolean sqlSystemDbOnDataDisk()

Get the sqlSystemDbOnDataDisk property: SQL Server SystemDb Storage on DataPool if true.

Returns:

the sqlSystemDbOnDataDisk value.

sqlTempDbSettings

public SqlTempDbSettings sqlTempDbSettings()

Get the sqlTempDbSettings property: SQL Server TempDb Storage Settings.

Returns:

the sqlTempDbSettings value.

storageWorkloadType

public StorageWorkloadType storageWorkloadType()

Get the storageWorkloadType property: Storage workload type.

Returns:

the storageWorkloadType value.

validate

public void validate()

Validates the instance.

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.

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.

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.

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.

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.

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.

Applies to