Class SqlStorageUpdateSettings
- java.lang.Object
-
- com.azure.resourcemanager.sqlvirtualmachine.models.SqlStorageUpdateSettings
-
public final class SqlStorageUpdateSettings extends Object
Set disk storage settings for SQL Server.
-
-
Constructor Summary
Constructors Constructor Description SqlStorageUpdateSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskConfigurationType
diskConfigurationType()
Get the diskConfigurationType property: Disk configuration to apply to SQL Server.Integer
diskCount()
Get the diskCount property: Virtual machine disk count.Integer
startingDeviceId()
Get the startingDeviceId property: Device id of the first disk to be updated.void
validate()
Validates the instance.SqlStorageUpdateSettings
withDiskConfigurationType(DiskConfigurationType diskConfigurationType)
Set the diskConfigurationType property: Disk configuration to apply to SQL Server.SqlStorageUpdateSettings
withDiskCount(Integer diskCount)
Set the diskCount property: Virtual machine disk count.SqlStorageUpdateSettings
withStartingDeviceId(Integer startingDeviceId)
Set the startingDeviceId property: Device id of the first disk to be updated.
-
-
-
Method Detail
-
diskCount
public Integer diskCount()
Get the diskCount property: Virtual machine disk count.- Returns:
- the diskCount value.
-
withDiskCount
public SqlStorageUpdateSettings withDiskCount(Integer diskCount)
Set the diskCount property: Virtual machine disk count.- Parameters:
diskCount
- the diskCount value to set.- Returns:
- the SqlStorageUpdateSettings object itself.
-
startingDeviceId
public Integer startingDeviceId()
Get the startingDeviceId property: Device id of the first disk to be updated.- Returns:
- the startingDeviceId value.
-
withStartingDeviceId
public SqlStorageUpdateSettings withStartingDeviceId(Integer startingDeviceId)
Set the startingDeviceId property: Device id of the first disk to be updated.- Parameters:
startingDeviceId
- the startingDeviceId value to set.- Returns:
- the SqlStorageUpdateSettings object itself.
-
diskConfigurationType
public DiskConfigurationType diskConfigurationType()
Get the diskConfigurationType property: Disk configuration to apply to SQL Server.- Returns:
- the diskConfigurationType value.
-
withDiskConfigurationType
public SqlStorageUpdateSettings withDiskConfigurationType(DiskConfigurationType diskConfigurationType)
Set the diskConfigurationType property: Disk configuration to apply to SQL Server.- Parameters:
diskConfigurationType
- the diskConfigurationType value to set.- Returns:
- the SqlStorageUpdateSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-