Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/provider_ltm_virtual_server.rb
#
# Return data structure for virtual server defenition given new_resource parameters
#
# @return [Array<Hash>]
#   data structure for Virtual Server Defenition based on new_resource
#
Return data structure for virtual server defenition given new_resource parameters
Return data structure for virtual server defenition given new_resource parameters
def new_virtual_server_defenition
        [{
          'name' => new_resource.vs_name,
          'address' => new_resource.destination_address,
          'port' => new_resource.destination_port,
          'protocol' => new_resource.protocol,
          'connection_limit' => new_resource.connection_limit,
        }]
      end
def new_virtual_server_defenition [ { 'name' => new_resource . vs_name , 'address' => new_resource . destination_address , 'port' => new_resource . destination_port , 'protocol' => new_resource . protocol , 'connection_limit' => new_resource . connection_limit , } ] end
Return data structure for virtual server defenition given new_resource parameters
Return data structure for virtual server defenition given new_resource parameters
data structure for Virtual Server Defenition based on new_resource
data structure for Virtual Server Defenition based on new_resource
Array<Hash>