class Azure::ServiceFabric::V6_5_0_36::Models::AutoScalingMetric
Describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.
Attributes
kind[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for AutoScalingMetric
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_metric.rb, line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AutoScalingMetric', type: { name: 'Composite', polymorphic_discriminator: 'kind', uber_parent: 'AutoScalingMetric', class_name: 'AutoScalingMetric', model_properties: { } } } end
new()
click to toggle source
# File lib/6.5.0.36/generated/azure_service_fabric/models/auto_scaling_metric.rb, line 19 def initialize @kind = "AutoScalingMetric" end