Sha256: e727438b35e351f8a33bad5a1974b7f9afdb66624e594c8321eb4bd38ef12785
Contents?: true
Size: 1.09 KB
Versions: 1
Compression:
Stored size: 1.09 KB
Contents
module Fog module ApplicationGateway class AzureRM # Http Listener class for Application Gateway Service class HttpListener < Fog::Model identity :name attribute :frontend_ip_config_id attribute :frontend_port_id attribute :protocol attribute :host_name attribute :ssl_certificate_id attribute :require_server_name_indication def self.parse(http_listener) hash = {} hash['name'] = http_listener.name hash['frontend_ip_config_id'] = http_listener.frontend_ipconfiguration.id unless http_listener.frontend_ipconfiguration.nil? hash['frontend_port_id'] = http_listener.frontend_port.id unless http_listener.frontend_port.nil? hash['protocol'] = http_listener.protocol hash['host_name'] = http_listener.host_name hash['ssl_certificate_id'] = http_listener.ssl_certificate.id unless http_listener.ssl_certificate.nil? hash['require_server_name_indication'] = http_listener.require_server_name_indication hash end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fog-azure-rm-0.1.2 | lib/fog/azurerm/models/application_gateway/http_listener.rb |