Class: Azure::ServiceFabric::V6_3_0_9::Models::ValidationFailedChaosEvent
- Inherits:
-
ChaosEvent
- Object
- ChaosEvent
- Azure::ServiceFabric::V6_3_0_9::Models::ValidationFailedChaosEvent
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb
Overview
Chaos event corresponding to a failure during validation.
Instance Attribute Summary collapse
-
#Kind ⇒ Object
Returns the value of attribute Kind.
-
#reason ⇒ String
generated.
Attributes inherited from ChaosEvent
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ValidationFailedChaosEvent class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ValidationFailedChaosEvent
constructor
A new instance of ValidationFailedChaosEvent.
Constructor Details
#initialize ⇒ ValidationFailedChaosEvent
Returns a new instance of ValidationFailedChaosEvent.
16 17 18 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb', line 16 def initialize @Kind = "ValidationFailed" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
20 21 22 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb', line 20 def Kind @Kind end |
#reason ⇒ String
generated. This may happen because more than MaxPercentUnhealthyNodes are unhealthy for more than MaxClusterStabilizationTimeout. This reason will be in the Reason property of the ValidationFailedChaosEvent as a string.
27 28 29 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb', line 27 def reason @reason end |
Class Method Details
.mapper ⇒ Object
Mapper for ValidationFailedChaosEvent class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ValidationFailed', type: { name: 'Composite', class_name: 'ValidationFailedChaosEvent', 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 |