Sha256: dc0060ed8695a150467b7a7eb16807c12ac6f0d6195b7cc1e3a33db1b240d89f

Contents?: true

Size: 777 Bytes

Versions: 6

Compression:

Stored size: 777 Bytes

Contents

module Fog
  module ApplicationGateway
    class AzureRM
      # Probe model class for Application Gateway Service
      class Probe < Fog::Model
        identity :name
        attribute :protocol
        attribute :host
        attribute :path
        attribute :interval
        attribute :timeout
        attribute :unhealthy_threshold

        def self.parse(probe)
          hash = {}
          hash['name'] = probe.name
          hash['protocol'] = probe.protocol
          hash['host'] = probe.host
          hash['path'] = probe.path
          hash['interval'] = probe.interval
          hash['timeout'] = probe.timeout
          hash['unhealthy_threshold'] = probe.unhealthy_threshold
          hash
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.1 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.1.0 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.0.9 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.0.8 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.0.6 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.0.5 lib/fog/azurerm/models/application_gateway/probe.rb