class Azure::SQL::Mgmt::V2017_10_01_preview::Models::LogSizeCapability

The log size capability.

Attributes

limit[RW]

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

unit[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01-preview/generated/azure_mgmt_sql/models/log_size_capability.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'LogSizeCapability',
    type: {
      name: 'Composite',
      class_name: 'LogSizeCapability',
      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