Class: Azure::ServiceFabric::V6_5_0_36::Models::AutoScalingMechanism
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_5_0_36::Models::AutoScalingMechanism
- Includes:
- MsRestAzure
- Defined in:
- lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb
Overview
Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism.
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 AutoScalingMechanism class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ AutoScalingMechanism
constructor
A new instance of AutoScalingMechanism.
Constructor Details
#initialize ⇒ AutoScalingMechanism
Returns a new instance of AutoScalingMechanism.
19 20 21 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb', line 19 def initialize @kind = "AutoScalingMechanism" end |
Instance Attribute Details
#kind ⇒ Object
Returns the value of attribute kind.
23 24 25 |
# File 'lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_mechanism.rb', line 23 def kind @kind end |
Class Method Details
.mapper ⇒ Object
Mapper for AutoScalingMechanism class as Ruby Hash. This will be used for serialization/deserialization.
30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
# 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 |