Sha256: 05225fe9ea595ccc6dc08a1761e220833a7f4110f9bbba05e2e3cb1442ea87ac

Contents?: true

Size: 708 Bytes

Versions: 1

Compression:

Stored size: 708 Bytes

Contents

# Azure namespace
module Azure
  # Armrest namespace
  module Armrest
    # Insights namesspace
    module Insights
      # Base class for managing alert rules.
      class AlertService < ResourceGroupBasedService
        # The provider used in requests when gathering Alert information.
        attr_reader :provider

        # Create and return a new AlertService instance.
        #
        def initialize(_armrest_configuration, options = {})
          super
          @provider = options[:provider] || 'Microsoft.Insights'
          set_service_api_version(options, 'alertrules')
          @service_name = 'alertRules'
        end
      end # AlertService
    end # Insights
  end # Armrest
end # Azure

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure-armrest-0.0.9 lib/azure/armrest/insights/alert_service.rb