Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::AvailableServiceSku
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::AvailableServiceSku
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb
Overview
Describes the available service SKU.
Instance Attribute Summary collapse
-
#capacity ⇒ AvailableServiceSkuCapacity
capacities of the SKU.
-
#resource_type ⇒ String
The resource type, including the provider namespace.
-
#sku ⇒ AvailableServiceSkuSku
SKU name, tier, etc.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AvailableServiceSku class as Ruby Hash.
Instance Attribute Details
#capacity ⇒ AvailableServiceSkuCapacity
capacities of the SKU
23 24 25 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb', line 23 def capacity @capacity end |
#resource_type ⇒ String
Returns The resource type, including the provider namespace.
16 17 18 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb', line 16 def resource_type @resource_type end |
#sku ⇒ AvailableServiceSkuSku
Returns SKU name, tier, etc.
19 20 21 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb', line 19 def sku @sku end |
Class Method Details
.mapper ⇒ Object
Mapper for AvailableServiceSku class as Ruby Hash. This will be used for serialization/deserialization.
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 58 59 60 61 62 63 64 65 66 67 68 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/available_service_sku.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AvailableServiceSku', type: { name: 'Composite', class_name: 'AvailableServiceSku', model_properties: { resource_type: { client_side_validation: true, required: false, serialized_name: 'resourceType', type: { name: 'String' } }, sku: { client_side_validation: true, required: false, serialized_name: 'sku', type: { name: 'Composite', class_name: 'AvailableServiceSkuSku' } }, capacity: { client_side_validation: true, required: false, serialized_name: 'capacity', type: { name: 'Composite', class_name: 'AvailableServiceSkuCapacity' } } } } } end |