Sha256: a101efda57ce98bf5ed9eb789603bf5cf112452e53fa4c20783778b71054c469
Contents?: true
Size: 1.96 KB
Versions: 3
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_5_0_36 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
3 entries across 3 versions & 1 rubygems