Till Brehm
2016-07-24 b9a3ef486ebcde18a5ade37865ff8f397185d24f
commit | author | age
413d3b 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
00333e 2 <html><head><title>ISPCOnfig 3 remote API documentation</title>
413d3b 3
T 4   
5
6   
7   
8   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
9   <link rel="stylesheet" type="text/css" href="definitionen.css">
10   <style type="text/css">
11   </style></head>
12
13 <body>
14 <div style="padding:40px">
15 <h1>openvz_vm_update(<span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$vm_id</span>, <span class="var">$params</span>);</h1>
16 <br>
17 <b>Description: </b>
18 <p class="margin"> Updates an openvz vm.</p><br>
19 <b>Input Variables: </b> 
20 <p class="margin"> <span class="var">$session_id</span>, <span class="var">$client_id</span>, <span class="var">$vm_id</span>, <span class="var">$params</span></p>
21 <b>Parameters (in <span style= "color:#A17FFF">$params</span>): </b>
22 <p class="margin"> server_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
23 <p class="margin"> veid&nbsp;&nbsp;(<span class="paratype">int(10)</span>)</p>
24 <p class="margin"> ostemplate_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
25 <p class="margin"> template_id&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
26 <p class="margin"> ip_address&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
27 <p class="margin"> hostname&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
28 <p class="margin"> vm_password&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
29 <p class="margin"> start_boot&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
30 <p class="margin"> active&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
31 <p class="margin"> active_until_date&nbsp;&nbsp;(<span class="paratype">date</span>)</p>
32 <p class="margin"> description&nbsp;&nbsp;(<span class="paratype">text</span>)</p>
33 <p class="margin"> diskspace&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
34 <p class="margin"> traffic&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
35 <p class="margin"> bandwidth&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
36 <p class="margin"> ram&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
37 <p class="margin"> ram_burst&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
38 <p class="margin"> cpu_units&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
39 <p class="margin"> cpu_num&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
40 <p class="margin"> cpu_limit&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
41 <p class="margin"> io_priority&nbsp;&nbsp;(<span class="paratype">int(11)</span>)</p>
42 <p class="margin"> nameserver&nbsp;&nbsp;(<span class="paratype">varchar(255)</span>)</p>
43 <p class="margin"> create_dns&nbsp;&nbsp;(<span class="paratype">varchar(1)</span>)</p>
44 <p class="margin"> capability&nbsp;&nbsp;(<span class="paratype">text</span>)</p>
45 <p class="margin"> config&nbsp;&nbsp;(<span class="paratype">mediumtext</span>)</p>
46 <b>Output: </b> 
47 <p class="margin"> Returns the number of affected rows.</p>
48 <!--<b>Output:</b> 
49 <p style="margin-left:100px">Gives a record of </p> -->
50 </div>
51
52 </body></html>