Class: Azure::ResourceHealth::Mgmt::V2015_01_01::Models::AvailabilityStatusProperties

Inherits:
Object
  • Object
show all
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

Class Method Summary collapse

Instance Attribute Details

#availability_stateAvailabilityStateValues

Possible values include: ‘Available’, ‘Unavailable’, ‘Unknown’

Returns:



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_statusString

Returns Details of the availability status.

Returns:

  • (String)

    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_resourceBoolean

Returns flag to show if child resource need detail health.

Returns:

  • (Boolean)

    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_timeDateTime

occurred.

Returns:

  • (DateTime)

    Timestamp for when last change in health status



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_chronicityReasonChronicityTypes

transition. Possible values include: ‘Transient’, ‘Persistent’

Returns:



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_typeString

it describes where the health impacting event was originated. Examples are planned, unplanned, user initiated or an outage etc.

Returns:

  • (String)

    When the resource’s availabilityState is Unavailable,



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_stateAvailabilityStatusPropertiesRecentlyResolvedState

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

based on the current availabilityState of the resource.

Returns:



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_timeDateTime

Returns Timestamp for when the health was last checked.

Returns:

  • (DateTime)

    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_etaDateTime

and the reasonType is not User Initiated, it provides the date and time for when the issue is expected to be resolved.

Returns:

  • (DateTime)

    When the resource’s availabilityState is Unavailable



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_timeDateTime

Unavailable, it provides the Timestamp for when the health impacting event was received.

Returns:

  • (DateTime)

    When the resource’s availabilityState is



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_eventsArray<ServiceImpactingEvent>

events that may be affecting the health of the resource.

Returns:



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

#summaryString

Returns Summary description of the availability state.

Returns:

  • (String)

    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

.mapperObject

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