Sha256: 89a3881535b1df14aa930c663183fade52e9118409b6599edea9391dc55faece

Contents?: true

Size: 1.42 KB

Versions: 1

Compression:

Stored size: 1.42 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::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

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_monitor-0.13.0 lib/generated/azure_mgmt_monitor/models/alert_rule_resource_collection.rb