Skip to content

Commit d16b482

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Regenerate client from commit 45a1c20 of spec repo (DataDog#3643)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent aa0a03d commit d16b482

9 files changed

Lines changed: 17 additions & 136 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"

lib/datadog_api_client/v2/models/fleet_agent_configuration_files_v2.rb

Lines changed: 3 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ class FleetAgentConfigurationFilesV2
2727
# Configuration information organized by layers.
2828
attr_accessor :application_monitoring_configuration
2929

30-
# The unique agent key identifier.
31-
attr_accessor :datadog_agent_key
32-
3330
# Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors.
3431
attr_accessor :otel_collectors_configuration
3532

@@ -39,9 +36,6 @@ class FleetAgentConfigurationFilesV2
3936
# Configuration information organized by layers.
4037
attr_accessor :system_probe_configuration
4138

42-
# The configuration version.
43-
attr_accessor :version
44-
4539
attr_accessor :additional_properties
4640

4741
# Attribute mapping from ruby-style variable name to JSON key.
@@ -50,11 +44,9 @@ def self.attribute_map
5044
{
5145
:'agent_configuration' => :'agent_configuration',
5246
:'application_monitoring_configuration' => :'application_monitoring_configuration',
53-
:'datadog_agent_key' => :'datadog_agent_key',
5447
:'otel_collectors_configuration' => :'otel_collectors_configuration',
5548
:'security_agent_configuration' => :'security_agent_configuration',
56-
:'system_probe_configuration' => :'system_probe_configuration',
57-
:'version' => :'version'
49+
:'system_probe_configuration' => :'system_probe_configuration'
5850
}
5951
end
6052

@@ -64,11 +56,9 @@ def self.openapi_types
6456
{
6557
:'agent_configuration' => :'FleetConfigurationLayer',
6658
:'application_monitoring_configuration' => :'FleetConfigurationLayer',
67-
:'datadog_agent_key' => :'String',
6859
:'otel_collectors_configuration' => :'Array<FleetOtelCollectorConfigurationV2>',
6960
:'security_agent_configuration' => :'FleetConfigurationLayer',
70-
:'system_probe_configuration' => :'FleetConfigurationLayer',
71-
:'version' => :'String'
61+
:'system_probe_configuration' => :'FleetConfigurationLayer'
7262
}
7363
end
7464

@@ -98,10 +88,6 @@ def initialize(attributes = {})
9888
self.application_monitoring_configuration = attributes[:'application_monitoring_configuration']
9989
end
10090

101-
if attributes.key?(:'datadog_agent_key')
102-
self.datadog_agent_key = attributes[:'datadog_agent_key']
103-
end
104-
10591
if attributes.key?(:'otel_collectors_configuration')
10692
if (value = attributes[:'otel_collectors_configuration']).is_a?(Array)
10793
self.otel_collectors_configuration = value
@@ -115,10 +101,6 @@ def initialize(attributes = {})
115101
if attributes.key?(:'system_probe_configuration')
116102
self.system_probe_configuration = attributes[:'system_probe_configuration']
117103
end
118-
119-
if attributes.key?(:'version')
120-
self.version = attributes[:'version']
121-
end
122104
end
123105

124106
# Returns the object in the form of hash, with additionalProperties support.
@@ -149,19 +131,17 @@ def ==(o)
149131
self.class == o.class &&
150132
agent_configuration == o.agent_configuration &&
151133
application_monitoring_configuration == o.application_monitoring_configuration &&
152-
datadog_agent_key == o.datadog_agent_key &&
153134
otel_collectors_configuration == o.otel_collectors_configuration &&
154135
security_agent_configuration == o.security_agent_configuration &&
155136
system_probe_configuration == o.system_probe_configuration &&
156-
version == o.version &&
157137
additional_properties == o.additional_properties
158138
end
159139

160140
# Calculates hash code according to all attributes.
161141
# @return [Integer] Hash code
162142
# @!visibility private
163143
def hash
164-
[agent_configuration, application_monitoring_configuration, datadog_agent_key, otel_collectors_configuration, security_agent_configuration, system_probe_configuration, version, additional_properties].hash
144+
[agent_configuration, application_monitoring_configuration, otel_collectors_configuration, security_agent_configuration, system_probe_configuration, additional_properties].hash
165145
end
166146
end
167147
end

lib/datadog_api_client/v2/models/fleet_agent_info_details_v2.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,6 @@ class FleetAgentInfoDetailsV2
102102
# OpenTelemetry collector distributions associated with the agent.
103103
attr_accessor :otel_collector_distributions
104104

105-
# OpenTelemetry collector version (if applicable).
106-
attr_accessor :otel_collector_version
107-
108105
# List of OpenTelemetry collector versions (if applicable).
109106
attr_accessor :otel_collector_versions
110107

@@ -177,7 +174,6 @@ def self.attribute_map
177174
:'os_version' => :'os_version',
178175
:'otel_collector_deployment_types' => :'otel_collector_deployment_types',
179176
:'otel_collector_distributions' => :'otel_collector_distributions',
180-
:'otel_collector_version' => :'otel_collector_version',
181177
:'otel_collector_versions' => :'otel_collector_versions',
182178
:'otel_collectors' => :'otel_collectors',
183179
:'otel_resource_attributes' => :'otel_resource_attributes',
@@ -225,7 +221,6 @@ def self.openapi_types
225221
:'os_version' => :'String',
226222
:'otel_collector_deployment_types' => :'Array<String>',
227223
:'otel_collector_distributions' => :'Array<String>',
228-
:'otel_collector_version' => :'String',
229224
:'otel_collector_versions' => :'Array<String>',
230225
:'otel_collectors' => :'Array<Hash<String, Object>>',
231226
:'otel_resource_attributes' => :'Array<String>',
@@ -382,10 +377,6 @@ def initialize(attributes = {})
382377
end
383378
end
384379

385-
if attributes.key?(:'otel_collector_version')
386-
self.otel_collector_version = attributes[:'otel_collector_version']
387-
end
388-
389380
if attributes.key?(:'otel_collector_versions')
390381
if (value = attributes[:'otel_collector_versions']).is_a?(Array)
391382
self.otel_collector_versions = value
@@ -504,7 +495,6 @@ def ==(o)
504495
os_version == o.os_version &&
505496
otel_collector_deployment_types == o.otel_collector_deployment_types &&
506497
otel_collector_distributions == o.otel_collector_distributions &&
507-
otel_collector_version == o.otel_collector_version &&
508498
otel_collector_versions == o.otel_collector_versions &&
509499
otel_collectors == o.otel_collectors &&
510500
otel_resource_attributes == o.otel_resource_attributes &&
@@ -525,7 +515,7 @@ def ==(o)
525515
# @return [Integer] Hash code
526516
# @!visibility private
527517
def hash
528-
[active_ha_agent, agent_version, api_key_name, api_key_uuid, cloud_provider, cluster_name, config_id, datadog_agent_key, datadog_data_center, ecs_fargate_cluster_name, ecs_fargate_task_arn, enabled_products, env, first_seen_at, ha_agent_hosts, ha_agent_state, hostname, hostname_aliases, install_method_installer_version, install_method_tool, ip_addresses, is_single_step_instrumentation_enabled, last_restart_at, os, os_version, otel_collector_deployment_types, otel_collector_distributions, otel_collector_version, otel_collector_versions, otel_collectors, otel_resource_attributes, pod_name, preferred_ha_active_agent, python_version, region, remote_agent_management, remote_config_status, services, support_agent_upgrade, tags, team, additional_properties].hash
518+
[active_ha_agent, agent_version, api_key_name, api_key_uuid, cloud_provider, cluster_name, config_id, datadog_agent_key, datadog_data_center, ecs_fargate_cluster_name, ecs_fargate_task_arn, enabled_products, env, first_seen_at, ha_agent_hosts, ha_agent_state, hostname, hostname_aliases, install_method_installer_version, install_method_tool, ip_addresses, is_single_step_instrumentation_enabled, last_restart_at, os, os_version, otel_collector_deployment_types, otel_collector_distributions, otel_collector_versions, otel_collectors, otel_resource_attributes, pod_name, preferred_ha_active_agent, python_version, region, remote_agent_management, remote_config_status, services, support_agent_upgrade, tags, team, additional_properties].hash
529519
end
530520
end
531521
end

lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ class FleetAgentV2Attributes
8787
# OpenTelemetry collector distributions associated with the agent.
8888
attr_accessor :otel_collector_distributions
8989

90-
# The primary OpenTelemetry collector version, if applicable.
91-
attr_accessor :otel_collector_version
92-
9390
# All OpenTelemetry collector versions associated with the agent.
9491
attr_accessor :otel_collector_versions
9592

@@ -142,7 +139,6 @@ def self.attribute_map
142139
:'os' => :'os',
143140
:'otel_collector_deployment_types' => :'otel_collector_deployment_types',
144141
:'otel_collector_distributions' => :'otel_collector_distributions',
145-
:'otel_collector_version' => :'otel_collector_version',
146142
:'otel_collector_versions' => :'otel_collector_versions',
147143
:'otel_resource_attributes' => :'otel_resource_attributes',
148144
:'pod_name' => :'pod_name',
@@ -180,7 +176,6 @@ def self.openapi_types
180176
:'os' => :'String',
181177
:'otel_collector_deployment_types' => :'Array<String>',
182178
:'otel_collector_distributions' => :'Array<String>',
183-
:'otel_collector_version' => :'String',
184179
:'otel_collector_versions' => :'Array<String>',
185180
:'otel_resource_attributes' => :'Array<String>',
186181
:'pod_name' => :'String',
@@ -312,10 +307,6 @@ def initialize(attributes = {})
312307
end
313308
end
314309

315-
if attributes.key?(:'otel_collector_version')
316-
self.otel_collector_version = attributes[:'otel_collector_version']
317-
end
318-
319310
if attributes.key?(:'otel_collector_versions')
320311
if (value = attributes[:'otel_collector_versions']).is_a?(Array)
321312
self.otel_collector_versions = value
@@ -405,7 +396,6 @@ def ==(o)
405396
os == o.os &&
406397
otel_collector_deployment_types == o.otel_collector_deployment_types &&
407398
otel_collector_distributions == o.otel_collector_distributions &&
408-
otel_collector_version == o.otel_collector_version &&
409399
otel_collector_versions == o.otel_collector_versions &&
410400
otel_resource_attributes == o.otel_resource_attributes &&
411401
pod_name == o.pod_name &&
@@ -421,7 +411,7 @@ def ==(o)
421411
# @return [Integer] Hash code
422412
# @!visibility private
423413
def hash
424-
[agent_version, api_key_name, api_key_uuid, cloud_provider, cluster_name, datadog_data_center, ecs_fargate_cluster_name, ecs_fargate_task_arn, enabled_products, env, first_seen_at, fleet_policies, hostname, instrumentation_error_counts, instrumentation_status, integrations, ip_addresses, is_single_step_instrumentation_enabled, last_restart_at, os, otel_collector_deployment_types, otel_collector_distributions, otel_collector_version, otel_collector_versions, otel_resource_attributes, pod_name, remote_agent_management, remote_config_status, services, tags, team, additional_properties].hash
414+
[agent_version, api_key_name, api_key_uuid, cloud_provider, cluster_name, datadog_data_center, ecs_fargate_cluster_name, ecs_fargate_task_arn, enabled_products, env, first_seen_at, fleet_policies, hostname, instrumentation_error_counts, instrumentation_status, integrations, ip_addresses, is_single_step_instrumentation_enabled, last_restart_at, os, otel_collector_deployment_types, otel_collector_distributions, otel_collector_versions, otel_resource_attributes, pod_name, remote_agent_management, remote_config_status, services, tags, team, additional_properties].hash
425415
end
426416
end
427417
end

lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ class FleetConfigurationFileV2
3333
# Name of the configuration file.
3434
attr_accessor :filename
3535

36-
# Hash of the configuration file as applied by fleet management.
37-
attr_accessor :fleet_hash
38-
3936
attr_accessor :additional_properties
4037

4138
# Attribute mapping from ruby-style variable name to JSON key.
@@ -45,8 +42,7 @@ def self.attribute_map
4542
:'agent_hash' => :'agent_hash',
4643
:'file_content' => :'file_content',
4744
:'file_path' => :'file_path',
48-
:'filename' => :'filename',
49-
:'fleet_hash' => :'fleet_hash'
45+
:'filename' => :'filename'
5046
}
5147
end
5248

@@ -57,8 +53,7 @@ def self.openapi_types
5753
:'agent_hash' => :'String',
5854
:'file_content' => :'String',
5955
:'file_path' => :'String',
60-
:'filename' => :'String',
61-
:'fleet_hash' => :'String'
56+
:'filename' => :'String'
6257
}
6358
end
6459

@@ -95,10 +90,6 @@ def initialize(attributes = {})
9590
if attributes.key?(:'filename')
9691
self.filename = attributes[:'filename']
9792
end
98-
99-
if attributes.key?(:'fleet_hash')
100-
self.fleet_hash = attributes[:'fleet_hash']
101-
end
10293
end
10394

10495
# Returns the object in the form of hash, with additionalProperties support.
@@ -131,15 +122,14 @@ def ==(o)
131122
file_content == o.file_content &&
132123
file_path == o.file_path &&
133124
filename == o.filename &&
134-
fleet_hash == o.fleet_hash &&
135125
additional_properties == o.additional_properties
136126
end
137127

138128
# Calculates hash code according to all attributes.
139129
# @return [Integer] Hash code
140130
# @!visibility private
141131
def hash
142-
[agent_hash, file_content, file_path, filename, fleet_hash, additional_properties].hash
132+
[agent_hash, file_content, file_path, filename, additional_properties].hash
143133
end
144134
end
145135
end

0 commit comments

Comments
 (0)