class Fog::Network::AzureRM::Probe

Probe model for Network Service

Public Class Methods

parse(probe) click to toggle source
# File lib/fog/azurerm/models/network/probe.rb, line 14
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