azure_mgmt_resource_health 0.17.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health.rb +45 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/availability_statuses.rb +856 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/child_availability_statuses.rb +384 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/child_resources.rb +271 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +17 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +212 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved_state.rb +73 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
- data/lib/2015-01-01/generated/azure_mgmt_resource_health/resource_health_client.rb +145 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health.rb +45 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/availability_statuses.rb +863 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/child_availability_statuses.rb +384 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/child_resources.rb +271 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +17 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +253 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved_state.rb +73 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
- data/lib/2017-07-01/generated/azure_mgmt_resource_health/resource_health_client.rb +145 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health.rb +74 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/availability_statuses.rb +842 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/events_operations.rb +463 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/impacted_resources.rb +240 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/metadata.rb +318 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_state_values.rb +18 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +251 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved.rb +73 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/azure_entity_resource.rb +75 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event.rb +336 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_level_values.rb +17 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_article.rb +46 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions.rb +79 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions_actions_item.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_source_values.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_status_values.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/event_type_values.rb +18 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/events.rb +99 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/faq.rb +68 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impact.rb +67 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_resource_list_result.rb +100 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_resource_status.rb +123 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/impacted_service_region.rb +110 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/level_values.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link.rb +95 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link_display_text.rb +57 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/link_type_values.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity.rb +134 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb +98 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/metadata_supported_value_detail.rb +57 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/proxy_resource.rb +63 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/reason_type_values.rb +17 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/resource.rb +83 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/scenario.rb +15 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/tracked_resource.rb +92 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/update.rb +59 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/operations.rb +109 -0
- data/lib/2018-07-01-preview/generated/azure_mgmt_resource_health/resource_health_client.rb +152 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health.rb +69 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/availability_statuses.rb +842 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/events_operations.rb +463 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_state_values.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status.rb +93 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_list_result.rb +100 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb +251 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved.rb +73 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/azure_entity_resource.rb +75 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/error_response.rb +71 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event.rb +336 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_level_values.rb +17 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_article.rb +46 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions.rb +79 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_properties_recommended_actions_actions_item.rb +59 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_source_values.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_status_values.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/event_type_values.rb +18 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/events.rb +99 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/faq.rb +68 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/impact.rb +67 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/impacted_service_region.rb +110 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/level_values.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link.rb +95 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link_display_text.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/link_type_values.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity.rb +134 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_entity_list_result.rb +66 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/metadata_supported_value_detail.rb +57 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation.rb +58 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation_display.rb +79 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/operation_list_result.rb +56 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/proxy_resource.rb +63 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/reason_chronicity_types.rb +16 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/recommended_action.rb +70 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/resource.rb +83 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/scenario.rb +15 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb +95 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_incident_properties.rb +79 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event_status.rb +46 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/tracked_resource.rb +92 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/models/update.rb +59 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/module_definition.rb +9 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/operations.rb +109 -0
- data/lib/2018-07-01/generated/azure_mgmt_resource_health/resource_health_client.rb +147 -0
- data/lib/azure_mgmt_resource_health.rb +9 -0
- data/lib/module_definition.rb +7 -0
- data/lib/profiles/latest/modules/resourcehealth_profile_module.rb +123 -0
- data/lib/profiles/latest/resourcehealth_latest_profile_client.rb +40 -0
- data/lib/profiles/latest/resourcehealth_module_definition.rb +8 -0
- data/lib/version.rb +7 -0
- 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
|