Sha256: bdaea4570ec540494df94bbd7cfd8dc4e3bad938b8e253e25b369d736a5e8d9d

Contents?: true

Size: 803 Bytes

Versions: 46

Compression:

Stored size: 803 Bytes

Contents

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

        def self.parse(probe)
          hash = {}
          hash['id'] = probe.id
          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

46 entries across 46 versions & 4 rubygems

Version Path
fog-azure-rm-0.6.0 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.5.3 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.5.2 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.6 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.5.1 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.5 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.5.0 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.4 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.3 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.9 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.2 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.8 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.7 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.6 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.5 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-temp-0.0.5 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.4 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.3 lib/fog/azurerm/models/application_gateway/probe.rb
far-gem-0.5.1 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.4.2 lib/fog/azurerm/models/application_gateway/probe.rb