Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ServiceSku
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ServiceSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb
Overview
An Azure SKU instance
Instance Attribute Summary collapse
-
#capacity ⇒ Integer
The capacity of the SKU, if it supports scaling.
-
#family ⇒ String
performance classes within a tier, such as ‘A’, ‘D’, etc.
-
#name ⇒ String
The unique name of the SKU, such as ‘P3’.
-
#size ⇒ String
denote a service size or when a SKU has multiple performance classes within a family, e.g.
-
#tier ⇒ String
‘Standard’, or ‘Premium’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceSku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ Integer
Returns The capacity of the SKU, if it supports scaling.
33 34 35 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 33 def capacity @capacity end |
#family ⇒ String
performance classes within a tier, such as ‘A’, ‘D’, etc. for virtual machines
25 26 27 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 25 def family @family end |
#name ⇒ String
Returns The unique name of the SKU, such as ‘P3’.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 16 def name @name end |
#size ⇒ String
denote a service size or when a SKU has multiple performance classes within a family, e.g. ‘A1’ for virtual machines
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 30 def size @size end |
#tier ⇒ String
‘Standard’, or ‘Premium’
20 21 22 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 20 def tier @tier end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceSku class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/service_sku.rb', line 40 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ServiceSku', type: { name: 'Composite', class_name: 'ServiceSku', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, tier: { client_side_validation: true, required: false, serialized_name: 'tier', type: { name: 'String' } }, family: { client_side_validation: true, required: false, serialized_name: 'family', type: { name: 'String' } }, size: { client_side_validation: true, required: false, serialized_name: 'size', type: { name: 'String' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Number' } } } } } end |