datadog_api_client 2.18.0 → 2.19.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +1 -1
- data/.generator/poetry.lock +69 -69
- data/.generator/schemas/v1/openapi.yaml +189 -11
- data/.generator/schemas/v2/openapi.yaml +1321 -188
- data/.generator/src/generator/templates/model_generic.j2 +2 -2
- data/CHANGELOG.md +18 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +4 -4
- data/examples/v1/azure-integration/DeleteAzureIntegration.rb +2 -15
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +4 -4
- data/examples/v1/gcp-integration/CreateGCPIntegration.rb +4 -5
- data/examples/v1/gcp-integration/DeleteGCPIntegration.rb +2 -14
- data/examples/v1/gcp-integration/UpdateGCPIntegration.rb +4 -5
- data/examples/v1/service-level-objectives/CreateSLO_3765703239.rb +46 -0
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent.rb +0 -3
- data/examples/v2/ci-visibility-pipelines/CreateCIAppPipelineEvent_129899466.rb +0 -3
- data/examples/v2/cloud-cost-management/CreateCostAWSCURConfig.rb +18 -0
- data/examples/v2/cloud-cost-management/CreateCostAzureUCConfigs.rb +29 -0
- data/examples/v2/cloud-cost-management/DeleteCostAWSCURConfig.rb +5 -0
- data/examples/v2/cloud-cost-management/DeleteCostAzureUCConfig.rb +5 -0
- data/examples/v2/cloud-cost-management/GetCloudCostActivity.rb +5 -0
- data/examples/v2/cloud-cost-management/ListAWSRelatedAccounts.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAWSCURConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostAzureUCConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/UpdateCostAWSCURConfig.rb +14 -0
- data/examples/v2/cloud-cost-management/UpdateCostAzureUCConfigs.rb +14 -0
- data/examples/v2/cloudflare-integration/CreateCloudflareAccount.rb +1 -1
- data/examples/v2/cloudflare-integration/UpdateCloudflareAccount.rb +4 -1
- data/examples/v2/downtimes/ListMonitorDowntimes_3316718253.rb +5 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_130557025.rb +16 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_2597004741.rb +16 -0
- data/examples/v2/gcp-integration/CreateGCPSTSAccount_4235664992.rb +17 -0
- data/examples/v2/gcp-integration/UpdateGCPSTSAccount_3205636354.rb +19 -0
- data/examples/v2/security-monitoring/CreateSecurityMonitoringRule_3367706049.rb +46 -0
- data/examples/v2/sensitive-data-scanner/CreateScanningRule.rb +7 -0
- data/examples/v2/sensitive-data-scanner/UpdateScanningRule.rb +7 -10
- data/examples/v2/teams/CreateTeamMembership.rb +6 -0
- data/lib/datadog_api_client/configuration.rb +0 -1
- data/lib/datadog_api_client/inflector.rb +52 -0
- data/lib/datadog_api_client/v1/api/downtimes_api.rb +28 -7
- data/lib/datadog_api_client/v1/api/monitors_api.rb +1 -1
- data/lib/datadog_api_client/v1/models/gcp_account.rb +22 -2
- data/lib/datadog_api_client/v1/models/organization.rb +1 -1
- data/lib/datadog_api_client/v1/models/service_level_objective.rb +11 -1
- data/lib/datadog_api_client/v1/models/service_level_objective_request.rb +11 -1
- data/lib/datadog_api_client/v1/models/slo_data_source_query_definition.rb +62 -0
- data/lib/datadog_api_client/v1/models/slo_formula.rb +98 -0
- data/lib/datadog_api_client/v1/models/slo_response_data.rb +11 -1
- data/lib/datadog_api_client/v1/models/slo_sli_spec.rb +62 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_comparator.rb +29 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_condition.rb +141 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_query.rb +131 -0
- data/lib/datadog_api_client/v1/models/slo_time_slice_spec.rb +99 -0
- data/lib/datadog_api_client/v1/models/slo_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/slo_type_numeric.rb +1 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +11 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +11 -1
- data/lib/datadog_api_client/v2/api/ci_visibility_pipelines_api.rb +0 -6
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +680 -0
- data/lib/datadog_api_client/v2/api/downtimes_api.rb +25 -0
- data/lib/datadog_api_client/v2/api/metrics_api.rb +3 -2
- data/lib/datadog_api_client/v2/models/aws_cur_config.rb +129 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_attributes.rb +305 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_patch_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_attributes.rb +202 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_post_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/aws_cur_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_cur_configs_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/aws_related_account.rb +129 -0
- data/lib/datadog_api_client/v2/models/aws_related_account_attributes.rb +90 -0
- data/lib/datadog_api_client/v2/models/aws_related_account_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/aws_related_accounts_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config.rb +378 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair.rb +129 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair_attributes.rb +110 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pair_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_pairs_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_patch_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request.rb +98 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_attributes.rb +192 -0
- data/lib/datadog_api_client/v2/models/azure_uc_config_post_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/azure_uc_configs_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/bill_config.rb +161 -0
- data/lib/datadog_api_client/v2/models/ci_app_git_info.rb +2 -2
- data/lib/datadog_api_client/v2/models/cloud_cost_activity.rb +119 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_attributes.rb +98 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/cloud_cost_activity_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/cloudflare_account_create_request_attributes.rb +28 -4
- data/lib/datadog_api_client/v2/models/cloudflare_account_response_attributes.rb +28 -4
- data/lib/datadog_api_client/v2/models/cloudflare_account_update_request_attributes.rb +28 -4
- data/lib/datadog_api_client/v2/models/dora_git_info.rb +2 -2
- data/lib/datadog_api_client/v2/models/gcpsts_service_account_attributes.rb +25 -5
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_team.rb +98 -0
- data/lib/datadog_api_client/v2/models/relationship_to_user_team_team_data.rb +119 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +14 -4
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_third_party_options.rb +114 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_update_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_create_payload.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_standard_rule_response.rb +13 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_root_query.rb +92 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case.rb +112 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_third_party_rule_case_create.rb +130 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_included_keyword_configuration.rb +134 -0
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_rule_attributes.rb +46 -1
- data/lib/datadog_api_client/v2/models/sensitive_data_scanner_standard_pattern_attributes.rb +33 -1
- data/lib/datadog_api_client/v2/models/user_team_attributes.rb +24 -1
- data/lib/datadog_api_client/v2/models/user_team_relationships.rb +11 -1
- data/lib/datadog_api_client/v2/models/user_team_team_type.rb +26 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +71 -2
@@ -76,6 +76,9 @@ module DatadogAPIClient::V1
|
|
76
76
|
# min of all of those requests.
|
77
77
|
attr_accessor :query
|
78
78
|
|
79
|
+
# A generic SLI specification. This is currently used for time-slice SLOs only.
|
80
|
+
attr_accessor :sli_specification
|
81
|
+
|
79
82
|
# A list of tags associated with this service level objective.
|
80
83
|
# Always included in service level objective responses (but may be empty).
|
81
84
|
# Optional in create/update requests.
|
@@ -116,6 +119,7 @@ module DatadogAPIClient::V1
|
|
116
119
|
:'monitor_tags' => :'monitor_tags',
|
117
120
|
:'name' => :'name',
|
118
121
|
:'query' => :'query',
|
122
|
+
:'sli_specification' => :'sli_specification',
|
119
123
|
:'tags' => :'tags',
|
120
124
|
:'target_threshold' => :'target_threshold',
|
121
125
|
:'thresholds' => :'thresholds',
|
@@ -140,6 +144,7 @@ module DatadogAPIClient::V1
|
|
140
144
|
:'monitor_tags' => :'Array<String>',
|
141
145
|
:'name' => :'String',
|
142
146
|
:'query' => :'ServiceLevelObjectiveQuery',
|
147
|
+
:'sli_specification' => :'SLOSliSpec',
|
143
148
|
:'tags' => :'Array<String>',
|
144
149
|
:'target_threshold' => :'Float',
|
145
150
|
:'thresholds' => :'Array<SLOThreshold>',
|
@@ -225,6 +230,10 @@ module DatadogAPIClient::V1
|
|
225
230
|
self.query = attributes[:'query']
|
226
231
|
end
|
227
232
|
|
233
|
+
if attributes.key?(:'sli_specification')
|
234
|
+
self.sli_specification = attributes[:'sli_specification']
|
235
|
+
end
|
236
|
+
|
228
237
|
if attributes.key?(:'tags')
|
229
238
|
if (value = attributes[:'tags']).is_a?(Array)
|
230
239
|
self.tags = value
|
@@ -271,6 +280,7 @@ module DatadogAPIClient::V1
|
|
271
280
|
monitor_tags == o.monitor_tags &&
|
272
281
|
name == o.name &&
|
273
282
|
query == o.query &&
|
283
|
+
sli_specification == o.sli_specification &&
|
274
284
|
tags == o.tags &&
|
275
285
|
target_threshold == o.target_threshold &&
|
276
286
|
thresholds == o.thresholds &&
|
@@ -283,7 +293,7 @@ module DatadogAPIClient::V1
|
|
283
293
|
# @return [Integer] Hash code
|
284
294
|
# @!visibility private
|
285
295
|
def hash
|
286
|
-
[configured_alert_ids, created_at, creator, description, groups, id, modified_at, monitor_ids, monitor_tags, name, query, tags, target_threshold, thresholds, timeframe, type, warning_threshold].hash
|
296
|
+
[configured_alert_ids, created_at, creator, description, groups, id, modified_at, monitor_ids, monitor_tags, name, query, sli_specification, tags, target_threshold, thresholds, timeframe, type, warning_threshold].hash
|
287
297
|
end
|
288
298
|
end
|
289
299
|
end
|
@@ -0,0 +1,62 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# A generic SLI specification. This is currently used for time-slice SLOs only.
|
21
|
+
module SLOSliSpec
|
22
|
+
class << self
|
23
|
+
include BaseOneOfModel
|
24
|
+
include BaseOneOfModelNoDiscriminator
|
25
|
+
|
26
|
+
# List of class defined in oneOf (OpenAPI v3)
|
27
|
+
def openapi_one_of
|
28
|
+
[
|
29
|
+
:'SLOTimeSliceSpec'
|
30
|
+
]
|
31
|
+
end
|
32
|
+
# Builds the object
|
33
|
+
# @param data [Mixed] Data to be matched against the list of oneOf items
|
34
|
+
# @return [Object] Returns the model or the data itself
|
35
|
+
def build(data)
|
36
|
+
# Go through the list of oneOf items and attempt to identify the appropriate one.
|
37
|
+
# Note:
|
38
|
+
# - We do not attempt to check whether exactly one item matches.
|
39
|
+
# - No advanced validation of types in some cases (e.g. "x: { type: string }" will happily match { x: 123 })
|
40
|
+
# due to the way the deserialization is made in the base_object template (it just casts without verifying).
|
41
|
+
# - TODO: scalar values are de facto behaving as if they were nullable.
|
42
|
+
# - TODO: logging when debugging is set.
|
43
|
+
openapi_one_of.each do |klass|
|
44
|
+
begin
|
45
|
+
next if klass == :AnyType # "nullable: true"
|
46
|
+
typed_data = find_and_cast_into_type(klass, data)
|
47
|
+
next if typed_data.respond_to?(:_unparsed) && typed_data._unparsed
|
48
|
+
return typed_data if typed_data
|
49
|
+
rescue # rescue all errors so we keep iterating even if the current item lookup raises
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
if openapi_one_of.include?(:AnyType)
|
54
|
+
data
|
55
|
+
else
|
56
|
+
self._unparsed = true
|
57
|
+
DatadogAPIClient::UnparsedObject.new(data)
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# The comparator used to compare the SLI value to the threshold.
|
21
|
+
class SLOTimeSliceComparator
|
22
|
+
include BaseEnumModel
|
23
|
+
|
24
|
+
GREATER = ">".freeze
|
25
|
+
GREATER_EQUAL = ">=".freeze
|
26
|
+
LESS = "<".freeze
|
27
|
+
LESS_EQUAL = "<=".freeze
|
28
|
+
end
|
29
|
+
end
|
@@ -0,0 +1,141 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator,
|
21
|
+
# and 3. the threshold.
|
22
|
+
class SLOTimeSliceCondition
|
23
|
+
include BaseGenericModel
|
24
|
+
|
25
|
+
# The comparator used to compare the SLI value to the threshold.
|
26
|
+
attr_reader :comparator
|
27
|
+
|
28
|
+
# The queries and formula used to calculate the SLI value.
|
29
|
+
attr_reader :query
|
30
|
+
|
31
|
+
# The threshold value to which each SLI value will be compared.
|
32
|
+
attr_reader :threshold
|
33
|
+
|
34
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
35
|
+
# @!visibility private
|
36
|
+
def self.attribute_map
|
37
|
+
{
|
38
|
+
:'comparator' => :'comparator',
|
39
|
+
:'query' => :'query',
|
40
|
+
:'threshold' => :'threshold'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Attribute type mapping.
|
45
|
+
# @!visibility private
|
46
|
+
def self.openapi_types
|
47
|
+
{
|
48
|
+
:'comparator' => :'SLOTimeSliceComparator',
|
49
|
+
:'query' => :'SLOTimeSliceQuery',
|
50
|
+
:'threshold' => :'Float'
|
51
|
+
}
|
52
|
+
end
|
53
|
+
|
54
|
+
# Initializes the object
|
55
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
56
|
+
# @!visibility private
|
57
|
+
def initialize(attributes = {})
|
58
|
+
if (!attributes.is_a?(Hash))
|
59
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SLOTimeSliceCondition` initialize method"
|
60
|
+
end
|
61
|
+
|
62
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
63
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
64
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
65
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SLOTimeSliceCondition`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
66
|
+
end
|
67
|
+
h[k.to_sym] = v
|
68
|
+
}
|
69
|
+
|
70
|
+
if attributes.key?(:'comparator')
|
71
|
+
self.comparator = attributes[:'comparator']
|
72
|
+
end
|
73
|
+
|
74
|
+
if attributes.key?(:'query')
|
75
|
+
self.query = attributes[:'query']
|
76
|
+
end
|
77
|
+
|
78
|
+
if attributes.key?(:'threshold')
|
79
|
+
self.threshold = attributes[:'threshold']
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
# Check to see if the all the properties in the model are valid
|
84
|
+
# @return true if the model is valid
|
85
|
+
# @!visibility private
|
86
|
+
def valid?
|
87
|
+
return false if @comparator.nil?
|
88
|
+
return false if @query.nil?
|
89
|
+
return false if @threshold.nil?
|
90
|
+
true
|
91
|
+
end
|
92
|
+
|
93
|
+
# Custom attribute writer method with validation
|
94
|
+
# @param comparator [Object] Object to be assigned
|
95
|
+
# @!visibility private
|
96
|
+
def comparator=(comparator)
|
97
|
+
if comparator.nil?
|
98
|
+
fail ArgumentError, 'invalid value for "comparator", comparator cannot be nil.'
|
99
|
+
end
|
100
|
+
@comparator = comparator
|
101
|
+
end
|
102
|
+
|
103
|
+
# Custom attribute writer method with validation
|
104
|
+
# @param query [Object] Object to be assigned
|
105
|
+
# @!visibility private
|
106
|
+
def query=(query)
|
107
|
+
if query.nil?
|
108
|
+
fail ArgumentError, 'invalid value for "query", query cannot be nil.'
|
109
|
+
end
|
110
|
+
@query = query
|
111
|
+
end
|
112
|
+
|
113
|
+
# Custom attribute writer method with validation
|
114
|
+
# @param threshold [Object] Object to be assigned
|
115
|
+
# @!visibility private
|
116
|
+
def threshold=(threshold)
|
117
|
+
if threshold.nil?
|
118
|
+
fail ArgumentError, 'invalid value for "threshold", threshold cannot be nil.'
|
119
|
+
end
|
120
|
+
@threshold = threshold
|
121
|
+
end
|
122
|
+
|
123
|
+
# Checks equality by comparing each attribute.
|
124
|
+
# @param o [Object] Object to be compared
|
125
|
+
# @!visibility private
|
126
|
+
def ==(o)
|
127
|
+
return true if self.equal?(o)
|
128
|
+
self.class == o.class &&
|
129
|
+
comparator == o.comparator &&
|
130
|
+
query == o.query &&
|
131
|
+
threshold == o.threshold
|
132
|
+
end
|
133
|
+
|
134
|
+
# Calculates hash code according to all attributes.
|
135
|
+
# @return [Integer] Hash code
|
136
|
+
# @!visibility private
|
137
|
+
def hash
|
138
|
+
[comparator, query, threshold].hash
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
@@ -0,0 +1,131 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# The queries and formula used to calculate the SLI value.
|
21
|
+
class SLOTimeSliceQuery
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# A list that contains exactly one formula, as only a single formula may be used in a time-slice SLO.
|
25
|
+
attr_reader :formulas
|
26
|
+
|
27
|
+
# A list of queries that are used to calculate the SLI value.
|
28
|
+
attr_reader :queries
|
29
|
+
|
30
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
31
|
+
# @!visibility private
|
32
|
+
def self.attribute_map
|
33
|
+
{
|
34
|
+
:'formulas' => :'formulas',
|
35
|
+
:'queries' => :'queries'
|
36
|
+
}
|
37
|
+
end
|
38
|
+
|
39
|
+
# Attribute type mapping.
|
40
|
+
# @!visibility private
|
41
|
+
def self.openapi_types
|
42
|
+
{
|
43
|
+
:'formulas' => :'Array<SLOFormula>',
|
44
|
+
:'queries' => :'Array<SLODataSourceQueryDefinition>'
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Initializes the object
|
49
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
50
|
+
# @!visibility private
|
51
|
+
def initialize(attributes = {})
|
52
|
+
if (!attributes.is_a?(Hash))
|
53
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SLOTimeSliceQuery` initialize method"
|
54
|
+
end
|
55
|
+
|
56
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
57
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SLOTimeSliceQuery`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
|
+
end
|
61
|
+
h[k.to_sym] = v
|
62
|
+
}
|
63
|
+
|
64
|
+
if attributes.key?(:'formulas')
|
65
|
+
if (value = attributes[:'formulas']).is_a?(Array)
|
66
|
+
self.formulas = value
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
if attributes.key?(:'queries')
|
71
|
+
if (value = attributes[:'queries']).is_a?(Array)
|
72
|
+
self.queries = value
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# Check to see if the all the properties in the model are valid
|
78
|
+
# @return true if the model is valid
|
79
|
+
# @!visibility private
|
80
|
+
def valid?
|
81
|
+
return false if @formulas.nil?
|
82
|
+
return false if @formulas.length > 1
|
83
|
+
return false if @formulas.length < 1
|
84
|
+
return false if @queries.nil?
|
85
|
+
true
|
86
|
+
end
|
87
|
+
|
88
|
+
# Custom attribute writer method with validation
|
89
|
+
# @param formulas [Object] Object to be assigned
|
90
|
+
# @!visibility private
|
91
|
+
def formulas=(formulas)
|
92
|
+
if formulas.nil?
|
93
|
+
fail ArgumentError, 'invalid value for "formulas", formulas cannot be nil.'
|
94
|
+
end
|
95
|
+
if formulas.length > 1
|
96
|
+
fail ArgumentError, 'invalid value for "formulas", number of items must be less than or equal to 1.'
|
97
|
+
end
|
98
|
+
if formulas.length < 1
|
99
|
+
fail ArgumentError, 'invalid value for "formulas", number of items must be greater than or equal to 1.'
|
100
|
+
end
|
101
|
+
@formulas = formulas
|
102
|
+
end
|
103
|
+
|
104
|
+
# Custom attribute writer method with validation
|
105
|
+
# @param queries [Object] Object to be assigned
|
106
|
+
# @!visibility private
|
107
|
+
def queries=(queries)
|
108
|
+
if queries.nil?
|
109
|
+
fail ArgumentError, 'invalid value for "queries", queries cannot be nil.'
|
110
|
+
end
|
111
|
+
@queries = queries
|
112
|
+
end
|
113
|
+
|
114
|
+
# Checks equality by comparing each attribute.
|
115
|
+
# @param o [Object] Object to be compared
|
116
|
+
# @!visibility private
|
117
|
+
def ==(o)
|
118
|
+
return true if self.equal?(o)
|
119
|
+
self.class == o.class &&
|
120
|
+
formulas == o.formulas &&
|
121
|
+
queries == o.queries
|
122
|
+
end
|
123
|
+
|
124
|
+
# Calculates hash code according to all attributes.
|
125
|
+
# @return [Integer] Hash code
|
126
|
+
# @!visibility private
|
127
|
+
def hash
|
128
|
+
[formulas, queries].hash
|
129
|
+
end
|
130
|
+
end
|
131
|
+
end
|
@@ -0,0 +1,99 @@
|
|
1
|
+
=begin
|
2
|
+
#Datadog API V1 Collection
|
3
|
+
|
4
|
+
#Collection of all Datadog Public endpoints.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: support@datadoghq.com
|
8
|
+
Generated by: https://github.com/DataDog/datadog-api-client-ruby/tree/master/.generator
|
9
|
+
|
10
|
+
Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
|
11
|
+
This product includes software developed at Datadog (https://www.datadoghq.com/).
|
12
|
+
Copyright 2020-Present Datadog, Inc.
|
13
|
+
|
14
|
+
=end
|
15
|
+
|
16
|
+
require 'date'
|
17
|
+
require 'time'
|
18
|
+
|
19
|
+
module DatadogAPIClient::V1
|
20
|
+
# A time-slice SLI specification.
|
21
|
+
class SLOTimeSliceSpec
|
22
|
+
include BaseGenericModel
|
23
|
+
|
24
|
+
# The time-slice condition, composed of 3 parts: 1. the metric timeseries query, 2. the comparator,
|
25
|
+
# and 3. the threshold.
|
26
|
+
attr_reader :time_slice
|
27
|
+
|
28
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
29
|
+
# @!visibility private
|
30
|
+
def self.attribute_map
|
31
|
+
{
|
32
|
+
:'time_slice' => :'time_slice'
|
33
|
+
}
|
34
|
+
end
|
35
|
+
|
36
|
+
# Attribute type mapping.
|
37
|
+
# @!visibility private
|
38
|
+
def self.openapi_types
|
39
|
+
{
|
40
|
+
:'time_slice' => :'SLOTimeSliceCondition'
|
41
|
+
}
|
42
|
+
end
|
43
|
+
|
44
|
+
# Initializes the object
|
45
|
+
# @param attributes [Hash] Model attributes in the form of hash
|
46
|
+
# @!visibility private
|
47
|
+
def initialize(attributes = {})
|
48
|
+
if (!attributes.is_a?(Hash))
|
49
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `DatadogAPIClient::V1::SLOTimeSliceSpec` initialize method"
|
50
|
+
end
|
51
|
+
|
52
|
+
# check to see if the attribute exists and convert string to symbol for hash key
|
53
|
+
attributes = attributes.each_with_object({}) { |(k, v), h|
|
54
|
+
if (!self.class.attribute_map.key?(k.to_sym))
|
55
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `DatadogAPIClient::V1::SLOTimeSliceSpec`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
56
|
+
end
|
57
|
+
h[k.to_sym] = v
|
58
|
+
}
|
59
|
+
|
60
|
+
if attributes.key?(:'time_slice')
|
61
|
+
self.time_slice = attributes[:'time_slice']
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
# Check to see if the all the properties in the model are valid
|
66
|
+
# @return true if the model is valid
|
67
|
+
# @!visibility private
|
68
|
+
def valid?
|
69
|
+
return false if @time_slice.nil?
|
70
|
+
true
|
71
|
+
end
|
72
|
+
|
73
|
+
# Custom attribute writer method with validation
|
74
|
+
# @param time_slice [Object] Object to be assigned
|
75
|
+
# @!visibility private
|
76
|
+
def time_slice=(time_slice)
|
77
|
+
if time_slice.nil?
|
78
|
+
fail ArgumentError, 'invalid value for "time_slice", time_slice cannot be nil.'
|
79
|
+
end
|
80
|
+
@time_slice = time_slice
|
81
|
+
end
|
82
|
+
|
83
|
+
# Checks equality by comparing each attribute.
|
84
|
+
# @param o [Object] Object to be compared
|
85
|
+
# @!visibility private
|
86
|
+
def ==(o)
|
87
|
+
return true if self.equal?(o)
|
88
|
+
self.class == o.class &&
|
89
|
+
time_slice == o.time_slice
|
90
|
+
end
|
91
|
+
|
92
|
+
# Calculates hash code according to all attributes.
|
93
|
+
# @return [Integer] Hash code
|
94
|
+
# @!visibility private
|
95
|
+
def hash
|
96
|
+
[time_slice].hash
|
97
|
+
end
|
98
|
+
end
|
99
|
+
end
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
27
27
|
# Shows the 99th percentile of all Azure app services using APM over all hours in the current date all organizations.
|
28
28
|
attr_accessor :apm_azure_app_service_host_top99p
|
29
29
|
|
30
|
+
# Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
|
31
|
+
attr_accessor :apm_devsecops_host_top99p
|
32
|
+
|
30
33
|
# Shows the average of all APM ECS Fargate tasks over all hours in the current date for all organizations.
|
31
34
|
attr_accessor :apm_fargate_count_avg
|
32
35
|
|
@@ -333,6 +336,7 @@ module DatadogAPIClient::V1
|
|
333
336
|
{
|
334
337
|
:'agent_host_top99p' => :'agent_host_top99p',
|
335
338
|
:'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
|
339
|
+
:'apm_devsecops_host_top99p' => :'apm_devsecops_host_top99p',
|
336
340
|
:'apm_fargate_count_avg' => :'apm_fargate_count_avg',
|
337
341
|
:'apm_host_top99p' => :'apm_host_top99p',
|
338
342
|
:'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
|
@@ -442,6 +446,7 @@ module DatadogAPIClient::V1
|
|
442
446
|
{
|
443
447
|
:'agent_host_top99p' => :'Integer',
|
444
448
|
:'apm_azure_app_service_host_top99p' => :'Integer',
|
449
|
+
:'apm_devsecops_host_top99p' => :'Integer',
|
445
450
|
:'apm_fargate_count_avg' => :'Integer',
|
446
451
|
:'apm_host_top99p' => :'Integer',
|
447
452
|
:'appsec_fargate_count_avg' => :'Integer',
|
@@ -569,6 +574,10 @@ module DatadogAPIClient::V1
|
|
569
574
|
self.apm_azure_app_service_host_top99p = attributes[:'apm_azure_app_service_host_top99p']
|
570
575
|
end
|
571
576
|
|
577
|
+
if attributes.key?(:'apm_devsecops_host_top99p')
|
578
|
+
self.apm_devsecops_host_top99p = attributes[:'apm_devsecops_host_top99p']
|
579
|
+
end
|
580
|
+
|
572
581
|
if attributes.key?(:'apm_fargate_count_avg')
|
573
582
|
self.apm_fargate_count_avg = attributes[:'apm_fargate_count_avg']
|
574
583
|
end
|
@@ -980,6 +989,7 @@ module DatadogAPIClient::V1
|
|
980
989
|
self.class == o.class &&
|
981
990
|
agent_host_top99p == o.agent_host_top99p &&
|
982
991
|
apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
|
992
|
+
apm_devsecops_host_top99p == o.apm_devsecops_host_top99p &&
|
983
993
|
apm_fargate_count_avg == o.apm_fargate_count_avg &&
|
984
994
|
apm_host_top99p == o.apm_host_top99p &&
|
985
995
|
appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
|
@@ -1086,7 +1096,7 @@ module DatadogAPIClient::V1
|
|
1086
1096
|
# @return [Integer] Hash code
|
1087
1097
|
# @!visibility private
|
1088
1098
|
def hash
|
1089
|
-
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_aas_count_top99p, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
1099
|
+
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_devsecops_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_ts_avg, cws_container_count_avg, cws_host_top99p, date, dbm_host_top99p, dbm_queries_count_avg, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_sum, iot_device_top99p, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, orgs, profiling_aas_count_top99p, profiling_host_top99p, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
1090
1100
|
end
|
1091
1101
|
end
|
1092
1102
|
end
|
@@ -27,6 +27,9 @@ module DatadogAPIClient::V1
|
|
27
27
|
# Shows the 99th percentile of all Azure app services using APM over all hours in the current date for the given org.
|
28
28
|
attr_accessor :apm_azure_app_service_host_top99p
|
29
29
|
|
30
|
+
# Shows the 99th percentile of all APM DevSecOps hosts over all hours in the current date for the given org.
|
31
|
+
attr_accessor :apm_devsecops_host_top99p
|
32
|
+
|
30
33
|
# Shows the average of all APM ECS Fargate tasks over all hours in the current months for the given org.
|
31
34
|
attr_accessor :apm_fargate_count_avg
|
32
35
|
|
@@ -345,6 +348,7 @@ module DatadogAPIClient::V1
|
|
345
348
|
{
|
346
349
|
:'agent_host_top99p' => :'agent_host_top99p',
|
347
350
|
:'apm_azure_app_service_host_top99p' => :'apm_azure_app_service_host_top99p',
|
351
|
+
:'apm_devsecops_host_top99p' => :'apm_devsecops_host_top99p',
|
348
352
|
:'apm_fargate_count_avg' => :'apm_fargate_count_avg',
|
349
353
|
:'apm_host_top99p' => :'apm_host_top99p',
|
350
354
|
:'appsec_fargate_count_avg' => :'appsec_fargate_count_avg',
|
@@ -458,6 +462,7 @@ module DatadogAPIClient::V1
|
|
458
462
|
{
|
459
463
|
:'agent_host_top99p' => :'Integer',
|
460
464
|
:'apm_azure_app_service_host_top99p' => :'Integer',
|
465
|
+
:'apm_devsecops_host_top99p' => :'Integer',
|
461
466
|
:'apm_fargate_count_avg' => :'Integer',
|
462
467
|
:'apm_host_top99p' => :'Integer',
|
463
468
|
:'appsec_fargate_count_avg' => :'Integer',
|
@@ -589,6 +594,10 @@ module DatadogAPIClient::V1
|
|
589
594
|
self.apm_azure_app_service_host_top99p = attributes[:'apm_azure_app_service_host_top99p']
|
590
595
|
end
|
591
596
|
|
597
|
+
if attributes.key?(:'apm_devsecops_host_top99p')
|
598
|
+
self.apm_devsecops_host_top99p = attributes[:'apm_devsecops_host_top99p']
|
599
|
+
end
|
600
|
+
|
592
601
|
if attributes.key?(:'apm_fargate_count_avg')
|
593
602
|
self.apm_fargate_count_avg = attributes[:'apm_fargate_count_avg']
|
594
603
|
end
|
@@ -1014,6 +1023,7 @@ module DatadogAPIClient::V1
|
|
1014
1023
|
self.class == o.class &&
|
1015
1024
|
agent_host_top99p == o.agent_host_top99p &&
|
1016
1025
|
apm_azure_app_service_host_top99p == o.apm_azure_app_service_host_top99p &&
|
1026
|
+
apm_devsecops_host_top99p == o.apm_devsecops_host_top99p &&
|
1017
1027
|
apm_fargate_count_avg == o.apm_fargate_count_avg &&
|
1018
1028
|
apm_host_top99p == o.apm_host_top99p &&
|
1019
1029
|
appsec_fargate_count_avg == o.appsec_fargate_count_avg &&
|
@@ -1124,7 +1134,7 @@ module DatadogAPIClient::V1
|
|
1124
1134
|
# @return [Integer] Hash code
|
1125
1135
|
# @!visibility private
|
1126
1136
|
def hash
|
1127
|
-
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_historical_ts_avg, custom_live_ts_avg, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_aas_count_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
1137
|
+
[agent_host_top99p, apm_azure_app_service_host_top99p, apm_devsecops_host_top99p, apm_fargate_count_avg, apm_host_top99p, appsec_fargate_count_avg, audit_logs_lines_indexed_sum, audit_trail_enabled_hwm, avg_profiled_fargate_tasks, aws_host_top99p, aws_lambda_func_count, aws_lambda_invocations_sum, azure_app_service_top99p, billable_ingested_bytes_sum, browser_rum_lite_session_count_sum, browser_rum_replay_session_count_sum, browser_rum_units_sum, ci_pipeline_indexed_spans_sum, ci_test_indexed_spans_sum, ci_visibility_itr_committers_hwm, ci_visibility_pipeline_committers_hwm, ci_visibility_test_committers_hwm, cloud_cost_management_aws_host_count_avg, cloud_cost_management_azure_host_count_avg, cloud_cost_management_host_count_avg, cloud_siem_events_sum, container_avg, container_excl_agent_avg, container_hwm, csm_container_enterprise_compliance_count_sum, csm_container_enterprise_cws_count_sum, csm_container_enterprise_total_count_sum, csm_host_enterprise_aas_host_count_top99p, csm_host_enterprise_aws_host_count_top99p, csm_host_enterprise_azure_host_count_top99p, csm_host_enterprise_compliance_host_count_top99p, csm_host_enterprise_cws_host_count_top99p, csm_host_enterprise_gcp_host_count_top99p, csm_host_enterprise_total_host_count_top99p, cspm_aas_host_top99p, cspm_aws_host_top99p, cspm_azure_host_top99p, cspm_container_avg, cspm_container_hwm, cspm_gcp_host_top99p, cspm_host_top99p, custom_historical_ts_avg, custom_live_ts_avg, custom_ts_avg, cws_container_count_avg, cws_host_top99p, dbm_host_top99p_sum, dbm_queries_avg_sum, fargate_tasks_count_avg, fargate_tasks_count_hwm, forwarding_events_bytes_sum, gcp_host_top99p, heroku_host_top99p, id, incident_management_monthly_active_users_hwm, indexed_events_count_sum, infra_host_top99p, ingested_events_bytes_sum, iot_device_agg_sum, iot_device_top99p_sum, mobile_rum_lite_session_count_sum, mobile_rum_session_count_android_sum, mobile_rum_session_count_flutter_sum, mobile_rum_session_count_ios_sum, mobile_rum_session_count_reactnative_sum, mobile_rum_session_count_roku_sum, mobile_rum_session_count_sum, mobile_rum_units_sum, name, ndm_netflow_events_sum, netflow_indexed_events_count_sum, npm_host_top99p, observability_pipelines_bytes_processed_sum, online_archive_events_count_sum, opentelemetry_apm_host_top99p, opentelemetry_host_top99p, profiling_aas_count_top99p, profiling_host_top99p, public_id, region, rum_browser_and_mobile_session_count, rum_session_count_sum, rum_total_session_count_sum, rum_units_sum, sds_apm_scanned_bytes_sum, sds_events_scanned_bytes_sum, sds_logs_scanned_bytes_sum, sds_rum_scanned_bytes_sum, sds_total_scanned_bytes_sum, serverless_apps_azure_count_avg, serverless_apps_google_count_avg, serverless_apps_total_count_avg, synthetics_browser_check_calls_count_sum, synthetics_check_calls_count_sum, synthetics_mobile_test_runs_sum, synthetics_parallel_testing_max_slots_hwm, trace_search_indexed_events_count_sum, twol_ingested_events_bytes_sum, universal_service_monitoring_host_top99p, vsphere_host_top99p, vuln_management_host_count_top99p, workflow_executions_usage_sum].hash
|
1128
1138
|
end
|
1129
1139
|
end
|
1130
1140
|
end
|