Fleet Automation

Gérez les déploiements automatisés sur votre parc de hosts.

Fleet Automation fournit deux types de déploiements :

Déploiements de configuration (/configure) :

  • Appliquer des modifications de fichiers de configuration aux hosts cibles
  • Prendre en charge les opérations de fusion-correction pour mettre à jour des champs de configuration spécifiques
  • Prendre en charge les opérations de suppression pour supprimer des fichiers de configuration
  • Utile pour mettre à jour les paramètres du Datadog Agent, les configurations d’intégration, et plus encore

Déploiements de mise à niveau de package (/upgrade) :

  • Mettre à niveau le Datadog Agent vers des versions spécifiques

List available Datadog Agent versions →

GET https://api.ap1.datadoghq.com/api/v2/fleet/agent_versionshttps://api.ap2.datadoghq.com/api/v2/fleet/agent_versionshttps://api.datadoghq.eu/api/v2/fleet/agent_versionshttps://api.ddog-gov.com/api/v2/fleet/agent_versionshttps://api.us2.ddog-gov.com/api/v2/fleet/agent_versionshttps://api.uk1.datadoghq.com/api/v2/fleet/agent_versionshttps://api.datadoghq.com/api/v2/fleet/agent_versionshttps://api.us3.datadoghq.com/api/v2/fleet/agent_versionshttps://api.us5.datadoghq.com/api/v2/fleet/agent_versions

List all Datadog Agents →

GET https://api.ap1.datadoghq.com/api/v2/fleet/agentshttps://api.ap2.datadoghq.com/api/v2/fleet/agentshttps://api.datadoghq.eu/api/v2/fleet/agentshttps://api.ddog-gov.com/api/v2/fleet/agentshttps://api.us2.ddog-gov.com/api/v2/fleet/agentshttps://api.uk1.datadoghq.com/api/v2/fleet/agentshttps://api.datadoghq.com/api/v2/fleet/agentshttps://api.us3.datadoghq.com/api/v2/fleet/agentshttps://api.us5.datadoghq.com/api/v2/fleet/agents

Get detailed information about an agent →

GET https://api.ap1.datadoghq.com/api/v2/fleet/agents/{agent_key}https://api.ap2.datadoghq.com/api/v2/fleet/agents/{agent_key}https://api.datadoghq.eu/api/v2/fleet/agents/{agent_key}https://api.ddog-gov.com/api/v2/fleet/agents/{agent_key}https://api.us2.ddog-gov.com/api/v2/fleet/agents/{agent_key}https://api.uk1.datadoghq.com/api/v2/fleet/agents/{agent_key}https://api.datadoghq.com/api/v2/fleet/agents/{agent_key}https://api.us3.datadoghq.com/api/v2/fleet/agents/{agent_key}https://api.us5.datadoghq.com/api/v2/fleet/agents/{agent_key}

List all deployments →

GET https://api.ap1.datadoghq.com/api/v2/fleet/deploymentshttps://api.ap2.datadoghq.com/api/v2/fleet/deploymentshttps://api.datadoghq.eu/api/v2/fleet/deploymentshttps://api.ddog-gov.com/api/v2/fleet/deploymentshttps://api.us2.ddog-gov.com/api/v2/fleet/deploymentshttps://api.uk1.datadoghq.com/api/v2/fleet/deploymentshttps://api.datadoghq.com/api/v2/fleet/deploymentshttps://api.us3.datadoghq.com/api/v2/fleet/deploymentshttps://api.us5.datadoghq.com/api/v2/fleet/deployments

Create a configuration deployment →

POST https://api.ap1.datadoghq.com/api/v2/fleet/deployments/configurehttps://api.ap2.datadoghq.com/api/v2/fleet/deployments/configurehttps://api.datadoghq.eu/api/v2/fleet/deployments/configurehttps://api.ddog-gov.com/api/v2/fleet/deployments/configurehttps://api.us2.ddog-gov.com/api/v2/fleet/deployments/configurehttps://api.uk1.datadoghq.com/api/v2/fleet/deployments/configurehttps://api.datadoghq.com/api/v2/fleet/deployments/configurehttps://api.us3.datadoghq.com/api/v2/fleet/deployments/configurehttps://api.us5.datadoghq.com/api/v2/fleet/deployments/configure

Upgrade hosts →

POST https://api.ap1.datadoghq.com/api/v2/fleet/deployments/upgradehttps://api.ap2.datadoghq.com/api/v2/fleet/deployments/upgradehttps://api.datadoghq.eu/api/v2/fleet/deployments/upgradehttps://api.ddog-gov.com/api/v2/fleet/deployments/upgradehttps://api.us2.ddog-gov.com/api/v2/fleet/deployments/upgradehttps://api.uk1.datadoghq.com/api/v2/fleet/deployments/upgradehttps://api.datadoghq.com/api/v2/fleet/deployments/upgradehttps://api.us3.datadoghq.com/api/v2/fleet/deployments/upgradehttps://api.us5.datadoghq.com/api/v2/fleet/deployments/upgrade

Get a deployment by ID →

