Sha256: bdaea4570ec540494df94bbd7cfd8dc4e3bad938b8e253e25b369d736a5e8d9d

Contents?: true

Size: 803 Bytes

Versions: 46

Compression:

Stored size: 803 Bytes

Contents

module Fog
  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
          hash['timeout'] = probe.timeout
          hash['unhealthy_threshold'] = probe.unhealthy_threshold
          hash
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 4 rubygems

Version Path
fog-azure-rm-0.2.5 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.2.4 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.2.3 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.2.2 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.2.1 lib/fog/azurerm/models/application_gateway/probe.rb
fog-azure-rm-0.2.0 lib/fog/azurerm/models/application_gateway/probe.rb