Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 5 additions & 34 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38720,10 +38720,6 @@ components:
$ref: "#/components/schemas/FleetConfigurationLayer"
application_monitoring_configuration:
$ref: "#/components/schemas/FleetConfigurationLayer"
datadog_agent_key:
description: The unique agent key identifier.
example: "a1b2c3d4e5f67890a1b2c3d4e5f67890"
type: string
otel_collectors_configuration:
description: >-
Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors.
Expand All @@ -38734,9 +38730,6 @@ components:
$ref: "#/components/schemas/FleetConfigurationLayer"
system_probe_configuration:
$ref: "#/components/schemas/FleetConfigurationLayer"
version:
description: The configuration version.
type: string
type: object
FleetAgentDetailV2:
description: Detailed information about a specific Datadog Agent.
Expand Down Expand Up @@ -38896,9 +38889,6 @@ components:
description: An OpenTelemetry collector distribution.
type: string
type: array
otel_collector_version:
description: OpenTelemetry collector version (if applicable).
type: string
otel_collector_versions:
description: List of OpenTelemetry collector versions (if applicable).
items:
Expand Down Expand Up @@ -39082,10 +39072,6 @@ components:
description: An OpenTelemetry collector distribution.
type: string
type: array
otel_collector_version:
description: The primary OpenTelemetry collector version, if applicable.
example: "0.91.0"
type: string
otel_collector_versions:
description: All OpenTelemetry collector versions associated with the agent.
items:
Expand Down Expand Up @@ -39257,9 +39243,6 @@ components:
description: Name of the configuration file.
example: "postgres.yaml"
type: string
fleet_hash:
description: Hash of the configuration file as applied by fleet management.
type: string
type: object
FleetConfigurationLayer:
description: Configuration information organized by layers.
Expand All @@ -39273,9 +39256,6 @@ components:
file_configuration:
description: Configuration from files.
type: string
parsed_configuration:
description: Parsed configuration output.
type: string
remote_configuration:
description: Remote configuration settings.
type: string
Expand Down Expand Up @@ -39418,7 +39398,7 @@ components:
example: "env:prod AND service:web"
type: string
total_hosts:
description: Total number of hosts targeted by the dry run.
description: Total number of hosts targeted by this deployment.
example: 42
format: int64
type: integer
Expand Down Expand Up @@ -40042,25 +40022,16 @@ components:
FleetIntegrationsByStatusV2:
description: Integrations organized by their status.
properties:
cluster_name:
description: The Kubernetes cluster name, if the agent runs in a cluster.
type: string
configuration_files:
description: Configuration files for integrations.
items:
$ref: "#/components/schemas/FleetConfigurationFileV2"
type: array
datadog_agent_key:
description: The unique agent key identifier.
type: string
error_integrations:
description: Integrations with errors.
items:
$ref: "#/components/schemas/FleetIntegrationDetailsV2"
type: array
k8s_cluster_key:
description: The Kubernetes cluster key, if the agent runs in a cluster.
type: string
missing_integrations:
description: Detected but not configured integrations.
items:
Expand Down Expand Up @@ -40434,9 +40405,9 @@ components:
type: integer
start_maintenance_window:
description: |-
Start time of the maintenance window in 24-hour clock format (HH:MM).
Start time of the maintenance window in 24-hour clock format (HHMM).
Deployments are triggered at this time on the specified days.
example: "02:00"
example: "0200"
type: string
timezone:
description: Timezone in IANA Time Zone Database format.
Expand Down Expand Up @@ -143258,7 +143229,7 @@ paths:
- Wed
interval: 1
maintenance_window_duration: 120
start_maintenance_window: "02:00"
start_maintenance_window: "0200"
timezone: America/New_York
status: active
updated_at: "2023-11-14T22:13:19Z"
Expand Down Expand Up @@ -143324,7 +143295,7 @@ paths:
- Wed
interval: 1
maintenance_window_duration: 120
start_maintenance_window: "02:00"
start_maintenance_window: "0200"
timezone: America/New_York
status: active
updated_at: "2023-11-14T22:13:19Z"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ class FleetAgentConfigurationFilesV2
# Configuration information organized by layers.
attr_accessor :application_monitoring_configuration

# The unique agent key identifier.
attr_accessor :datadog_agent_key

# Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors.
attr_accessor :otel_collectors_configuration

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

