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