Sha256: e2f1dafddff868f8b33dbca1353147e68304ffaf62b77e99e5582ee74ea00205
Contents?: true
Size: 1.08 KB
Versions: 46
Compression:
Stored size: 1.08 KB
Contents
module Fog module ApplicationGateway class AzureRM # Frontend IP Configuration model class for Application Gateway Service class FrontendIPConfiguration < Fog::Model identity :name attribute :id attribute :public_ip_address_id attribute :private_ip_allocation_method attribute :private_ip_address attribute :subnet_id def self.parse(frontend_ip_configuration) hash = {} hash['id'] = frontend_ip_configuration.id hash['name'] = frontend_ip_configuration.name hash['public_ip_address_id'] = frontend_ip_configuration.public_ipaddress.id unless frontend_ip_configuration.public_ipaddress.nil? hash['private_ip_allocation_method'] = frontend_ip_configuration.private_ipallocation_method private_ip_address = frontend_ip_configuration.private_ipaddress hash['private_ip_address'] = private_ip_address hash['subnet_id'] = frontend_ip_configuration.subnet.id unless frontend_ip_configuration.subnet.nil? hash end end end end end
Version data entries
46 entries across 46 versions & 4 rubygems