code: public static xen_upgrade upgrade(nitro_service client, xen_upgrade resource) throws Exception
  	{
  		return ((xen_upgrade[]) resource.update_resource(client))[0];
  	}
docs: <pre>
  Use this operation to upgrade XenServer.
  </pre>