Skip to content

Commit 5856da2

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit acee0bd of spec repo
1 parent 268c97e commit 5856da2

9 files changed

Lines changed: 7 additions & 108 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 5 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -38720,10 +38720,6 @@ components:
3872038720
$ref: "#/components/schemas/FleetConfigurationLayer"
3872138721
application_monitoring_configuration:
3872238722
$ref: "#/components/schemas/FleetConfigurationLayer"
38723-
datadog_agent_key:
38724-
description: The unique agent key identifier.
38725-
example: "a1b2c3d4e5f67890a1b2c3d4e5f67890"
38726-
type: string
3872738723
otel_collectors_configuration:
3872838724
description: >-
3872938725
Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors.
@@ -38734,9 +38730,6 @@ components:
3873438730
$ref: "#/components/schemas/FleetConfigurationLayer"
3873538731
system_probe_configuration:
3873638732
$ref: "#/components/schemas/FleetConfigurationLayer"
38737-
version:
38738-
description: The configuration version.
38739-
type: string
3874038733
type: object
3874138734
FleetAgentDetailV2:
3874238735
description: Detailed information about a specific Datadog Agent.
@@ -38896,9 +38889,6 @@ components:
3889638889
description: An OpenTelemetry collector distribution.
3889738890
type: string
3889838891
type: array
38899-
otel_collector_version:
38900-
description: OpenTelemetry collector version (if applicable).
38901-
type: string
3890238892
otel_collector_versions:
3890338893
description: List of OpenTelemetry collector versions (if applicable).
3890438894
items:
@@ -39082,10 +39072,6 @@ components:
3908239072
description: An OpenTelemetry collector distribution.
3908339073
type: string
3908439074
type: array
39085-
otel_collector_version:
39086-
description: The primary OpenTelemetry collector version, if applicable.
39087-
example: "0.91.0"
39088-
type: string
3908939075
otel_collector_versions:
3909039076
description: All OpenTelemetry collector versions associated with the agent.
3909139077
items:
@@ -39257,9 +39243,6 @@ components:
3925739243
description: Name of the configuration file.
3925839244
example: "postgres.yaml"
3925939245
type: string
39260-
fleet_hash:
39261-
description: Hash of the configuration file as applied by fleet management.
39262-
type: string
3926339246
type: object
3926439247
FleetConfigurationLayer:
3926539248
description: Configuration information organized by layers.
@@ -39273,9 +39256,6 @@ components:
3927339256
file_configuration:
3927439257
description: Configuration from files.
3927539258
type: string
39276-
parsed_configuration:
39277-
description: Parsed configuration output.
39278-
type: string
3927939259
remote_configuration:
3928039260
description: Remote configuration settings.
3928139261
type: string
@@ -39418,7 +39398,7 @@ components:
3941839398
example: "env:prod AND service:web"
3941939399
type: string
3942039400
total_hosts:
39421-
description: Total number of hosts targeted by the dry run.
39401+
description: Total number of hosts targeted by this deployment.
3942239402
example: 42
3942339403
format: int64
3942439404
type: integer
@@ -40042,25 +40022,16 @@ components:
4004240022
FleetIntegrationsByStatusV2:
4004340023
description: Integrations organized by their status.
4004440024
properties:
40045-
cluster_name:
40046-
description: The Kubernetes cluster name, if the agent runs in a cluster.
40047-
type: string
4004840025
configuration_files:
4004940026
description: Configuration files for integrations.
4005040027
items:
4005140028
$ref: "#/components/schemas/FleetConfigurationFileV2"
4005240029
type: array
40053-
datadog_agent_key:
40054-
description: The unique agent key identifier.
40055-
type: string
4005640030
error_integrations:
4005740031
description: Integrations with errors.
4005840032
items:
4005940033
$ref: "#/components/schemas/FleetIntegrationDetailsV2"
4006040034
type: array
40061-
k8s_cluster_key:
40062-
description: The Kubernetes cluster key, if the agent runs in a cluster.
40063-
type: string
4006440035
missing_integrations:
4006540036
description: Detected but not configured integrations.
4006640037
items:
@@ -40434,9 +40405,9 @@ components:
4043440405
type: integer
4043540406
start_maintenance_window:
4043640407
description: |-
40437-
Start time of the maintenance window in 24-hour clock format (HH:MM).
40408+
Start time of the maintenance window in 24-hour clock format (HHMM).
4043840409
Deployments are triggered at this time on the specified days.
40439-
example: "02:00"
40410+
example: "0200"
4044040411
type: string
4044140412
timezone:
4044240413
description: Timezone in IANA Time Zone Database format.
@@ -143258,7 +143229,7 @@ paths:
143258143229
- Wed
143259143230
interval: 1
143260143231
maintenance_window_duration: 120
143261-
start_maintenance_window: "02:00"
143232+
start_maintenance_window: "0200"
143262143233
timezone: America/New_York
143263143234
status: active
143264143235
updated_at: "2023-11-14T22:13:19Z"
@@ -143324,7 +143295,7 @@ paths:
143324143295
- Wed
143325143296
interval: 1
143326143297
maintenance_window_duration: 120
143327-
start_maintenance_window: "02:00"
143298+
start_maintenance_window: "0200"
143328143299
timezone: America/New_York
143329143300
status: active
143330143301
updated_at: "2023-11-14T22:13:19Z"

