def delete_vapp(vAppId)
      params = {
        'method' => :delete,
        'command' => "/vApp/vapp-#{vAppId}"
      }

      response, headers = send_request(params)
      task_id = headers[:location].gsub(/.*\/task\//, "")
      task_id
    end
def delete_vapp(vAppId)
      params = {
        'method' => :delete,
        'command' => "/vApp/vapp-
      }

      response, headers = send_request(params)
      task_id = headers[:location].gsub(/.*\/task\//, "")
      task_id
    end
def delete_vapp ( vAppId ) params = { 'method' => :delete , 'command' => "/vApp/vapp-#{vAppId}" } response , headers = send_request ( params ) task_id = headers [ :location ] . gsub ( / \/ \/ / , "" ) task_id end
Delete a given vapp
 NOTE: It doesn't verify that the vapp is shutdown
Delete a given vapp NOTE : It doesn t verify that the vapp is shutdown