Sha256: faa4ee54b87728c7f6348a3210980b65c61c39577280f8e0c88c0510c8c339c9

Contents?: true

Size: 1.24 KB

Versions: 3

Compression:

Stored size: 1.24 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_5_0_36
  module Models
    #
    # Describes the trigger for performing a scaling operation.
    #
    class ScalingTriggerDescription

      include MsRestAzure

      @@discriminatorMap = Hash.new
      @@discriminatorMap["AveragePartitionLoad"] = "AveragePartitionLoadScalingTrigger"
      @@discriminatorMap["AverageServiceLoad"] = "AverageServiceLoadScalingTrigger"

      def initialize
        @Kind = "ScalingTriggerDescription"
      end

      attr_accessor :Kind


      #
      # Mapper for ScalingTriggerDescription class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'ScalingTriggerDescription',
          type: {
            name: 'Composite',
            polymorphic_discriminator: 'Kind',
            uber_parent: 'ScalingTriggerDescription',
            class_name: 'ScalingTriggerDescription',
            model_properties: {
            }
          }
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.5.0.36/generated/azure_service_fabric/models/scaling_trigger_description.rb
azure_service_fabric-0.18.0 lib/6.5.0.36/generated/azure_service_fabric/models/scaling_trigger_description.rb
azure_service_fabric-0.17.2 lib/6.5.0.36/generated/azure_service_fabric/models/scaling_trigger_description.rb