Sha256: 448cf87dc5c0607223f5c12b44c3fdffea752d5119537b2fca15ba720962c063
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ServiceFabric::V7_0_0_42 module Models # # Describes the metric that is used for triggering auto scaling operation. # Derived classes will describe resources or metrics. # class AutoScalingMetric include MsRestAzure @@discriminatorMap = Hash.new @@discriminatorMap["Resource"] = "AutoScalingResourceMetric" def initialize @kind = "AutoScalingMetric" end attr_accessor :kind # # Mapper for AutoScalingMetric class as Ruby Hash. # This will be used for serialization/deserialization. # 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 end end end
Version data entries
2 entries across 2 versions & 1 rubygems