Class: Fog::ApplicationGateway::AzureRM::FrontendPort

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

Overview

Frontenf Port model class for Application Gateway Service

Class Method Summary collapse

Class Method Details

.parse(frontend_port) ⇒ Object



9
10
11
12
13
14
# File 'lib/fog/azurerm/models/application_gateway/frontend_port.rb', line 9

def self.parse(frontend_port)
  hash = {}
  hash['name'] = frontend_port.name
  hash['port'] = frontend_port.port
  hash
end