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



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

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