Class: DatadogAPIClient::V2::FleetDeploymentV2Attributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::FleetDeploymentV2Attributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb
Overview
Attributes of a deployment in the v2 API response.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#author ⇒ Object
Handle of the user who triggered the deployment.
-
#config_operations ⇒ Object
Ordered list of configuration file operations applied by this deployment.
-
#duration_seconds ⇒ Object
Duration of the deployment in seconds, computed as
finished_at - started_at. -
#error_summary ⇒ Object
Top-level error message for the deployment.
-
#estimated_finished_at ⇒ Object
Estimated completion time of the deployment as a Unix timestamp.
-
#finished_at ⇒ Object
Time the deployment finished as a Unix timestamp.
-
#is_scheduled ⇒ Object
Whether this deployment was triggered by a schedule (
schedule_idis non-empty). -
#query ⇒ Object
Query used to filter and select target hosts for the deployment.
-
#schedule_id ⇒ Object
Identifier of the schedule that triggered this deployment.
-
#started_at ⇒ Object
Time the deployment started as a Unix timestamp.
-
#status ⇒ Object
Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").
-
#target_versions ⇒ Object
Package versions targeted by this deployment.
-
#total_hosts ⇒ Object
Total number of hosts targeted by this deployment.
-
#update_type ⇒ Object
Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
70 71 72 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 70 def additional_properties @additional_properties end |
#author ⇒ Object
Handle of the user who triggered the deployment.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 25 def @author end |
#config_operations ⇒ Object
Ordered list of configuration file operations applied by this deployment. Absent for package deployments, which have no configuration file operations.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 29 def config_operations @config_operations end |
#duration_seconds ⇒ Object
Duration of the deployment in seconds, computed as finished_at - started_at.
Zero if the deployment has not finished.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 33 def duration_seconds @duration_seconds end |
#error_summary ⇒ Object
Top-level error message for the deployment. Populated only when the deployment has failed.
36 37 38 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 36 def error_summary @error_summary end |
#estimated_finished_at ⇒ Object
Estimated completion time of the deployment as a Unix timestamp. Zero if not available.
39 40 41 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 39 def estimated_finished_at @estimated_finished_at end |
#finished_at ⇒ Object
Time the deployment finished as a Unix timestamp. Zero if not yet finished.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 42 def finished_at @finished_at end |
#is_scheduled ⇒ Object
Whether this deployment was triggered by a schedule (schedule_id is non-empty).
45 46 47 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 45 def is_scheduled @is_scheduled end |
#query ⇒ Object
Query used to filter and select target hosts for the deployment.
48 49 50 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 48 def query @query end |
#schedule_id ⇒ Object
Identifier of the schedule that triggered this deployment. Empty if triggered manually.
51 52 53 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 51 def schedule_id @schedule_id end |
#started_at ⇒ Object
Time the deployment started as a Unix timestamp. Zero if not yet started.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 54 def started_at @started_at end |
#status ⇒ Object
Current high-level status of the deployment (for example, "pending", "running", "completed", "failed").
58 59 60 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 58 def status @status end |
#target_versions ⇒ Object
Package versions targeted by this deployment.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 61 def target_versions @target_versions end |
#total_hosts ⇒ Object
Total number of hosts targeted by this deployment.
64 65 66 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 64 def total_hosts @total_hosts end |
#update_type ⇒ Object
Type of update operation performed by this deployment (for example, "update_config_operations", "update_package").
68 69 70 |
# File 'lib/datadog_api_client/v2/models/fleet_deployment_v2_attributes.rb', line 68 def update_type @update_type end |