Class: Azure::SQL::Mgmt::V2017_10_01_preview::Models::ElasticPoolPerDatabaseMaxPerformanceLevelCapability

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb

Overview

The max per-database performance level capability.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#limitFloat

Returns The maximum performance level per database.

Returns:

  • (Float)

    The maximum performance level per database.



16
17
18
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb', line 16

def limit
  @limit
end

#reasonString

Returns The reason for the capability not being available.

Returns:

  • (String)

    The reason for the capability not being available.



31
32
33
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb', line 31

def reason
  @reason
end

#statusCapabilityStatus

values include: ‘Visible’, ‘Available’, ‘Default’, ‘Disabled’

Returns:



28
29
30
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb', line 28

def status
  @status
end

#supported_per_database_min_performance_levelsArray<ElasticPoolPerDatabaseMinPerformanceLevelCapability>

The list of supported min database performance levels.



24
25
26
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb', line 24

def supported_per_database_min_performance_levels
  @supported_per_database_min_performance_levels
end

#unitPerformanceLevelUnit

level. Possible values include: ‘DTU’, ‘VCores’

Returns:



20
21
22
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/elastic_pool_per_database_max_performance_level_capability.rb', line 20

def unit
  @unit
end

Class Method Details

.mapperObject

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



39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# 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