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,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,
):
"""
Expand All @@ -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

Expand All @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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],),
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,),
Expand Down Expand Up @@ -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",
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,13 @@ def openapi_types(_):
"file_content": (str,),
"file_path": (str,),
"filename": (str,),
"fleet_hash": (str,),
}

attribute_map = {
"agent_hash": "agent_hash",
"file_content": "file_content",
"file_path": "file_path",
"filename": "filename",
"fleet_hash": "fleet_hash",
}

def __init__(
Expand All @@ -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,
):
"""
Expand All @@ -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
Expand All @@ -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)
Original file line number Diff line number Diff line change
Expand Up @@ -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,),
}
Expand All @@ -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",
}
Expand All @@ -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,
Expand All @@ -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

Expand All @@ -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:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
Loading
Loading