Class: Azure::Kusto::Mgmt::V2019_01_21::Models::AzureResourceSku

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb

Overview

Azure resource SKU definition.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#capacityAzureCapacity

Returns The number of instances of the cluster.

Returns:



22
23
24
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb', line 22

def capacity
  @capacity
end

#resource_typeString

Returns Resource Namespace and Type.

Returns:

  • (String)

    Resource Namespace and Type.



16
17
18
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb', line 16

def resource_type
  @resource_type
end

#skuAzureSku

Returns The SKU details.

Returns:



19
20
21
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb', line 19

def sku
  @sku
end

Class Method Details

.mapperObject

Mapper for AzureResourceSku class as Ruby Hash. This will be used for serialization/deserialization.



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
59
60
61
62
63
64
65
66
67
# File 'lib/2019-01-21/generated/azure_mgmt_kusto/models/azure_resource_sku.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureResourceSku',
    type: {
      name: 'Composite',
      class_name: 'AzureResourceSku',
      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: 'AzureSku'
          }
        },
        capacity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'capacity',
          type: {
            name: 'Composite',
            class_name: 'AzureCapacity'
          }
        }
      }
    }
  }
end