Class: Azure::Logic::Mgmt::V2015_02_01_preview::Models::Sku
- Inherits:
-
Object
- Object
- Azure::Logic::Mgmt::V2015_02_01_preview::Models::Sku
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb
Overview
Model object.
Instance Attribute Summary collapse
-
#name ⇒ SkuName
‘NotSpecified’, ‘Free’, ‘Shared’, ‘Basic’, ‘Standard’, ‘Premium’.
-
#plan ⇒ ResourceReference
Gets or sets the reference to plan.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash.
Instance Attribute Details
#name ⇒ SkuName
‘NotSpecified’, ‘Free’, ‘Shared’, ‘Basic’, ‘Standard’, ‘Premium’
18 19 20 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb', line 18 def name @name end |
#plan ⇒ ResourceReference
Returns Gets or sets the reference to plan.
21 22 23 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb', line 21 def plan @plan end |
Class Method Details
.mapper ⇒ Object
Mapper for Sku class as Ruby Hash. This will be used for serialization/deserialization.
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 58 |
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb', line 28 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Sku', type: { name: 'Composite', class_name: 'Sku', model_properties: { name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'Enum', module: 'SkuName' } }, plan: { client_side_validation: true, required: false, serialized_name: 'plan', type: { name: 'Composite', class_name: 'ResourceReference' } } } } } end |