Marius Burkard
2016-07-08 9bcd2fd54728b9e634442f584268da03acaea633
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!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&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> diskspace&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> traffic&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> bandwidth&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> ram&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> ram_burst&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_units&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_num&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> cpu_limit&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> io_priority&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
<p class="margin"> active&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> description&nbsp;&nbsp;(<span class="paratype">text</span>)</p>
<p class="margin"> numproc&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numtcpsock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numothersock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> vmguarpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> kmemsize&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> tcpsndbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> tcprcvbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> othersockbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> dgramrcvbuf&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> oomguarpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> privvmpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> lockedpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> shmpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> physpages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numfile&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> avnumproc&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numflock&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numpty&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numsiginfo&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> dcachesize&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> numiptent&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> swappages&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> hostname&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> nameserver&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
<p class="margin"> create_dns&nbsp;&nbsp;(<span class="paratype">varchar(1)</span>)</p>
<p class="margin"> capability&nbsp;&nbsp;(<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>