code: def add_network_to_vapp(vAppId, network_section)
          params = {
            'method' => :put,
            'command' => "/vApp/vapp-#{vAppId}/networkConfigSection"
          }
  
          response, headers = send_request(params, network_section, "application/vnd.vmware.vcloud.networkConfigSection+xml")
  
          task_id = headers[:location].gsub(/.*\/task\//, "")
          task_id
        end
docs: Add a new network to a vApp