Sha256: 0adac140921a38f268c627031869a6c8dea2ebe72cb37f6b1452fbbe778bf221
Contents?: true
Size: 1.53 KB
Versions: 5
Compression:
Stored size: 1.53 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::V6_4_0_36 module Models # # Describes the resource that is used for triggering auto scaling. # class AutoScalingResourceMetric < AutoScalingMetric include MsRestAzure def initialize @kind = "Resource" end attr_accessor :kind # @return [AutoScalingResourceMetricName] Name of the resource. Possible # values include: 'cpu', 'memoryInGB' attr_accessor :name # # Mapper for AutoScalingResourceMetric class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Resource', type: { name: 'Composite', class_name: 'AutoScalingResourceMetric', model_properties: { kind: { client_side_validation: true, required: true, serialized_name: 'kind', type: { name: 'String' } }, name: { client_side_validation: true, required: true, serialized_name: 'name', type: { name: 'String' } } } } } end end end end
Version data entries
5 entries across 5 versions & 1 rubygems