class Azure::ResourceHealth::Mgmt::V2017_07_01::Models::ServiceImpactingEvent

Lists the service impacting events that may be affecting the health of the resource.

Attributes

correlation_id[RW]

@return [String] Correlation id for the event

event_start_time[RW]

@return [DateTime] Timestamp for when the event started.

event_status_last_modified_time[RW]

@return [DateTime] Timestamp for when event was submitted/detected.

incident_properties[RW]

@return [ServiceImpactingEventIncidentProperties] Properties of the service impacting event.

status[RW]

@return [ServiceImpactingEventStatus] Status of the service impacting event.

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-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