Skip to content

Commit 1847839

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit dc57da6c of spec repo
1 parent 30e120b commit 1847839

12 files changed

+140
-8
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.6",
7-
"regenerated": "2024-07-01 12:39:38.550505",
8-
"spec_repo_commit": "f54c0bf3"
7+
"regenerated": "2024-07-01 13:51:59.762772",
8+
"spec_repo_commit": "dc57da6c"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-07-01 12:39:38.567199",
13-
"spec_repo_commit": "f54c0bf3"
12+
"regenerated": "2024-07-01 13:51:59.780574",
13+
"spec_repo_commit": "dc57da6c"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,17 @@ components:
11161116
type: string
11171117
readOnly: true
11181118
type: object
1119+
CrossOrgUuids:
1120+
description: The source organization UUID for cross organization queries. Feature
1121+
in Private Beta.
1122+
example:
1123+
- 6434abde-xxxx-yyyy-zzzz-da7ad0900001
1124+
items:
1125+
description: The source organization UUID.
1126+
example: 6434abde-xxxx-yyyy-zzzz-da7ad0900001
1127+
type: string
1128+
maxItems: 1
1129+
type: array
11191130
Dashboard:
11201131
description: "A dashboard is Datadog\u2019s tool for visually tracking, analyzing,
11211132
and displaying\nkey performance metrics, which enable you to monitor the health
@@ -2519,6 +2530,8 @@ components:
25192530
FormulaAndFunctionApmDependencyStatsQueryDefinition:
25202531
description: A formula and functions APM dependency stats query.
25212532
properties:
2533+
cross_org_uuids:
2534+
$ref: '#/components/schemas/CrossOrgUuids'
25222535
data_source:
25232536
$ref: '#/components/schemas/FormulaAndFunctionApmDependencyStatsDataSource'
25242537
env:
@@ -2606,6 +2619,8 @@ components:
26062619
FormulaAndFunctionApmResourceStatsQueryDefinition:
26072620
description: APM resource stats query using formulas and functions.
26082621
properties:
2622+
cross_org_uuids:
2623+
$ref: '#/components/schemas/CrossOrgUuids'
26092624
data_source:
26102625
$ref: '#/components/schemas/FormulaAndFunctionApmResourceStatsDataSource'
26112626
env:
@@ -2671,6 +2686,8 @@ components:
26712686
properties:
26722687
aggregator:
26732688
$ref: '#/components/schemas/WidgetAggregator'
2689+
cross_org_uuids:
2690+
$ref: '#/components/schemas/CrossOrgUuids'
26742691
data_source:
26752692
$ref: '#/components/schemas/FormulaAndFunctionCloudCostDataSource'
26762693
name:
@@ -2721,6 +2738,8 @@ components:
27212738
properties:
27222739
compute:
27232740
$ref: '#/components/schemas/FormulaAndFunctionEventQueryDefinitionCompute'
2741+
cross_org_uuids:
2742+
$ref: '#/components/schemas/CrossOrgUuids'
27242743
data_source:
27252744
$ref: '#/components/schemas/FormulaAndFunctionEventsDataSource'
27262745
group_by:
@@ -2877,6 +2896,8 @@ components:
28772896
properties:
28782897
aggregator:
28792898
$ref: '#/components/schemas/FormulaAndFunctionMetricAggregation'
2899+
cross_org_uuids:
2900+
$ref: '#/components/schemas/CrossOrgUuids'
28802901
data_source:
28812902
$ref: '#/components/schemas/FormulaAndFunctionMetricDataSource'
28822903
name:
@@ -2907,6 +2928,8 @@ components:
29072928
properties:
29082929
aggregator:
29092930
$ref: '#/components/schemas/FormulaAndFunctionMetricAggregation'
2931+
cross_org_uuids:
2932+
$ref: '#/components/schemas/CrossOrgUuids'
29102933
data_source:
29112934
$ref: '#/components/schemas/FormulaAndFunctionProcessQueryDataSource'
29122935
is_normalized_cpu:
@@ -3014,6 +3037,8 @@ components:
30143037
description: Additional filters applied to the SLO query.
30153038
example: host:host_a,env:prod
30163039
type: string
3040+
cross_org_uuids:
3041+
$ref: '#/components/schemas/CrossOrgUuids'
30173042
data_source:
30183043
$ref: '#/components/schemas/FormulaAndFunctionSLODataSource'
30193044
group_mode:

src/datadog_api_client/v1/model/distribution_widget_histogram_request_query.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ def __init__(self, **kwargs):
1818
:param aggregator: The aggregation methods available for metrics queries.
1919
:type aggregator: FormulaAndFunctionMetricAggregation, optional
2020
21+
:param cross_org_uuids: The source organization UUID for cross organization queries. Feature in Private Beta.
22+
:type cross_org_uuids: [str], optional
23+
2124
:param data_source: Data source for metrics queries.
2225
:type data_source: FormulaAndFunctionMetricDataSource
2326

src/datadog_api_client/v1/model/formula_and_function_apm_dependency_stats_query_definition.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import Union, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
@@ -23,6 +23,12 @@
2323

2424

2525
class FormulaAndFunctionApmDependencyStatsQueryDefinition(ModelNormal):
26+
validations = {
27+
"cross_org_uuids": {
28+
"max_items": 1,
29+
},
30+
}
31+
2632
@cached_property
2733
def openapi_types(_):
2834
from datadog_api_client.v1.model.formula_and_function_apm_dependency_stats_data_source import (
@@ -33,6 +39,7 @@ def openapi_types(_):
3339
)
3440

3541
return {
42+
"cross_org_uuids": ([str],),
3643
"data_source": (FormulaAndFunctionApmDependencyStatsDataSource,),
3744
"env": (str,),
3845
"is_upstream": (bool,),
@@ -46,6 +53,7 @@ def openapi_types(_):
4653
}
4754

4855
attribute_map = {
56+
"cross_org_uuids": "cross_org_uuids",
4957
"data_source": "data_source",
5058
"env": "env",
5159
"is_upstream": "is_upstream",
@@ -67,6 +75,7 @@ def __init__(
6775
resource_name: str,
6876
service: str,
6977
stat: FormulaAndFunctionApmDependencyStatName,
78+
cross_org_uuids: Union[List[str], UnsetType] = unset,
7079
is_upstream: Union[bool, UnsetType] = unset,
7180
primary_tag_name: Union[str, UnsetType] = unset,
7281
primary_tag_value: Union[str, UnsetType] = unset,
@@ -75,6 +84,9 @@ def __init__(
7584
"""
7685
A formula and functions APM dependency stats query.
7786
87+
:param cross_org_uuids: The source organization UUID for cross organization queries. Feature in Private Beta.
88+
:type cross_org_uuids: [str], optional
89+
7890
:param data_source: Data source for APM dependency stats queries.
7991
:type data_source: FormulaAndFunctionApmDependencyStatsDataSource
8092
@@ -105,6 +117,8 @@ def __init__(
105117
:param stat: APM statistic.
106118
:type stat: FormulaAndFunctionApmDependencyStatName
107119
"""
120+
if cross_org_uuids is not unset:
121+
kwargs["cross_org_uuids"] = cross_org_uuids
108122
if is_upstream is not unset:
109123
kwargs["is_upstream"] = is_upstream
110124
if primary_tag_name is not unset:

src/datadog_api_client/v1/model/formula_and_function_apm_resource_stats_query_definition.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@
2323

2424

2525
class FormulaAndFunctionApmResourceStatsQueryDefinition(ModelNormal):
26+
validations = {
27+
"cross_org_uuids": {
28+
"max_items": 1,
29+
},
30+
}
31+
2632
@cached_property
2733
def openapi_types(_):
2834
from datadog_api_client.v1.model.formula_and_function_apm_resource_stats_data_source import (
@@ -33,6 +39,7 @@ def openapi_types(_):
3339
)
3440

3541
return {
42+
"cross_org_uuids": ([str],),
3643
"data_source": (FormulaAndFunctionApmResourceStatsDataSource,),
3744
"env": (str,),
3845
"group_by": ([str],),
@@ -46,6 +53,7 @@ def openapi_types(_):
4653
}
4754

4855
attribute_map = {
56+
"cross_org_uuids": "cross_org_uuids",
4957
"data_source": "data_source",
5058
"env": "env",
5159
"group_by": "group_by",
@@ -65,6 +73,7 @@ def __init__(
6573
name: str,
6674
service: str,
6775
stat: FormulaAndFunctionApmResourceStatName,
76+
cross_org_uuids: Union[List[str], UnsetType] = unset,
6877
group_by: Union[List[str], UnsetType] = unset,
6978
operation_name: Union[str, UnsetType] = unset,
7079
primary_tag_name: Union[str, UnsetType] = unset,
@@ -75,6 +84,9 @@ def __init__(
7584
"""
7685
APM resource stats query using formulas and functions.
7786
87+
:param cross_org_uuids: The source organization UUID for cross organization queries. Feature in Private Beta.
88+
:type cross_org_uuids: [str], optional
89+
7890
:param data_source: Data source for APM resource stats queries.
7991
:type data_source: FormulaAndFunctionApmResourceStatsDataSource
8092
@@ -105,6 +117,8 @@ def __init__(
105117
:param stat: APM resource stat name.
106118
:type stat: FormulaAndFunctionApmResourceStatName
107119
"""
120+
if cross_org_uuids is not unset:
121+
kwargs["cross_org_uuids"] = cross_org_uuids
108122
if group_by is not unset:
109123
kwargs["group_by"] = group_by
110124
if operation_name is not unset:

src/datadog_api_client/v1/model/formula_and_function_cloud_cost_query_definition.py

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Copyright 2019-Present Datadog, Inc.
44
from __future__ import annotations
55

6-
from typing import Union, TYPE_CHECKING
6+
from typing import List, Union, TYPE_CHECKING
77

88
from datadog_api_client.model_utils import (
99
ModelNormal,
@@ -21,6 +21,12 @@
2121

2222

2323
class FormulaAndFunctionCloudCostQueryDefinition(ModelNormal):
24+
validations = {
25+
"cross_org_uuids": {
26+
"max_items": 1,
27+
},
28+
}
29+
2430
@cached_property
2531
def openapi_types(_):
2632
from datadog_api_client.v1.model.widget_aggregator import WidgetAggregator
@@ -30,13 +36,15 @@ def openapi_types(_):
3036

3137
return {
3238
"aggregator": (WidgetAggregator,),
39+
"cross_org_uuids": ([str],),
3340
"data_source": (FormulaAndFunctionCloudCostDataSource,),
3441
"name": (str,),
3542
"query": (str,),
3643
}
3744

3845
attribute_map = {
3946
"aggregator": "aggregator",
47+
"cross_org_uuids": "cross_org_uuids",
4048
"data_source": "data_source",
4149
"name": "name",
4250
"query": "query",
@@ -48,6 +56,7 @@ def __init__(
4856
name: str,
4957
query: str,
5058
aggregator: Union[WidgetAggregator, UnsetType] = unset,
59+
cross_org_uuids: Union[List[str], UnsetType] = unset,
5160
**kwargs,
5261
):
5362
"""
@@ -56,6 +65,9 @@ def __init__(
5665
:param aggregator: Aggregator used for the request.
5766
:type aggregator: WidgetAggregator, optional
5867
68+
:param cross_org_uuids: The source organization UUID for cross organization queries. Feature in Private Beta.
69+
:type cross_org_uuids: [str], optional
70+
5971
:param data_source: Data source for Cloud Cost queries.
6072
:type data_source: FormulaAndFunctionCloudCostDataSource
6173
@@ -67,6 +79,8 @@ def __init__(
6779
"""
6880
if aggregator is not unset:
6981
kwargs["aggregator"] = aggregator
82+
if cross_org_uuids is not unset:
83+
kwargs["cross_org_uuids"] = cross_org_uuids
7084
super().__init__(kwargs)
7185

7286
self_.data_source = data_source

src/datadog_api_client/v1/model/formula_and_function_event_query_definition.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@
2727

2828

2929
class FormulaAndFunctionEventQueryDefinition(ModelNormal):
30+
validations = {
31+
"cross_org_uuids": {
32+
"max_items": 1,
33+
},
34+
}
35+
3036
@cached_property
3137
def openapi_types(_):
3238
from datadog_api_client.v1.model.formula_and_function_event_query_definition_compute import (
@@ -44,6 +50,7 @@ def openapi_types(_):
4450

4551
return {
4652
"compute": (FormulaAndFunctionEventQueryDefinitionCompute,),
53+
"cross_org_uuids": ([str],),
4754
"data_source": (FormulaAndFunctionEventsDataSource,),
4855
"group_by": ([FormulaAndFunctionEventQueryGroupBy],),
4956
"indexes": ([str],),
@@ -54,6 +61,7 @@ def openapi_types(_):
5461

5562
attribute_map = {
5663
"compute": "compute",
64+
"cross_org_uuids": "cross_org_uuids",
5765
"data_source": "data_source",
5866
"group_by": "group_by",
5967
"indexes": "indexes",
@@ -67,6 +75,7 @@ def __init__(
6775
compute: FormulaAndFunctionEventQueryDefinitionCompute,
6876
data_source: FormulaAndFunctionEventsDataSource,
6977
name: str,
78+
cross_org_uuids: Union[List[str], UnsetType] = unset,
7079
group_by: Union[List[FormulaAndFunctionEventQueryGroupBy], UnsetType] = unset,
7180
indexes: Union[List[str], UnsetType] = unset,
7281
search: Union[FormulaAndFunctionEventQueryDefinitionSearch, UnsetType] = unset,
@@ -79,6 +88,9 @@ def __init__(
7988
:param compute: Compute options.
8089
:type compute: FormulaAndFunctionEventQueryDefinitionCompute
8190
91+
:param cross_org_uuids: The source organization UUID for cross organization queries. Feature in Private Beta.
92+
:type cross_org_uuids: [str], optional
93+
8294
:param data_source: Data source for event platform-based queries.
8395
:type data_source: FormulaAndFunctionEventsDataSource
8496
@@ -97,6 +109,8 @@ def __init__(
97109
:param storage: Option for storage location. Feature in Private Beta.
98110
:type storage: str, optional
99111
"""
112+
if cross_org_uuids is not unset:
113+
kwargs["cross_org_uuids"] = cross_org_uuids
100114
if group_by is not unset:
101115
kwargs["group_by"] = group_by
102116
if indexes is not unset:

0 commit comments

Comments
 (0)