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