Class: Azure::Kusto::Mgmt::V2019_09_07::Models::DatabaseStatistics

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

Overview

A class that contains database statistics information.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#sizeFloat

and index in bytes.

Returns:

  • (Float)

    The database size - the total size of compressed data



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

def size
  @size
end

Class Method Details

.mapperObject

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



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/2019-09-07/generated/azure_mgmt_kusto/models/database_statistics.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'DatabaseStatistics',
    type: {
      name: 'Composite',
      class_name: 'DatabaseStatistics',
      model_properties: {
        size: {
          client_side_validation: true,
          required: false,
          serialized_name: 'size',
          type: {
            name: 'Double'
          }
        }
      }
    }
  }
end