Sha256: 83f3b1f1df101d4d57357c1686976ebb2306f8b52a447532a8892f98b42c5ec8
Contents?: true
Size: 715 Bytes
Versions: 46
Compression:
Stored size: 715 Bytes
Contents
module Fog module ApplicationGateway class AzureRM # Backend Address Pool model class for Application Gateway Service class BackendAddressPool < Fog::Model identity :name attribute :id attribute :ip_addresses def self.parse(backend_address_pool) hash = {} backend_addresses = backend_address_pool.backend_addresses hash['id'] = backend_address_pool.id hash['name'] = backend_address_pool.name hash['ip_addresses'] = [] backend_addresses.each do |ip_address| hash['ip_addresses'] << ip_address end unless backend_addresses.nil? hash end end end end end
Version data entries
46 entries across 46 versions & 4 rubygems