VirtualBox

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


Ignore:
Timestamp:
Oct 24, 2018 1:01:34 PM (6 years ago)
Author:
vboxsync
Message:

OCI: G/c VBOX_WITH_CLOUD_PROVIDERS_NO_COMMANDS ifdefs and related code.

File:
1 edited

Legend:

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

    r74916 r75038  
    2506425064  </enum>
    2506525065
    25066   <enum
    25067     name="CloudCommand"
    25068     uuid="1c5cfa19-7754-4071-bf3e-6d21ad432655"
    25069     >
    25070     <const name="Unknown" value="0"/>
    25071     <const name="createInstance" value="0x1"/>
    25072     <const name="launchInstance" value="0x2"/>
    25073     <const name="pauseInstance" value="0x3"/>
    25074     <const name="stopInstance" value="0x4"/>
    25075     <const name="deleteInstance" value="0x5"/>
    25076     <const name="getInstance" value="0x6"/>
    25077     <const name="listInstances" value="0x7"/>
    25078 
    25079     <const name="createImage" value="0x10"/>
    25080     <const name="getImage" value="0x11"/>
    25081     <const name="importImage" value="0x12"/>
    25082     <const name="exportImage" value="0x13"/>
    25083     <const name="deleteImage" value="0x14"/>
    25084     <const name="updateImage" value="0x15"/>
    25085     <const name="listImages" value="0x16"/>
    25086 
    25087     <const name="listNetworks" value="0x20"/>
    25088     <const name="getNetwork" value="0x21"/>
    25089     <const name="createNetwork" value="0x22"/>
    25090     <const name="deleteNetwork" value="0x23"/>
    25091     <const name="upateNetwork" value="0x24"/>
    25092 
    25093     <const name="getNetworkCard" value="0x30"/>
    25094     <const name="updateNetworkCard" value="0x31"/>
    25095 
    25096     <const name="listNetworkCardAttachements" value="0x32"/>
    25097     <const name="getNetworkCardAttachement" value="0x33"/>
    25098     <const name="detachNetworkCard" value="0x34"/>
    25099     <const name="attachNetworkCard" value="0x35"/>
    25100 
    25101     <const name="listSubnets" value="0x40"/>
    25102     <const name="getSubnet" value="0x41"/>
    25103     <const name="createSubnet" value="0x42"/>
    25104     <const name="deleteSubnet" value="0x43"/>
    25105     <const name="updateSubnet" value="0x44"/>
    25106 
    25107     <const name="listInternetGateways" value="0x50"/>
    25108     <const name="getInternetGateway" value="0x51"/>
    25109     <const name="createInternetGateway" value="0x52"/>
    25110     <const name="deleteInternetGateway" value="0x53"/>
    25111     <const name="updateInternetGateway" value="0x54"/>
    25112 
    25113     <const name="listRouteTables" value="0x60"/>
    25114     <const name="getRouteTable" value="0x61"/>
    25115     <const name="createRouteTable" value="0x62"/>
    25116     <const name="deleteRouteTable" value="0x63"/>
    25117     <const name="updateRouteTable" value="0x64"/>
    25118 
    25119     <const name="listShapes" value="0x70"/>
    25120 
    25121     <const name="uploadFile" value="0x100"/>
    25122     <const name="downloadObject" value="0x101"/>
    25123     <const name="deleteObject" value="0x102"/>
    25124     <const name="getObject" value="0x103"/>
    25125     <const name="listObjects" value="0x104"/>
    25126 
    25127     <const name="listBuckets" value="0x110"/>
    25128 
    25129     <const name="getNamespace" value="0x120"/>
    25130 
    25131     <const name="listRegions" value="0x200"/>
    25132     <const name="listAvailabilityDomains" value="0x210"/>
    25133     <const name="listCompartments" value="0x220"/>
    25134 
    25135   </enum>
    25136 
    25137   <enum
    25138     name="CloudOperation"
    25139     uuid="68289604-2fec-4163-b10a-eb2da7a61306"
    25140     >
    25141     <const name="Unknown" value="0"/>
    25142     <const name="exportVM" value="0x1"/>
    25143   </enum>
    25144 
    25145   <enum
    25146     name="CloudCommandResult"
    25147     uuid="e33af696-255a-4f5a-8dba-d65d6ee2fe9a"
    25148     >
    25149     <const name="unknown" value="0"/>
    25150     <const name="success" value="1"/>
    25151     <const name="failed" value="2"/>
    25152     <const name="inProgress" value="3"/>
    25153   </enum>
    25154 
    2515525066  <interface
    2515625067    name="ICloudClient" extends="$unknown"
    25157     uuid="f2b37b0c-e555-4d11-b90b-d517a194e469"
     25068    uuid="86b831ff-ffe4-49c2-843f-0c8b03817025"
    2515825069    wsmap="managed" reservedMethods="4" reservedAttributes="4"
    2515925070    >
    2516025071
    25161     <method name="createCommand">
    25162       <desc>
    25163         Creates a cloud operation object for the passed profile
    25164         if profile name is NULL or empty string creates operation for the active profile.
    25165         if profile name is NULL or empty string and there is not the active profile
    25166         returns "VERR_INVALID_PARAMETER"
    25167       </desc>
    25168       <param name="cloudCommand" type="CloudCommand" dir="in">
    25169         <desc>
    25170           The type of the supported cloud commands.
    25171         </desc>
    25172       </param>
    25173       <param name="condition" type="wstring" dir="in">
    25174         <desc>
    25175           The successful condition for finishing the command.
    25176           The command will be repeated if condition isn't in the needed state
    25177         </desc>
    25178       </param>
    25179       <param name="Id" type="uuid" mod="string" dir="return">
    25180         <desc>
    25181           UUID of the operation.
    25182           It's used later when user chooses and runs this cloud operation
    25183         </desc>
    25184       </param>
    25185     </method>
    25186 
    25187     <method name="runCommand">
    25188       <desc>
    25189         Runs a cloud operation by ID
    25190       </desc>
    25191       <param name="Id" type="uuid" mod="string" dir="in">
    25192         <desc>
    25193           UUID of the operation.
    25194         </desc>
    25195       </param>
    25196       <param name="timeout" type="long long" dir="in">
    25197         <desc>
    25198           Timeout in seconds.
    25199         </desc>
    25200       </param>
    25201       <param name="result" type="CloudCommandResult" dir="return">
    25202       </param>
    25203     </method>
    25204 
    25205     <method name="runSeveralCommands">
    25206       <desc>
    25207         Runs a set of prepared cloud operations by their ids
    25208       </desc>
    25209       <param name="commandIdList" type="wstring" safearray="yes" dir="in">
    25210         <desc>
    25211           The list of UUID of the operations.
    25212         </desc>
    25213       </param>
    25214       <param name="parameterNames" type="wstring" safearray="yes" dir="in">
    25215         <desc>Initial set of parameter names.</desc>
    25216       </param>
    25217       <param name="parameterValues" type="wstring" safearray="yes" dir="in">
    25218         <desc>Initial set of parameter values.</desc>
     25072    <method name="getExportParameters" const="yes">
     25073      <desc>
     25074        Returns the parameters required to be shown to user for export a VM to a cloud operation.
     25075      </desc>
     25076      <param name="jsonString" type="wstring" dir="return">
     25077        <desc>the parameters with values in json format.</desc>
     25078      </param>
     25079    </method>
     25080
     25081    <method name="exportVM">
     25082      <desc>
     25083        Exports a VM described in description parameter
     25084      </desc>
     25085      <param name="description" type="IVirtualSystemDescription" dir="in">
     25086        <desc>VirtualSystemDescription object which is describing a machine and all required parameters.</desc>
    2521925087      </param>
    2522025088      <param name="progress" type="IProgress" dir="in">
    2522125089        <desc>Progress object to track the operation completion.</desc>
    2522225090      </param>
    25223     </method>
    25224 
    25225     <method name="validateCommand">
    25226       <desc>
    25227         Validates a cloud operation by ID
    25228       </desc>
    25229       <param name="Id" type="uuid" mod="string" dir="in">
    25230         <desc>
    25231           UUID of the operation.
    25232         </desc>
    25233       </param>
    25234       <param name="valid" type="boolean" dir="return">
    25235         <desc>
    25236           if the command is valid return s true else returns false.
    25237         </desc>
    25238       </param>
    25239     </method>
    25240 
    25241     <method name="checkCommandResult"  const="yes">
    25242       <desc>
    25243         Check a cloud operation result by ID
    25244       </desc>
    25245       <param name="Id" type="uuid" mod="string" dir="in">
    25246         <desc>
    25247           UUID of the operation.
    25248         </desc>
    25249       </param>
    25250       <param name="startTime" type="long long" dir="out">
    25251         <desc>
    25252           Start time of operation.
    25253         </desc>
    25254       </param>
    25255       <param name="lastTime" type="long long" dir="out">
    25256         <desc>
    25257           Time of the last result.
    25258         </desc>
    25259       </param>
    25260       <param name="result" type="CloudCommandResult" dir="return">
    25261         <desc>
    25262           The last result of the cloud command.
    25263         </desc>
    25264       </param>
    25265     </method>
    25266 
    25267     <method name="getCommandParameterNames" const="yes">
    25268       <desc>
    25269         Returns the parameters names for this operation.
    25270       </desc>
    25271       <param name="cloudCommand" type="CloudCommand" dir="in">
    25272         <desc>
    25273           The type of the supported cloud commands.
    25274         </desc>
    25275       </param>
    25276       <param name="parameterNames" type="wstring" safearray="yes" dir="return">
    25277         <desc>Names of the parameters.</desc>
    25278       </param>
    25279     </method>
    25280 
    25281     <method name="getCommandParameterProperties" const="yes">
    25282       <desc>
    25283         Returns the value/s for the passed parameter.
    25284       </desc>
    25285       <param name="parameterName" type="wstring" dir="in">
    25286         <desc>Parameter name.</desc>
    25287       </param>
    25288       <param name="parameterType" type="wstring" dir="out">
    25289         <desc>Parameter type.</desc>
    25290       </param>
    25291       <param name="parameterDesc" type="wstring" dir="out">
    25292         <desc>Parameter description.</desc>
    25293       </param>
    25294       <param name="parameterValues" type="wstring" safearray="yes" dir="return">
    25295         <desc>Possible values of the parameter.</desc>
    25296       </param>
    25297     </method>
    25298 
    25299     <method name="getCommandParameters" const="yes">
    25300       <desc>
    25301         Returns the parameters with their values.
    25302       </desc>
    25303       <param name="cloudCommand" type="CloudCommand" dir="in">
    25304         <desc>
    25305           The type of the supported cloud commands.
    25306         </desc>
    25307       </param>
    25308       <param name="jsonString" type="wstring" dir="return">
    25309         <desc>the parameters with values in json format.</desc>
    25310       </param>
    25311     </method>
    25312 
    25313     <method name="setCommandParameters">
    25314       <desc>
    25315         Sets the parameters values for the particular command by ID.
    25316       </desc>
    25317       <param name="Id" type="uuid" mod="string" dir="in">
    25318         <desc>
    25319           UUID of the operation.
    25320         </desc>
    25321       </param>
    25322       <param name="names" type="wstring" safearray="yes" dir="in">
    25323         <desc>Names of the parameters.</desc>
    25324       </param>
    25325       <param name="values" type="wstring" safearray="yes" dir="in">
    25326         <desc>Values of the parameters.</desc>
    25327       </param>
    25328     </method>
    25329 
    25330     <method name="getCommandsForOperation" const="yes">
    25331       <desc>
    25332         Returns the list of commands for particular operation.
    25333       </desc>
    25334       <param name="cloudOperation" type="CloudOperation" dir="in">
    25335         <desc>
    25336           The type of the supported cloud operation.
    25337         </desc>
    25338       </param>
    25339       <param name="prep" type="boolean" dir="in">
    25340         <desc>
    25341           Which list to return: false - general commands, true - preparatory commands
    25342         </desc>
    25343       </param>
    25344       <param name="cloudCommands" type="CloudCommand" safearray="yes" dir="return">
    25345         <desc>
    25346           The list of cloud commands.
    25347         </desc>
    25348       </param>
    25349     </method>
    25350 
    25351     <method name="getOperationParameters" const="yes">
    25352       <desc>
    25353         Returns the parameters with their values.
    25354       </desc>
    25355       <param name="cloudOperation" type="CloudOperation" dir="in">
    25356         <desc>
    25357           The type of the supported cloud operation.
    25358         </desc>
    25359       </param>
    25360       <param name="jsonString" type="wstring" dir="return">
    25361         <desc>the parameters with values in json format.</desc>
    25362       </param>
    25363     </method>
    25364 
    25365     <method name="getExportParameters" const="yes">
    25366       <desc>
    25367         Returns the parameters required to be shown to user for export a VM to a cloud operation.
    25368       </desc>
    25369       <param name="jsonString" type="wstring" dir="return">
    25370         <desc>the parameters with values in json format.</desc>
    25371       </param>
    25372     </method>
    25373 
    25374     <method name="exportVM">
    25375       <desc>
    25376         Exports a VM described in description parameter
    25377       </desc>
    25378       <param name="description" type="IVirtualSystemDescription" dir="in">
    25379         <desc>VirtualSystemDescription object which is describing a machine and all required parameters.</desc>
    25380       </param>
    25381       <param name="progress" type="IProgress" dir="in">
    25382         <desc>Progress object to track the operation completion.</desc>
    25383       </param>
    2538425091      <param name="virtualBox" type="IVirtualBox" dir="in">
    2538525092        <desc>Reference to the server-side API root object.</desc>
    2538625093      </param>
    2538725094    </method>
    25388 
    25389 
    25390 
    25391 
    2539225095  </interface>
    2539325096
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