class Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMinPerformanceLevelCapability

The minimum per-database performance level capability.

Attributes

limit[RW]

@return [Float] The minimum performance level per database.

reason[RW]

@return [String] The reason for the capability not being available.

status[RW]

@return [CapabilityStatus] The status of the capability. Possible values include: 'Visible', 'Available', 'Default', 'Disabled'

unit[RW]

@return [PerformanceLevelUnit] Unit type used to measure performance level. Possible values include: 'DTU', 'VCores'

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_min_performance_level_capability.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ElasticPoolPerDatabaseMinPerformanceLevelCapability',
    type: {
      name: 'Composite',
      class_name: 'ElasticPoolPerDatabaseMinPerformanceLevelCapability',
      model_properties: {
        limit: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'limit',
          type: {
            name: 'Double'
          }
        },
        unit: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'unit',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'status',
          type: {
            name: 'Enum',
            module: 'CapabilityStatus'
          }
        },
        reason: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reason',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end