Sha256: 442f4bbbf4731d2f4deab45a49b26b05a976aab49eda25bec4e02f99fe5c2d11

Contents?: true

Size: 870 Bytes

Versions: 6

Compression:

Stored size: 870 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

6 entries across 6 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.1 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
fog-azure-rm-0.1.0 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
fog-azure-rm-0.0.9 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
fog-azure-rm-0.0.8 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
fog-azure-rm-0.0.6 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb
fog-azure-rm-0.0.5 lib/fog/azurerm/models/application_gateway/backend_http_setting.rb