Class: Fog::ApplicationGateway::AzureRM::BackendHttpSetting

Inherits:
Model
  • Object
show all
Defined in:
lib/fog/azurerm/models/application_gateway/backend_http_setting.rb

Overview

Backend Http Settings model class for Application Gateway Service

Class Method Summary collapse

Class Method Details

.parse(backend_http_setting) ⇒ Object



14
15
16
17
18
19
20
21
22
23
24
# 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