diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index d8f50ea930..9bc4bd3a2c 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/src/datadog_api_client/v2/model/fleet_agent_configuration_files_v2.py b/src/datadog_api_client/v2/model/fleet_agent_configuration_files_v2.py index b5da8201b9..78da1648b2 100644 --- a/src/datadog_api_client/v2/model/fleet_agent_configuration_files_v2.py +++ b/src/datadog_api_client/v2/model/fleet_agent_configuration_files_v2.py @@ -27,32 +27,26 @@ def openapi_types(_): return { "agent_configuration": (FleetConfigurationLayer,), "application_monitoring_configuration": (FleetConfigurationLayer,), - "datadog_agent_key": (str,), "otel_collectors_configuration": ([FleetOtelCollectorConfigurationV2],), "security_agent_configuration": (FleetConfigurationLayer,), "system_probe_configuration": (FleetConfigurationLayer,), - "version": (str,), } 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", } def __init__( self_, agent_configuration: Union[FleetConfigurationLayer, UnsetType] = unset, application_monitoring_configuration: Union[FleetConfigurationLayer, UnsetType] = unset, - datadog_agent_key: Union[str, UnsetType] = unset, otel_collectors_configuration: Union[List[FleetOtelCollectorConfigurationV2], UnsetType] = unset, security_agent_configuration: Union[FleetConfigurationLayer, UnsetType] = unset, system_probe_configuration: Union[FleetConfigurationLayer, UnsetType] = unset, - version: Union[str, UnsetType] = unset, **kwargs, ): """ @@ -64,9 +58,6 @@ def __init__( :param application_monitoring_configuration: Configuration information organized by layers. :type application_monitoring_configuration: FleetConfigurationLayer, optional - :param datadog_agent_key: The unique agent key identifier. - :type datadog_agent_key: str, optional - :param otel_collectors_configuration: Configuration for OpenTelemetry collectors associated with the agent. Present only when the agent has associated OpenTelemetry collectors. :type otel_collectors_configuration: [FleetOtelCollectorConfigurationV2], optional @@ -75,22 +66,15 @@ def __init__( :param system_probe_configuration: Configuration information organized by layers. :type system_probe_configuration: FleetConfigurationLayer, optional - - :param version: The configuration version. - :type version: str, optional """ if agent_configuration is not unset: kwargs["agent_configuration"] = agent_configuration if application_monitoring_configuration is not unset: kwargs["application_monitoring_configuration"] = application_monitoring_configuration - if datadog_agent_key is not unset: - kwargs["datadog_agent_key"] = datadog_agent_key if otel_collectors_configuration is not unset: kwargs["otel_collectors_configuration"] = otel_collectors_configuration if security_agent_configuration is not unset: kwargs["security_agent_configuration"] = security_agent_configuration if system_probe_configuration is not unset: kwargs["system_probe_configuration"] = system_probe_configuration - if version is not unset: - kwargs["version"] = version super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/fleet_agent_info_details_v2.py b/src/datadog_api_client/v2/model/fleet_agent_info_details_v2.py index 5558e91adb..9bcfe40200 100644 --- a/src/datadog_api_client/v2/model/fleet_agent_info_details_v2.py +++ b/src/datadog_api_client/v2/model/fleet_agent_info_details_v2.py @@ -50,7 +50,6 @@ def openapi_types(_): "os_version": (str,), "otel_collector_deployment_types": ([str],), "otel_collector_distributions": ([str],), - "otel_collector_version": (str,), "otel_collector_versions": ([str],), "otel_collectors": ([FleetOtelCollector],), "otel_resource_attributes": ([str],), @@ -94,7 +93,6 @@ def openapi_types(_): "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", @@ -139,7 +137,6 @@ def __init__( os_version: Union[str, UnsetType] = unset, otel_collector_deployment_types: Union[List[str], UnsetType] = unset, otel_collector_distributions: Union[List[str], UnsetType] = unset, - otel_collector_version: Union[str, UnsetType] = unset, otel_collector_versions: Union[List[str], UnsetType] = unset, otel_collectors: Union[List[FleetOtelCollector], UnsetType] = unset, otel_resource_attributes: Union[List[str], UnsetType] = unset, @@ -239,9 +236,6 @@ def __init__( :param otel_collector_distributions: OpenTelemetry collector distributions associated with the agent. :type otel_collector_distributions: [str], optional - :param otel_collector_version: OpenTelemetry collector version (if applicable). - :type otel_collector_version: str, optional - :param otel_collector_versions: List of OpenTelemetry collector versions (if applicable). :type otel_collector_versions: [str], optional @@ -335,8 +329,6 @@ def __init__( kwargs["otel_collector_deployment_types"] = otel_collector_deployment_types if otel_collector_distributions is not unset: kwargs["otel_collector_distributions"] = otel_collector_distributions - if otel_collector_version is not unset: - kwargs["otel_collector_version"] = otel_collector_version if otel_collector_versions is not unset: kwargs["otel_collector_versions"] = otel_collector_versions if otel_collectors is not unset: diff --git a/src/datadog_api_client/v2/model/fleet_agent_v2_attributes.py b/src/datadog_api_client/v2/model/fleet_agent_v2_attributes.py index 3979fcfa8f..6cab994ac6 100644 --- a/src/datadog_api_client/v2/model/fleet_agent_v2_attributes.py +++ b/src/datadog_api_client/v2/model/fleet_agent_v2_attributes.py @@ -51,7 +51,6 @@ def openapi_types(_): "os": (str,), "otel_collector_deployment_types": ([str],), "otel_collector_distributions": ([str],), - "otel_collector_version": (str,), "otel_collector_versions": ([str],), "otel_resource_attributes": ([str],), "pod_name": (str,), @@ -85,7 +84,6 @@ def openapi_types(_): "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", @@ -120,7 +118,6 @@ def __init__( os: Union[str, UnsetType] = unset, otel_collector_deployment_types: Union[List[str], UnsetType] = unset, otel_collector_distributions: Union[List[str], UnsetType] = unset, - otel_collector_version: Union[str, UnsetType] = unset, otel_collector_versions: Union[List[str], UnsetType] = unset, otel_resource_attributes: Union[List[str], UnsetType] = unset, pod_name: Union[str, UnsetType] = unset, @@ -200,9 +197,6 @@ def __init__( :param otel_collector_distributions: OpenTelemetry collector distributions associated with the agent. :type otel_collector_distributions: [str], optional - :param otel_collector_version: The primary OpenTelemetry collector version, if applicable. - :type otel_collector_version: str, optional - :param otel_collector_versions: All OpenTelemetry collector versions associated with the agent. :type otel_collector_versions: [str], optional @@ -271,8 +265,6 @@ def __init__( kwargs["otel_collector_deployment_types"] = otel_collector_deployment_types if otel_collector_distributions is not unset: kwargs["otel_collector_distributions"] = otel_collector_distributions - if otel_collector_version is not unset: - kwargs["otel_collector_version"] = otel_collector_version if otel_collector_versions is not unset: kwargs["otel_collector_versions"] = otel_collector_versions if otel_resource_attributes is not unset: diff --git a/src/datadog_api_client/v2/model/fleet_configuration_file_v2.py b/src/datadog_api_client/v2/model/fleet_configuration_file_v2.py index bc162d31c7..98aab1287d 100644 --- a/src/datadog_api_client/v2/model/fleet_configuration_file_v2.py +++ b/src/datadog_api_client/v2/model/fleet_configuration_file_v2.py @@ -21,7 +21,6 @@ def openapi_types(_): "file_content": (str,), "file_path": (str,), "filename": (str,), - "fleet_hash": (str,), } attribute_map = { @@ -29,7 +28,6 @@ def openapi_types(_): "file_content": "file_content", "file_path": "file_path", "filename": "filename", - "fleet_hash": "fleet_hash", } def __init__( @@ -38,7 +36,6 @@ def __init__( file_content: Union[str, UnsetType] = unset, file_path: Union[str, UnsetType] = unset, filename: Union[str, UnsetType] = unset, - fleet_hash: Union[str, UnsetType] = unset, **kwargs, ): """ @@ -55,9 +52,6 @@ def __init__( :param filename: Name of the configuration file. :type filename: str, optional - - :param fleet_hash: Hash of the configuration file as applied by fleet management. - :type fleet_hash: str, optional """ if agent_hash is not unset: kwargs["agent_hash"] = agent_hash @@ -67,6 +61,4 @@ def __init__( kwargs["file_path"] = file_path if filename is not unset: kwargs["filename"] = filename - if fleet_hash is not unset: - kwargs["fleet_hash"] = fleet_hash super().__init__(kwargs) diff --git a/src/datadog_api_client/v2/model/fleet_configuration_layer.py b/src/datadog_api_client/v2/model/fleet_configuration_layer.py index 86c1fb58ef..2bbce3b94b 100644 --- a/src/datadog_api_client/v2/model/fleet_configuration_layer.py +++ b/src/datadog_api_client/v2/model/fleet_configuration_layer.py @@ -20,7 +20,6 @@ def openapi_types(_): "compiled_configuration": (str,), "env_configuration": (str,), "file_configuration": (str,), - "parsed_configuration": (str,), "remote_configuration": (str,), "runtime_configuration": (str,), } @@ -29,7 +28,6 @@ def openapi_types(_): "compiled_configuration": "compiled_configuration", "env_configuration": "env_configuration", "file_configuration": "file_configuration", - "parsed_configuration": "parsed_configuration", "remote_configuration": "remote_configuration", "runtime_configuration": "runtime_configuration", } @@ -39,7 +37,6 @@ def __init__( compiled_configuration: Union[str, UnsetType] = unset, env_configuration: Union[str, UnsetType] = unset, file_configuration: Union[str, UnsetType] = unset, - parsed_configuration: Union[str, UnsetType] = unset, remote_configuration: Union[str, UnsetType] = unset, runtime_configuration: Union[str, UnsetType] = unset, **kwargs, @@ -56,9 +53,6 @@ def __init__( :param file_configuration: Configuration from files. :type file_configuration: str, optional - :param parsed_configuration: Parsed configuration output. - :type parsed_configuration: str, optional - :param remote_configuration: Remote configuration settings. :type remote_configuration: str, optional @@ -71,8 +65,6 @@ def __init__( kwargs["env_configuration"] = env_configuration if file_configuration is not unset: kwargs["file_configuration"] = file_configuration - if parsed_configuration is not unset: - kwargs["parsed_configuration"] = parsed_configuration if remote_configuration is not unset: kwargs["remote_configuration"] = remote_configuration if runtime_configuration is not unset: diff --git a/src/datadog_api_client/v2/model/fleet_deployment_configure_v2_dry_run_attributes.py b/src/datadog_api_client/v2/model/fleet_deployment_configure_v2_dry_run_attributes.py index c11d84728d..3ba4088f5a 100644 --- a/src/datadog_api_client/v2/model/fleet_deployment_configure_v2_dry_run_attributes.py +++ b/src/datadog_api_client/v2/model/fleet_deployment_configure_v2_dry_run_attributes.py @@ -54,7 +54,7 @@ def __init__( :param query: Query used to filter and select target hosts for the deployment. :type query: str, optional - :param total_hosts: Total number of hosts targeted by the dry run. + :param total_hosts: Total number of hosts targeted by this deployment. :type total_hosts: int, optional """ if dry_run is not unset: diff --git a/src/datadog_api_client/v2/model/fleet_integrations_by_status_v2.py b/src/datadog_api_client/v2/model/fleet_integrations_by_status_v2.py index 78db9e83f5..44b3c0973f 100644 --- a/src/datadog_api_client/v2/model/fleet_integrations_by_status_v2.py +++ b/src/datadog_api_client/v2/model/fleet_integrations_by_status_v2.py @@ -27,22 +27,16 @@ def openapi_types(_): from datadog_api_client.v2.model.fleet_detected_integration import FleetDetectedIntegration return { - "cluster_name": (str,), "configuration_files": ([FleetConfigurationFileV2],), - "datadog_agent_key": (str,), "error_integrations": ([FleetIntegrationDetailsV2],), - "k8s_cluster_key": (str,), "missing_integrations": ([FleetDetectedIntegration],), "warning_integrations": ([FleetIntegrationDetailsV2],), "working_integrations": ([FleetIntegrationDetailsV2],), } 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", @@ -50,11 +44,8 @@ def openapi_types(_): def __init__( self_, - cluster_name: Union[str, UnsetType] = unset, configuration_files: Union[List[FleetConfigurationFileV2], UnsetType] = unset, - datadog_agent_key: Union[str, UnsetType] = unset, error_integrations: Union[List[FleetIntegrationDetailsV2], UnsetType] = unset, - k8s_cluster_key: Union[str, UnsetType] = unset, missing_integrations: Union[List[FleetDetectedIntegration], UnsetType] = unset, warning_integrations: Union[List[FleetIntegrationDetailsV2], UnsetType] = unset, working_integrations: Union[List[FleetIntegrationDetailsV2], UnsetType] = unset, @@ -63,21 +54,12 @@ def __init__( """ Integrations organized by their status. - :param cluster_name: The Kubernetes cluster name, if the agent runs in a cluster. - :type cluster_name: str, optional - :param configuration_files: Configuration files for integrations. :type configuration_files: [FleetConfigurationFileV2], optional - :param datadog_agent_key: The unique agent key identifier. - :type datadog_agent_key: str, optional - :param error_integrations: Integrations with errors. :type error_integrations: [FleetIntegrationDetailsV2], optional - :param k8s_cluster_key: The Kubernetes cluster key, if the agent runs in a cluster. - :type k8s_cluster_key: str, optional - :param missing_integrations: Detected but not configured integrations. :type missing_integrations: [FleetDetectedIntegration], optional @@ -87,16 +69,10 @@ def __init__( :param working_integrations: Integrations that are working correctly. :type working_integrations: [FleetIntegrationDetailsV2], optional """ - if cluster_name is not unset: - kwargs["cluster_name"] = cluster_name if configuration_files is not unset: kwargs["configuration_files"] = configuration_files - if datadog_agent_key is not unset: - kwargs["datadog_agent_key"] = datadog_agent_key if error_integrations is not unset: kwargs["error_integrations"] = error_integrations - if k8s_cluster_key is not unset: - kwargs["k8s_cluster_key"] = k8s_cluster_key if missing_integrations is not unset: kwargs["missing_integrations"] = missing_integrations if warning_integrations is not unset: diff --git a/src/datadog_api_client/v2/model/fleet_schedule_v2_recurrence_rule.py b/src/datadog_api_client/v2/model/fleet_schedule_v2_recurrence_rule.py index c55df25e08..2a47310cd2 100644 --- a/src/datadog_api_client/v2/model/fleet_schedule_v2_recurrence_rule.py +++ b/src/datadog_api_client/v2/model/fleet_schedule_v2_recurrence_rule.py @@ -55,7 +55,7 @@ def __init__( :param maintenance_window_duration: Duration of the maintenance window in minutes. :type maintenance_window_duration: int, optional - :param start_maintenance_window: Start time of the maintenance window in 24-hour clock format (HH:MM). + :param start_maintenance_window: Start time of the maintenance window in 24-hour clock format (HHMM). Deployments are triggered at this time on the specified days. :type start_maintenance_window: str, optional