diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d8f50ea93052..9bc4bd3a2cf5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -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. @@ -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. @@ -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: @@ -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: @@ -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. @@ -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 @@ -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 @@ -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: @@ -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. @@ -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" @@ -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" diff --git a/lib/datadog_api_client/v2/models/fleet_agent_configuration_files_v2.rb b/lib/datadog_api_client/v2/models/fleet_agent_configuration_files_v2.rb index c54e893c19c7..909ec3e5b884 100644 --- a/lib/datadog_api_client/v2/models/fleet_agent_configuration_files_v2.rb +++ b/lib/datadog_api_client/v2/models/fleet_agent_configuration_files_v2.rb @@ -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 @@ -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. @@ -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 @@ -64,11 +56,9 @@ def self.openapi_types { :'agent_configuration' => :'FleetConfigurationLayer', :'application_monitoring_configuration' => :'FleetConfigurationLayer', - :'datadog_agent_key' => :'String', :'otel_collectors_configuration' => :'Array', :'security_agent_configuration' => :'FleetConfigurationLayer', - :'system_probe_configuration' => :'FleetConfigurationLayer', - :'version' => :'String' + :'system_probe_configuration' => :'FleetConfigurationLayer' } end @@ -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 @@ -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. @@ -149,11 +131,9 @@ 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 @@ -161,7 +141,7 @@ def ==(o) # @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 diff --git a/lib/datadog_api_client/v2/models/fleet_agent_info_details_v2.rb b/lib/datadog_api_client/v2/models/fleet_agent_info_details_v2.rb index 2d5db59e9a06..2c9597daff82 100644 --- a/lib/datadog_api_client/v2/models/fleet_agent_info_details_v2.rb +++ b/lib/datadog_api_client/v2/models/fleet_agent_info_details_v2.rb @@ -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 @@ -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', @@ -225,7 +221,6 @@ def self.openapi_types :'os_version' => :'String', :'otel_collector_deployment_types' => :'Array', :'otel_collector_distributions' => :'Array', - :'otel_collector_version' => :'String', :'otel_collector_versions' => :'Array', :'otel_collectors' => :'Array>', :'otel_resource_attributes' => :'Array', @@ -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 @@ -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 && @@ -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 diff --git a/lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb b/lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb index 3f9a82ba6f2b..7345d3f63fd5 100644 --- a/lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb +++ b/lib/datadog_api_client/v2/models/fleet_agent_v2_attributes.rb @@ -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 @@ -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', @@ -180,7 +176,6 @@ def self.openapi_types :'os' => :'String', :'otel_collector_deployment_types' => :'Array', :'otel_collector_distributions' => :'Array', - :'otel_collector_version' => :'String', :'otel_collector_versions' => :'Array', :'otel_resource_attributes' => :'Array', :'pod_name' => :'String', @@ -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 @@ -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 && @@ -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 diff --git a/lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb b/lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb index 384060c39a89..b0b50f397260 100644 --- a/lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb +++ b/lib/datadog_api_client/v2/models/fleet_configuration_file_v2.rb @@ -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. @@ -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 @@ -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 @@ -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. @@ -131,7 +122,6 @@ 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 @@ -139,7 +129,7 @@ def ==(o) # @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 diff --git a/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb b/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb index e69a90d43380..0c4a83d4c074 100644 --- a/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb +++ b/lib/datadog_api_client/v2/models/fleet_configuration_layer.rb @@ -30,9 +30,6 @@ class FleetConfigurationLayer # Configuration from files. attr_accessor :file_configuration - # Parsed configuration output. - attr_accessor :parsed_configuration - # Remote configuration settings. attr_accessor :remote_configuration @@ -48,7 +45,6 @@ def self.attribute_map :'compiled_configuration' => :'compiled_configuration', :'env_configuration' => :'env_configuration', :'file_configuration' => :'file_configuration', - :'parsed_configuration' => :'parsed_configuration', :'remote_configuration' => :'remote_configuration', :'runtime_configuration' => :'runtime_configuration' } @@ -61,7 +57,6 @@ def self.openapi_types :'compiled_configuration' => :'String', :'env_configuration' => :'String', :'file_configuration' => :'String', - :'parsed_configuration' => :'String', :'remote_configuration' => :'String', :'runtime_configuration' => :'String' } @@ -97,10 +92,6 @@ def initialize(attributes = {}) self.file_configuration = attributes[:'file_configuration'] end - if attributes.key?(:'parsed_configuration') - self.parsed_configuration = attributes[:'parsed_configuration'] - end - if attributes.key?(:'remote_configuration') self.remote_configuration = attributes[:'remote_configuration'] end @@ -139,7 +130,6 @@ def ==(o) compiled_configuration == o.compiled_configuration && env_configuration == o.env_configuration && file_configuration == o.file_configuration && - parsed_configuration == o.parsed_configuration && remote_configuration == o.remote_configuration && runtime_configuration == o.runtime_configuration && additional_properties == o.additional_properties @@ -149,7 +139,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [compiled_configuration, env_configuration, file_configuration, parsed_configuration, remote_configuration, runtime_configuration, additional_properties].hash + [compiled_configuration, env_configuration, file_configuration, remote_configuration, runtime_configuration, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/fleet_deployment_configure_v2_dry_run_attributes.rb b/lib/datadog_api_client/v2/models/fleet_deployment_configure_v2_dry_run_attributes.rb index b49a44ce535a..16c31e2de68b 100644 --- a/lib/datadog_api_client/v2/models/fleet_deployment_configure_v2_dry_run_attributes.rb +++ b/lib/datadog_api_client/v2/models/fleet_deployment_configure_v2_dry_run_attributes.rb @@ -27,7 +27,7 @@ class FleetDeploymentConfigureV2DryRunAttributes # Query used to filter and select target hosts for the deployment. attr_accessor :query - # Total number of hosts targeted by the dry run. + # Total number of hosts targeted by this deployment. attr_accessor :total_hosts attr_accessor :additional_properties diff --git a/lib/datadog_api_client/v2/models/fleet_integrations_by_status_v2.rb b/lib/datadog_api_client/v2/models/fleet_integrations_by_status_v2.rb index a6fe0a653403..44ce06d9faee 100644 --- a/lib/datadog_api_client/v2/models/fleet_integrations_by_status_v2.rb +++ b/lib/datadog_api_client/v2/models/fleet_integrations_by_status_v2.rb @@ -21,21 +21,12 @@ module DatadogAPIClient::V2 class FleetIntegrationsByStatusV2 include BaseGenericModel - # The Kubernetes cluster name, if the agent runs in a cluster. - attr_accessor :cluster_name - # Configuration files for integrations. attr_accessor :configuration_files - # The unique agent key identifier. - attr_accessor :datadog_agent_key - # Integrations with errors. attr_accessor :error_integrations - # The Kubernetes cluster key, if the agent runs in a cluster. - attr_accessor :k8s_cluster_key - # Detected but not configured integrations. attr_accessor :missing_integrations @@ -51,11 +42,8 @@ class FleetIntegrationsByStatusV2 # @!visibility private def self.attribute_map { - :'cluster_name' => :'cluster_name', :'configuration_files' => :'configuration_files', - :'datadog_agent_key' => :'datadog_agent_key', :'error_integrations' => :'error_integrations', - :'k8s_cluster_key' => :'k8s_cluster_key', :'missing_integrations' => :'missing_integrations', :'warning_integrations' => :'warning_integrations', :'working_integrations' => :'working_integrations' @@ -66,11 +54,8 @@ def self.attribute_map # @!visibility private def self.openapi_types { - :'cluster_name' => :'String', :'configuration_files' => :'Array', - :'datadog_agent_key' => :'String', :'error_integrations' => :'Array', - :'k8s_cluster_key' => :'String', :'missing_integrations' => :'Array', :'warning_integrations' => :'Array', :'working_integrations' => :'Array' @@ -95,30 +80,18 @@ def initialize(attributes = {}) end } - if attributes.key?(:'cluster_name') - self.cluster_name = attributes[:'cluster_name'] - end - if attributes.key?(:'configuration_files') if (value = attributes[:'configuration_files']).is_a?(Array) self.configuration_files = value end end - if attributes.key?(:'datadog_agent_key') - self.datadog_agent_key = attributes[:'datadog_agent_key'] - end - if attributes.key?(:'error_integrations') if (value = attributes[:'error_integrations']).is_a?(Array) self.error_integrations = value end end - if attributes.key?(:'k8s_cluster_key') - self.k8s_cluster_key = attributes[:'k8s_cluster_key'] - end - if attributes.key?(:'missing_integrations') if (value = attributes[:'missing_integrations']).is_a?(Array) self.missing_integrations = value @@ -164,11 +137,8 @@ def to_hash def ==(o) return true if self.equal?(o) self.class == o.class && - cluster_name == o.cluster_name && configuration_files == o.configuration_files && - datadog_agent_key == o.datadog_agent_key && error_integrations == o.error_integrations && - k8s_cluster_key == o.k8s_cluster_key && missing_integrations == o.missing_integrations && warning_integrations == o.warning_integrations && working_integrations == o.working_integrations && @@ -179,7 +149,7 @@ def ==(o) # @return [Integer] Hash code # @!visibility private def hash - [cluster_name, configuration_files, datadog_agent_key, error_integrations, k8s_cluster_key, missing_integrations, warning_integrations, working_integrations, additional_properties].hash + [configuration_files, error_integrations, missing_integrations, warning_integrations, working_integrations, additional_properties].hash end end end diff --git a/lib/datadog_api_client/v2/models/fleet_schedule_v2_recurrence_rule.rb b/lib/datadog_api_client/v2/models/fleet_schedule_v2_recurrence_rule.rb index 0ea545975456..4cac676182c6 100644 --- a/lib/datadog_api_client/v2/models/fleet_schedule_v2_recurrence_rule.rb +++ b/lib/datadog_api_client/v2/models/fleet_schedule_v2_recurrence_rule.rb @@ -32,7 +32,7 @@ class FleetScheduleV2RecurrenceRule # Duration of the maintenance window in minutes. attr_accessor :maintenance_window_duration - # 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. attr_accessor :start_maintenance_window