Class: Azure::Kusto::Mgmt::V2019_09_07::Models::SkuDescription

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb

Overview

The Kusto SKU description of given resource type

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#location_infoArray<SkuLocationInfoItem>

Returns Locations and zones.

Returns:



28
29
30
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 28

def location_info
  @location_info
end

#locationsArray<String>

Returns The set of locations that the SKU is available.

Returns:

  • (Array<String>)

    The set of locations that the SKU is available



25
26
27
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 25

def locations
  @locations
end

#nameString

Returns The name of the SKU.

Returns:

  • (String)

    The name of the SKU



19
20
21
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 19

def name
  @name
end

#resource_typeString

Returns The resource type.

Returns:

  • (String)

    The resource type



16
17
18
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 16

def resource_type
  @resource_type
end

#restrictionsObject

Returns The restrictions because of which SKU cannot be used.

Returns:

  • The restrictions because of which SKU cannot be used



31
32
33
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 31

def restrictions
  @restrictions
end

#tierString

Returns The tier of the SKU.

Returns:

  • (String)

    The tier of the SKU



22
23
24
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 22

def tier
  @tier
end

Class Method Details

.mapperObject

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



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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/sku_description.rb', line 38

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SkuDescription',
    type: {
      name: 'Composite',
      class_name: 'SkuDescription',
      model_properties: {
        resource_type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'resourceType',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        tier: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'tier',
          type: {
            name: 'String'
          }
        },
        locations: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'locations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        location_info: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'locationInfo',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'SkuLocationInfoItemElementType',
                type: {
                  name: 'Composite',
                  class_name: 'SkuLocationInfoItem'
                }
            }
          }
        },
        restrictions: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'restrictions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ObjectElementType',
                type: {
                  name: 'Object'
                }
            }
          }
        }
      }
    }
  }
end