Sha256: 98431e769602415c04e573a59f5bfbc0481a024bcef196bdb8cd6ebd1aeac408

Contents?: true

Size: 377 Bytes

Versions: 4

Compression:

Stored size: 377 Bytes

Contents

module Fog
  module Monitoring
    class HuaweiCloud
      class Real
        def create_alarm_definition(options)
          request(
            :body    => Fog::JSON.encode(options),
            :expects => [201, 204],
            :method  => 'POST',
            :path    => 'alarm-definitions'
          )
        end
      end

      class Mock
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-huaweicloud-0.0.3 lib/fog/monitoring/huaweicloud/requests/create_alarm_definition.rb
fog-huaweicloud-0.0.2 lib/fog/monitoring/huaweicloud/requests/create_alarm_definition.rb
fog-huaweicloud-0.1.3 lib/fog/monitoring/huaweicloud/requests/create_alarm_definition.rb
fog-huaweicloud-0.1.2 lib/fog/monitoring/huaweicloud/requests/create_alarm_definition.rb