Sha256: c180feb861a3b0de2dec51c21378c2f66ac1c7bf85d8f789a78055df0451b5f0
Contents?: true
Size: 1.29 KB
Versions: 3
Compression:
Stored size: 1.29 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 mechanism for performing a scaling operation. # class ScalingMechanismDescription include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["PartitionInstanceCount"] = "PartitionInstanceCountScaleMechanism" @@discriminatorMap["AddRemoveIncrementalNamedPartition"] = "AddRemoveIncrementalNamedPartitionScalingMechanism" def initialize @Kind = "ScalingMechanismDescription" end attr_accessor :Kind # # Mapper for ScalingMechanismDescription class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScalingMechanismDescription', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'ScalingMechanismDescription', class_name: 'ScalingMechanismDescription', model_properties: { } } } end end end end
Version data entries
3 entries across 3 versions & 1 rubygems