Class: DatadogAPIClient::V2::FleetDeploymentOperation

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/fleet_deployment_operation.rb

Overview

A single configuration file operation to perform on the target hosts.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



40
41
42
# File 'lib/datadog_api_client/v2/models/fleet_deployment_operation.rb', line 40

def additional_properties
  @additional_properties
end

#file_opObject

Type of file operation to perform on the target configuration file.

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


28
29
30
# File 'lib/datadog_api_client/v2/models/fleet_deployment_operation.rb', line 28

def file_op
  @file_op
end

#file_pathObject

Absolute path to the target configuration file on the host.



31
32
33
# File 'lib/datadog_api_client/v2/models/fleet_deployment_operation.rb', line 31

def file_path
  @file_path
end

#patchObject

Patch data in JSON format to apply to the configuration file. When using merge-patch, this object is merged with the existing configuration, allowing you to add, update, or override specific fields without replacing the entire file. The structure must match the target configuration file format (for example, YAML structure for Datadog Agent config). Not applicable when using the delete operation.



38
39
40
# File 'lib/datadog_api_client/v2/models/fleet_deployment_operation.rb', line 38

def patch
  @patch
end