ia64/xen-unstable

changeset 12156:5cd2a642eff6

Added VDI.resize method.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author Ewan Mellor <ewan@xensource.com>
date Thu Oct 26 14:40:22 2006 +0100 (2006-10-26)
parents 3ca584553972
children d1b8acfaf9be
files docs/xen-api/xenapi-datamodel.tex
line diff
     1.1 --- a/docs/xen-api/xenapi-datamodel.tex	Thu Oct 26 14:39:34 2006 +0100
     1.2 +++ b/docs/xen-api/xenapi-datamodel.tex	Thu Oct 26 14:40:22 2006 +0100
     1.3 @@ -7262,6 +7262,40 @@ The ID of the newly created VDI.
     1.4  \vspace{0.3cm}
     1.5  \vspace{0.3cm}
     1.6  \vspace{0.3cm}
     1.7 +\subsubsection{RPC name:~resize}
     1.8 +
     1.9 +{\bf Overview:} 
    1.10 +Resize the vdi to the size.
    1.11 +
    1.12 + \noindent {\bf Signature:} 
    1.13 +\begin{verbatim} void resize (session_id s, VDI ref vdi, int size)\end{verbatim}
    1.14 +
    1.15 +
    1.16 +\noindent{\bf Arguments:}
    1.17 +
    1.18 + 
    1.19 +\vspace{0.3cm}
    1.20 +\begin{tabular}{|c|c|p{7cm}|}
    1.21 + \hline
    1.22 +{\bf type} & {\bf name} & {\bf description} \\ \hline
    1.23 +{\tt VDI ref } & vdi & The VDI to resize \\ \hline 
    1.24 +
    1.25 +{\tt int } & size & The new size of the VDI \\ \hline 
    1.26 +
    1.27 +\end{tabular}
    1.28 +
    1.29 +\vspace{0.3cm}
    1.30 +
    1.31 + \noindent {\bf Return Type:} 
    1.32 +{\tt 
    1.33 +void
    1.34 +}
    1.35 +
    1.36 +
    1.37 +
    1.38 +\vspace{0.3cm}
    1.39 +\vspace{0.3cm}
    1.40 +\vspace{0.3cm}
    1.41  \subsubsection{RPC name:~get\_uuid}
    1.42  
    1.43  {\bf Overview:}