Sha256: 1621e657831b1ee5b1164b0d01809e68f8c586e57583e19fc2cabc4d84e19cf0
Contents?: true
Size: 1.02 KB
Versions: 6
Compression:
Stored size: 1.02 KB
Contents
module Fog module ApplicationGateway class AzureRM # Request Routing Rule model class for Application Gateway Service class RequestRoutingRule < Fog::Model identity :name attribute :type attribute :http_listener_id attribute :backend_address_pool_id attribute :backend_http_settings_id attribute :url_path_map def self.parse(request_routing_rule) hash = {} hash['name'] = request_routing_rule.name hash['type'] = request_routing_rule.rule_type hash['http_listener_id'] = request_routing_rule.http_listener.id unless request_routing_rule.http_listener.nil? hash['backend_address_pool_id'] = request_routing_rule.backend_address_pool.id unless request_routing_rule.backend_address_pool.nil? hash['backend_http_settings_id'] = request_routing_rule.backend_http_settings.id unless request_routing_rule.backend_http_settings.nil? hash end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems