Class: Fog::Network::AzureRM::Probe
- Inherits:
-
Model
- Object
- Model
- Fog::Network::AzureRM::Probe
- Defined in:
- lib/fog/azurerm/models/network/probe.rb
Overview
Probe model for Network Service
Class Method Summary collapse
Class Method Details
.parse(probe) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 |
# 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 |