class Azure::ServiceFabric::V7_0_0_42::Models::AutoScalingMetric

Describes the metric that is used for triggering auto scaling operation. Derived classes will describe resources or metrics.

Attributes

kind[RW]

Private Class Methods

mapper() click to toggle source

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

# File lib/7.0.0.42/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/7.0.0.42/generated/azure_service_fabric/models/auto_scaling_metric.rb, line 19
def initialize
  @kind = "AutoScalingMetric"
end