Class: DatadogAPIClient::V2::FleetDeploymentV2Attributes

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

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

#authorObject

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
  @author
end

#config_operationsObject

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_secondsObject

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_summaryObject

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_atObject

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_atObject

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_scheduledObject

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

#queryObject

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_idObject

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_atObject

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

#statusObject

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_versionsObject

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_hostsObject

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_typeObject

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