# The configuration version.
attr_accessor :version

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
Expand All @@ -50,11 +44,9 @@ def self.attribute_map
{
:'agent_configuration' => :'agent_configuration',
:'application_monitoring_configuration' => :'application_monitoring_configuration',
:'datadog_agent_key' => :'datadog_agent_key',
:'otel_collectors_configuration' => :'otel_collectors_configuration',
:'security_agent_configuration' => :'security_agent_configuration',
:'system_probe_configuration' => :'system_probe_configuration',
:'version' => :'version'
:'system_probe_configuration' => :'system_probe_configuration'
}
end

Expand All @@ -64,11 +56,9 @@ def self.openapi_types
{
:'agent_configuration' => :'FleetConfigurationLayer',
:'application_monitoring_configuration' => :'FleetConfigurationLayer',
:'datadog_agent_key' => :'String',
:'otel_collectors_configuration' => :'Array<FleetOtelCollectorConfigurationV2>',
:'security_agent_configuration' => :'FleetConfigurationLayer',
:'system_probe_configuration' => :'FleetConfigurationLayer',
:'version' => :'String'
:'system_probe_configuration' => :'FleetConfigurationLayer'
}
end

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

if attributes.key?(:'datadog_agent_key')
self.datadog_agent_key = attributes[:'datadog_agent_key']
end

if attributes.key?(:'otel_collectors_configuration')
if (value = attributes[:'otel_collectors_configuration']).is_a?(Array)
self.otel_collectors_configuration = value
Expand All @@ -115,10 +101,6 @@ def initialize(attributes = {})
if attributes.key?(:'system_probe_configuration')
self.system_probe_configuration = attributes[:'system_probe_configuration']
end

if attributes.key?(:'version')
self.version = attributes[:'version']
end
end

# Returns the object in the form of hash, with additionalProperties support.
Expand Down Expand Up @@ -149,19 +131,17 @@ def ==(o)
self.class == o.class &&
agent_configuration == o.agent_configuration &&
application_monitoring_configuration == o.application_monitoring_configuration &&
datadog_agent_key == o.datadog_agent_key &&
otel_collectors_configuration == o.otel_collectors_configuration &&
security_agent_configuration == o.security_agent_configuration &&
system_probe_configuration == o.system_probe_configuration &&
version == o.version &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[agent_configuration, application_monitoring_configuration, datadog_agent_key, otel_collectors_configuration, security_agent_configuration, system_probe_configuration, version, additional_properties].hash
[agent_configuration, application_monitoring_configuration, otel_collectors_configuration, security_agent_configuration, system_probe_configuration, additional_properties].hash
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,6 @@ class FleetAgentInfoDetailsV2
# OpenTelemetry collector distributions associated with the agent.
attr_accessor :otel_collector_distributions

# OpenTelemetry collector version (if applicable).
attr_accessor :otel_collector_version

# List of OpenTelemetry collector versions (if applicable).
attr_accessor :otel_collector_versions

Expand Down Expand Up @@ -177,7 +174,6 @@ def self.attribute_map
:'os_version' => :'os_version',
:'otel_collector_deployment_types' => :'otel_collector_deployment_types',
:'otel_collector_distributions' => :'otel_collector_distributions',
:'otel_collector_version' => :'otel_collector_version',
:'otel_collector_versions' => :'otel_collector_versions',
:'otel_collectors' => :'otel_collectors',
:'otel_resource_attributes' => :'otel_resource_attributes',
Expand Down Expand Up @@ -225,7 +221,6 @@ def self.openapi_types
:'os_version' => :'String',
:'otel_collector_deployment_types' => :'Array<String>',
:'otel_collector_distributions' => :'Array<String>',
:'otel_collector_version' => :'String',
:'otel_collector_versions' => :'Array<String>',
:'otel_collectors' => :'Array<Hash<String, Object>>',
:'otel_resource_attributes' => :'Array<String>',
Expand Down Expand Up @@ -382,10 +377,6 @@ def initialize(attributes = {})
end
end

if attributes.key?(:'otel_collector_version')
self.otel_collector_version = attributes[:'otel_collector_version']
end

