Sha256: 9174284c0000a30c0410fadf779820ce18f1efe627674a7cc5e1bf1f9e3237c9

Contents?: true

Size: 1.88 KB

Versions: 5

Compression:

Stored size: 1.88 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::V6_2_0_9
  module Models
    #
    # 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.
    #
    class WaitingChaosEvent < ChaosEvent

      include MsRestAzure


      def initialize
        @Kind = "Waiting"
      end

      attr_accessor :Kind

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


      #
      # Mapper for WaitingChaosEvent class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/waiting_chaos_event.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/waiting_chaos_event.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/waiting_chaos_event.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/waiting_chaos_event.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/waiting_chaos_event.rb