Sha256: ee4a6427d2c8a1827a192174c7f8b22eb76bf7d58250cab671f56b515a208f80
Contents?: true
Size: 1.96 KB
Versions: 5
Compression:
Stored size: 1.96 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 how the scaling should be performed # class ScalingPolicyDescription include MsRestAzure # @return [ScalingTriggerDescription] Specifies the trigger associated # with this scaling policy attr_accessor :scaling_trigger # @return [ScalingMechanismDescription] Specifies the mechanism # associated with this scaling policy attr_accessor :scaling_mechanism # # Mapper for ScalingPolicyDescription class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScalingPolicyDescription', type: { name: 'Composite', class_name: 'ScalingPolicyDescription', model_properties: { scaling_trigger: { client_side_validation: true, required: true, serialized_name: 'ScalingTrigger', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'ScalingTriggerDescription', class_name: 'ScalingTriggerDescription' } }, scaling_mechanism: { client_side_validation: true, required: true, serialized_name: 'ScalingMechanism', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'ScalingMechanismDescription', class_name: 'ScalingMechanismDescription' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems