Skip to content

Commit efa4aa9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 28d77f99 of spec repo
1 parent ab23177 commit efa4aa9

File tree

6 files changed

+57
-4
lines changed

6 files changed

+57
-4
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.5",
7-
"regenerated": "2023-08-25 12:25:40.724264",
8-
"spec_repo_commit": "1a77c0b6"
7+
"regenerated": "2023-08-28 20:14:05.209056",
8+
"spec_repo_commit": "28d77f99"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.5",
12-
"regenerated": "2023-08-25 12:25:40.743585",
13-
"spec_repo_commit": "1a77c0b6"
12+
"regenerated": "2023-08-28 20:14:05.225872",
13+
"spec_repo_commit": "28d77f99"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17220,6 +17220,12 @@ components:
1722017220
UsageProfilingHour:
1722117221
description: The number of profiled hosts for each hour for a given organization.
1722217222
properties:
17223+
aas_count:
17224+
description: Contains the total number of profiled aas reporting during
17225+
a given hour.
17226+
format: int64
17227+
nullable: true
17228+
type: integer
1722317229
avg_container_agent_count:
1722417230
description: Get average number of container agents for that hour.
1722517231
format: int64
@@ -17863,6 +17869,11 @@ components:
1786317869
items:
1786417870
$ref: '#/components/schemas/UsageSummaryDateOrg'
1786517871
type: array
17872+
profiling_aas_count_top99p:
17873+
description: Shows the 99th percentile of all profiled aas over all hours
17874+
in the current date for all organizations.
17875+
format: int64
17876+
type: integer
1786617877
profiling_host_top99p:
1786717878
description: Shows the 99th percentile of all profiled hosts over all hours
1786817879
in the current date for all organizations.
@@ -18293,6 +18304,11 @@ components:
1829318304
date for the given org.
1829418305
format: int64
1829518306
type: integer
18307+
profiling_aas_count_top99p:
18308+
description: Shows the 99th percentile of all profiled aas over all hours
18309+
in the current date for all organizations.
18310+
format: int64
18311+
type: integer
1829618312
profiling_host_top99p:
1829718313
description: Shows the 99th percentile of all profiled hosts over all hours
1829818314
in the current date for the given org.
@@ -18755,6 +18771,11 @@ components:
1875518771
months for all organizations.
1875618772
format: int64
1875718773
type: integer
18774+
profiling_aas_count_top99p_sum:
18775+
description: Shows the 99th percentile of all profiled aas over all hours
18776+
in the current months for all organizations.
18777+
format: int64
18778+
type: integer
1875818779
profiling_container_agent_count_avg:
1875918780
description: Shows the average number of profiled containers over all hours
1876018781
in the current months for all organizations.

src/datadog_api_client/v1/model/usage_profiling_hour.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ class UsageProfilingHour(ModelNormal):
1919
@cached_property
2020
def openapi_types(_):
2121
return {
22+
"aas_count": (int, none_type),
2223
"avg_container_agent_count": (int, none_type),
2324
"host_count": (int, none_type),
2425
"hour": (datetime,),
@@ -27,6 +28,7 @@ def openapi_types(_):
2728
}
2829

2930
attribute_map = {
31+
"aas_count": "aas_count",
3032
"avg_container_agent_count": "avg_container_agent_count",
3133
"host_count": "host_count",
3234
"hour": "hour",
@@ -36,6 +38,7 @@ def openapi_types(_):
3638

3739
def __init__(
3840
self_,
41+
aas_count: Union[int, none_type, UnsetType] = unset,
3942
avg_container_agent_count: Union[int, none_type, UnsetType] = unset,
4043
host_count: Union[int, none_type, UnsetType] = unset,
4144
hour: Union[datetime, UnsetType] = unset,
@@ -46,6 +49,9 @@ def __init__(
4649
"""
4750
The number of profiled hosts for each hour for a given organization.
4851
52+
:param aas_count: Contains the total number of profiled aas reporting during a given hour.
53+
:type aas_count: int, none_type, optional
54+
4955
:param avg_container_agent_count: Get average number of container agents for that hour.
5056
:type avg_container_agent_count: int, none_type, optional
5157
@@ -61,6 +67,8 @@ def __init__(
6167
:param public_id: The organization public ID.
6268
:type public_id: str, optional
6369
"""
70+
if aas_count is not unset:
71+
kwargs["aas_count"] = aas_count
6472
if avg_container_agent_count is not unset:
6573
kwargs["avg_container_agent_count"] = avg_container_agent_count
6674
if host_count is not unset:

src/datadog_api_client/v1/model/usage_summary_date.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ def openapi_types(_):
9090
"opentelemetry_apm_host_top99p": (int,),
9191
"opentelemetry_host_top99p": (int,),
9292
"orgs": ([UsageSummaryDateOrg],),
93+
"profiling_aas_count_top99p": (int,),
9394
"profiling_host_top99p": (int,),
9495
"rum_browser_and_mobile_session_count": (int,),
9596
"rum_session_count_sum": (int,),
@@ -178,6 +179,7 @@ def openapi_types(_):
178179
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
179180
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
180181
"orgs": "orgs",
182+
"profiling_aas_count_top99p": "profiling_aas_count_top99p",
181183
"profiling_host_top99p": "profiling_host_top99p",
182184
"rum_browser_and_mobile_session_count": "rum_browser_and_mobile_session_count",
183185
"rum_session_count_sum": "rum_session_count_sum",
@@ -267,6 +269,7 @@ def __init__(
267269
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
268270
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
269271
orgs: Union[List[UsageSummaryDateOrg], UnsetType] = unset,
272+
profiling_aas_count_top99p: Union[int, UnsetType] = unset,
270273
profiling_host_top99p: Union[int, UnsetType] = unset,
271274
rum_browser_and_mobile_session_count: Union[int, UnsetType] = unset,
272275
rum_session_count_sum: Union[int, UnsetType] = unset,
@@ -489,6 +492,9 @@ def __init__(
489492
:param orgs: Organizations associated with a user.
490493
:type orgs: [UsageSummaryDateOrg], optional
491494
495+
:param profiling_aas_count_top99p: Shows the 99th percentile of all profiled aas over all hours in the current date for all organizations.
496+
:type profiling_aas_count_top99p: int, optional
497+
492498
:param profiling_host_top99p: Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations.
493499
:type profiling_host_top99p: int, optional
494500
@@ -678,6 +684,8 @@ def __init__(
678684
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
679685
if orgs is not unset:
680686
kwargs["orgs"] = orgs
687+
if profiling_aas_count_top99p is not unset:
688+
kwargs["profiling_aas_count_top99p"] = profiling_aas_count_top99p
681689
if profiling_host_top99p is not unset:
682690
kwargs["profiling_host_top99p"] = profiling_host_top99p
683691
if rum_browser_and_mobile_session_count is not unset:

src/datadog_api_client/v1/model/usage_summary_date_org.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def openapi_types(_):
8383
"online_archive_events_count_sum": (int,),
8484
"opentelemetry_apm_host_top99p": (int,),
8585
"opentelemetry_host_top99p": (int,),
86+
"profiling_aas_count_top99p": (int,),
8687
"profiling_host_top99p": (int,),
8788
"public_id": (str,),
8889
"region": (str,),
@@ -173,6 +174,7 @@ def openapi_types(_):
173174
"online_archive_events_count_sum": "online_archive_events_count_sum",
174175
"opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p",
175176
"opentelemetry_host_top99p": "opentelemetry_host_top99p",
177+
"profiling_aas_count_top99p": "profiling_aas_count_top99p",
176178
"profiling_host_top99p": "profiling_host_top99p",
177179
"public_id": "public_id",
178180
"region": "region",
@@ -264,6 +266,7 @@ def __init__(
264266
online_archive_events_count_sum: Union[int, UnsetType] = unset,
265267
opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset,
266268
opentelemetry_host_top99p: Union[int, UnsetType] = unset,
269+
profiling_aas_count_top99p: Union[int, UnsetType] = unset,
267270
profiling_host_top99p: Union[int, UnsetType] = unset,
268271
public_id: Union[str, UnsetType] = unset,
269272
region: Union[str, UnsetType] = unset,
@@ -488,6 +491,9 @@ def __init__(
488491
:param opentelemetry_host_top99p: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org.
489492
:type opentelemetry_host_top99p: int, optional
490493
494+
:param profiling_aas_count_top99p: Shows the 99th percentile of all profiled aas over all hours in the current date for all organizations.
495+
:type profiling_aas_count_top99p: int, optional
496+
491497
:param profiling_host_top99p: Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org.
492498
:type profiling_host_top99p: int, optional
493499
@@ -683,6 +689,8 @@ def __init__(
683689
kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p
684690
if opentelemetry_host_top99p is not unset:
685691
kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p
692+
if profiling_aas_count_top99p is not unset:
693+
kwargs["profiling_aas_count_top99p"] = profiling_aas_count_top99p
686694
if profiling_host_top99p is not unset:
687695
kwargs["profiling_host_top99p"] = profiling_host_top99p
688696
if public_id is not unset:

src/datadog_api_client/v1/model/usage_summary_response.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ def openapi_types(_):
9696
"online_archive_events_count_agg_sum": (int,),
9797
"opentelemetry_apm_host_top99p_sum": (int,),
9898
"opentelemetry_host_top99p_sum": (int,),
99+
"profiling_aas_count_top99p_sum": (int,),
99100
"profiling_container_agent_count_avg": (int,),
100101
"profiling_host_count_top99p_sum": (int,),
101102
"rehydrated_indexed_events_agg_sum": (int,),
@@ -193,6 +194,7 @@ def openapi_types(_):
193194
"online_archive_events_count_agg_sum": "online_archive_events_count_agg_sum",
194195
"opentelemetry_apm_host_top99p_sum": "opentelemetry_apm_host_top99p_sum",
195196
"opentelemetry_host_top99p_sum": "opentelemetry_host_top99p_sum",
197+
"profiling_aas_count_top99p_sum": "profiling_aas_count_top99p_sum",
196198
"profiling_container_agent_count_avg": "profiling_container_agent_count_avg",
197199
"profiling_host_count_top99p_sum": "profiling_host_count_top99p_sum",
198200
"rehydrated_indexed_events_agg_sum": "rehydrated_indexed_events_agg_sum",
@@ -291,6 +293,7 @@ def __init__(
291293
online_archive_events_count_agg_sum: Union[int, UnsetType] = unset,
292294
opentelemetry_apm_host_top99p_sum: Union[int, UnsetType] = unset,
293295
opentelemetry_host_top99p_sum: Union[int, UnsetType] = unset,
296+
profiling_aas_count_top99p_sum: Union[int, UnsetType] = unset,
294297
profiling_container_agent_count_avg: Union[int, UnsetType] = unset,
295298
profiling_host_count_top99p_sum: Union[int, UnsetType] = unset,
296299
rehydrated_indexed_events_agg_sum: Union[int, UnsetType] = unset,
@@ -530,6 +533,9 @@ def __init__(
530533
:param opentelemetry_host_top99p_sum: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations.
531534
:type opentelemetry_host_top99p_sum: int, optional
532535
536+
:param profiling_aas_count_top99p_sum: Shows the 99th percentile of all profiled aas over all hours in the current months for all organizations.
537+
:type profiling_aas_count_top99p_sum: int, optional
538+
533539
:param profiling_container_agent_count_avg: Shows the average number of profiled containers over all hours in the current months for all organizations.
534540
:type profiling_container_agent_count_avg: int, optional
535541
@@ -744,6 +750,8 @@ def __init__(
744750
kwargs["opentelemetry_apm_host_top99p_sum"] = opentelemetry_apm_host_top99p_sum
745751
if opentelemetry_host_top99p_sum is not unset:
746752
kwargs["opentelemetry_host_top99p_sum"] = opentelemetry_host_top99p_sum
753+
if profiling_aas_count_top99p_sum is not unset:
754+
kwargs["profiling_aas_count_top99p_sum"] = profiling_aas_count_top99p_sum
747755
if profiling_container_agent_count_avg is not unset:
748756
kwargs["profiling_container_agent_count_avg"] = profiling_container_agent_count_avg
749757
if profiling_host_count_top99p_sum is not unset:

0 commit comments

Comments
 (0)