Changeset 102094 in vbox
- Timestamp:
- Nov 15, 2023 10:21:29 AM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r101759 r102094 30034 30034 </enum> 30035 30035 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 30036 30065 <interface name="ICloudNetworkGatewayInfo" extends="$unknown" 30037 30066 uuid="89a63ace-0c65-11ea-ad23-0ff257c71a7f" … … 30057 30086 wsmap="managed" 30058 30087 rest="managed" 30059 reservedMethods="1 5" reservedAttributes="7"30088 reservedMethods="13" reservedAttributes="7" 30060 30089 > 30061 30090 <desc> … … 30329 30358 </desc> 30330 30359 </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> 30331 30426 30332 30427 </interface> … … 30340 30435 uuid="c2db178a-7485-11ec-aec4-2fbf90681a84" 30341 30436 wsmap="managed" 30342 reservedMethods="1 4" reservedAttributes="8"30437 reservedMethods="13" reservedAttributes="8" 30343 30438 > 30344 30439 … … 30912 31007 </method> 30913 31008 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> 30914 31020 30915 31021 </interface>
Note:
See TracChangeset
for help on using the changeset viewer.