if attributes.key?(:'otel_collector_versions')
if (value = attributes[:'otel_collector_versions']).is_a?(Array)
self.otel_collector_versions = value
Expand Down Expand Up @@ -504,7 +495,6 @@ def ==(o)
os_version == o.os_version &&
otel_collector_deployment_types == o.otel_collector_deployment_types &&
otel_collector_distributions == o.otel_collector_distributions &&
otel_collector_version == o.otel_collector_version &&
otel_collector_versions == o.otel_collector_versions &&
otel_collectors == o.otel_collectors &&
otel_resource_attributes == o.otel_resource_attributes &&
Expand All @@ -525,7 +515,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[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
[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
end
end
end
12 changes: 1 addition & 11 deletions lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,6 @@ class FleetAgentV2Attributes
# OpenTelemetry collector distributions associated with the agent.
attr_accessor :otel_collector_distributions

# The primary OpenTelemetry collector version, if applicable.
attr_accessor :otel_collector_version

# All OpenTelemetry collector versions associated with the agent.
attr_accessor :otel_collector_versions

Expand Down Expand Up @@ -142,7 +139,6 @@ def self.attribute_map
:'os' => :'os',
:'otel_collector_deployment_types' => :'otel_collector_deployment_types',
:'otel_collector_distributions' => :'otel_collector_distributions',
:'otel_collector_version' => :'otel_collector_version',
:'otel_collector_versions' => :'otel_collector_versions',
:'otel_resource_attributes' => :'otel_resource_attributes',
:'pod_name' => :'pod_name',
Expand Down Expand Up @@ -180,7 +176,6 @@ def self.openapi_types
:'os' => :'String',
:'otel_collector_deployment_types' => :'Array<String>',
:'otel_collector_distributions' => :'Array<String>',
:'otel_collector_version' => :'String',
:'otel_collector_versions' => :'Array<String>',
:'otel_resource_attributes' => :'Array<String>',
:'pod_name' => :'String',
Expand Down Expand Up @@ -312,10 +307,6 @@ def initialize(attributes = {})
end
end

if attributes.key?(:'otel_collector_version')
self.otel_collector_version = attributes[:'otel_collector_version']
end

if attributes.key?(:'otel_collector_versions')
if (value = attributes[:'otel_collector_versions']).is_a?(Array)
self.otel_collector_versions = value
Expand Down Expand Up @@ -405,7 +396,6 @@ def ==(o)
os == o.os &&
otel_collector_deployment_types == o.otel_collector_deployment_types &&
otel_collector_distributions == o.otel_collector_distributions &&
otel_collector_version == o.otel_collector_version &&
otel_collector_versions == o.otel_collector_versions &&
otel_resource_attributes == o.otel_resource_attributes &&
pod_name == o.pod_name &&
Expand All @@ -421,7 +411,7 @@ def ==(o)
# @return [Integer] Hash code
# @!visibility private
def hash
[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
[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
end
end
end
16 changes: 3 additions & 13 deletions lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,6 @@ class FleetConfigurationFileV2
# Name of the configuration file.
attr_accessor :filename

# Hash of the configuration file as applied by fleet management.
attr_accessor :fleet_hash

attr_accessor :additional_properties

# Attribute mapping from ruby-style variable name to JSON key.
Expand All @@ -45,8 +42,7 @@ def self.attribute_map
:'agent_hash' => :'agent_hash',
:'file_content' => :'file_content',
:'file_path' => :'file_path',
:'filename' => :'filename',
:'fleet_hash' => :'fleet_hash'
:'filename' => :'filename'
}
end

Expand All @@ -57,8 +53,7 @@ def self.openapi_types
:'agent_hash' => :'String',
:'file_content' => :'String',
:'file_path' => :'String',
:'filename' => :'String',
:'fleet_hash' => :'String'
:'filename' => :'String'
}
end

Expand Down Expand Up @@ -95,10 +90,6 @@ def initialize(attributes = {})
if attributes.key?(:'filename')
self.filename = attributes[:'filename']
end

if attributes.key?(:'fleet_hash')
self.fleet_hash = attributes[:'fleet_hash']
end
end

# Returns the object in the form of hash, with additionalProperties support.
Expand Down Expand Up @@ -131,15 +122,14 @@ def ==(o)
file_content == o.file_content &&
file_path == o.file_path &&
filename == o.filename &&
fleet_hash == o.fleet_hash &&
additional_properties == o.additional_properties
end

# Calculates hash code according to all attributes.
# @return [Integer] Hash code
# @!visibility private
def hash
[agent_hash, file_content, file_path, filename, fleet_hash, additional_properties].hash
[agent_hash, file_content, file_path, filename, additional_properties].hash
end
end
end
Loading
Loading