# 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
    #
    # Storage Configurations for SQL Data, Log and TempDb.
    #
    class StorageConfigurationSettings

      include MsRestAzure

      # @return [SQLStorageSettings] SQL Server Data Storage Settings.
      attr_accessor :sql_data_settings

      # @return [SQLStorageSettings] SQL Server Log Storage Settings.
      attr_accessor :sql_log_settings

      # @return [SQLStorageSettings] SQL Server TempDb Storage Settings.
      attr_accessor :sql_temp_db_settings

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

      # @return [StorageWorkloadType] Storage workload type. Possible values
      # include: 'GENERAL', 'OLTP', 'DW'
      attr_accessor :storage_workload_type


      #
      # Mapper for StorageConfigurationSettings class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'StorageConfigurationSettings',
          type: {
            name: 'Composite',
            class_name: 'StorageConfigurationSettings',
            model_properties: {
              sql_data_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlDataSettings',
                type: {
                  name: 'Composite',
                  class_name: 'SQLStorageSettings'
                }
              },
              sql_log_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlLogSettings',
                type: {
                  name: 'Composite',
                  class_name: 'SQLStorageSettings'
                }
              },
              sql_temp_db_settings: {
                client_side_validation: true,
                required: false,
                serialized_name: 'sqlTempDbSettings',
                type: {
                  name: 'Composite',
                  class_name: 'SQLStorageSettings'
                }
              },
              disk_configuration_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'diskConfigurationType',
                type: {
                  name: 'String'
                }
              },
              storage_workload_type: {
                client_side_validation: true,
                required: false,
                serialized_name: 'storageWorkloadType',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
