Sha256: 932537ee4c7da07a43cd969b7958e49cff332b5bfe519aeb1c2e338d5e4891c7

Contents?: true

Size: 1.56 KB

Versions: 10

Compression:

Stored size: 1.56 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::Monitor::Mgmt::V2018_03_01
  module Models
    #
    # Represents a collection of alert rule resources.
    #
    class MetricAlertResourceCollection

      include MsRestAzure

      # @return [Array<MetricAlertResource>] the values for the alert rule
      # resources.
      attr_accessor :value


      #
      # Mapper for MetricAlertResourceCollection class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'MetricAlertResourceCollection',
          type: {
            name: 'Composite',
            class_name: 'MetricAlertResourceCollection',
            model_properties: {
              value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      client_side_validation: true,
                      required: false,
                      serialized_name: 'MetricAlertResourceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'MetricAlertResource'
                      }
                  }
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.19.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.18.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.6 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.5 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.4 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.3 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.2 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.1 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.17.0 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb
azure_mgmt_monitor-0.16.1 lib/2018-03-01/generated/azure_mgmt_monitor/models/metric_alert_resource_collection.rb