class Fog::ApplicationGateway::AzureRM::Probe

Probe model class for Application Gateway Service

Public Class Methods

parse(probe) click to toggle source
# File lib/fog/azurerm/models/application_gateway/probe.rb, line 15
def self.parse(probe)
  hash = {}
  hash['id'] = probe.id
  hash['name'] = probe.name
  hash['protocol'] = probe.protocol
  hash['host'] = probe.host
  hash['path'] = probe.path
  hash['interval'] = probe.interval
  hash['timeout'] = probe.timeout
  hash['unhealthy_threshold'] = probe.unhealthy_threshold
  hash
end