Class: Azure::IotHub::Mgmt::V2018_12_01_preview::Models::RegistryStatistics

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb

Overview

Identity registry statistics.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#disabled_device_countInteger

registry.

Returns:

  • (Integer)

    The count of disabled devices in the identity



24
25
26
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 24

def disabled_device_count
  @disabled_device_count
end

#enabled_device_countInteger

registry.

Returns:

  • (Integer)

    The count of enabled devices in the identity



20
21
22
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 20

def enabled_device_count
  @enabled_device_count
end

#total_device_countInteger

Returns The total count of devices in the identity registry.

Returns:

  • (Integer)

    The total count of devices in the identity registry.



16
17
18
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 16

def total_device_count
  @total_device_count
end

Class Method Details

.mapperObject

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



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
69
70
# File 'lib/2018-12-01-preview/generated/azure_mgmt_iot_hub/models/registry_statistics.rb', line 31

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RegistryStatistics',
    type: {
      name: 'Composite',
      class_name: 'RegistryStatistics',
      model_properties: {
        total_device_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'totalDeviceCount',
          type: {
            name: 'Number'
          }
        },
        enabled_device_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'enabledDeviceCount',
          type: {
            name: 'Number'
          }
        },
        disabled_device_count: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'disabledDeviceCount',
          type: {
            name: 'Number'
          }
        }
      }
    }
  }
end