Class SqlStorageUpdateSettings
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.SqlStorageUpdateSettings
Set disk storage settings for SQL Server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the diskConfigurationType property: Disk configuration to apply to SQL Server.Get the diskCount property: Virtual machine disk count.Get the startingDeviceId property: Device id of the first disk to be updated.void
validate()
Validates the instance.withDiskConfigurationType
(DiskConfigurationType diskConfigurationType) Set the diskConfigurationType property: Disk configuration to apply to SQL Server.withDiskCount
(Integer diskCount) Set the diskCount property: Virtual machine disk count.withStartingDeviceId
(Integer startingDeviceId) Set the startingDeviceId property: Device id of the first disk to be updated.
-
Constructor Details
-
SqlStorageUpdateSettings
public SqlStorageUpdateSettings()
-
-
Method Details
-
diskCount
Get the diskCount property: Virtual machine disk count.- Returns:
- the diskCount value.
-
withDiskCount
Set the diskCount property: Virtual machine disk count.- Parameters:
diskCount
- the diskCount value to set.- Returns:
- the SqlStorageUpdateSettings object itself.
-
startingDeviceId
Get the startingDeviceId property: Device id of the first disk to be updated.- Returns:
- the startingDeviceId value.
-
withStartingDeviceId
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
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.
-