class Azure::Sqlvirtualmachine::Mgmt::V2017_03_01_preview::Models::SqlStorageUpdateSettings

Set disk storage settings for SQL Server.

Attributes

disk_configuration_type[RW]

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

disk_count[RW]

@return [Integer] Virtual machine disk count.

starting_device_id[RW]

@return [Integer] Device id of the first disk to be updated.

Private Class Methods

mapper() click to toggle source

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

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