Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::Event

Inherits:
Resource
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb

Overview

Service health event

Instance Attribute Summary collapse

Attributes inherited from Resource

#id, #name, #type

Class Method Summary collapse

Methods inherited from Resource

#resource_group

Instance Attribute Details

#articleEventPropertiesArticle



45
46
47
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 45

def article
  @article
end

#enable_chat_with_usBoolean

Support for this event.



80
81
82
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 80

def enable_chat_with_us
  @enable_chat_with_us
end

#enable_microsoft_supportBoolean

Support for this event.



76
77
78
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 76

def enable_microsoft_support
  @enable_microsoft_support
end

#event_levelEventLevelValues

‘Critical’, ‘Warning’, ‘Informational’



42
43
44
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 42

def event_level
  @event_level
end

#event_sourceEventSourceValues

‘ResourceHealth’, ‘ServiceHealth’



21
22
23
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 21

def event_source
  @event_source
end

#event_typeEventTypeValues

‘ServiceIssue’, ‘PlannedMaintenance’, ‘HealthAdvisory’, ‘RCA’



17
18
19
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 17

def event_type
  @event_type
end

#faqsArray<Faq>

event.



68
69
70
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 68

def faqs
  @faqs
end

#headerString



34
35
36
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 34

def header
  @header
end

#hir_stageString



90
91
92
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 90

def hir_stage
  @hir_stage
end

#impactArray<Impact>

event.



60
61
62
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 60

def impact
  @impact
end

#impact_mitigation_timeDateTime

impacting event resolved.



56
57
58
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 56

def impact_mitigation_time
  @impact_mitigation_time
end

#impact_start_timeDateTime

impacting event started.



52
53
54
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 52

def impact_start_time
  @impact_start_time
end

#is_hirBoolean

rate event or not.



72
73
74
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 72

def is_hir
  @is_hir
end

#last_update_timeDateTime

impacting event was last updated.



87
88
89
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 87

def last_update_time
  @last_update_time
end

#levelLevelValues

‘Critical’, ‘Warning’



38
39
40
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 38

def level
  @level
end


48
49
50
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 48

def links
  @links
end

#priorityInteger



83
84
85
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 83

def priority
  @priority
end

event.



64
65
66
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 64

def recommended_actions
  @recommended_actions
end

#statusEventStatusValues

include: ‘Active’, ‘Resolved’



25
26
27
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 25

def status
  @status
end

#summaryString



31
32
33
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 31

def summary
  @summary
end

#titleString



28
29
30
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 28

def title
  @title
end

Class Method Details

.mapperObject

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



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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb', line 97

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'event',
    type: {
      name: 'Composite',
      class_name: 'Event',
      model_properties: {
        id: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'id',
          type: {
            name: 'String'
          }
        },
        name: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        },
        event_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.eventType',
          type: {
            name: 'String'
          }
        },
        event_source: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.eventSource',
          type: {
            name: 'String'
          }
        },
        status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.status',
          type: {
            name: 'String'
          }
        },
        title: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.title',
          type: {
            name: 'String'
          }
        },
        summary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.summary',
          type: {
            name: 'String'
          }
        },
        header: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.header',
          type: {
            name: 'String'
          }
        },
        level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.level',
          type: {
            name: 'String'
          }
        },
        event_level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.eventLevel',
          type: {
            name: 'String'
          }
        },
        article: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.article',
          type: {
            name: 'Composite',
            class_name: 'EventPropertiesArticle'
          }
        },
        links: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.links',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'LinkElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Link'
                }
            }
          }
        },
        impact_start_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.impactStartTime',
          type: {
            name: 'DateTime'
          }
        },
        impact_mitigation_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.impactMitigationTime',
          type: {
            name: 'DateTime'
          }
        },
        impact: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.impact',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ImpactElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Impact'
                }
            }
          }
        },
        recommended_actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.recommendedActions',
          type: {
            name: 'Composite',
            class_name: 'EventPropertiesRecommendedActions'
          }
        },
        faqs: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.faqs',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FaqElementType',
                type: {
                  name: 'Composite',
                  class_name: 'Faq'
                }
            }
          }
        },
        is_hir: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.isHIR',
          type: {
            name: 'Boolean'
          }
        },
        enable_microsoft_support: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableMicrosoftSupport',
          type: {
            name: 'Boolean'
          }
        },
        enable_chat_with_us: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.enableChatWithUs',
          type: {
            name: 'Boolean'
          }
        },
        priority: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.priority',
          type: {
            name: 'Number'
          }
        },
        last_update_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.lastUpdateTime',
          type: {
            name: 'DateTime'
          }
        },
        hir_stage: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.hirStage',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end