Sha256: af3842fb3c0f352ed90aa229db38acf7743512f138b97fa83e7e0869c623323c

Contents?: true

Size: 1.76 KB

Versions: 5

Compression:

Stored size: 1.76 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_3_0_9
  module Models
    #
    # Describes a map, which is a collection of (string, string) type key-value
    # pairs. The map can be used to record information about
    # the Chaos run. There cannot be more than 100 such pairs and each string
    # (key or value) can be at most 4095 characters long.
    # This map is set by the starter of the Chaos run to optionally store the
    # context about the specific run.
    #
    class ChaosContext

      include MsRestAzure

      # @return [Hash{String => String}] Describes a map that contains a
      # collection of ChaosContextMapItem's.
      attr_accessor :map


      #
      # Mapper for ChaosContext class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ChaosContext',
          type: {
            name: 'Composite',
            class_name: 'ChaosContext',
            model_properties: {
              map: {
                client_side_validation: true,
                required: false,
                serialized_name: 'Map',
                type: {
                  name: 'Dictionary',
                  value: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'StringElementType',
                      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.3.0.9/generated/azure_service_fabric/models/chaos_context.rb
azure_service_fabric-0.18.0 lib/6.3.0.9/generated/azure_service_fabric/models/chaos_context.rb
azure_service_fabric-0.17.2 lib/6.3.0.9/generated/azure_service_fabric/models/chaos_context.rb
azure_service_fabric-0.17.1 lib/6.3.0.9/generated/azure_service_fabric/models/chaos_context.rb
azure_service_fabric-0.17.0 lib/6.3.0.9/generated/azure_service_fabric/models/chaos_context.rb