azure_mgmt_resource_health 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/lib/2015-01-01/generated/azure_mgmt_resource_health.rb +45 -0
  4. data/lib/2015-01-01/generated/azure_mgmt_resource_health/availability_statuses.rb +856 -0
  5. data/lib/2015-01-01/generated/azure_mgmt_resource_health/child_availability_statuses.rb +384 -0
  6. data/lib/2015-01-01/generated/azure_mgmt_resource_health/child_resources.rb +271 -0
  7. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +17 -0
  8. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
  9. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
  10. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +212 -0
  11. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved_state.rb +73 -0
  12. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
  13. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
  14. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
  15. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
  16. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
  17. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
  18. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
  19. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
  20. data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
  21. data/lib/2015-01-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
  22. data/lib/2015-01-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
  23. data/lib/2015-01-01/generated/azure_mgmt_resource_health/resource_health_client.rb +145 -0
  24. data/lib/2017-07-01/generated/azure_mgmt_resource_health.rb +45 -0
  25. data/lib/2017-07-01/generated/azure_mgmt_resource_health/availability_statuses.rb +863 -0
  26. data/lib/2017-07-01/generated/azure_mgmt_resource_health/child_availability_statuses.rb +384 -0
  27. data/lib/2017-07-01/generated/azure_mgmt_resource_health/child_resources.rb +271 -0
  28. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +17 -0
  29. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
  30. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
  31. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +253 -0
  32. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved_state.rb +73 -0
  33. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
  34. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
  35. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
  36. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
  37. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
  38. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
  39. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
  40. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
  41. data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
  42. data/lib/2017-07-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
  43. data/lib/2017-07-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
  44. data/lib/2017-07-01/generated/azure_mgmt_resource_health/resource_health_client.rb +145 -0
  45. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health.rb +74 -0
  46. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/availability_statuses.rb +842 -0
  47. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/events_operations.rb +463 -0
  48. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/impacted_resources.rb +240 -0
  49. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/metadata.rb +318 -0
  50. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_state_values.rb +18 -0
  51. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
  52. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
  53. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +251 -0
  54. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved.rb +73 -0
  55. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/azure_entity_resource.rb +75 -0
  56. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
  57. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event.rb +336 -0
  58. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_level_values.rb +17 -0
  59. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_article.rb +46 -0
  60. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions.rb +79 -0
  61. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions_actions_item.rb +59 -0
  62. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_source_values.rb +16 -0
  63. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_status_values.rb +16 -0
  64. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_type_values.rb +18 -0
  65. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/events.rb +99 -0
  66. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/faq.rb +68 -0
  67. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impact.rb +67 -0
  68. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_resource_list_result.rb +100 -0
  69. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_resource_status.rb +123 -0
  70. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_service_region.rb +110 -0
  71. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/level_values.rb +16 -0
  72. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link.rb +95 -0
  73. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link_display_text.rb +57 -0
  74. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link_type_values.rb +16 -0
  75. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity.rb +134 -0
  76. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb +98 -0
  77. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_supported_value_detail.rb +57 -0
  78. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
  79. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
  80. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
  81. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/proxy_resource.rb +63 -0
  82. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
  83. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/reason_type_values.rb +17 -0
  84. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
  85. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/resource.rb +83 -0
  86. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/scenario.rb +15 -0
  87. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
  88. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
  89. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
  90. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/tracked_resource.rb +92 -0
  91. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/update.rb +59 -0
  92. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
  93. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/operations.rb +109 -0
  94. data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/resource_health_client.rb +152 -0
  95. data/lib/2018-07-01/generated/azure_mgmt_resource_health.rb +69 -0
  96. data/lib/2018-07-01/generated/azure_mgmt_resource_health/availability_statuses.rb +842 -0
  97. data/lib/2018-07-01/generated/azure_mgmt_resource_health/events_operations.rb +463 -0
  98. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +18 -0
  99. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
  100. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
  101. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +251 -0
  102. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved.rb +73 -0
  103. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/azure_entity_resource.rb +75 -0
  104. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
  105. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb +336 -0
  106. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_level_values.rb +17 -0
  107. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_article.rb +46 -0
  108. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions.rb +79 -0
  109. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions_actions_item.rb +59 -0
  110. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_source_values.rb +16 -0
  111. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_status_values.rb +16 -0
  112. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_type_values.rb +18 -0
  113. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/events.rb +99 -0
  114. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/faq.rb +68 -0
  115. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/impact.rb +67 -0
  116. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/impacted_service_region.rb +110 -0
  117. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/level_values.rb +16 -0
  118. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb +95 -0
  119. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link_display_text.rb +57 -0
  120. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link_type_values.rb +16 -0
  121. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb +134 -0
  122. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb +66 -0
  123. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_supported_value_detail.rb +57 -0
  124. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
  125. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
  126. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
  127. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/proxy_resource.rb +63 -0
  128. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
  129. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
  130. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/resource.rb +83 -0
  131. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/scenario.rb +15 -0
  132. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
  133. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
  134. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
  135. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/tracked_resource.rb +92 -0
  136. data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/update.rb +59 -0
  137. data/lib/2018-07-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
  138. data/lib/2018-07-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
  139. data/lib/2018-07-01/generated/azure_mgmt_resource_health/resource_health_client.rb +147 -0
  140. data/lib/azure_mgmt_resource_health.rb +9 -0
  141. data/lib/module_definition.rb +7 -0
  142. data/lib/profiles/latest/modules/resourcehealth_profile_module.rb +123 -0
  143. data/lib/profiles/latest/resourcehealth_latest_profile_client.rb +40 -0
  144. data/lib/profiles/latest/resourcehealth_module_definition.rb +8 -0
  145. data/lib/version.rb +7 -0
  146. metadata +261 -0
