Class: Fog::Network::AzureRM::ApplicationGatewayIPConfiguration

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

Overview

GatewayIPConfiguration model class for Network Service

Class Method Summary collapse

Class Method Details

.parse(gateway_ip_configuration) ⇒ Object



9
10
11
12
13
14
15
16
17
# File 'lib/fog/azurerm/models/network/application_gateway_ip_configuration.rb', line 9

def self.parse(gateway_ip_configuration)
  hash = {}
  hash['name'] = gateway_ip_configuration['name']
  gateway_ip_configuration_prop = gateway_ip_configuration['properties']
  unless gateway_ip_configuration_prop['subnet'].nil?
    hash['subnet_id'] = gateway_ip_configuration_prop['subnet']['id']
  end
  hash
end