src/datadog_api_client/v2/model/fleet_agent_configuration_files_v2.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -27,32 +27,26 @@ def openapi_types(_):
2727
return {
2828
"agent_configuration": (FleetConfigurationLayer,),
2929
"application_monitoring_configuration": (FleetConfigurationLayer,),
30-
"datadog_agent_key": (str,),
3130
"otel_collectors_configuration": ([FleetOtelCollectorConfigurationV2],),
3231
"security_agent_configuration": (FleetConfigurationLayer,),
3332
"system_probe_configuration": (FleetConfigurationLayer,),
34-
"version": (str,),
3533
}
3634

3735
attribute_map = {
3836
"agent_configuration": "agent_configuration",
3937
"application_monitoring_configuration": "application_monitoring_configuration",
40-
"datadog_agent_key": "datadog_agent_key",
4138
"otel_collectors_configuration": "otel_collectors_configuration",
4239
"security_agent_configuration": "security_agent_configuration",
4340
"system_probe_configuration": "system_probe_configuration",
44-
"version": "version",
4541
}
4642

4743
def __init__(
4844
self_,
4945
agent_configuration: Union[FleetConfigurationLayer, UnsetType] = unset,
5046
application_monitoring_configuration: Union[FleetConfigurationLayer, UnsetType] = unset,
51-
datadog_agent_key: Union[str, UnsetType] = unset,
5247
otel_collectors_configuration: Union[List[FleetOtelCollectorConfigurationV2], UnsetType] = unset,
5348
security_agent_configuration: Union[FleetConfigurationLayer, UnsetType] = unset,
5449
system_probe_configuration: Union[FleetConfigurationLayer, UnsetType] = unset,
55-
version: Union[str, UnsetType] = unset,
5650
**kwargs,
5751
):
5852
"""
@@ -64,9 +58,6 @@ def __init__(
6458
:param application_monitoring_configuration: Configuration information organized by layers.
6559
:type application_monitoring_configuration: FleetConfigurationLayer, optional
6660
67-
:param datadog_agent_key: The unique agent key identifier.
68-
:type datadog_agent_key: str, optional
69-
7061
:param otel_collectors_configuration: Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors.
7162
:type otel_collectors_configuration: [FleetOtelCollectorConfigurationV2], optional
7263
@@ -75,22 +66,15 @@ def __init__(
7566
7667
:param system_probe_configuration: Configuration information organized by layers.
7768
:type system_probe_configuration: FleetConfigurationLayer, optional
78-
79-
:param version: The configuration version.
80-
:type version: str, optional
8169
"""
8270
if agent_configuration is not unset:
8371
kwargs["agent_configuration"] = agent_configuration
8472
if application_monitoring_configuration is not unset:
8573
kwargs["application_monitoring_configuration"] = application_monitoring_configuration
86-
if datadog_agent_key is not unset:
87-
kwargs["datadog_agent_key"] = datadog_agent_key
8874
if otel_collectors_configuration is not unset:
8975
kwargs["otel_collectors_configuration"] = otel_collectors_configuration
9076
if security_agent_configuration is not unset:
9177
kwargs["security_agent_configuration"] = security_agent_configuration
9278
if system_probe_configuration is not unset:
9379
kwargs["system_probe_configuration"] = system_probe_configuration
94-
if version is not unset:
95-
kwargs["version"] = version
9680
super().__init__(kwargs)

src/datadog_api_client/v2/model/fleet_agent_info_details_v2.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ def openapi_types(_):
5050
"os_version": (str,),
5151
"otel_collector_deployment_types": ([str],),
5252
"otel_collector_distributions": ([str],),
53-
"otel_collector_version": (str,),
5453
"otel_collector_versions": ([str],),
5554
"otel_collectors": ([FleetOtelCollector],),
5655
"otel_resource_attributes": ([str],),
@@ -94,7 +93,6 @@ def openapi_types(_):
9493
"os_version": "os_version",
9594
"otel_collector_deployment_types": "otel_collector_deployment_types",
9695
"otel_collector_distributions": "otel_collector_distributions",
97-
"otel_collector_version": "otel_collector_version",
9896
"otel_collector_versions": "otel_collector_versions",
9997
"otel_collectors": "otel_collectors",
10098
"otel_resource_attributes": "otel_resource_attributes",
@@ -139,7 +137,6 @@ def __init__(
139137
os_version: Union[str, UnsetType] = unset,
140138
otel_collector_deployment_types: Union[List[str], UnsetType] = unset,
141139
otel_collector_distributions: Union[List[str], UnsetType] = unset,
142-
otel_collector_version: Union[str, UnsetType] = unset,
143140
otel_collector_versions: Union[List[str], UnsetType] = unset,
144141
otel_collectors: Union[List[FleetOtelCollector], UnsetType] = unset,
145142
otel_resource_attributes: Union[List[str], UnsetType] = unset,
@@ -239,9 +236,6 @@ def __init__(
239236
:param otel_collector_distributions: OpenTelemetry collector distributions associated with the agent.
240237
:type otel_collector_distributions: [str], optional
241238
242-
:param otel_collector_version: OpenTelemetry collector version (if applicable).
243-
:type otel_collector_version: str, optional
244-
245239
:param otel_collector_versions: List of OpenTelemetry collector versions (if applicable).
246240
:type otel_collector_versions: [str], optional
247241
@@ -335,8 +329,6 @@ def __init__(
335329
kwargs["otel_collector_deployment_types"] = otel_collector_deployment_types
336330
if otel_collector_distributions is not unset:
337331
kwargs["otel_collector_distributions"] = otel_collector_distributions
338-
if otel_collector_version is not unset:
339-
kwargs["otel_collector_version"] = otel_collector_version
340332
if otel_collector_versions is not unset:
341333
kwargs["otel_collector_versions"] = otel_collector_versions
342334
if otel_collectors is not unset:

src/datadog_api_client/v2/model/fleet_agent_v2_attributes.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def openapi_types(_):
5151
"os": (str,),
5252
"otel_collector_deployment_types": ([str],),
5353
"otel_collector_distributions": ([str],),
54-
"otel_collector_version": (str,),
5554
"otel_collector_versions": ([str],),
5655
"otel_resource_attributes": ([str],),
5756
"pod_name": (str,),
@@ -85,7 +84,6 @@ def openapi_types(_):
8584
"os": "os",
8685
"otel_collector_deployment_types": "otel_collector_deployment_types",
8786
"otel_collector_distributions": "otel_collector_distributions",
88-
"otel_collector_version": "otel_collector_version",
8987
"otel_collector_versions": "otel_collector_versions",
9088
"otel_resource_attributes": "otel_resource_attributes",
9189
"pod_name": "pod_name",
@@ -120,7 +118,6 @@ def __init__(
120118
os: Union[str, UnsetType] = unset,
121119
otel_collector_deployment_types: Union[List[str], UnsetType] = unset,
122120
otel_collector_distributions: Union[List[str], UnsetType] = unset,
123-
otel_collector_version: Union[str, UnsetType] = unset,
124121
otel_collector_versions: Union[List[str], UnsetType] = unset,
125122
otel_resource_attributes: Union[List[str], UnsetType] = unset,
126123
pod_name: Union[str, UnsetType] = unset,
@@ -200,9 +197,6 @@ def __init__(
200197
:param otel_collector_distributions: OpenTelemetry collector distributions associated with the agent.
201198
:type otel_collector_distributions: [str], optional
202199
203-
:param otel_collector_version: The primary OpenTelemetry collector version, if applicable.
204-
:type otel_collector_version: str, optional
205-
206200
:param otel_collector_versions: All OpenTelemetry collector versions associated with the agent.
207201
:type otel_collector_versions: [str], optional
208202
@@ -271,8 +265,6 @@ def __init__(
271265
kwargs["otel_collector_deployment_types"] = otel_collector_deployment_types
272266
if otel_collector_distributions is not unset:
273267
kwargs["otel_collector_distributions"] = otel_collector_distributions
274-
if otel_collector_version is not unset:
275-
kwargs["otel_collector_version"] = otel_collector_version
276268
if otel_collector_versions is not unset:
277269
kwargs["otel_collector_versions"] = otel_collector_versions
278270
if otel_resource_attributes is not unset:

src/datadog_api_client/v2/model/fleet_configuration_file_v2.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,13 @@ def openapi_types(_):
2121
"file_content": (str,),
2222
"file_path": (str,),
2323
"filename": (str,),
24-
"fleet_hash": (str,),
2524
}
2625

2726
attribute_map = {
2827
"agent_hash": "agent_hash",
2928
"file_content": "file_content",
3029
"file_path": "file_path",
3130
"filename": "filename",
32-
"fleet_hash": "fleet_hash",
3331
}
3432

3533
def __init__(
@@ -38,7 +36,6 @@ def __init__(
3836
file_content: Union[str, UnsetType] = unset,
3937
file_path: Union[str, UnsetType] = unset,
4038
filename: Union[str, UnsetType] = unset,
41-
fleet_hash: Union[str, UnsetType] = unset,
4239
**kwargs,
4340
):
4441
"""
@@ -55,9 +52,6 @@ def __init__(
5552
5653
:param filename: Name of the configuration file.
5754
:type filename: str, optional
58-
59-
:param fleet_hash: Hash of the configuration file as applied by fleet management.
60-
:type fleet_hash: str, optional
6155
"""
6256
if agent_hash is not unset:
6357
kwargs["agent_hash"] = agent_hash
@@ -67,6 +61,4 @@ def __init__(
6761
kwargs["file_path"] = file_path
6862
if filename is not unset:
6963
kwargs["filename"] = filename
70-
if fleet_hash is not unset:
71-
kwargs["fleet_hash"] = fleet_hash
7264
super().__init__(kwargs)

src/datadog_api_client/v2/model/fleet_configuration_layer.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ def openapi_types(_):
2020
"compiled_configuration": (str,),
2121
"env_configuration": (str,),
2222
"file_configuration": (str,),
23-
"parsed_configuration": (str,),
2423
"remote_configuration": (str,),
2524
"runtime_configuration": (str,),
2625
}
@@ -29,7 +28,6 @@ def openapi_types(_):
2928
"compiled_configuration": "compiled_configuration",
3029
"env_configuration": "env_configuration",
3130
"file_configuration": "file_configuration",
32-
"parsed_configuration": "parsed_configuration",
3331
"remote_configuration": "remote_configuration",
3432
"runtime_configuration": "runtime_configuration",
3533
}
@@ -39,7 +37,6 @@ def __init__(
3937
compiled_configuration: Union[str, UnsetType] = unset,
4038
env_configuration: Union[str, UnsetType] = unset,
4139
file_configuration: Union[str, UnsetType] = unset,
42-
parsed_configuration: Union[str, UnsetType] = unset,
4340
remote_configuration: Union[str, UnsetType] = unset,
4441
runtime_configuration: Union[str, UnsetType] = unset,
4542
**kwargs,
@@ -56,9 +53,6 @@ def __init__(
5653
:param file_configuration: Configuration from files.
5754
:type file_configuration: str, optional
5855
59-
:param parsed_configuration: Parsed configuration output.
60-
:type parsed_configuration: str, optional
61-
6256
:param remote_configuration: Remote configuration settings.
6357
:type remote_configuration: str, optional
6458
@@ -71,8 +65,6 @@ def __init__(
7165
kwargs["env_configuration"] = env_configuration
7266
if file_configuration is not unset:
7367
kwargs["file_configuration"] = file_configuration
74-
if parsed_configuration is not unset:
75-
kwargs["parsed_configuration"] = parsed_configuration
7668
if remote_configuration is not unset:
7769
kwargs["remote_configuration"] = remote_configuration
7870
if runtime_configuration is not unset:

src/datadog_api_client/v2/model/fleet_deployment_configure_v2_dry_run_attributes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(
5454
:param query: Query used to filter and select target hosts for the deployment.
5555
:type query: str, optional
5656
57-
:param total_hosts: Total number of hosts targeted by the dry run.
57+
:param total_hosts: Total number of hosts targeted by this deployment.
5858
:type total_hosts: int, optional
5959
"""
6060
if dry_run is not unset:

0 commit comments

Comments
 (0)