Sha256: dfb3ef2e2f21dcb47a12b4b8c5a2a4d1134ad9a22b264896b32874a67be91684

Contents?: true

Size: 1.29 KB

Versions: 5

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_2_0_9
  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

5 entries across 5 versions & 1 rubygems

Version Path
azure_service_fabric-0.18.1 lib/6.2.0.9/generated/azure_service_fabric/models/scaling_mechanism_description.rb
azure_service_fabric-0.18.0 lib/6.2.0.9/generated/azure_service_fabric/models/scaling_mechanism_description.rb
azure_service_fabric-0.17.2 lib/6.2.0.9/generated/azure_service_fabric/models/scaling_mechanism_description.rb
azure_service_fabric-0.17.1 lib/6.2.0.9/generated/azure_service_fabric/models/scaling_mechanism_description.rb
azure_service_fabric-0.17.0 lib/6.2.0.9/generated/azure_service_fabric/models/scaling_mechanism_description.rb