Hierarchy

  • FleetAutomationApi

Constructors

Properties

configuration: Configuration
requestFactory: FleetAutomationApiRequestFactory
responseProcessor: FleetAutomationApiResponseProcessor

Methods

  • Create a new deployment to apply configuration changes to a fleet of hosts matching the specified filter query.

    This endpoint supports two types of configuration operations:

    • merge-patch: Merges the provided patch data with the existing configuration file, creating the file if it doesn't exist.
    • delete: Removes the specified configuration file from the target hosts.

    You can optionally use target_packages to apply the configuration change only to specific package versions.

    The deployment is created and started automatically. You can specify multiple configuration operations to execute in order on each target host. Use the filter query to target specific hosts using the Datadog query syntax.

    Set dry_run to true to validate the configuration and resolve target hosts and packages without deploying anything. A dry run returns a 200 with the validation result instead of creating and starting a deployment.

    Returns a 400 if filter_query or config_operations is missing, a target package is missing a name or version or cannot be resolved, the configuration fails validation, or the filter query does not match any host eligible for the deployment.

    Parameters

    Returns Promise<FleetDeploymentConfigureV2DryRunResponse>

Generated using TypeDoc