Sha256: cf7542a346856a0a314c1ba20cb5df9369703d1cf4b5cdbd242440db483d0f29
Contents?: true
Size: 1.99 KB
Versions: 2
Compression:
Stored size: 1.99 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V7_0_0_42 module Models # # Chaos event corresponding to a failure during validation. # class ValidationFailedChaosEvent < ChaosEvent include MsRestAzure def initialize @Kind = "ValidationFailed" end attr_accessor :Kind # @return [String] Describes why the ValidationFailedChaosEvent was # 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. attr_accessor :reason # # Mapper for ValidationFailedChaosEvent class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems