<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
<html><head><title>ISPCOnfig 3 remote API documentation</title>
|
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
<link rel="stylesheet" type="text/css" href="definitionen.css">
|
<style type="text/css">
|
</style></head>
|
|
<body>
|
<div style="padding:40px">
|
<h1>openvz_template_update(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$template_id</span>, <span class="var">$params</span>);</h1>
|
<br>
|
<b>Description: </b>
|
<p class="margin"> Updates an openvz template.</p><br>
|
<b>Input Variables: </b>
|
<p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$template_id</span>, <span class="var">$params</span></p>
|
<b>Parameters (in <span style= "color:#A17FFF">$params</span>): </b>
|
<p class="margin"> template_name (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> diskspace (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> traffic (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> bandwidth (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> ram (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> ram_burst (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> cpu_units (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> cpu_num (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> cpu_limit (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> io_priority (<span class="paratype">int(11)</span>)</p>
|
<p class="margin"> active (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> description (<span class="paratype">text</span>)</p>
|
<p class="margin"> numproc (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numtcpsock (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numothersock (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> vmguarpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> kmemsize (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> tcpsndbuf (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> tcprcvbuf (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> othersockbuf (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> dgramrcvbuf (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> oomguarpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> privvmpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> lockedpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> shmpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> physpages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numfile (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> avnumproc (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numflock (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numpty (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numsiginfo (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> dcachesize (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> numiptent (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> swappages (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> hostname (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> nameserver (<span class="paratype">varchar(255)</span>)</p>
|
<p class="margin"> create_dns (<span class="paratype">varchar(1)</span>)</p>
|
<p class="margin"> capability (<span class="paratype">varchar(255)</span>)</p>
|
<b>Output: </b>
|
<p class="margin"> Returns the number of affected rows.</p>
|
<!--<b>Output:</b>
|
<p style="margin-left:100px">Gives a record of </p> -->
|
</div>
|
|
</body></html>
|