Sha256: b9cabc103153b30c9927e62489e1417b2e736ec40d9154fdda2e85a118bb4bf2
Contents?: true
Size: 1.48 KB
Versions: 2
Compression:
Stored size: 1.48 KB
Contents
# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0 # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::ARM::Monitor module Models # # A rule that provide the triggers and parameters for the scaling action. # class ScaleRule include MsRestAzure include MsRest::JSONable # @return [MetricTrigger] the trigger that results in a scaling action. attr_accessor :metric_trigger # @return [ScaleAction] the parameters for the scaling action. attr_accessor :scale_action # # Mapper for ScaleRule class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { required: false, serialized_name: 'ScaleRule', type: { name: 'Composite', class_name: 'ScaleRule', model_properties: { metric_trigger: { required: true, serialized_name: 'metricTrigger', type: { name: 'Composite', class_name: 'MetricTrigger' } }, scale_action: { required: true, serialized_name: 'scaleAction', type: { name: 'Composite', class_name: 'ScaleAction' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
azure_mgmt_monitor-0.12.0 | lib/generated/azure_mgmt_monitor/models/scale_rule.rb |
azure_mgmt_monitor-0.11.0 | lib/generated/azure_mgmt_monitor/models/scale_rule.rb |