Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::AvailableServiceSkuCapacity
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::AvailableServiceSkuCapacity
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb
Overview
A description of the scaling capacities of the SKU
Instance Attribute Summary collapse
-
#default ⇒ Integer
The default capacity.
-
#maximum ⇒ Integer
The maximum capacity.
-
#minimum ⇒ Integer
The minimum capacity, usually 0 or 1.
-
#scale_type ⇒ ServiceScalability
include: ‘none’, ‘manual’, ‘automatic’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AvailableServiceSkuCapacity class as Ruby Hash.
Instance Attribute Details
#default ⇒ Integer
Returns The default capacity.
22 23 24 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb', line 22 def default @default end |
#maximum ⇒ Integer
Returns The maximum capacity.
19 20 21 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb', line 19 def maximum @maximum end |
#minimum ⇒ Integer
Returns The minimum capacity, usually 0 or 1.
16 17 18 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb', line 16 def minimum @minimum end |
#scale_type ⇒ ServiceScalability
include: ‘none’, ‘manual’, ‘automatic’
26 27 28 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb', line 26 def scale_type @scale_type end |
Class Method Details
.mapper ⇒ Object
Mapper for AvailableServiceSkuCapacity class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/available_service_sku_capacity.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AvailableServiceSku_capacity', type: { name: 'Composite', class_name: 'AvailableServiceSkuCapacity', model_properties: { minimum: { client_side_validation: true, required: false, serialized_name: 'minimum', type: { name: 'Number' } }, maximum: { client_side_validation: true, required: false, serialized_name: 'maximum', type: { name: 'Number' } }, default: { client_side_validation: true, required: false, serialized_name: 'default', type: { name: 'Number' } }, scale_type: { client_side_validation: true, required: false, serialized_name: 'scaleType', type: { name: 'String' } } } } } end |