class Azure::ServiceFabric::V6_3_0_9::Models::ValidationFailedChaosEvent

Chaos event corresponding to a failure during validation.

Attributes

Kind[RW]
reason[RW]

@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.

Public Class Methods

mapper() click to toggle source

Mapper for ValidationFailedChaosEvent class as Ruby Hash. This will be used for serialization/deserialization.

# 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
new() click to toggle source
# File lib/6.3.0.9/generated/azure_service_fabric/models/validation_failed_chaos_event.rb, line 16
def initialize
  @Kind = "ValidationFailed"
end