Class: Azure::Logic::Mgmt::V2015_02_01_preview::Models::Sku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#nameSkuName

‘NotSpecified’, ‘Free’, ‘Shared’, ‘Basic’, ‘Standard’, ‘Premium’

Returns:

  • (SkuName)

    Gets or sets the name. Possible values include:



18
19
20
# File 'lib/2015-02-01-preview/generated/azure_mgmt_logic/models/sku.rb', line 18

def name
  @name
end

#planResourceReference

Returns Gets or sets the reference to plan.

Returns:



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

.mapperObject

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