Sha256: 1c28d1dfeb2be4a1f8a78b3a582f1751d5305b648c537f6a5c51e65132e13eb5
Contents?: true
Size: 1.24 KB
Versions: 2
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::V7_0_0_42 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
2 entries across 2 versions & 1 rubygems