Class: Azure::ServiceFabric::V7_0_0_42::Models::AutoScalingTrigger

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/7.0.0.42/generated/azure_service_fabric/models/auto_scaling_trigger.rb

Overview

Describes the trigger for performing auto scaling operation.

Direct Known Subclasses

AverageLoadScalingTrigger

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeAutoScalingTrigger

Returns a new instance of AutoScalingTrigger.



18
19
20
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/auto_scaling_trigger.rb', line 18

def initialize
  @kind = "AutoScalingTrigger"
end

Instance Attribute Details

#kindObject

Returns the value of attribute kind.



22
23
24
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/auto_scaling_trigger.rb', line 22

def kind
  @kind
end

Class Method Details

.mapperObject

Mapper for AutoScalingTrigger class as Ruby Hash. This will be used for serialization/deserialization.



29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/7.0.0.42/generated/azure_service_fabric/models/auto_scaling_trigger.rb', line 29

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AutoScalingTrigger',
    type: {
      name: 'Composite',
      polymorphic_discriminator: 'kind',
      uber_parent: 'AutoScalingTrigger',
      class_name: 'AutoScalingTrigger',
      model_properties: {
      }
    }
  }
end