Class: Azure::ServiceFabric::V6_5_0_36::Models::StatefulReplicaNewHealthReportEvent
- Inherits:
-
ReplicaEvent
- Object
- FabricEvent
- ReplicaEvent
- Azure::ServiceFabric::V6_5_0_36::Models::StatefulReplicaNewHealthReportEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb
Overview
Stateful Replica Health Report Created event.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of report.
-
#health_state ⇒ String
Describes the property health state.
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#property ⇒ String
Describes the property.
-
#remove_when_expired ⇒ Boolean
Indicates the removal when it expires.
-
#replica_instance_id ⇒ Integer
Id of Replica instance.
-
#sequence_number ⇒ Integer
Sequence number of report.
-
#source_id ⇒ String
Id of report source.
-
#source_utc_timestamp ⇒ DateTime
Source time.
-
#time_to_live_ms ⇒ Integer
Time to live in milli-seconds.
Attributes inherited from ReplicaEvent
Attributes inherited from FabricEvent
#category, #event_instance_id, #has_correlated_events, #time_stamp
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for StatefulReplicaNewHealthReportEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ StatefulReplicaNewHealthReportEvent
constructor
A new instance of StatefulReplicaNewHealthReportEvent.
Constructor Details
#initialize ⇒ StatefulReplicaNewHealthReportEvent
Returns a new instance of StatefulReplicaNewHealthReportEvent.
16 17 18 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 16 def initialize @Kind = "StatefulReplicaNewHealthReport" end |
Instance Attribute Details
#description ⇒ String
Returns Description of report.
41 42 43 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 41 def description @description end |
#health_state ⇒ String
Returns Describes the property health state.
32 33 34 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 32 def health_state @health_state end |
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 20 def Kind @Kind end |
#property ⇒ String
Returns Describes the property.
29 30 31 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 29 def property @property end |
#remove_when_expired ⇒ Boolean
Returns Indicates the removal when it expires.
44 45 46 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 44 def remove_when_expired @remove_when_expired end |
#replica_instance_id ⇒ Integer
Returns Id of Replica instance.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 23 def replica_instance_id @replica_instance_id end |
#sequence_number ⇒ Integer
Returns Sequence number of report.
38 39 40 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 38 def sequence_number @sequence_number end |
#source_id ⇒ String
Returns Id of report source.
26 27 28 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 26 def source_id @source_id end |
#source_utc_timestamp ⇒ DateTime
Returns Source time.
47 48 49 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 47 def @source_utc_timestamp end |
#time_to_live_ms ⇒ Integer
Returns Time to live in milli-seconds.
35 36 37 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 35 def time_to_live_ms @time_to_live_ms end |
Class Method Details
.mapper ⇒ Object
Mapper for StatefulReplicaNewHealthReportEvent class as Ruby Hash. This will be used for serialization/deserialization.
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 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 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/stateful_replica_new_health_report_event.rb', line 54 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'StatefulReplicaNewHealthReport', type: { name: 'Composite', class_name: 'StatefulReplicaNewHealthReportEvent', model_properties: { event_instance_id: { client_side_validation: true, required: true, serialized_name: 'EventInstanceId', type: { name: 'String' } }, category: { client_side_validation: true, required: false, serialized_name: 'Category', type: { name: 'String' } }, time_stamp: { client_side_validation: true, required: true, serialized_name: 'TimeStamp', type: { name: 'DateTime' } }, has_correlated_events: { client_side_validation: true, required: false, serialized_name: 'HasCorrelatedEvents', type: { name: 'Boolean' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, partition_id: { client_side_validation: true, required: true, serialized_name: 'PartitionId', type: { name: 'String' } }, replica_id: { client_side_validation: true, required: true, serialized_name: 'ReplicaId', type: { name: 'Number' } }, replica_instance_id: { client_side_validation: true, required: true, serialized_name: 'ReplicaInstanceId', type: { name: 'Number' } }, source_id: { client_side_validation: true, required: true, serialized_name: 'SourceId', type: { name: 'String' } }, property: { client_side_validation: true, required: true, serialized_name: 'Property', type: { name: 'String' } }, health_state: { client_side_validation: true, required: true, serialized_name: 'HealthState', type: { name: 'String' } }, time_to_live_ms: { client_side_validation: true, required: true, serialized_name: 'TimeToLiveMs', type: { name: 'Number' } }, sequence_number: { client_side_validation: true, required: true, serialized_name: 'SequenceNumber', type: { name: 'Number' } }, description: { client_side_validation: true, required: true, serialized_name: 'Description', type: { name: 'String' } }, remove_when_expired: { client_side_validation: true, required: true, serialized_name: 'RemoveWhenExpired', type: { name: 'Boolean' } }, source_utc_timestamp: { client_side_validation: true, required: true, serialized_name: 'SourceUtcTimestamp', type: { name: 'DateTime' } } } } } end |