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 Details

    • SqlStorageUpdateSettings

      public SqlStorageUpdateSettings()
  • Method Details

    • 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.