Class: Azure::ServiceFabric::V6_3_0_9::Models::ScalingTriggerDescription
- Inherits:
-
Object
- Object
- Azure::ServiceFabric::V6_3_0_9::Models::ScalingTriggerDescription
- Includes:
- MsRestAzure
- Defined in:
- lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb
Overview
Describes the trigger for performing a scaling operation.
Direct Known Subclasses
AveragePartitionLoadScalingTrigger, AverageServiceLoadScalingTrigger
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 ScalingTriggerDescription class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ScalingTriggerDescription
constructor
A new instance of ScalingTriggerDescription.
Constructor Details
#initialize ⇒ ScalingTriggerDescription
Returns a new instance of ScalingTriggerDescription.
19 20 21 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 19 def initialize @Kind = "ScalingTriggerDescription" end |
Instance Attribute Details
#Kind ⇒ Object
Returns the value of attribute Kind.
23 24 25 |
# File 'lib/6.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 23 def Kind @Kind end |
Class Method Details
.mapper ⇒ Object
Mapper for ScalingTriggerDescription 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.3.0.9/generated/azure_service_fabric/models/scaling_trigger_description.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ScalingTriggerDescription', type: { name: 'Composite', polymorphic_discriminator: 'Kind', uber_parent: 'ScalingTriggerDescription', class_name: 'ScalingTriggerDescription', model_properties: { } } } end |