class Azure::ServiceFabric::V6_5_0_36::Models::AutoScalingMechanism
Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.
Attributes
kind[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for AutoScalingMechanism
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb, line 30 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
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb, line 19 def initialize @kind = "AutoScalingMechanism" end