Class: DatadogAPIClient::V2::FleetDeploymentOperation
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FleetDeploymentOperation
- 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
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#file_op ⇒ Object
readonly
Type of file operation to perform on the target configuration file.
-
#file_path ⇒ Object
readonly
Absolute path to the target configuration file on the host.
-
#patch ⇒ Object
Patch data in JSON format to apply to the configuration file.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
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_op ⇒ Object
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_path ⇒ Object
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 |
#patch ⇒ Object
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 |