Class: Azure::Hdinsight::Mgmt::V2018_06_01_preview::Models::QuotaInfo

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb

Overview

The quota properties for the cluster.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#cores_usedInteger

Returns The cores used by the cluster.

Returns:

  • (Integer)

    The cores used by the cluster.



16
17
18
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb', line 16

def cores_used
  @cores_used
end

Class Method Details

.mapperObject

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



23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/2018-06-01-preview/generated/azure_mgmt_hdinsight/models/quota_info.rb', line 23

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'QuotaInfo',
    type: {
      name: 'Composite',
      class_name: 'QuotaInfo',
      model_properties: {
        cores_used: {
          client_side_validation: true,
          required: false,
          serialized_name: 'coresUsed',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end