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.4.1 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.4.0 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.9 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.8 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.7 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.6 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.5 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.4 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-temp-0.0.4 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-temp-0.0.3 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.3 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-temp-0.0.2 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-temp-0.0.1 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.2 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-downgraded-0.3.1 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.1 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-downgraded-0.3.0 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.3.0 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.2.7 lib/fog/azurerm/models/network/probe.rb
fog-azure-rm-0.2.6 lib/fog/azurerm/models/network/probe.rb