class Azure::SQL::Mgmt::V2017_10_01_preview::Models::MaxSizeCapability

The maximum size capability.

Attributes

limit[RW]

@return [Integer] The maximum size limit (see 'unit' for the units).

unit[RW]

@return [MaxSizeUnit] The units that the limit is expressed in. Possible values include: 'Megabytes', 'Gigabytes', 'Terabytes', 'Petabytes'

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01-preview/generated/azure_mgmt_sql/models/max_size_capability.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MaxSizeCapability',
    type: {
      name: 'Composite',
      class_name: 'MaxSizeCapability',
      model_properties: {
        limit: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'limit',
          type: {
            name: 'Number'
          }
        },
        unit: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'unit',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end