Sha256: 0883f007d06487069127936041a8f244a69c390c77802d4b3731be205be9db5b
Contents?: true
Size: 1.18 KB
Versions: 2
Compression:
Stored size: 1.18 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 mechanism for performing auto scaling operation. Derived # classes will describe the actual mechanism. # class AutoScalingMechanism include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["AddRemoveReplica"] = "AddRemoveReplicaScalingMechanism" def initialize @kind = "AutoScalingMechanism" end attr_accessor :kind # # Mapper for AutoScalingMechanism class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoScalingMechanism', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'AutoScalingMechanism', class_name: 'AutoScalingMechanism', model_properties: { } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems