VirtualBox

Changeset 97931 in vbox for trunk/src/VBox/Main/idl


Ignore:
Timestamp:
Dec 31, 2022 9:44:15 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
155021
Message:

Main: Added resizeAndCloneTo(). Modified cloneTo(), bugref:10090

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/idl/VirtualBox.xidl

    r97865 r97931  
    1812618126  <interface
    1812718127    name="IMedium" extends="$unknown"
    18128     uuid="ad47ad09-787b-44ab-b343-a082a3f2dfb1"
     18128    uuid="dbe1d807-5fa1-482f-9121-37b8fd855348"
    1812918129    wsmap="managed"
    1813018130    rest="managed"
     
    1921219212      <param name="target" type="IMedium" dir="in">
    1921319213        <desc>Target medium.</desc>
     19214      </param>
     19215      <param name="variant" type="MediumVariant" safearray="yes" dir="in">
     19216        <desc>Exact image variant which should be created (as a combination of
     19217          <link to="MediumVariant" /> flags).</desc>
     19218      </param>
     19219      <param name="parent" type="IMedium" dir="in">
     19220        <desc>Parent of the cloned medium.</desc>
     19221      </param>
     19222      <param name="progress" type="IProgress" dir="return">
     19223        <desc>Progress object to track the operation completion.</desc>
     19224      </param>
     19225    </method>
     19226
     19227    <method name="resizeAndCloneTo">
     19228      <rest request="post" path="/mediums/{mediumid}/actions/"/>
     19229
     19230      <desc>
     19231        This is a helper function that combines the functionality of
     19232        <link to="IMedium::cloneTo"/> and <link to="IMedium::resize"/>. The target medium will take the
     19233        contents of the calling medium.
     19234        <result name="E_NOTIMPL">
     19235          The specified cloning variant is not supported at the moment.
     19236        </result>
     19237      </desc>
     19238
     19239      <param name="target" type="IMedium" dir="in">
     19240        <desc>Target medium.</desc>
     19241      </param>
     19242      <param name="logicalSize" type="long long" dir="in">
     19243        <desc>New nominal capacity of the medium in bytes.</desc>
    1921419244      </param>
    1921519245      <param name="variant" type="MediumVariant" safearray="yes" dir="in">
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette