class Fog::ApplicationGateway::AzureRM::BackendHttpSetting

Backend Http Settings model class for Application Gateway Service

Public Class Methods

parse(backend_http_setting) click to toggle source
# File lib/fog/azurerm/models/application_gateway/backend_http_setting.rb, line 14
def self.parse(backend_http_setting)
  hash = {}
  hash['id'] = backend_http_setting.id
  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