VirtualBox

Changeset 102094 in vbox


Ignore:
Timestamp:
Nov 15, 2023 10:21:29 AM (15 months ago)
Author:
vboxsync
Message:

Jira:VBP-402. Added OCI telemetry API support in ICloudMachine and ICloudClient interfaces.

File:
1 edited

Legend:

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

    r101759 r102094  
    3003430034</enum>
    3003530035
     30036  <enum
     30037    name="MetricType"
     30038    uuid="adf26edc-7e32-11ee-b962-0242ac120002"
     30039    >
     30040    <desc>Metric names</desc>
     30041    <const name="Invalid"                    value="0">
     30042      <desc>Invalid name</desc>
     30043    </const>
     30044    <const name="CpuUtilization"             value="1">
     30045      <desc>Cpu Utilization</desc>
     30046    </const>
     30047    <const name="MemoryUtilization"          value="2">
     30048      <desc>Memory Utilization</desc>
     30049    </const>
     30050    <const name="DiskBytesRead"              value="3">
     30051      <desc>Disk Bytes Read</desc>
     30052    </const>
     30053    <const name="DiskBytesWritten"           value="4">
     30054      <desc>Disk Bytes Written</desc>
     30055    </const>
     30056    <const name="NetworksBytesIn"            value="5">
     30057      <desc>Networks Bytes In</desc>
     30058    </const>
     30059    <const name="NetworksBytesOut"           value="6">
     30060      <desc>Networks Bytes Out</desc>
     30061    </const>
     30062</enum>
     30063
     30064
    3003630065  <interface name="ICloudNetworkGatewayInfo" extends="$unknown"
    3003730066             uuid="89a63ace-0c65-11ea-ad23-0ff257c71a7f"
     
    3005730086             wsmap="managed"
    3005830087             rest="managed"
    30059              reservedMethods="15" reservedAttributes="7"
     30088             reservedMethods="13" reservedAttributes="7"
    3006030089      >
    3006130090    <desc>
     
    3032930358      </desc>
    3033030359    </attribute>
     30360
     30361    <method name="listMetricNames">
     30362      <desc>
     30363        Returns the metrics available for the instances in the Cloud.
     30364        In instance, CPU utilization, memory utilization, disk read I/O.
     30365        Not all instances can have such metrics because a special service must be running on the instance.
     30366        Converting a string representation to a MetricType is done using <link to="ICloudClient::getMetricTypeByName"/>.
     30367      </desc>
     30368      <param name="metricNames" type="IStringArray" dir="out">
     30369        <desc>
     30370            List of metrics names. May be empty if there are no metrics available on the instance or
     30371            if the corresponding service is not running on the instance.
     30372        </desc>
     30373      </param>
     30374      <param name="progress" type="IProgress" dir="return">
     30375        <desc>
     30376          Progress object to track the operation completion.
     30377        </desc>
     30378      </param>
     30379    </method>
     30380
     30381    <method name="enumerateMetricData">
     30382      <desc>
     30383        Returns the interested metric history points.
     30384      </desc>
     30385      <param name="metricType" type="MetricType" dir="in">
     30386        <desc>
     30387          The type of the requested metric.
     30388          Standard usage to get an appropriate MetricType:
     30389           - call <link to="#listMetricNames"/> function; returns the types in string representation.
     30390           - call <link to="ICloudClient::getMetricTypeByName"/> function; converts the string representation into MetricType.
     30391        </desc>
     30392      </param>
     30393      <param name="pointsNumber" type="unsigned long" dir="in">
     30394        <desc>
     30395          History metric point numbers start at 1 and can go backwards as long as history exists.
     30396          Points are counted from the current time to the past. If user only wants the last actual value
     30397          he passes the value "1". If 2 values need to be returned (last and second to last),
     30398          the user passes "2", etc.
     30399          and etc.
     30400        </desc>
     30401      </param>
     30402      <param name="values" type="IStringArray" dir="out">
     30403        <desc>
     30404          The values of the metric returned.
     30405        </desc>
     30406      </param>
     30407      <param name="timestamps" type="IStringArray" dir="out">
     30408        <desc>
     30409          The timestamps of the metric returned. The array entries match
     30410          the corresponding entries in the @a array.
     30411          Time format is represented in Rfc2822.
     30412        </desc>
     30413      </param>
     30414      <param name="unit" type="IStringArray" dir="out">
     30415        <desc>
     30416          The measurement unit as "byte", "percentage" and etc...
     30417          The array entries match the corresponding entries in the @a array.
     30418        </desc>
     30419      </param>
     30420      <param name="progress" type="IProgress" dir="return">
     30421        <desc>
     30422          Progress object to track the operation completion.
     30423        </desc>
     30424      </param>
     30425    </method>
    3033130426
    3033230427  </interface>
     
    3034030435    uuid="c2db178a-7485-11ec-aec4-2fbf90681a84"
    3034130436    wsmap="managed"
    30342     reservedMethods="14" reservedAttributes="8"
     30437    reservedMethods="13" reservedAttributes="8"
    3034330438    >
    3034430439
     
    3091231007    </method>
    3091331008
     31009    <method name="getMetricTypeByName" const="yes">
     31010      <desc>
     31011        Tries to find an appropriate metric type for the passed metric name.
     31012      </desc>
     31013      <param name="metricName" type="wstring" dir="in">
     31014        <desc>Metric name (see <link to="ICloudMachine::listMetricNames"/>)</desc>
     31015      </param>
     31016      <param name="metricType" type="MetricType" dir="return">
     31017        <desc>Found metric type.</desc>
     31018      </param>
     31019    </method>
    3091431020
    3091531021  </interface>
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