GET https://api.ap1.datadoghq.com/api/v2/fleet/deployments/{deployment_id}https://api.ap2.datadoghq.com/api/v2/fleet/deployments/{deployment_id}https://api.datadoghq.eu/api/v2/fleet/deployments/{deployment_id}https://api.ddog-gov.com/api/v2/fleet/deployments/{deployment_id}https://api.us2.ddog-gov.com/api/v2/fleet/deployments/{deployment_id}https://api.uk1.datadoghq.com/api/v2/fleet/deployments/{deployment_id}https://api.datadoghq.com/api/v2/fleet/deployments/{deployment_id}https://api.us3.datadoghq.com/api/v2/fleet/deployments/{deployment_id}https://api.us5.datadoghq.com/api/v2/fleet/deployments/{deployment_id}

Cancel a deployment →

POST https://api.ap1.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.ap2.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.datadoghq.eu/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.ddog-gov.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.us2.ddog-gov.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.uk1.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.us3.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancelhttps://api.us5.datadoghq.com/api/v2/fleet/deployments/{deployment_id}/cancel

List all schedules →

GET https://api.ap1.datadoghq.com/api/v2/fleet/scheduleshttps://api.ap2.datadoghq.com/api/v2/fleet/scheduleshttps://api.datadoghq.eu/api/v2/fleet/scheduleshttps://api.ddog-gov.com/api/v2/fleet/scheduleshttps://api.us2.ddog-gov.com/api/v2/fleet/scheduleshttps://api.uk1.datadoghq.com/api/v2/fleet/scheduleshttps://api.datadoghq.com/api/v2/fleet/scheduleshttps://api.us3.datadoghq.com/api/v2/fleet/scheduleshttps://api.us5.datadoghq.com/api/v2/fleet/schedules

Create a schedule → preview

POST https://api.ap1.datadoghq.com/api/unstable/fleet/scheduleshttps://api.ap2.datadoghq.com/api/unstable/fleet/scheduleshttps://api.datadoghq.eu/api/unstable/fleet/scheduleshttps://api.ddog-gov.com/api/unstable/fleet/scheduleshttps://api.us2.ddog-gov.com/api/unstable/fleet/scheduleshttps://api.uk1.datadoghq.com/api/unstable/fleet/scheduleshttps://api.datadoghq.com/api/unstable/fleet/scheduleshttps://api.us3.datadoghq.com/api/unstable/fleet/scheduleshttps://api.us5.datadoghq.com/api/unstable/fleet/schedules

Get a schedule by ID →

GET https://api.ap1.datadoghq.com/api/v2/fleet/schedules/{id}https://api.ap2.datadoghq.com/api/v2/fleet/schedules/{id}https://api.datadoghq.eu/api/v2/fleet/schedules/{id}https://api.ddog-gov.com/api/v2/fleet/schedules/{id}https://api.us2.ddog-gov.com/api/v2/fleet/schedules/{id}https://api.uk1.datadoghq.com/api/v2/fleet/schedules/{id}https://api.datadoghq.com/api/v2/fleet/schedules/{id}https://api.us3.datadoghq.com/api/v2/fleet/schedules/{id}https://api.us5.datadoghq.com/api/v2/fleet/schedules/{id}

Update a schedule → preview

PATCH https://api.ap1.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.ap2.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.datadoghq.eu/api/unstable/fleet/schedules/{id}https://api.ddog-gov.com/api/unstable/fleet/schedules/{id}https://api.us2.ddog-gov.com/api/unstable/fleet/schedules/{id}https://api.uk1.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.us3.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.us5.datadoghq.com/api/unstable/fleet/schedules/{id}

Delete a schedule → preview

DELETE https://api.ap1.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.ap2.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.datadoghq.eu/api/unstable/fleet/schedules/{id}https://api.ddog-gov.com/api/unstable/fleet/schedules/{id}https://api.us2.ddog-gov.com/api/unstable/fleet/schedules/{id}https://api.uk1.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.us3.datadoghq.com/api/unstable/fleet/schedules/{id}https://api.us5.datadoghq.com/api/unstable/fleet/schedules/{id}

Trigger a schedule deployment → preview

POST https://api.ap1.datadoghq.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.ap2.datadoghq.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.datadoghq.eu/api/unstable/fleet/schedules/{id}/triggerhttps://api.ddog-gov.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.us2.ddog-gov.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.uk1.datadoghq.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.datadoghq.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.us3.datadoghq.com/api/unstable/fleet/schedules/{id}/triggerhttps://api.us5.datadoghq.com/api/unstable/fleet/schedules/{id}/trigger

List all fleet tracers → preview

GET https://api.ap1.datadoghq.com/api/unstable/fleet/tracershttps://api.ap2.datadoghq.com/api/unstable/fleet/tracershttps://api.datadoghq.eu/api/unstable/fleet/tracershttps://api.ddog-gov.com/api/unstable/fleet/tracershttps://api.us2.ddog-gov.com/api/unstable/fleet/tracershttps://api.uk1.datadoghq.com/api/unstable/fleet/tracershttps://api.datadoghq.com/api/unstable/fleet/tracershttps://api.us3.datadoghq.com/api/unstable/fleet/tracershttps://api.us5.datadoghq.com/api/unstable/fleet/tracers

List tracers for a specific agent → preview

GET https://api.ap1.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.ap2.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.datadoghq.eu/api/unstable/fleet/agents/{agent_key}/tracershttps://api.ddog-gov.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.us2.ddog-gov.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.uk1.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.us3.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracershttps://api.us5.datadoghq.com/api/unstable/fleet/agents/{agent_key}/tracers