class Azure::ResourceHealth::Mgmt::V2015_01_01::Models::AvailabilityStatusProperties

Properties of availability state.

Attributes

availability_state[RW]

@return [AvailabilityStateValues] Availability status of the resource. Possible values include: 'Available', 'Unavailable', 'Unknown'

detailed_status[RW]

@return [String] Details of the availability status.

is_arm_resource[RW]

@return [Boolean] flag to show if child resource need detail health.

occured_time[RW]

@return [DateTime] Timestamp for when last change in health status occurred.

reason_chronicity[RW]

@return [ReasonChronicityTypes] Chronicity of the availability transition. Possible values include: 'Transient', 'Persistent'

reason_type[RW]

@return [String] When the resource's availabilityState is Unavailable, it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc.

recently_resolved_state[RW]

@return [AvailabilityStatusPropertiesRecentlyResolvedState] An annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned

reported_time[RW]

@return [DateTime] Timestamp for when the health was last checked.

resolution_eta[RW]

@return [DateTime] When the resource's availabilityState is Unavailable and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved.

root_cause_attribution_time[RW]

@return [DateTime] When the resource's availabilityState is Unavailable, it provides the Timestamp for when the health impacting event was received.

service_impacting_events[RW]

@return [Array<ServiceImpactingEvent>] Lists the service impacting events that may be affecting the health of the resource.

summary[RW]

@return [String] Summary description of the availability state.

Public Class Methods

mapper() click to toggle source

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

# File lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb, line 72
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'availabilityStatus_properties',
    type: {
      name: 'Composite',
      class_name: 'AvailabilityStatusProperties',
      model_properties: {
        availability_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'availabilityState',
          type: {
            name: 'Enum',
            module: 'AvailabilityStateValues'
          }
        },
        summary: {
          client_side_validation: true,
          required: false,
          serialized_name: 'summary',
          type: {
            name: 'String'
          }
        },
        detailed_status: {
          client_side_validation: true,
          required: false,
          serialized_name: 'detailedStatus',
          type: {
            name: 'String'
          }
        },
        reason_type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reasonType',
          type: {
            name: 'String'
          }
        },
        root_cause_attribution_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'rootCauseAttributionTime',
          type: {
            name: 'DateTime'
          }
        },
        resolution_eta: {
          client_side_validation: true,
          required: false,
          serialized_name: 'resolutionETA',
          type: {
            name: 'DateTime'
          }
        },
        occured_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'occuredTime',
          type: {
            name: 'DateTime'
          }
        },
        reason_chronicity: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reasonChronicity',
          type: {
            name: 'Enum',
            module: 'ReasonChronicityTypes'
          }
        },
        reported_time: {
          client_side_validation: true,
          required: false,
          serialized_name: 'reportedTime',
          type: {
            name: 'DateTime'
          }
        },
        is_arm_resource: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isArmResource',
          type: {
            name: 'Boolean'
          }
        },
        recently_resolved_state: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recentlyResolvedState',
          type: {
            name: 'Composite',
            class_name: 'AvailabilityStatusPropertiesRecentlyResolvedState'
          }
        },
        recommended_actions: {
          client_side_validation: true,
          required: false,
          serialized_name: 'recommendedActions',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'RecommendedActionElementType',
                type: {
                  name: 'Composite',
                  class_name: 'RecommendedAction'
                }
            }
          }
        },
        service_impacting_events: {
          client_side_validation: true,
          required: false,
          serialized_name: 'serviceImpactingEvents',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'ServiceImpactingEventElementType',
                type: {
                  name: 'Composite',
                  class_name: 'ServiceImpactingEvent'
                }
            }
          }
        }
      }
    }
  }
end