Sha256: ca530d2358712474d103e9052b45222ef48500cdbb350f8c55e4b6bfd94f3bd4

Contents?: true

Size: 781 Bytes

Versions: 53

Compression:

Stored size: 781 Bytes

Contents

module Fog
  module Network
    class AzureRM
      # Probe model for Network Service
      class Probe < Fog::Model
        identity :name
        attribute :id
        attribute :protocol
        attribute :port
        attribute :request_path
        attribute :interval_in_seconds
        attribute :number_of_probes

        def self.parse(probe)
          hash = {}
          hash['id'] = probe.id
          hash['name'] = probe.name
          hash['protocol'] = probe.protocol
          hash['port'] = probe.port
          hash['request_path'] = probe.request_path
          hash['interval_in_seconds'] = probe.interval_in_seconds
          hash['number_of_probes'] = probe.number_of_probes
          hash
        end
      end
    end
  end
end

Version data entries

53 entries across 53 versions & 4 rubygems

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