Class: Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability
- Inherits:
-
Object
- Object
- Azure::SQL::Mgmt::V2017_10_01_preview::Models::PerformanceLevelCapability
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb
Overview
The performance level capability.
Instance Attribute Summary collapse
-
#unit ⇒ PerformanceLevelUnit
level.
-
#value ⇒ Float
Performance level value.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for PerformanceLevelCapability class as Ruby Hash.
Instance Attribute Details
#unit ⇒ PerformanceLevelUnit
level. Possible values include: ‘DTU’, ‘VCores’
20 21 22 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb', line 20 def unit @unit end |
#value ⇒ Float
Returns Performance level value.
16 17 18 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb', line 16 def value @value end |
Class Method Details
.mapper ⇒ Object
Mapper for PerformanceLevelCapability class as Ruby Hash. This will be used for serialization/deserialization.
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
# File 'lib/2017-10-01-preview/generated/azure_mgmt_sql/models/performance_level_capability.rb', line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'PerformanceLevelCapability', type: { name: 'Composite', class_name: 'PerformanceLevelCapability', model_properties: { value: { client_side_validation: true, required: false, read_only: true, serialized_name: 'value', type: { name: 'Double' } }, unit: { client_side_validation: true, required: false, read_only: true, serialized_name: 'unit', type: { name: 'String' } } } } } end |