Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_virtual_server.rb
#
# Return data structure for virtual server resource given new_resource parameters
#
# @return [Array<Hash>]
#   data structure for Virtual Server Resource based on new_resource
#
Return data structure for virtual server resource given new_resource parameters
Return data structure for virtual server resource given new_resource parameters
def new_virtual_server_resource
        [{
          'type' => new_resource.type,
          'default_pool_name' => new_resource.default_pool
        }]
      end
def new_virtual_server_resource [ { 'type' => new_resource . type , 'default_pool_name' => new_resource . default_pool } ] end
Return data structure for virtual server resource given new_resource parameters
Return data structure for virtual server resource given new_resource parameters
data structure for Virtual Server Resource based on new_resource
data structure for Virtual Server Resource based on new_resource
Array<Hash>