class Azure::ResourceHealth::Mgmt::V2018_08_01_preview::Models::AvailabilityStatusPropertiesRecentlyResolved

An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned

Attributes

resolved_time[RW]

@return [DateTime] Timestamp when the availabilityState changes to Available.

unavailability_summary[RW]

@return [String] Brief description of cause of the resource becoming unavailable.

unavailable_occurred_time[RW]

@return [DateTime] Timestamp for when the availabilityState changed to Unavailable

Public Class Methods

mapper() click to toggle source

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

# File lib/2018-07-01-preview/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'availabilityStatus_properties_recentlyResolved',
    type: {
      name: 'Composite',
      class_name: 'AvailabilityStatusPropertiesRecentlyResolved',
      model_properties: {
        unavailable_occurred_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'unavailableOccurredTime',
          type: {
            name: 'DateTime'
          }
        },
        resolved_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resolvedTime',
          type: {
            name: 'DateTime'
          }
        },
        unavailability_summary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'unavailabilitySummary',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end