Sha256: c39bdaf15cf920c5a3e23b238ebb3867e428d97d6736695fa42a4653b2b2da40

Contents?: true

Size: 844 Bytes

Versions: 1

Compression:

Stored size: 844 Bytes

Contents

module Fog
  module ApplicationGateway
    class AzureRM
      # Backend Http Settings model class for Application Gateway Service
      class BackendHttpSetting < Fog::Model
        identity :name
        attribute :port
        attribute :protocol
        attribute :cookie_based_affinity
        attribute :request_timeout
        attribute :probe

        def self.parse(backend_http_setting)
          hash = {}
          hash['name'] = backend_http_setting.name
          hash['port'] = backend_http_setting.port
          hash['protocol'] = backend_http_setting.protocol
          hash['cookie_based_affinity'] = backend_http_setting.cookie_based_affinity
          hash['request_timeout'] = backend_http_setting.request_timeout
          hash['probe'] = backend_http_setting.probe
          hash
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.2 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb