mirror of
https://github.com/thousandeyes/thousandeyes-sdk-python.git
synced 2025-12-06 14:36:50 +00:00
36 lines
1.9 KiB
Markdown
36 lines
1.9 KiB
Markdown
# TestUsage
|
|
|
|
|
|
## Properties
|
|
|
|
Name | Type | Description | Notes
|
|
------------ | ------------- | ------------- | -------------
|
|
**aid** | **str** | Unique identifier of the account group which owns the test. | [optional]
|
|
**account_group_name** | **str** | Name of the account group which owns the test. | [optional]
|
|
**test_id** | **str** | Unique identifier of the test generating usage. | [optional]
|
|
**test_name** | **str** | Name of the test generating usage. | [optional]
|
|
**test_type** | **str** | The type of test that generated the usage data. Note that this parameter provides a user-friendly description of the test type and should not be parsed to determine the endpoint for querying configuration details. | [optional]
|
|
**cloud_units_used** | **int** | Number of cloud units that the test has consumed in the usage period. | [optional]
|
|
**cloud_units_projected** | **int** | The estimated number of cloud units that the test is expected to consume during the usage period. This estimate is determined by considering the units consumed up to the current time and the test's configuration. It's important to note that this value is updated every hour. For new tests, the `cloudUnitsProjected` parameter is absent until the projection is calculated. | [optional]
|
|
|
|
## Example
|
|
|
|
```python
|
|
from thousandeyes_sdk.usage.models.test_usage import TestUsage
|
|
|
|
# TODO update the JSON string below
|
|
json = "{}"
|
|
# create an instance of TestUsage from a JSON string
|
|
test_usage_instance = TestUsage.from_json(json)
|
|
# print the JSON string representation of the object
|
|
print(TestUsage.to_json())
|
|
|
|
# convert the object into a dict
|
|
test_usage_dict = test_usage_instance.to_dict()
|
|
# create an instance of TestUsage from a dict
|
|
test_usage_from_dict = TestUsage.from_dict(test_usage_dict)
|
|
```
|
|
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
|
|
|
|
|