Class: Azure::ResourceHealth::Mgmt::V2015_01_01::Models::AvailabilityStatusProperties
- Inherits:
-
Object
- Object
- Azure::ResourceHealth::Mgmt::V2015_01_01::Models::AvailabilityStatusProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb
Overview
Properties of availability state.
Instance Attribute Summary collapse
-
#availability_state ⇒ AvailabilityStateValues
Possible values include: ‘Available’, ‘Unavailable’, ‘Unknown’.
-
#detailed_status ⇒ String
Details of the availability status.
-
#is_arm_resource ⇒ Boolean
Flag to show if child resource need detail health.
-
#occured_time ⇒ DateTime
occurred.
-
#reason_chronicity ⇒ ReasonChronicityTypes
transition.
-
#reason_type ⇒ String
it describes where the health impacting event was originated.
-
#recently_resolved_state ⇒ AvailabilityStatusPropertiesRecentlyResolvedState
annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned.
-
#recommended_actions ⇒ Array<RecommendedAction>
based on the current availabilityState of the resource.
-
#reported_time ⇒ DateTime
Timestamp for when the health was last checked.
-
#resolution_eta ⇒ DateTime
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 ⇒ DateTime
Unavailable, it provides the Timestamp for when the health impacting event was received.
-
#service_impacting_events ⇒ Array<ServiceImpactingEvent>
events that may be affecting the health of the resource.
-
#summary ⇒ String
Summary description of the availability state.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AvailabilityStatusProperties class as Ruby Hash.
Instance Attribute Details
#availability_state ⇒ AvailabilityStateValues
Possible values include: ‘Available’, ‘Unavailable’, ‘Unknown’
17 18 19 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 17 def availability_state @availability_state end |
#detailed_status ⇒ String
Returns Details of the availability status.
23 24 25 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 23 def detailed_status @detailed_status end |
#is_arm_resource ⇒ Boolean
Returns flag to show if child resource need detail health.
52 53 54 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 52 def is_arm_resource @is_arm_resource end |
#occured_time ⇒ DateTime
occurred.
42 43 44 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 42 def occured_time @occured_time end |
#reason_chronicity ⇒ ReasonChronicityTypes
transition. Possible values include: ‘Transient’, ‘Persistent’
46 47 48 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 46 def reason_chronicity @reason_chronicity end |
#reason_type ⇒ String
it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc.
28 29 30 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 28 def reason_type @reason_type end |
#recently_resolved_state ⇒ AvailabilityStatusPropertiesRecentlyResolvedState
annotation describing a change in the availabilityState to Available from Unavailable with a reasonType of type Unplanned
57 58 59 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 57 def recently_resolved_state @recently_resolved_state end |
#recommended_actions ⇒ Array<RecommendedAction>
based on the current availabilityState of the resource.
61 62 63 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 61 def recommended_actions @recommended_actions end |
#reported_time ⇒ DateTime
Returns Timestamp for when the health was last checked.
49 50 51 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 49 def reported_time @reported_time end |
#resolution_eta ⇒ DateTime
and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved.
38 39 40 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 38 def resolution_eta @resolution_eta end |
#root_cause_attribution_time ⇒ DateTime
Unavailable, it provides the Timestamp for when the health impacting event was received.
33 34 35 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 33 def root_cause_attribution_time @root_cause_attribution_time end |
#service_impacting_events ⇒ Array<ServiceImpactingEvent>
events that may be affecting the health of the resource.
65 66 67 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 65 def service_impacting_events @service_impacting_events end |
#summary ⇒ String
Returns Summary description of the availability state.
20 21 22 |
# File 'lib/2015-01-01/generated/azure_mgmt_resource_health/models/availability_status_properties.rb', line 20 def summary @summary end |
Class Method Details
.mapper ⇒ Object
Mapper for AvailabilityStatusProperties class as Ruby Hash. This will be used for serialization/deserialization.
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 |
# 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 |