Class: Fog::ApplicationGateway::AzureRM::HttpListener
- Inherits:
-
Model
- Object
- Model
- Fog::ApplicationGateway::AzureRM::HttpListener
- Defined in:
- lib/fog/azurerm/models/application_gateway/http_listener.rb
Overview
Http Listener class for Application Gateway Service
Class Method Summary collapse
Class Method Details
.parse(http_listener) ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 26 |
# File 'lib/fog/azurerm/models/application_gateway/http_listener.rb', line 15 def self.parse(http_listener) hash = {} hash['id'] = http_listener.id 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 |