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,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::V2015_01_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,58 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Operation available in the resourcehealth resource provider.
10
+ #
11
+ class Operation
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Name of the operation.
16
+ attr_accessor :name
17
+
18
+ # @return [OperationDisplay] Properties of the operation.
19
+ attr_accessor :display
20
+
21
+
22
+ #
23
+ # Mapper for Operation class as Ruby Hash.
24
+ # This will be used for serialization/deserialization.
25
+ #
26
+ def self.mapper()
27
+ {
28
+ client_side_validation: true,
29
+ required: false,
30
+ serialized_name: 'operation',
31
+ type: {
32
+ name: 'Composite',
33
+ class_name: 'Operation',
34
+ model_properties: {
35
+ name: {
36
+ client_side_validation: true,
37
+ required: false,
38
+ serialized_name: 'name',
39
+ type: {
40
+ name: 'String'
41
+ }
42
+ },
43
+ display: {
44
+ client_side_validation: true,
45
+ required: false,
46
+ serialized_name: 'display',
47
+ type: {
48
+ name: 'Composite',
49
+ class_name: 'OperationDisplay'
50
+ }
51
+ }
52
+ }
53
+ }
54
+ }
55
+ end
56
+ end
57
+ end
58
+ end
@@ -0,0 +1,79 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Properties of the operation.
10
+ #
11
+ class OperationDisplay
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [String] Provider name.
16
+ attr_accessor :provider
17
+
18
+ # @return [String] Resource name.
19
+ attr_accessor :resource
20
+
21
+ # @return [String] Operation name.
22
+ attr_accessor :operation
23
+
24
+ # @return [String] Description of the operation.
25
+ attr_accessor :description
26
+
27
+
28
+ #
29
+ # Mapper for OperationDisplay class as Ruby Hash.
30
+ # This will be used for serialization/deserialization.
31
+ #
32
+ def self.mapper()
33
+ {
34
+ client_side_validation: true,
35
+ required: false,
36
+ serialized_name: 'operation_display',
37
+ type: {
38
+ name: 'Composite',
39
+ class_name: 'OperationDisplay',
40
+ model_properties: {
41
+ provider: {
42
+ client_side_validation: true,
43
+ required: false,
44
+ serialized_name: 'provider',
45
+ type: {
46
+ name: 'String'
47
+ }
48
+ },
49
+ resource: {
50
+ client_side_validation: true,
51
+ required: false,
52
+ serialized_name: 'resource',
53
+ type: {
54
+ name: 'String'
55
+ }
56
+ },
57
+ operation: {
58
+ client_side_validation: true,
59
+ required: false,
60
+ serialized_name: 'operation',
61
+ type: {
62
+ name: 'String'
63
+ }
64
+ },
65
+ description: {
66
+ client_side_validation: true,
67
+ required: false,
68
+ serialized_name: 'description',
69
+ type: {
70
+ name: 'String'
71
+ }
72
+ }
73
+ }
74
+ }
75
+ }
76
+ end
77
+ end
78
+ end
79
+ end
@@ -0,0 +1,56 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Lists the operations response.
10
+ #
11
+ class OperationListResult
12
+
13
+ include MsRestAzure
14
+
15
+ # @return [Array<Operation>] List of operations available in the
16
+ # resourcehealth resource provider.
17
+ attr_accessor :value
18
+
19
+
20
+ #
21
+ # Mapper for OperationListResult 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: 'operationListResult',
29
+ type: {
30
+ name: 'Composite',
31
+ class_name: 'OperationListResult',
32
+ model_properties: {
33
+ value: {
34
+ client_side_validation: true,
35
+ required: true,
36
+ serialized_name: 'value',
37
+ type: {
38
+ name: 'Sequence',
39
+ element: {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'OperationElementType',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'Operation'
46
+ }
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
53
+ end
54
+ end
55
+ end
56
+ end
@@ -0,0 +1,16 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Defines values for ReasonChronicityTypes
10
+ #
11
+ module ReasonChronicityTypes
12
+ Transient = "Transient"
13
+ Persistent = "Persistent"
14
+ end
15
+ end
16
+ end
@@ -0,0 +1,70 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Lists actions the user can take based on the current availabilityState of
10
+ # the resource.
11
+ #
12
+ class RecommendedAction
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [String] Recommended action.
17
+ attr_accessor :action
18
+
19
+ # @return [String] Link to the action
20
+ attr_accessor :action_url
21
+
22
+ # @return [String] Substring of action, it describes which text should
23
+ # host the action url.
24
+ attr_accessor :action_url_text
25
+
26
+
27
+ #
28
+ # Mapper for RecommendedAction class as Ruby Hash.
29
+ # This will be used for serialization/deserialization.
30
+ #
31
+ def self.mapper()
32
+ {
33
+ client_side_validation: true,
34
+ required: false,
35
+ serialized_name: 'recommendedAction',
36
+ type: {
37
+ name: 'Composite',
38
+ class_name: 'RecommendedAction',
39
+ model_properties: {
40
+ action: {
41
+ client_side_validation: true,
42
+ required: false,
43
+ serialized_name: 'action',
44
+ type: {
45
+ name: 'String'
46
+ }
47
+ },
48
+ action_url: {
49
+ client_side_validation: true,
50
+ required: false,
51
+ serialized_name: 'actionUrl',
52
+ type: {
53
+ name: 'String'
54
+ }
55
+ },
56
+ action_url_text: {
57
+ client_side_validation: true,
58
+ required: false,
59
+ serialized_name: 'actionUrlText',
60
+ type: {
61
+ name: 'String'
62
+ }
63
+ }
64
+ }
65
+ }
66
+ }
67
+ end
68
+ end
69
+ end
70
+ end
@@ -0,0 +1,95 @@
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::V2015_01_01
7
+ module Models
8
+ #
9
+ # Lists the service impacting events that may be affecting the health of
10
+ # the resource.
11
+ #
12
+ class ServiceImpactingEvent
13
+
14
+ include MsRestAzure
15
+
16
+ # @return [DateTime] Timestamp for when the event started.
17
+ attr_accessor :event_start_time
18
+
19
+ # @return [DateTime] Timestamp for when event was submitted/detected.
20
+ attr_accessor :event_status_last_modified_time
21
+
22
+ # @return [String] Correlation id for the event
23
+ attr_accessor :correlation_id
24
+
25
+ # @return [ServiceImpactingEventStatus] Status of the service impacting
26
+ # event.
27
+ attr_accessor :status
28
+
29
+ # @return [ServiceImpactingEventIncidentProperties] Properties of the
30
+ # service impacting event.
31
+ attr_accessor :incident_properties
32
+
33
+
34
+ #
35
+ # Mapper for ServiceImpactingEvent class as Ruby Hash.
36
+ # This will be used for serialization/deserialization.
37
+ #
38
+ def self.mapper()
39
+ {
40
+ client_side_validation: true,
41
+ required: false,
42
+ serialized_name: 'serviceImpactingEvent',
43
+ type: {
44
+ name: 'Composite',
45
+ class_name: 'ServiceImpactingEvent',
46
+ model_properties: {
47
+ event_start_time: {
48
+ client_side_validation: true,
49
+ required: false,
50
+ serialized_name: 'eventStartTime',
51
+ type: {
52
+ name: 'DateTime'
53
+ }
54
+ },
55
+ event_status_last_modified_time: {
56
+ client_side_validation: true,
57
+ required: false,
58
+ serialized_name: 'eventStatusLastModifiedTime',
59
+ type: {
60
+ name: 'DateTime'
61
+ }
62
+ },
63
+ correlation_id: {
64
+ client_side_validation: true,
65
+ required: false,
66
+ serialized_name: 'correlationId',
67
+ type: {
68
+ name: 'String'
69
+ }
70
+ },
71
+ status: {
72
+ client_side_validation: true,
73
+ required: false,
74
+ serialized_name: 'status',
75
+ type: {
76
+ name: 'Composite',
77
+ class_name: 'ServiceImpactingEventStatus'
78
+ }
79
+ },
80
+ incident_properties: {
81
+ client_side_validation: true,
82
+ required: false,
83
+ serialized_name: 'incidentProperties',
84
+ type: {
85
+ name: 'Composite',
86
+ class_name: 'ServiceImpactingEventIncidentProperties'
87
+ }
88
+ }
89
+ }
90
+ }
91
+ }
92
+ end
93
+ end
94
+ end
95
+ end