Sha256: 4aa7c9cf92a1dc118e1e51f4447decdfccfeac9cdf9f90bb1b3b7ade3bff7c5c

Contents?: true

Size: 1.43 KB

Versions: 2

Compression:

Stored size: 1.43 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
    #
    # Represents a collection of alert rule resources.
    #
    class AlertRuleResourceCollection

      include MsRestAzure

      include MsRest::JSONable
      # @return [Array<AlertRuleResource>] the values for the alert rule
      # resources.
      attr_accessor :value


      #
      # Mapper for AlertRuleResourceCollection class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AlertRuleResourceCollection',
          type: {
            name: 'Composite',
            class_name: 'AlertRuleResourceCollection',
            model_properties: {
              value: {
                required: false,
                serialized_name: 'value',
                type: {
                  name: 'Sequence',
                  element: {
                      required: false,
                      serialized_name: 'AlertRuleResourceElementType',
                      type: {
                        name: 'Composite',
                        class_name: 'AlertRuleResource'
                      }
                  }
                }
              }
            }
          }
        }
      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/alert_rule_resource_collection.rb
azure_mgmt_monitor-0.11.0 lib/generated/azure_mgmt_monitor/models/alert_rule_resource_collection.rb