Class: Azure::ResourceHealth::Mgmt::V2018_07_01::Models::ServiceImpactingEvent
- Inherits:
-
Object
- Object
- Azure::ResourceHealth::Mgmt::V2018_07_01::Models::ServiceImpactingEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb
Overview
Lists the service impacting events that may be affecting the health of the resource.
Instance Attribute Summary collapse
-
#correlation_id ⇒ String
Correlation id for the event.
-
#event_start_time ⇒ DateTime
Timestamp for when the event started.
-
#event_status_last_modified_time ⇒ DateTime
Timestamp for when event was submitted/detected.
-
#incident_properties ⇒ ServiceImpactingEventIncidentProperties
service impacting event.
-
#status ⇒ ServiceImpactingEventStatus
event.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ServiceImpactingEvent class as Ruby Hash.
Instance Attribute Details
#correlation_id ⇒ String
Returns Correlation id for the event.
23 24 25 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 23 def correlation_id @correlation_id end |
#event_start_time ⇒ DateTime
Returns Timestamp for when the event started.
17 18 19 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 17 def event_start_time @event_start_time end |
#event_status_last_modified_time ⇒ DateTime
Returns Timestamp for when event was submitted/detected.
20 21 22 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 20 def event_status_last_modified_time @event_status_last_modified_time end |
#incident_properties ⇒ ServiceImpactingEventIncidentProperties
service impacting event.
31 32 33 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 31 def incident_properties @incident_properties end |
#status ⇒ ServiceImpactingEventStatus
event.
27 28 29 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 27 def status @status end |
Class Method Details
.mapper ⇒ Object
Mapper for ServiceImpactingEvent class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 |
# File 'lib/2018-07-01/generated/azure_mgmt_resource_health/models/service_impacting_event.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'serviceImpactingEvent', type: { name: 'Composite', class_name: 'ServiceImpactingEvent', model_properties: { event_start_time: { client_side_validation: true, required: false, serialized_name: 'eventStartTime', type: { name: 'DateTime' } }, event_status_last_modified_time: { client_side_validation: true, required: false, serialized_name: 'eventStatusLastModifiedTime', type: { name: 'DateTime' } }, correlation_id: { client_side_validation: true, required: false, serialized_name: 'correlationId', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'status', type: { name: 'Composite', class_name: 'ServiceImpactingEventStatus' } }, incident_properties: { client_side_validation: true, required: false, serialized_name: 'incidentProperties', type: { name: 'Composite', class_name: 'ServiceImpactingEventIncidentProperties' } } } } } end |