VirtualBox

Ignore:
Timestamp:
Aug 6, 2018 10:10:52 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
124164
Message:

bugref:9152. New classes CloudAPI, OCIIAM, OCIObjectStorage, OCICompute, CloudCommandCl, DataModel, DataParser and their descendants.

File:
1 edited

Legend:

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

    r73337 r73535  
    2487524875
    2487624876  <enum
    24877     name="CloudOperation"
     24877    name="CloudCommand"
    2487824878    uuid="1c5cfa19-7754-4071-bf3e-6d21ad432655"
    2487924879    >
    2488024880    <const name="Unknown" value="0"/>
    24881 
    2488224881    <const name="createInstance" value="0x1"/>
    2488324882    <const name="launchInstance" value="0x2"/>
     
    2488624885    <const name="deleteInstance" value="0x5"/>
    2488724886    <const name="getInstanceProperties" value="0x6"/>
    24888     <const name="listOfInstances" value="0x7"/>
     24887    <const name="listInstances" value="0x7"/>
     24888    <const name="importImage" value="0x8"/>
    2488924889
    2489024890    <const name="uploadFile" value="0x10"/>
     
    2489324893    <const name="getObjectProperties" value="0x13"/>
    2489424894    <const name="listObjects" value="0x14"/>
    24895 
    24896     <const name="exportVM" value="0xf0"/>
     24895    <const name="listBuckets" value="0x15"/>
     24896    <const name="listNetworks" value="0x16"/>
     24897    <const name="listShapes" value="0x17"/>
     24898    <const name="listRegions" value="0x18"/>
     24899    <const name="listAvailabilityDomains" value="0x19"/>
     24900    <const name="listCompartments" value="0x20"/>
     24901    <const name="getNamespace" value="0x21"/>
    2489724902  </enum>
    2489824903
    2489924904  <enum
    24900     name="CloudOperationResult"
     24905    name="CloudOperation"
     24906    uuid="68289604-2fec-4163-b10a-eb2da7a61306"
     24907    >
     24908    <const name="Unknown" value="0"/>
     24909    <const name="exportVM" value="0x1"/>
     24910  </enum>
     24911
     24912  <enum
     24913    name="CloudCommandResult"
    2490124914    uuid="e33af696-255a-4f5a-8dba-d65d6ee2fe9a"
    2490224915    >
     
    2491324926    >
    2491424927
    24915     <method name="createOperation">
     24928    <method name="createCommand">
    2491624929      <desc>
    2491724930        Creates a cloud operation object for the passed profile
     
    2492024933        returns "VERR_INVALID_PARAMETER"
    2492124934      </desc>
    24922       <param name="profileName" type="wstring" dir="in">
    24923         <desc>
    24924           The profile's name
    24925         </desc>
    24926       </param>
    24927       <param name="cloudOperation" type="CloudOperation" dir="in">
     24935      <param name="cloudCommand" type="CloudCommand" dir="in">
    2492824936        <desc>
    2492924937          The type of the supported cloud commands.
    2493024938        </desc>
    2493124939      </param>
    24932       <param name="opId" type="uuid" mod="string" dir="return">
     24940      <param name="Id" type="uuid" mod="string" dir="return">
    2493324941        <desc>
    2493424942          UUID of the operation.
     
    2493824946    </method>
    2493924947
    24940     <method name="runOperation">
     24948    <method name="runCommand">
    2494124949      <desc>
    2494224950        Runs a cloud operation by ID
    2494324951      </desc>
    24944       <param name="opId" type="uuid" mod="string" dir="in">
     24952      <param name="Id" type="uuid" mod="string" dir="in">
    2494524953        <desc>
    2494624954          UUID of the operation.
     
    2495224960        </desc>
    2495324961      </param>
    24954     </method>
    24955 
    24956     <method name="checkOperationResult"  const="yes">
     24962      <param name="result" type="CloudCommandResult" dir="return">
     24963      </param>
     24964    </method>
     24965
     24966    <method name="validateCommand">
     24967      <desc>
     24968        Validates a cloud operation by ID
     24969      </desc>
     24970      <param name="Id" type="uuid" mod="string" dir="in">
     24971        <desc>
     24972          UUID of the operation.
     24973        </desc>
     24974      </param>
     24975      <param name="valid" type="boolean" dir="return">
     24976        <desc>
     24977          if the command is valid return s true else returns false.
     24978        </desc>
     24979      </param>
     24980    </method>
     24981
     24982    <method name="checkCommandResult"  const="yes">
    2495724983      <desc>
    2495824984        Check a cloud operation result by ID
    2495924985      </desc>
    24960       <param name="opId" type="uuid" mod="string" dir="in">
     24986      <param name="Id" type="uuid" mod="string" dir="in">
    2496124987        <desc>
    2496224988          UUID of the operation.
    2496324989        </desc>
    2496424990      </param>
    24965       <param name="startOpTime" type="long long" dir="out">
     24991      <param name="startTime" type="long long" dir="out">
    2496624992        <desc>
    2496724993          Start time of operation.
     
    2497324999        </desc>
    2497425000      </param>
    24975       <param name="result" type="CloudOperationResult" dir="return">
     25001      <param name="result" type="CloudCommandResult" dir="return">
    2497625002        <desc>
    2497725003          The last result of the cloud command.
     
    2498025006    </method>
    2498125007
    24982     <method name="getOperationParameterNames" const="yes">
     25008    <method name="getCommandParameterNames" const="yes">
    2498325009      <desc>
    2498425010        Returns the parameters names for this operation.
    2498525011      </desc>
    24986       <param name="cloudOperation" type="CloudOperation" dir="in">
     25012      <param name="cloudCommand" type="CloudCommand" dir="in">
    2498725013        <desc>
    2498825014          The type of the supported cloud commands.
     
    2499425020    </method>
    2499525021
    24996     <method name="getOperationParameterProperties" const="yes">
     25022    <method name="getCommandParameterProperties" const="yes">
    2499725023      <desc>
    2499825024        Returns the value/s for the passed parameter.
    2499925025      </desc>
    25000       <param name="opParameterName" type="wstring" dir="in">
     25026      <param name="parameterName" type="wstring" dir="in">
    2500125027        <desc>Parameter name.</desc>
    2500225028      </param>
    25003       <param name="opParameterType" type="wstring" dir="out">
     25029      <param name="parameterType" type="wstring" dir="out">
    2500425030        <desc>Parameter type.</desc>
    2500525031      </param>
    25006       <param name="opParameterDesc" type="wstring" dir="out">
     25032      <param name="parameterDesc" type="wstring" dir="out">
    2500725033        <desc>Parameter description.</desc>
    2500825034      </param>
    25009       <param name="opParameterValues" type="wstring" safearray="yes" dir="return">
     25035      <param name="parameterValues" type="wstring" safearray="yes" dir="return">
    2501025036        <desc>Possible values of the parameter.</desc>
    2501125037      </param>
    2501225038    </method>
    2501325039
    25014     <method name="getOperationParameters" const="yes">
     25040    <method name="getCommandParameters" const="yes">
    2501525041      <desc>
    2501625042        Returns the parameters with their values.
    2501725043      </desc>
    25018       <param name="cloudOperation" type="CloudOperation" dir="in">
     25044      <param name="cloudCommand" type="CloudCommand" dir="in">
    2501925045        <desc>
    2502025046          The type of the supported cloud commands.
     
    2502625052    </method>
    2502725053
    25028     <method name="setParametersForOperation">
    25029       <desc>
    25030         Sets the parameters values for the particular operation by ID.
    25031       </desc>
    25032       <param name="opId" type="uuid" mod="string" dir="in">
     25054    <method name="setCommandParameters">
     25055      <desc>
     25056        Sets the parameters values for the particular command by ID.
     25057      </desc>
     25058      <param name="Id" type="uuid" mod="string" dir="in">
    2503325059        <desc>
    2503425060          UUID of the operation.
    2503525061        </desc>
     25062      </param>
     25063      <param name="names" type="wstring" safearray="yes" dir="in">
     25064        <desc>Names of the parameters.</desc>
    2503625065      </param>
    2503725066      <param name="values" type="wstring" safearray="yes" dir="in">
     
    2504025069    </method>
    2504125070
     25071    <method name="getCommandsForOperation" const="yes">
     25072      <desc>
     25073        Returns the list of commands for particular operation.
     25074      </desc>
     25075      <param name="cloudOperation" type="CloudOperation" dir="in">
     25076        <desc>
     25077          The type of the supported cloud operation.
     25078        </desc>
     25079      </param>
     25080      <param name="prep" type="boolean" dir="in">
     25081        <desc>
     25082          Which list to return: false - general commands, true - preparatory commands
     25083        </desc>
     25084      </param>
     25085      <param name="cloudCommands" type="CloudCommand" safearray="yes" dir="return">
     25086        <desc>
     25087          The list of cloud commands.
     25088        </desc>
     25089      </param>
     25090    </method>
     25091
     25092    <method name="getOperationParameters" const="yes">
     25093      <desc>
     25094        Returns the parameters with their values.
     25095      </desc>
     25096      <param name="cloudOperation" type="CloudOperation" dir="in">
     25097        <desc>
     25098          The type of the supported cloud operation.
     25099        </desc>
     25100      </param>
     25101      <param name="jsonString" type="wstring" dir="return">
     25102        <desc>the parameters with values in json format.</desc>
     25103      </param>
     25104    </method>
     25105
    2504225106  </interface>
    25043 
    25044 
    2504525107
    2504625108  <!--
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