Class: Azure::ServiceFabric::V7_0_0_42::Models::AutoScalingTrigger
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V7_0_0_42::Models::AutoScalingTrigger
- 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
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#kind ⇒ Object
Returns the value of attribute kind.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AutoScalingTrigger class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AutoScalingTrigger
constructor
A new instance of AutoScalingTrigger.
Constructor Details
#initialize ⇒ AutoScalingTrigger
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
#kind ⇒ Object
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
.mapper ⇒ Object
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 |