class Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::StorageConfigurationSettings

Storage Configurations for SQL Data, Log and TempDb.

Attributes

disk_configuration_type[RW]

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

sql_data_settings[RW]

@return [SQLStorageSettings] SQL Server Data Storage Settings.

sql_log_settings[RW]

@return [SQLStorageSettings] SQL Server Log Storage Settings.

sql_temp_db_settings[RW]

@return [SQLStorageSettings] SQL Server TempDb Storage Settings.

storage_workload_type[RW]

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

Private Class Methods

mapper() click to toggle source

Mapper for StorageConfigurationSettings class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-03-01-preview/generated/azure_mgmt_sqlvirtualmachine/models/storage_configuration_settings.rb, line 37
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