Sha256: 5bd8513d71a7733b5d9573231c08f44df33e204602691d18beb6af5c4937e96f
Contents?: true
Size: 1.07 KB
Versions: 2
Compression:
Stored size: 1.07 KB
Contents
module Fog module Network class AzureRM # Backend Http Settings model class for Network Service class ApplicationGatewayBackendHttpSetting < Fog::Model identity :name attribute :port attribute :protocol attribute :cookie_based_affinity attribute :request_timeout attribute :probe def self.parse(backend_http_setting) backend_http_setting_properties = backend_http_setting['properties'] hash = {} hash['name'] = backend_http_setting['name'] unless backend_http_setting_properties.nil? hash['port'] = backend_http_setting_properties['port'] hash['protocol'] = backend_http_setting_properties['protocol'] hash['cookie_based_affinity'] = backend_http_setting_properties['cookieBasedAffinity'] hash['request_timeout'] = backend_http_setting_properties['requestTimeout'] hash['probe'] = backend_http_setting_properties['probe'] hash end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems