class Azure::ResourceHealth::Mgmt::V2017_07_01::Models::AvailabilityStatusPropertiesRecentlyResolvedState

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2017-07-01/generated/azure_mgmt_resource_health/models/availability_status_properties_recently_resolved_state.rb, line 34
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'availabilityStatus_properties_recentlyResolvedState',
    type: {
      name: 'Composite',
      class_name: 'AvailabilityStatusPropertiesRecentlyResolvedState',
      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