class Azure::ServiceFabric::V6_3_0_9::Models::TestErrorChaosEvent
Describes a Chaos
event that gets generated when an unexpected event occurs in the Chaos
engine. For example, due to the cluster snapshot being inconsistent, while faulting an entity, Chaos
found that the entity was already faulted – which would be an unexpected event.
Attributes
Kind[RW]
reason[RW]
@return [String] Describes why TestErrorChaosEvent
was generated. For example, Chaos
tries to fault a partition but finds that the partition is no longer fault tolerant, then a TestErrorEvent gets generated with the reason stating that the partition is not fault tolerant.
Public Class Methods
mapper()
click to toggle source
Mapper for TestErrorChaosEvent
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.3.0.9/generated/azure_service_fabric/models/test_error_chaos_event.rb, line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TestError', type: { name: 'Composite', class_name: 'TestErrorChaosEvent', model_properties: { time_stamp_utc: { client_side_validation: true, required: true, serialized_name: 'TimeStampUtc', type: { name: 'DateTime' } }, Kind: { client_side_validation: true, required: true, serialized_name: 'Kind', type: { name: 'String' } }, reason: { client_side_validation: true, required: false, serialized_name: 'Reason', type: { name: 'String' } } } } } end
new()
click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/test_error_chaos_event.rb, line 20 def initialize @Kind = "TestError" end