lib/fog/azurerm/models/application_gateway/probe.rb in fog-azure-rm-0.1.2 vs lib/fog/azurerm/models/application_gateway/probe.rb in fog-azure-rm-0.2.0

- old
+ new

@@ -2,18 +2,20 @@ module ApplicationGateway class AzureRM # Probe model class for Application Gateway Service class Probe < Fog::Model identity :name + attribute :id attribute :protocol attribute :host attribute :path attribute :interval attribute :timeout attribute :unhealthy_threshold 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