class Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability

The max per-database performance level capability.

Attributes

limit[RW]

@return [Float] The maximum 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'

supported_per_database_min_performance_levels[RW]

@return [Array<ElasticPoolPerDatabaseMinPerformanceLevelCapability>] The list of supported min database performance levels.

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 ElasticPoolPerDatabaseMaxPerformanceLevelCapability 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_max_performance_level_capability.rb, line 39
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ElasticPoolPerDatabaseMaxPerformanceLevelCapability',
    type: {
      name: 'Composite',
      class_name: 'ElasticPoolPerDatabaseMaxPerformanceLevelCapability',
      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'
          }
        },
        supported_per_database_min_performance_levels: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'supportedPerDatabaseMinPerformanceLevels',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ElasticPoolPerDatabaseMinPerformanceLevelCapabilityElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ElasticPoolPerDatabaseMinPerformanceLevelCapability'
                }
            }
          }
        },
        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