class Azure::ServiceFabric::V7_0_0_42::Models::WaitingChaosEvent

Describes a Chaos event that gets generated when Chaos is waiting for the cluster to become ready for faulting, for example, Chaos may be waiting for the on-going upgrade to finish.

Attributes

Kind[RW]
reason[RW]

@return [String] Describes why the WaitingChaosEvent was generated, for example, due to a cluster upgrade.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/generated/azure_service_fabric/models/waiting_chaos_event.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'Waiting',
    type: {
      name: 'Composite',
      class_name: 'WaitingChaosEvent',
      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/7.0.0.42/generated/azure_service_fabric/models/waiting_chaos_event.rb, line 18
def initialize
  @Kind = "Waiting"
end