Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::AvailableServiceSku

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#capacityAvailableServiceSkuCapacity

capacities of the SKU

Returns:



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_typeString

Returns The resource type, including the provider namespace.

Returns:

  • (String)

    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

#skuAvailableServiceSkuSku

Returns SKU name, tier, etc.

Returns:



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

.mapperObject

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