Class: Azure::ServiceFabric::V6_3_0_9::Models::ApplicationHealth

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

Overview

Represents the health of the application. Contains the application aggregated health state and the service and deployed application health states.

Instance Attribute Summary collapse

Attributes inherited from EntityHealth

#aggregated_health_state, #health_events, #health_statistics, #unhealthy_evaluations

Class Method Summary collapse

Instance Attribute Details

#deployed_application_health_statesArray<DeployedApplicationHealthState>

health states as found in the health store.

Returns:



27
28
29
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_health.rb', line 27

def deployed_application_health_states
  @deployed_application_health_states
end

#nameString

URI scheme.

Returns:

  • (String)

    The name of the application, including the ‘fabric:’



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

def name
  @name
end

#service_health_statesArray<ServiceHealthState>

the health store.

Returns:



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

def service_health_states
  @service_health_states
end

Class Method Details

.mapperObject

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



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
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
130
131
132
133
134
135
136
137
138
139
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/application_health.rb', line 34

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ApplicationHealth',
    type: {
      name: 'Composite',
      class_name: 'ApplicationHealth',
      model_properties: {
        aggregated_health_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'AggregatedHealthState',
          type: {
            name: 'String'
          }
        },
        health_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthEvents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEventElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvent'
                }
            }
          }
        },
        unhealthy_evaluations: {
          client_side_validation: true,
          required: false,
          serialized_name: 'UnhealthyEvaluations',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'HealthEvaluationWrapperElementType',
                type: {
                  name: 'Composite',
                  class_name: 'HealthEvaluationWrapper'
                }
            }
          }
        },
        health_statistics: {
          client_side_validation: true,
          required: false,
          serialized_name: 'HealthStatistics',
          type: {
            name: 'Composite',
            class_name: 'HealthStatistics'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'Name',
          type: {
            name: 'String'
          }
        },
        service_health_states: {
          client_side_validation: true,
          required: false,
          serialized_name: 'ServiceHealthStates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceHealthStateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceHealthState'
                }
            }
          }
        },
        deployed_application_health_states: {
          client_side_validation: true,
          required: false,
          serialized_name: 'DeployedApplicationHealthStates',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'DeployedApplicationHealthStateElementType',
                type: {
                  name: 'Composite',
                  class_name: 'DeployedApplicationHealthState'
                }
            }
          }
        }
      }
    }
  }
end