Sha256: 045454831d5b04c0bf5656ce6cf23c943780edd0b5484deb984a14534ba81ea3
Contents?: true
Size: 977 Bytes
Versions: 2
Compression:
Stored size: 977 Bytes
Contents
module Fog module Network class AzureRM # Probe model class for Network Service class ApplicationGatewayProbe < Fog::Model identity :name attribute :protocol attribute :host attribute :path attribute :interval attribute :timeout attribute :unhealthy_threshold def self.parse(probe) probe_properties = probe['properties'] hash = {} hash['name'] = probe['name'] unless probe_properties.nil? hash['protocol'] = probe_properties['protocol'] hash['host'] = probe_properties['host'] hash['path'] = probe_properties['path'] hash['interval'] = probe_properties['interval'] hash['timeout'] = probe_properties['timeout'] hash['unhealthy_threshold'] = probe_properties['unhealthyThreshold'] end hash end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.0.4 | lib/fog/azurerm/models/network/application_gateway_probe.rb |
fog-azure-rm-0.0.3 | lib/fog/azurerm/models/network/application_gateway_probe.rb |