# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview
  module Models
    #
    # Set disk storage settings for SQL Server.
    #
    class SqlStorageUpdateSettings

      include MsRestAzure

      # @return [Integer] Virtual machine disk count.
      attr_accessor :disk_count

      # @return [Integer] Device id of the first disk to be updated.
      attr_accessor :starting_device_id

      # @return [DiskConfigurationType] Disk configuration to apply to SQL
      # Server. Possible values include: 'NEW', 'EXTEND', 'ADD'
      attr_accessor :disk_configuration_type


      #
      # Mapper for SqlStorageUpdateSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'SqlStorageUpdateSettings',
          type: {
            name: 'Composite',
            class_name: 'SqlStorageUpdateSettings',
            model_properties: {
              disk_count: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskCount',
                type: {
                  name: 'Number'
                }
              },
              starting_device_id: {
                client_side_validation: true,
                required: false,
                serialized_name: 'startingDeviceId',
                type: {
                  name: 'Number'
                }
              },
              disk_configuration_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskConfigurationType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