@@ -0,0 +1,73 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ResourceHealth::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # An annotation describing a change in the availabilityState to Available
10
+ # from Unavailable with a reasonType of type Unplanned
11
+ #
12
+ class AvailabilityStatusPropertiesRecentlyResolved
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [DateTime] Timestamp for when the availabilityState changed to
17
+ # Unavailable
18
+ attr_accessor :unavailable_occurred_time
19
+
20
+ # @return [DateTime] Timestamp when the availabilityState changes to
21
+ # Available.
22
+ attr_accessor :resolved_time
23
+
24
+ # @return [String] Brief description of cause of the resource becoming
25
+ # unavailable.
26
+ attr_accessor :unavailability_summary
27
+
28
+
29
+ #
30
+ # Mapper for AvailabilityStatusPropertiesRecentlyResolved class as Ruby
31
+ # Hash.
32
+ # This will be used for serialization/deserialization.
33
+ #
34
+ def self.mapper()
35
+ {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'availabilityStatus_properties_recentlyResolved',
39
+ type: {
40
+ name: 'Composite',
41
+ class_name: 'AvailabilityStatusPropertiesRecentlyResolved',
42
+ model_properties: {
43
+ unavailable_occurred_time: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'unavailableOccurredTime',
47
+ type: {
48
+ name: 'DateTime'
49
+ }
50
+ },
51
+ resolved_time: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ serialized_name: 'resolvedTime',
55
+ type: {
56
+ name: 'DateTime'
57
+ }
58
+ },
59
+ unavailability_summary: {
60
+ client_side_validation: true,
61
+ required: false,
62
+ serialized_name: 'unavailabilitySummary',
63
+ type: {
64
+ name: 'String'
65
+ }
66
+ }
67
+ }
68
+ }
69
+ }
70
+ end
71
+ end
72
+ end
73
+ end
@@ -0,0 +1,75 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ResourceHealth::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # The resource model definition for a Azure Resource Manager resource with
10
+ # an etag.
11
+ #
12
+ class AzureEntityResource < Resource
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Resource Etag.
17
+ attr_accessor :etag
18
+
19
+
20
+ #
21
+ # Mapper for AzureEntityResource class as Ruby Hash.
22
+ # This will be used for serialization/deserialization.
23
+ #
24
+ def self.mapper()
25
+ {
26
+ client_side_validation: true,
27
+ required: false,
28
+ serialized_name: 'AzureEntityResource',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'AzureEntityResource',
32
+ model_properties: {
33
+ id: {
34
+ client_side_validation: true,
35
+ required: false,
36
+ read_only: true,
37
+ serialized_name: 'id',
38
+ type: {
39
+ name: 'String'
40
+ }
41
+ },
42
+ name: {
43
+ client_side_validation: true,
44
+ required: false,
45
+ read_only: true,
46
+ serialized_name: 'name',
47
+ type: {
48
+ name: 'String'
49
+ }
50
+ },
51
+ type: {
52
+ client_side_validation: true,
53
+ required: false,
54
+ read_only: true,
55
+ serialized_name: 'type',
56
+ type: {
57
+ name: 'String'
58
+ }
59
+ },
60
+ etag: {
61
+ client_side_validation: true,
62
+ required: false,
63
+ read_only: true,
64
+ serialized_name: 'etag',
65
+ type: {
66
+ name: 'String'
67
+ }
68
+ }
69
+ }
70
+ }
71
+ }
72
+ end
73
+ end
74
+ end
75
+ end
@@ -0,0 +1,71 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ResourceHealth::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Error details.
10
+ #
11
+ class ErrorResponse
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] The error code.
16
+ attr_accessor :code
17
+
18
+ # @return [String] The error message.
19
+ attr_accessor :message
20
+
21
+ # @return [String] The error details.
22
+ attr_accessor :details
23
+
24
+
25
+ #
26
+ # Mapper for ErrorResponse class as Ruby Hash.
27
+ # This will be used for serialization/deserialization.
28
+ #
29
+ def self.mapper()
30
+ {
31
+ client_side_validation: true,
32
+ required: false,
33
+ serialized_name: 'ErrorResponse',
34
+ type: {
35
+ name: 'Composite',
36
+ class_name: 'ErrorResponse',
37
+ model_properties: {
38
+ code: {
39
+ client_side_validation: true,
40
+ required: false,
41
+ read_only: true,
42
+ serialized_name: 'code',
43
+ type: {
44
+ name: 'String'
45
+ }
46
+ },
47
+ message: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ read_only: true,
51
+ serialized_name: 'message',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ details: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ read_only: true,
60
+ serialized_name: 'details',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ }
65
+ }
66
+ }
67
+ }
68
+ end
69
+ end
70
+ end
71
+ end
@@ -0,0 +1,336 @@
1
+ # encoding: utf-8
2
+ # Code generated by Microsoft (R) AutoRest Code Generator.
3
+ # Changes may cause incorrect behavior and will be lost if the code is
4
+ # regenerated.
5
+
6
+ module Azure::ResourceHealth::Mgmt::V2018_07_01
7
+ module Models
8
+ #
9
+ # Service health event
10
+ #
11
+ class Event < Resource
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [EventTypeValues] Type of event. Possible values include:
16
+ # 'ServiceIssue', 'PlannedMaintenance', 'HealthAdvisory', 'RCA'
17
+ attr_accessor :event_type
18
+
19
+ # @return [EventSourceValues] Source of event. Possible values include:
20
+ # 'ResourceHealth', 'ServiceHealth'
21
+ attr_accessor :event_source
22
+
23
+ # @return [EventStatusValues] Current status of event. Possible values
24
+ # include: 'Active', 'Resolved'
25
+ attr_accessor :status
26
+
27
+ # @return [String] Title text of event.
28
+ attr_accessor :title
29
+
30
+ # @return [String] Summary text of event.
31
+ attr_accessor :summary
32
+
33
+ # @return [String] Header text of event.
34
+ attr_accessor :header
35
+
36
+ # @return [LevelValues] Level of insight. Possible values include:
37
+ # 'Critical', 'Warning'
38
+ attr_accessor :level
39
+
40
+ # @return [EventLevelValues] Level of event. Possible values include:
41
+ # 'Critical', 'Warning', 'Informational'
42
+ attr_accessor :event_level
43
+
44
+ # @return [EventPropertiesArticle] Article of event.
45
+ attr_accessor :article
46
+
47
+ # @return [Array<Link>] Useful links of event.
48
+ attr_accessor :links
49
+
50
+ # @return [DateTime] It provides the Timestamp for when the health
51
+ # impacting event started.
52
+ attr_accessor :impact_start_time
53
+
54
+ # @return [DateTime] It provides the Timestamp for when the health
55
+ # impacting event resolved.
56
+ attr_accessor :impact_mitigation_time
57
+
58
+ # @return [Array<Impact>] List services impacted by the service health
59
+ # event.
60
+ attr_accessor :impact
61
+
62
+ # @return [EventPropertiesRecommendedActions] Recommended actions of
63
+ # event.
64
+ attr_accessor :recommended_actions
65
+
66
+ # @return [Array<Faq>] Frequently asked questions for the service health
67
+ # event.
68
+ attr_accessor :faqs
69
+
70
+ # @return [Boolean] It provides information if the event is High incident
71
+ # rate event or not.
72
+ attr_accessor :is_hir
73
+
74
+ # @return [Boolean] Tells if we want to enable or disable Microsoft
75
+ # Support for this event.
76
+ attr_accessor :enable_microsoft_support
77
+
78
+ # @return [Boolean] Tells if we want to enable or disable Microsoft
79
+ # Support for this event.
80
+ attr_accessor :enable_chat_with_us
81
+
82
+ # @return [Integer] Priority level of the event.
83
+ attr_accessor :priority
84
+
85
+ # @return [DateTime] It provides the Timestamp for when the health
86
+ # impacting event was last updated.
87
+ attr_accessor :last_update_time
88
+
89
+ # @return [String] Stage for HIR Document
90
+ attr_accessor :hir_stage
91
+
92
+
93
+ #
94
+ # Mapper for Event class as Ruby Hash.
95
+ # This will be used for serialization/deserialization.
96
+ #
97
+ def self.mapper()
98
+ {
99
+ client_side_validation: true,
100
+ required: false,
101
+ serialized_name: 'event',
102
+ type: {
103
+ name: 'Composite',
104
+ class_name: 'Event',
105
+ model_properties: {
106
+ id: {
107
+ client_side_validation: true,
108
+ required: false,
109
+ read_only: true,
110
+ serialized_name: 'id',
111
+ type: {
112
+ name: 'String'
113
+ }
114
+ },
115
+ name: {
116
+ client_side_validation: true,
117
+ required: false,
118
+ read_only: true,
119
+ serialized_name: 'name',
120
+ type: {
121
+ name: 'String'
122
+ }
123
+ },
124
+ type: {
125
+ client_side_validation: true,
126
+ required: false,
127
+ read_only: true,
128
+ serialized_name: 'type',
129
+ type: {
130
+ name: 'String'
131
+ }
132
+ },
133
+ event_type: {
134
+ client_side_validation: true,
135
+ required: false,
136
+ serialized_name: 'properties.eventType',
137
+ type: {
138
+ name: 'String'
139
+ }
140
+ },
141
+ event_source: {
142
+ client_side_validation: true,
143
+ required: false,
144
+ serialized_name: 'properties.eventSource',
145
+ type: {
146
+ name: 'String'
147
+ }
148
+ },
149
+ status: {
150
+ client_side_validation: true,
151
+ required: false,
152
+ serialized_name: 'properties.status',
153
+ type: {
154
+ name: 'String'
155
+ }
156
+ },
157
+ title: {
158
+ client_side_validation: true,
159
+ required: false,
160
+ serialized_name: 'properties.title',
161
+ type: {
162
+ name: 'String'
163
+ }
164
+ },
165
+ summary: {
166
+ client_side_validation: true,
167
+ required: false,
168
+ serialized_name: 'properties.summary',
169
+ type: {
170
+ name: 'String'
171
+ }
172
+ },
173
+ header: {
174
+ client_side_validation: true,
175
+ required: false,
176
+ serialized_name: 'properties.header',
177
+ type: {
178
+ name: 'String'
179
+ }
180
+ },
181
+ level: {
182
+ client_side_validation: true,
183
+ required: false,
184
+ serialized_name: 'properties.level',
185
+ type: {
186
+ name: 'String'
187
+ }
188
+ },
189
+ event_level: {
190
+ client_side_validation: true,
191
+ required: false,
192
+ serialized_name: 'properties.eventLevel',
193
+ type: {
194
+ name: 'String'
195
+ }
196
+ },
197
+ article: {
198
+ client_side_validation: true,
199
+ required: false,
200
+ serialized_name: 'properties.article',
201
+ type: {
202
+ name: 'Composite',
203
+ class_name: 'EventPropertiesArticle'
204
+ }
205
+ },
206
+ links: {
207
+ client_side_validation: true,
208
+ required: false,
209
+ serialized_name: 'properties.links',
210
+ type: {
211
+ name: 'Sequence',
212
+ element: {
213
+ client_side_validation: true,
214
+ required: false,
215
+ serialized_name: 'LinkElementType',
216
+ type: {
217
+ name: 'Composite',
218
+ class_name: 'Link'
219
+ }
220
+ }
221
+ }
222
+ },
223
+ impact_start_time: {
224
+ client_side_validation: true,
225
+ required: false,
226
+ serialized_name: 'properties.impactStartTime',
227
+ type: {
228
+ name: 'DateTime'
229
+ }
230
+ },
231
+ impact_mitigation_time: {
232
+ client_side_validation: true,
233
+ required: false,
234
+ serialized_name: 'properties.impactMitigationTime',
235
+ type: {
236
+ name: 'DateTime'
237
+ }
238
+ },
239
+ impact: {
240
+ client_side_validation: true,
241
+ required: false,
242
+ serialized_name: 'properties.impact',
243
+ type: {
244
+ name: 'Sequence',
245
+ element: {
246
+ client_side_validation: true,
247
+ required: false,
248
+ serialized_name: 'ImpactElementType',
249
+ type: {
250
+ name: 'Composite',
251
+ class_name: 'Impact'
252
+ }
253
+ }
254
+ }
255
+ },
256
+ recommended_actions: {
257
+ client_side_validation: true,
258
+ required: false,
259
+ serialized_name: 'properties.recommendedActions',
260
+ type: {
261
+ name: 'Composite',
262
+ class_name: 'EventPropertiesRecommendedActions'
263
+ }
264
+ },
265
+ faqs: {
266
+ client_side_validation: true,
267
+ required: false,
268
+ serialized_name: 'properties.faqs',
269
+ type: {
270
+ name: 'Sequence',
271
+ element: {
272
+ client_side_validation: true,
273
+ required: false,
274
+ serialized_name: 'FaqElementType',
275
+ type: {
276
+ name: 'Composite',
277
+ class_name: 'Faq'
278
+ }
279
+ }
280
+ }
281
+ },
282
+ is_hir: {
283
+ client_side_validation: true,
284
+ required: false,
285
+ serialized_name: 'properties.isHIR',
286
+ type: {
287
+ name: 'Boolean'
288
+ }
289
+ },
290
+ enable_microsoft_support: {
291
+ client_side_validation: true,
292
+ required: false,
293
+ serialized_name: 'properties.enableMicrosoftSupport',
294
+ type: {
295
+ name: 'Boolean'
296
+ }
297
+ },
298
+ enable_chat_with_us: {
299
+ client_side_validation: true,
300
+ required: false,
301
+ serialized_name: 'properties.enableChatWithUs',
302
+ type: {
303
+ name: 'Boolean'
304
+ }
305
+ },
306
+ priority: {
307
+ client_side_validation: true,
308
+ required: false,
309
+ serialized_name: 'properties.priority',
310
+ type: {
311
+ name: 'Number'
312
+ }
313
+ },
314
+ last_update_time: {
315
+ client_side_validation: true,
316
+ required: false,
317
+ serialized_name: 'properties.lastUpdateTime',
318
+ type: {
319
+ name: 'DateTime'
320
+ }
321
+ },
322
+ hir_stage: {
323
+ client_side_validation: true,
324
+ required: false,
325
+ serialized_name: 'properties.hirStage',
326
+ type: {
327
+ name: 'String'
328
+ }
329
+ }
330
+ }
331
+ }
332
+ }
333
+ end
334
+ end
335
+ end
336
+ end