Class: Azure::ServiceFabric::V6_3_0_9::Models::EntityKindHealthStateCount

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/6.3.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb

Overview

Represents health state count for entities of the specified entity kind.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#entity_kindEntityKind

evaluated. Possible values include: ‘Invalid’, ‘Node’, ‘Partition’, ‘Service’, ‘Application’, ‘Replica’, ‘DeployedApplication’, ‘DeployedServicePackage’, ‘Cluster’

Returns:

  • (EntityKind)

    The entity kind for which health states are



19
20
21
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb', line 19

def entity_kind
  @entity_kind
end

#health_state_countHealthStateCount

the specified kind.

Returns:



23
24
25
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb', line 23

def health_state_count
  @health_state_count
end

Class Method Details

.mapperObject

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



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
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/entity_kind_health_state_count.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EntityKindHealthStateCount',
    type: {
      name: 'Composite',
      class_name: 'EntityKindHealthStateCount',
      model_properties: {
        entity_kind: {
          client_side_validation: true,
          required: false,
          serialized_name: 'EntityKind',
          type: {
            name: 'String'
          }
        },
        health_state_count: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthStateCount',
          type: {
            name: 'Composite',
            class_name: 'HealthStateCount'
          }
        }
      }
    }
  }
end