datadog_api_client 2.24.0 → 2.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.apigentools-info +4 -4
- data/.generator/conftest.py +2 -0
- data/.generator/schemas/v1/openapi.yaml +265 -8
- data/.generator/schemas/v2/openapi.yaml +1471 -32
- data/.generator/src/generator/openapi.py +4 -0
- data/CHANGELOG.md +41 -0
- data/examples/v1/azure-integration/CreateAzureIntegration.rb +1 -1
- data/examples/v1/azure-integration/UpdateAzureHostFilters.rb +7 -1
- data/examples/v1/azure-integration/UpdateAzureIntegration.rb +7 -1
- data/examples/v1/dashboards/CreateDashboard_985012506.rb +61 -0
- data/examples/v1/synthetics/CreateSyntheticsAPITest_1717840259.rb +163 -0
- data/examples/v1/synthetics/CreateSyntheticsBrowserTest.rb +2 -0
- data/examples/v2/cloud-cost-management/DeleteCustomCostsFile.rb +5 -0
- data/examples/v2/cloud-cost-management/DeleteCustomCostsFile_372970393.rb +5 -0
- data/examples/v2/cloud-cost-management/GetCustomCostsFile.rb +5 -0
- data/examples/v2/cloud-cost-management/GetCustomCostsFile_1307381576.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCustomCostsFiles.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCustomCostsFiles_1968771127.rb +5 -0
- data/examples/v2/cloud-cost-management/UploadCustomCostsFile.rb +15 -0
- data/examples/v2/cloud-cost-management/UploadCustomCostsFile_4125168396.rb +19 -0
- data/examples/v2/network-device-monitoring/GetDevice.rb +5 -0
- data/examples/v2/network-device-monitoring/GetInterfaces.rb +5 -0
- data/examples/v2/network-device-monitoring/ListDeviceUserTags.rb +5 -0
- data/examples/v2/network-device-monitoring/ListDevices.rb +10 -0
- data/examples/v2/network-device-monitoring/UpdateDeviceUserTags.rb +18 -0
- data/examples/v2/roles/CreateRole.rb +0 -3
- data/examples/v2/security-monitoring/ConvertExistingSecurityMonitoringRule.rb +8 -0
- data/examples/v2/security-monitoring/ConvertSecurityMonitoringRuleFromJSONToTerraform.rb +36 -0
- data/examples/v2/service-scorecards/UpdateScorecardRule.rb +24 -0
- data/examples/v2/workflow-automation/CancelWorkflowInstance.rb +5 -0
- data/examples/v2/workflow-automation/CreateWorkflowInstance.rb +13 -0
- data/examples/v2/workflow-automation/GetWorkflowInstance.rb +5 -0
- data/examples/v2/workflow-automation/ListWorkflowInstances.rb +5 -0
- data/lib/datadog_api_client/configuration.rb +1 -0
- data/lib/datadog_api_client/inflector.rb +53 -1
- data/lib/datadog_api_client/v1/api/aws_logs_integration_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -1
- data/lib/datadog_api_client/v1/api/monitors_api.rb +12 -1
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +7 -3
- data/lib/datadog_api_client/v1/models/azure_account.rb +14 -1
- data/lib/datadog_api_client/v1/models/azure_account_metrics_config.rb +85 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_dependency_stats_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_apm_resource_stats_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_cloud_cost_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_event_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/formula_and_function_metric_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_process_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_definition.rb +24 -1
- data/lib/datadog_api_client/v1/models/formula_and_function_slo_query_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +2 -0
- data/lib/datadog_api_client/v1/models/list_stream_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_formula_and_function_events_data_source.rb +1 -0
- data/lib/datadog_api_client/v1/models/monitor_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +4 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +41 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_digest.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_client.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_basic_auth_oauth_rop.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_delete_tests_payload.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_options.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_billable_summary_hour.rb +21 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +61 -1
- data/lib/datadog_api_client/v1/models/usage_summary_date_org.rb +81 -1
- data/lib/datadog_api_client/v1/models/usage_summary_response.rb +61 -1
- data/lib/datadog_api_client/v2/api/api_management_api.rb +5 -5
- data/lib/datadog_api_client/v2/api/authn_mappings_api.rb +6 -0
- data/lib/datadog_api_client/v2/api/case_management_api.rb +13 -13
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +260 -0
- data/lib/datadog_api_client/v2/api/network_device_monitoring_api.rb +362 -0
- data/lib/datadog_api_client/v2/api/organizations_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +15 -7
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +134 -0
- data/lib/datadog_api_client/v2/api/service_scorecards_api.rb +79 -1
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +8 -0
- data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +307 -0
- data/lib/datadog_api_client/v2/models/api_key_relationships.rb +9 -1
- data/lib/datadog_api_client/v2/models/authn_mapping_resource_type.rb +27 -0
- data/lib/datadog_api_client/v2/models/cost_by_org_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/custom_cost_get_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_cost_list_response_meta.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_cost_upload_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_get_response.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_line_item.rb +173 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_list_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_metadata.rb +152 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_high_level.rb +100 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_with_content.rb +164 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_metadata_with_content_high_level.rb +100 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_upload_response.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_costs_file_usage_charge_period.rb +90 -0
- data/lib/datadog_api_client/v2/models/custom_costs_user.rb +100 -0
- data/lib/datadog_api_client/v2/models/device_attributes.rb +272 -0
- data/lib/datadog_api_client/v2/models/device_attributes_interface_statuses.rb +110 -0
- data/lib/datadog_api_client/v2/models/devices_list_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/dora_deployment_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/dora_incident_request_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/full_application_key_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/get_device_attributes.rb +262 -0
- data/lib/datadog_api_client/v2/models/get_device_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/get_device_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/get_interfaces_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/get_interfaces_response.rb +82 -0
- data/lib/datadog_api_client/v2/models/hourly_usage_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/interface_attributes.rb +130 -0
- data/lib/datadog_api_client/v2/models/interface_attributes_status.rb +29 -0
- data/lib/datadog_api_client/v2/models/list_devices_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/list_devices_response_metadata.rb +80 -0
- data/lib/datadog_api_client/v2/models/list_devices_response_metadata_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/list_tags_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/list_tags_response_data.rb +100 -0
- data/lib/datadog_api_client/v2/models/list_tags_response_data_attributes.rb +82 -0
- data/lib/datadog_api_client/v2/models/projected_cost_attributes.rb +21 -1
- data/lib/datadog_api_client/v2/models/role_relationships.rb +4 -14
- data/lib/datadog_api_client/v2/models/role_update_attributes.rb +32 -4
- data/lib/datadog_api_client/v2/models/rum_application_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_create_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_list_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/rum_application_update_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_payload.rb +63 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_convert_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_detection_method.rb +1 -0
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_evaluation_window.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_keep_alive.rb +1 -1
- data/lib/datadog_api_client/v2/models/security_monitoring_rule_options.rb +2 -2
- data/lib/datadog_api_client/v2/models/update_rule_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_rule_request_data.rb +90 -0
- data/lib/datadog_api_client/v2/models/update_rule_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/update_rule_response_data.rb +110 -0
- data/lib/datadog_api_client/v2/models/user_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/workflow_instance_create_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_instance_create_request.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_instance_create_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_instance_create_response_data.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_instance_list_item.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_list_instances_response.rb +92 -0
- data/lib/datadog_api_client/v2/models/workflow_list_instances_response_meta.rb +80 -0
- data/lib/datadog_api_client/v2/models/workflow_list_instances_response_meta_page.rb +80 -0
- data/lib/datadog_api_client/v2/models/worklflow_cancel_instance_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/worklflow_cancel_instance_response_data.rb +80 -0
- data/lib/datadog_api_client/v2/models/worklflow_get_instance_response.rb +80 -0
- data/lib/datadog_api_client/v2/models/worklflow_get_instance_response_data.rb +80 -0
- data/lib/datadog_api_client/v2/models/worklflow_get_instance_response_data_attributes.rb +80 -0
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +76 -2
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# Aggregator used for the request.
|
|
25
25
|
attr_accessor :aggregator
|
|
26
26
|
|
|
27
|
+
# The source organization UUID for cross organization queries. Feature in Private Beta.
|
|
28
|
+
attr_reader :cross_org_uuids
|
|
29
|
+
|
|
27
30
|
# Data source for Cloud Cost queries.
|
|
28
31
|
attr_reader :data_source
|
|
29
32
|
|
|
@@ -38,6 +41,7 @@ module DatadogAPIClient::V1
|
|
|
38
41
|
def self.attribute_map
|
|
39
42
|
{
|
|
40
43
|
:'aggregator' => :'aggregator',
|
|
44
|
+
:'cross_org_uuids' => :'cross_org_uuids',
|
|
41
45
|
:'data_source' => :'data_source',
|
|
42
46
|
:'name' => :'name',
|
|
43
47
|
:'query' => :'query'
|
|
@@ -49,6 +53,7 @@ module DatadogAPIClient::V1
|
|
|
49
53
|
def self.openapi_types
|
|
50
54
|
{
|
|
51
55
|
:'aggregator' => :'WidgetAggregator',
|
|
56
|
+
:'cross_org_uuids' => :'Array<String>',
|
|
52
57
|
:'data_source' => :'FormulaAndFunctionCloudCostDataSource',
|
|
53
58
|
:'name' => :'String',
|
|
54
59
|
:'query' => :'String'
|
|
@@ -75,6 +80,12 @@ module DatadogAPIClient::V1
|
|
|
75
80
|
self.aggregator = attributes[:'aggregator']
|
|
76
81
|
end
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'cross_org_uuids')
|
|
84
|
+
if (value = attributes[:'cross_org_uuids']).is_a?(Array)
|
|
85
|
+
self.cross_org_uuids = value
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
78
89
|
if attributes.key?(:'data_source')
|
|
79
90
|
self.data_source = attributes[:'data_source']
|
|
80
91
|
end
|
|
@@ -92,12 +103,23 @@ module DatadogAPIClient::V1
|
|
|
92
103
|
# @return true if the model is valid
|
|
93
104
|
# @!visibility private
|
|
94
105
|
def valid?
|
|
106
|
+
return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
|
|
95
107
|
return false if @data_source.nil?
|
|
96
108
|
return false if @name.nil?
|
|
97
109
|
return false if @query.nil?
|
|
98
110
|
true
|
|
99
111
|
end
|
|
100
112
|
|
|
113
|
+
# Custom attribute writer method with validation
|
|
114
|
+
# @param cross_org_uuids [Object] Object to be assigned
|
|
115
|
+
# @!visibility private
|
|
116
|
+
def cross_org_uuids=(cross_org_uuids)
|
|
117
|
+
if !cross_org_uuids.nil? && cross_org_uuids.length > 1
|
|
118
|
+
fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
|
|
119
|
+
end
|
|
120
|
+
@cross_org_uuids = cross_org_uuids
|
|
121
|
+
end
|
|
122
|
+
|
|
101
123
|
# Custom attribute writer method with validation
|
|
102
124
|
# @param data_source [Object] Object to be assigned
|
|
103
125
|
# @!visibility private
|
|
@@ -135,6 +157,7 @@ module DatadogAPIClient::V1
|
|
|
135
157
|
return true if self.equal?(o)
|
|
136
158
|
self.class == o.class &&
|
|
137
159
|
aggregator == o.aggregator &&
|
|
160
|
+
cross_org_uuids == o.cross_org_uuids &&
|
|
138
161
|
data_source == o.data_source &&
|
|
139
162
|
name == o.name &&
|
|
140
163
|
query == o.query
|
|
@@ -144,7 +167,7 @@ module DatadogAPIClient::V1
|
|
|
144
167
|
# @return [Integer] Hash code
|
|
145
168
|
# @!visibility private
|
|
146
169
|
def hash
|
|
147
|
-
[aggregator, data_source, name, query].hash
|
|
170
|
+
[aggregator, cross_org_uuids, data_source, name, query].hash
|
|
148
171
|
end
|
|
149
172
|
end
|
|
150
173
|
end
|
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# Compute options.
|
|
25
25
|
attr_reader :compute
|
|
26
26
|
|
|
27
|
+
# The source organization UUID for cross organization queries. Feature in Private Beta.
|
|
28
|
+
attr_reader :cross_org_uuids
|
|
29
|
+
|
|
27
30
|
# Data source for event platform-based queries.
|
|
28
31
|
attr_reader :data_source
|
|
29
32
|
|
|
@@ -47,6 +50,7 @@ module DatadogAPIClient::V1
|
|
|
47
50
|
def self.attribute_map
|
|
48
51
|
{
|
|
49
52
|
:'compute' => :'compute',
|
|
53
|
+
:'cross_org_uuids' => :'cross_org_uuids',
|
|
50
54
|
:'data_source' => :'data_source',
|
|
51
55
|
:'group_by' => :'group_by',
|
|
52
56
|
:'indexes' => :'indexes',
|
|
@@ -61,6 +65,7 @@ module DatadogAPIClient::V1
|
|
|
61
65
|
def self.openapi_types
|
|
62
66
|
{
|
|
63
67
|
:'compute' => :'FormulaAndFunctionEventQueryDefinitionCompute',
|
|
68
|
+
:'cross_org_uuids' => :'Array<String>',
|
|
64
69
|
:'data_source' => :'FormulaAndFunctionEventsDataSource',
|
|
65
70
|
:'group_by' => :'Array<FormulaAndFunctionEventQueryGroupBy>',
|
|
66
71
|
:'indexes' => :'Array<String>',
|
|
@@ -90,6 +95,12 @@ module DatadogAPIClient::V1
|
|
|
90
95
|
self.compute = attributes[:'compute']
|
|
91
96
|
end
|
|
92
97
|
|
|
98
|
+
if attributes.key?(:'cross_org_uuids')
|
|
99
|
+
if (value = attributes[:'cross_org_uuids']).is_a?(Array)
|
|
100
|
+
self.cross_org_uuids = value
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
93
104
|
if attributes.key?(:'data_source')
|
|
94
105
|
self.data_source = attributes[:'data_source']
|
|
95
106
|
end
|
|
@@ -124,6 +135,7 @@ module DatadogAPIClient::V1
|
|
|
124
135
|
# @!visibility private
|
|
125
136
|
def valid?
|
|
126
137
|
return false if @compute.nil?
|
|
138
|
+
return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
|
|
127
139
|
return false if @data_source.nil?
|
|
128
140
|
return false if @name.nil?
|
|
129
141
|
true
|
|
@@ -139,6 +151,16 @@ module DatadogAPIClient::V1
|
|
|
139
151
|
@compute = compute
|
|
140
152
|
end
|
|
141
153
|
|
|
154
|
+
# Custom attribute writer method with validation
|
|
155
|
+
# @param cross_org_uuids [Object] Object to be assigned
|
|
156
|
+
# @!visibility private
|
|
157
|
+
def cross_org_uuids=(cross_org_uuids)
|
|
158
|
+
if !cross_org_uuids.nil? && cross_org_uuids.length > 1
|
|
159
|
+
fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
|
|
160
|
+
end
|
|
161
|
+
@cross_org_uuids = cross_org_uuids
|
|
162
|
+
end
|
|
163
|
+
|
|
142
164
|
# Custom attribute writer method with validation
|
|
143
165
|
# @param data_source [Object] Object to be assigned
|
|
144
166
|
# @!visibility private
|
|
@@ -166,6 +188,7 @@ module DatadogAPIClient::V1
|
|
|
166
188
|
return true if self.equal?(o)
|
|
167
189
|
self.class == o.class &&
|
|
168
190
|
compute == o.compute &&
|
|
191
|
+
cross_org_uuids == o.cross_org_uuids &&
|
|
169
192
|
data_source == o.data_source &&
|
|
170
193
|
group_by == o.group_by &&
|
|
171
194
|
indexes == o.indexes &&
|
|
@@ -178,7 +201,7 @@ module DatadogAPIClient::V1
|
|
|
178
201
|
# @return [Integer] Hash code
|
|
179
202
|
# @!visibility private
|
|
180
203
|
def hash
|
|
181
|
-
[compute, data_source, group_by, indexes, name, search, storage].hash
|
|
204
|
+
[compute, cross_org_uuids, data_source, group_by, indexes, name, search, storage].hash
|
|
182
205
|
end
|
|
183
206
|
end
|
|
184
207
|
end
|
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# The aggregation methods available for metrics queries.
|
|
25
25
|
attr_accessor :aggregator
|
|
26
26
|
|
|
27
|
+
# The source organization UUID for cross organization queries. Feature in Private Beta.
|
|
28
|
+
attr_reader :cross_org_uuids
|
|
29
|
+
|
|
27
30
|
# Data source for metrics queries.
|
|
28
31
|
attr_reader :data_source
|
|
29
32
|
|
|
@@ -38,6 +41,7 @@ module DatadogAPIClient::V1
|
|
|
38
41
|
def self.attribute_map
|
|
39
42
|
{
|
|
40
43
|
:'aggregator' => :'aggregator',
|
|
44
|
+
:'cross_org_uuids' => :'cross_org_uuids',
|
|
41
45
|
:'data_source' => :'data_source',
|
|
42
46
|
:'name' => :'name',
|
|
43
47
|
:'query' => :'query'
|
|
@@ -49,6 +53,7 @@ module DatadogAPIClient::V1
|
|
|
49
53
|
def self.openapi_types
|
|
50
54
|
{
|
|
51
55
|
:'aggregator' => :'FormulaAndFunctionMetricAggregation',
|
|
56
|
+
:'cross_org_uuids' => :'Array<String>',
|
|
52
57
|
:'data_source' => :'FormulaAndFunctionMetricDataSource',
|
|
53
58
|
:'name' => :'String',
|
|
54
59
|
:'query' => :'String'
|
|
@@ -75,6 +80,12 @@ module DatadogAPIClient::V1
|
|
|
75
80
|
self.aggregator = attributes[:'aggregator']
|
|
76
81
|
end
|
|
77
82
|
|
|
83
|
+
if attributes.key?(:'cross_org_uuids')
|
|
84
|
+
if (value = attributes[:'cross_org_uuids']).is_a?(Array)
|
|
85
|
+
self.cross_org_uuids = value
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
|
|
78
89
|
if attributes.key?(:'data_source')
|
|
79
90
|
self.data_source = attributes[:'data_source']
|
|
80
91
|
end
|
|
@@ -92,12 +103,23 @@ module DatadogAPIClient::V1
|
|
|
92
103
|
# @return true if the model is valid
|
|
93
104
|
# @!visibility private
|
|
94
105
|
def valid?
|
|
106
|
+
return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
|
|
95
107
|
return false if @data_source.nil?
|
|
96
108
|
return false if @name.nil?
|
|
97
109
|
return false if @query.nil?
|
|
98
110
|
true
|
|
99
111
|
end
|
|
100
112
|
|
|
113
|
+
# Custom attribute writer method with validation
|
|
114
|
+
# @param cross_org_uuids [Object] Object to be assigned
|
|
115
|
+
# @!visibility private
|
|
116
|
+
def cross_org_uuids=(cross_org_uuids)
|
|
117
|
+
if !cross_org_uuids.nil? && cross_org_uuids.length > 1
|
|
118
|
+
fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
|
|
119
|
+
end
|
|
120
|
+
@cross_org_uuids = cross_org_uuids
|
|
121
|
+
end
|
|
122
|
+
|
|
101
123
|
# Custom attribute writer method with validation
|
|
102
124
|
# @param data_source [Object] Object to be assigned
|
|
103
125
|
# @!visibility private
|
|
@@ -135,6 +157,7 @@ module DatadogAPIClient::V1
|
|
|
135
157
|
return true if self.equal?(o)
|
|
136
158
|
self.class == o.class &&
|
|
137
159
|
aggregator == o.aggregator &&
|
|
160
|
+
cross_org_uuids == o.cross_org_uuids &&
|
|
138
161
|
data_source == o.data_source &&
|
|
139
162
|
name == o.name &&
|
|
140
163
|
query == o.query
|
|
@@ -144,7 +167,7 @@ module DatadogAPIClient::V1
|
|
|
144
167
|
# @return [Integer] Hash code
|
|
145
168
|
# @!visibility private
|
|
146
169
|
def hash
|
|
147
|
-
[aggregator, data_source, name, query].hash
|
|
170
|
+
[aggregator, cross_org_uuids, data_source, name, query].hash
|
|
148
171
|
end
|
|
149
172
|
end
|
|
150
173
|
end
|
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# The aggregation methods available for metrics queries.
|
|
25
25
|
attr_accessor :aggregator
|
|
26
26
|
|
|
27
|
+
# The source organization UUID for cross organization queries. Feature in Private Beta.
|
|
28
|
+
attr_reader :cross_org_uuids
|
|
29
|
+
|
|
27
30
|
# Data sources that rely on the process backend.
|
|
28
31
|
attr_reader :data_source
|
|
29
32
|
|
|
@@ -53,6 +56,7 @@ module DatadogAPIClient::V1
|
|
|
53
56
|
def self.attribute_map
|
|
54
57
|
{
|
|
55
58
|
:'aggregator' => :'aggregator',
|
|
59
|
+
:'cross_org_uuids' => :'cross_org_uuids',
|
|
56
60
|
:'data_source' => :'data_source',
|
|
57
61
|
:'is_normalized_cpu' => :'is_normalized_cpu',
|
|
58
62
|
:'limit' => :'limit',
|
|
@@ -69,6 +73,7 @@ module DatadogAPIClient::V1
|
|
|
69
73
|
def self.openapi_types
|
|
70
74
|
{
|
|
71
75
|
:'aggregator' => :'FormulaAndFunctionMetricAggregation',
|
|
76
|
+
:'cross_org_uuids' => :'Array<String>',
|
|
72
77
|
:'data_source' => :'FormulaAndFunctionProcessQueryDataSource',
|
|
73
78
|
:'is_normalized_cpu' => :'Boolean',
|
|
74
79
|
:'limit' => :'Integer',
|
|
@@ -100,6 +105,12 @@ module DatadogAPIClient::V1
|
|
|
100
105
|
self.aggregator = attributes[:'aggregator']
|
|
101
106
|
end
|
|
102
107
|
|
|
108
|
+
if attributes.key?(:'cross_org_uuids')
|
|
109
|
+
if (value = attributes[:'cross_org_uuids']).is_a?(Array)
|
|
110
|
+
self.cross_org_uuids = value
|
|
111
|
+
end
|
|
112
|
+
end
|
|
113
|
+
|
|
103
114
|
if attributes.key?(:'data_source')
|
|
104
115
|
self.data_source = attributes[:'data_source']
|
|
105
116
|
end
|
|
@@ -139,12 +150,23 @@ module DatadogAPIClient::V1
|
|
|
139
150
|
# @return true if the model is valid
|
|
140
151
|
# @!visibility private
|
|
141
152
|
def valid?
|
|
153
|
+
return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
|
|
142
154
|
return false if @data_source.nil?
|
|
143
155
|
return false if @metric.nil?
|
|
144
156
|
return false if @name.nil?
|
|
145
157
|
true
|
|
146
158
|
end
|
|
147
159
|
|
|
160
|
+
# Custom attribute writer method with validation
|
|
161
|
+
# @param cross_org_uuids [Object] Object to be assigned
|
|
162
|
+
# @!visibility private
|
|
163
|
+
def cross_org_uuids=(cross_org_uuids)
|
|
164
|
+
if !cross_org_uuids.nil? && cross_org_uuids.length > 1
|
|
165
|
+
fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
|
|
166
|
+
end
|
|
167
|
+
@cross_org_uuids = cross_org_uuids
|
|
168
|
+
end
|
|
169
|
+
|
|
148
170
|
# Custom attribute writer method with validation
|
|
149
171
|
# @param data_source [Object] Object to be assigned
|
|
150
172
|
# @!visibility private
|
|
@@ -182,6 +204,7 @@ module DatadogAPIClient::V1
|
|
|
182
204
|
return true if self.equal?(o)
|
|
183
205
|
self.class == o.class &&
|
|
184
206
|
aggregator == o.aggregator &&
|
|
207
|
+
cross_org_uuids == o.cross_org_uuids &&
|
|
185
208
|
data_source == o.data_source &&
|
|
186
209
|
is_normalized_cpu == o.is_normalized_cpu &&
|
|
187
210
|
limit == o.limit &&
|
|
@@ -196,7 +219,7 @@ module DatadogAPIClient::V1
|
|
|
196
219
|
# @return [Integer] Hash code
|
|
197
220
|
# @!visibility private
|
|
198
221
|
def hash
|
|
199
|
-
[aggregator, data_source, is_normalized_cpu, limit, metric, name, sort, tag_filters, text_filter].hash
|
|
222
|
+
[aggregator, cross_org_uuids, data_source, is_normalized_cpu, limit, metric, name, sort, tag_filters, text_filter].hash
|
|
200
223
|
end
|
|
201
224
|
end
|
|
202
225
|
end
|
|
@@ -24,6 +24,9 @@ module DatadogAPIClient::V1
|
|
|
24
24
|
# Additional filters applied to the SLO query.
|
|
25
25
|
attr_accessor :additional_query_filters
|
|
26
26
|
|
|
27
|
+
# The source organization UUID for cross organization queries. Feature in Private Beta.
|
|
28
|
+
attr_reader :cross_org_uuids
|
|
29
|
+
|
|
27
30
|
# Data source for SLO measures queries.
|
|
28
31
|
attr_reader :data_source
|
|
29
32
|
|
|
@@ -47,6 +50,7 @@ module DatadogAPIClient::V1
|
|
|
47
50
|
def self.attribute_map
|
|
48
51
|
{
|
|
49
52
|
:'additional_query_filters' => :'additional_query_filters',
|
|
53
|
+
:'cross_org_uuids' => :'cross_org_uuids',
|
|
50
54
|
:'data_source' => :'data_source',
|
|
51
55
|
:'group_mode' => :'group_mode',
|
|
52
56
|
:'measure' => :'measure',
|
|
@@ -61,6 +65,7 @@ module DatadogAPIClient::V1
|
|
|
61
65
|
def self.openapi_types
|
|
62
66
|
{
|
|
63
67
|
:'additional_query_filters' => :'String',
|
|
68
|
+
:'cross_org_uuids' => :'Array<String>',
|
|
64
69
|
:'data_source' => :'FormulaAndFunctionSLODataSource',
|
|
65
70
|
:'group_mode' => :'FormulaAndFunctionSLOGroupMode',
|
|
66
71
|
:'measure' => :'FormulaAndFunctionSLOMeasure',
|
|
@@ -90,6 +95,12 @@ module DatadogAPIClient::V1
|
|
|
90
95
|
self.additional_query_filters = attributes[:'additional_query_filters']
|
|
91
96
|
end
|
|
92
97
|
|
|
98
|
+
if attributes.key?(:'cross_org_uuids')
|
|
99
|
+
if (value = attributes[:'cross_org_uuids']).is_a?(Array)
|
|
100
|
+
self.cross_org_uuids = value
|
|
101
|
+
end
|
|
102
|
+
end
|
|
103
|
+
|
|
93
104
|
if attributes.key?(:'data_source')
|
|
94
105
|
self.data_source = attributes[:'data_source']
|
|
95
106
|
end
|
|
@@ -119,12 +130,23 @@ module DatadogAPIClient::V1
|
|
|
119
130
|
# @return true if the model is valid
|
|
120
131
|
# @!visibility private
|
|
121
132
|
def valid?
|
|
133
|
+
return false if !@cross_org_uuids.nil? && @cross_org_uuids.length > 1
|
|
122
134
|
return false if @data_source.nil?
|
|
123
135
|
return false if @measure.nil?
|
|
124
136
|
return false if @slo_id.nil?
|
|
125
137
|
true
|
|
126
138
|
end
|
|
127
139
|
|
|
140
|
+
# Custom attribute writer method with validation
|
|
141
|
+
# @param cross_org_uuids [Object] Object to be assigned
|
|
142
|
+
# @!visibility private
|
|
143
|
+
def cross_org_uuids=(cross_org_uuids)
|
|
144
|
+
if !cross_org_uuids.nil? && cross_org_uuids.length > 1
|
|
145
|
+
fail ArgumentError, 'invalid value for "cross_org_uuids", number of items must be less than or equal to 1.'
|
|
146
|
+
end
|
|
147
|
+
@cross_org_uuids = cross_org_uuids
|
|
148
|
+
end
|
|
149
|
+
|
|
128
150
|
# Custom attribute writer method with validation
|
|
129
151
|
# @param data_source [Object] Object to be assigned
|
|
130
152
|
# @!visibility private
|
|
@@ -162,6 +184,7 @@ module DatadogAPIClient::V1
|
|
|
162
184
|
return true if self.equal?(o)
|
|
163
185
|
self.class == o.class &&
|
|
164
186
|
additional_query_filters == o.additional_query_filters &&
|
|
187
|
+
cross_org_uuids == o.cross_org_uuids &&
|
|
165
188
|
data_source == o.data_source &&
|
|
166
189
|
group_mode == o.group_mode &&
|
|
167
190
|
measure == o.measure &&
|
|
@@ -174,7 +197,7 @@ module DatadogAPIClient::V1
|
|
|
174
197
|
# @return [Integer] Hash code
|
|
175
198
|
# @!visibility private
|
|
176
199
|
def hash
|
|
177
|
-
[additional_query_filters, data_source, group_mode, measure, name, slo_id, slo_query_type].hash
|
|
200
|
+
[additional_query_filters, cross_org_uuids, data_source, group_mode, measure, name, slo_id, slo_query_type].hash
|
|
178
201
|
end
|
|
179
202
|
end
|
|
180
203
|
end
|
|
@@ -83,8 +83,10 @@ module DatadogAPIClient::V1
|
|
|
83
83
|
PROFILED_HOST_USAGE = "profiled_host_usage".freeze
|
|
84
84
|
RUM_BROWSER_MOBILE_SESSIONS_USAGE = "rum_browser_mobile_sessions_usage".freeze
|
|
85
85
|
RUM_REPLAY_SESSIONS_USAGE = "rum_replay_sessions_usage".freeze
|
|
86
|
+
SCA_FARGATE_USAGE = "sca_fargate_usage".freeze
|
|
86
87
|
SDS_SCANNED_BYTES_USAGE = "sds_scanned_bytes_usage".freeze
|
|
87
88
|
SERVERLESS_APPS_USAGE = "serverless_apps_usage".freeze
|
|
89
|
+
SIEM_ANALYZED_LOGS_ADD_ON_USAGE = "siem_analyzed_logs_add_on_usage".freeze
|
|
88
90
|
SIEM_INGESTED_BYTES_USAGE = "siem_ingested_bytes_usage".freeze
|
|
89
91
|
SNMP_USAGE = "snmp_usage".freeze
|
|
90
92
|
UNIVERSAL_SERVICE_MONITORING_USAGE = "universal_service_monitoring_usage".freeze
|
|
@@ -38,5 +38,6 @@ module DatadogAPIClient::V1
|
|
|
38
38
|
CI_TESTS_ALERT = "ci-tests alert".freeze
|
|
39
39
|
ERROR_TRACKING_ALERT = "error-tracking alert".freeze
|
|
40
40
|
DATABASE_MONITORING_ALERT = "database-monitoring alert".freeze
|
|
41
|
+
NETWORK_PERFORMANCE_ALERT = "network-performance alert".freeze
|
|
41
42
|
end
|
|
42
43
|
end
|
|
@@ -151,10 +151,14 @@ module DatadogAPIClient::V1
|
|
|
151
151
|
RUM_BROWSER_MOBILE_SESSIONS_PERCENTAGE = "rum_browser_mobile_sessions_percentage".freeze
|
|
152
152
|
INGESTED_SPANS_BYTES_USAGE = "ingested_spans_bytes_usage".freeze
|
|
153
153
|
INGESTED_SPANS_BYTES_PERCENTAGE = "ingested_spans_bytes_percentage".freeze
|
|
154
|
+
SIEM_ANALYZED_LOGS_ADD_ON_USAGE = "siem_analyzed_logs_add_on_usage".freeze
|
|
155
|
+
SIEM_ANALYZED_LOGS_ADD_ON_PERCENTAGE = "siem_analyzed_logs_add_on_percentage".freeze
|
|
154
156
|
SIEM_INGESTED_BYTES_USAGE = "siem_ingested_bytes_usage".freeze
|
|
155
157
|
SIEM_INGESTED_BYTES_PERCENTAGE = "siem_ingested_bytes_percentage".freeze
|
|
156
158
|
WORKFLOW_EXECUTIONS_USAGE = "workflow_executions_usage".freeze
|
|
157
159
|
WORKFLOW_EXECUTIONS_PERCENTAGE = "workflow_executions_percentage".freeze
|
|
160
|
+
SCA_FARGATE_USAGE = "sca_fargate_usage".freeze
|
|
161
|
+
SCA_FARGATE_PERCENTAGE = "sca_fargate_percentage".freeze
|
|
158
162
|
ALL = "*".freeze
|
|
159
163
|
end
|
|
160
164
|
end
|
|
@@ -381,6 +381,12 @@ module DatadogAPIClient::V1
|
|
|
381
381
|
# The total RUM Session Replay usage by tag(s).
|
|
382
382
|
attr_accessor :rum_replay_sessions_usage
|
|
383
383
|
|
|
384
|
+
# The percentage of Software Composition Analysis Fargate task usage by tag(s).
|
|
385
|
+
attr_accessor :sca_fargate_percentage
|
|
386
|
+
|
|
387
|
+
# The total Software Composition Analysis Fargate task usage by tag(s).
|
|
388
|
+
attr_accessor :sca_fargate_usage
|
|
389
|
+
|
|
384
390
|
# The percentage of Sensitive Data Scanner usage by tag(s).
|
|
385
391
|
attr_accessor :sds_scanned_bytes_percentage
|
|
386
392
|
|
|
@@ -393,6 +399,12 @@ module DatadogAPIClient::V1
|
|
|
393
399
|
# The total Serverless Apps usage by tag(s).
|
|
394
400
|
attr_accessor :serverless_apps_usage
|
|
395
401
|
|
|
402
|
+
# The percentage of log events analyzed by Cloud SIEM usage by tag(s).
|
|
403
|
+
attr_accessor :siem_analyzed_logs_add_on_percentage
|
|
404
|
+
|
|
405
|
+
# The log events analyzed by Cloud SIEM usage by tag(s).
|
|
406
|
+
attr_accessor :siem_analyzed_logs_add_on_usage
|
|
407
|
+
|
|
396
408
|
# The percentage of SIEM usage by tag(s).
|
|
397
409
|
attr_accessor :siem_ingested_bytes_percentage
|
|
398
410
|
|
|
@@ -547,10 +559,14 @@ module DatadogAPIClient::V1
|
|
|
547
559
|
:'rum_browser_mobile_sessions_usage' => :'rum_browser_mobile_sessions_usage',
|
|
548
560
|
:'rum_replay_sessions_percentage' => :'rum_replay_sessions_percentage',
|
|
549
561
|
:'rum_replay_sessions_usage' => :'rum_replay_sessions_usage',
|
|
562
|
+
:'sca_fargate_percentage' => :'sca_fargate_percentage',
|
|
563
|
+
:'sca_fargate_usage' => :'sca_fargate_usage',
|
|
550
564
|
:'sds_scanned_bytes_percentage' => :'sds_scanned_bytes_percentage',
|
|
551
565
|
:'sds_scanned_bytes_usage' => :'sds_scanned_bytes_usage',
|
|
552
566
|
:'serverless_apps_percentage' => :'serverless_apps_percentage',
|
|
553
567
|
:'serverless_apps_usage' => :'serverless_apps_usage',
|
|
568
|
+
:'siem_analyzed_logs_add_on_percentage' => :'siem_analyzed_logs_add_on_percentage',
|
|
569
|
+
:'siem_analyzed_logs_add_on_usage' => :'siem_analyzed_logs_add_on_usage',
|
|
554
570
|
:'siem_ingested_bytes_percentage' => :'siem_ingested_bytes_percentage',
|
|
555
571
|
:'siem_ingested_bytes_usage' => :'siem_ingested_bytes_usage',
|
|
556
572
|
:'snmp_percentage' => :'snmp_percentage',
|
|
@@ -688,10 +704,14 @@ module DatadogAPIClient::V1
|
|
|
688
704
|
:'rum_browser_mobile_sessions_usage' => :'Float',
|
|
689
705
|
:'rum_replay_sessions_percentage' => :'Float',
|
|
690
706
|
:'rum_replay_sessions_usage' => :'Float',
|
|
707
|
+
:'sca_fargate_percentage' => :'Float',
|
|
708
|
+
:'sca_fargate_usage' => :'Float',
|
|
691
709
|
:'sds_scanned_bytes_percentage' => :'Float',
|
|
692
710
|
:'sds_scanned_bytes_usage' => :'Float',
|
|
693
711
|
:'serverless_apps_percentage' => :'Float',
|
|
694
712
|
:'serverless_apps_usage' => :'Float',
|
|
713
|
+
:'siem_analyzed_logs_add_on_percentage' => :'Float',
|
|
714
|
+
:'siem_analyzed_logs_add_on_usage' => :'Float',
|
|
695
715
|
:'siem_ingested_bytes_percentage' => :'Float',
|
|
696
716
|
:'siem_ingested_bytes_usage' => :'Float',
|
|
697
717
|
:'snmp_percentage' => :'Float',
|
|
@@ -1201,6 +1221,14 @@ module DatadogAPIClient::V1
|
|
|
1201
1221
|
self.rum_replay_sessions_usage = attributes[:'rum_replay_sessions_usage']
|
|
1202
1222
|
end
|
|
1203
1223
|
|
|
1224
|
+
if attributes.key?(:'sca_fargate_percentage')
|
|
1225
|
+
self.sca_fargate_percentage = attributes[:'sca_fargate_percentage']
|
|
1226
|
+
end
|
|
1227
|
+
|
|
1228
|
+
if attributes.key?(:'sca_fargate_usage')
|
|
1229
|
+
self.sca_fargate_usage = attributes[:'sca_fargate_usage']
|
|
1230
|
+
end
|
|
1231
|
+
|
|
1204
1232
|
if attributes.key?(:'sds_scanned_bytes_percentage')
|
|
1205
1233
|
self.sds_scanned_bytes_percentage = attributes[:'sds_scanned_bytes_percentage']
|
|
1206
1234
|
end
|
|
@@ -1217,6 +1245,14 @@ module DatadogAPIClient::V1
|
|
|
1217
1245
|
self.serverless_apps_usage = attributes[:'serverless_apps_usage']
|
|
1218
1246
|
end
|
|
1219
1247
|
|
|
1248
|
+
if attributes.key?(:'siem_analyzed_logs_add_on_percentage')
|
|
1249
|
+
self.siem_analyzed_logs_add_on_percentage = attributes[:'siem_analyzed_logs_add_on_percentage']
|
|
1250
|
+
end
|
|
1251
|
+
|
|
1252
|
+
if attributes.key?(:'siem_analyzed_logs_add_on_usage')
|
|
1253
|
+
self.siem_analyzed_logs_add_on_usage = attributes[:'siem_analyzed_logs_add_on_usage']
|
|
1254
|
+
end
|
|
1255
|
+
|
|
1220
1256
|
if attributes.key?(:'siem_ingested_bytes_percentage')
|
|
1221
1257
|
self.siem_ingested_bytes_percentage = attributes[:'siem_ingested_bytes_percentage']
|
|
1222
1258
|
end
|
|
@@ -1384,10 +1420,14 @@ module DatadogAPIClient::V1
|
|
|
1384
1420
|
rum_browser_mobile_sessions_usage == o.rum_browser_mobile_sessions_usage &&
|
|
1385
1421
|
rum_replay_sessions_percentage == o.rum_replay_sessions_percentage &&
|
|
1386
1422
|
rum_replay_sessions_usage == o.rum_replay_sessions_usage &&
|
|
1423
|
+
sca_fargate_percentage == o.sca_fargate_percentage &&
|
|
1424
|
+
sca_fargate_usage == o.sca_fargate_usage &&
|
|
1387
1425
|
sds_scanned_bytes_percentage == o.sds_scanned_bytes_percentage &&
|
|
1388
1426
|
sds_scanned_bytes_usage == o.sds_scanned_bytes_usage &&
|
|
1389
1427
|
serverless_apps_percentage == o.serverless_apps_percentage &&
|
|
1390
1428
|
serverless_apps_usage == o.serverless_apps_usage &&
|
|
1429
|
+
siem_analyzed_logs_add_on_percentage == o.siem_analyzed_logs_add_on_percentage &&
|
|
1430
|
+
siem_analyzed_logs_add_on_usage == o.siem_analyzed_logs_add_on_usage &&
|
|
1391
1431
|
siem_ingested_bytes_percentage == o.siem_ingested_bytes_percentage &&
|
|
1392
1432
|
siem_ingested_bytes_usage == o.siem_ingested_bytes_usage &&
|
|
1393
1433
|
snmp_percentage == o.snmp_percentage &&
|
|
@@ -1404,7 +1444,7 @@ module DatadogAPIClient::V1
|
|
|
1404
1444
|
# @return [Integer] Hash code
|
|
1405
1445
|
# @!visibility private
|
|
1406
1446
|
def hash
|
|
1407
|
-
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
|
|
1447
|
+
[api_percentage, api_usage, apm_fargate_percentage, apm_fargate_usage, apm_host_percentage, apm_host_usage, apm_usm_percentage, apm_usm_usage, appsec_fargate_percentage, appsec_fargate_usage, appsec_percentage, appsec_usage, asm_serverless_traced_invocations_percentage, asm_serverless_traced_invocations_usage, browser_percentage, browser_usage, ci_pipeline_indexed_spans_percentage, ci_pipeline_indexed_spans_usage, ci_test_indexed_spans_percentage, ci_test_indexed_spans_usage, ci_visibility_itr_percentage, ci_visibility_itr_usage, cloud_siem_percentage, cloud_siem_usage, container_excl_agent_percentage, container_excl_agent_usage, container_percentage, container_usage, cspm_containers_percentage, cspm_containers_usage, cspm_hosts_percentage, cspm_hosts_usage, custom_event_percentage, custom_event_usage, custom_ingested_timeseries_percentage, custom_ingested_timeseries_usage, custom_timeseries_percentage, custom_timeseries_usage, cws_containers_percentage, cws_containers_usage, cws_hosts_percentage, cws_hosts_usage, dbm_hosts_percentage, dbm_hosts_usage, dbm_queries_percentage, dbm_queries_usage, error_tracking_percentage, error_tracking_usage, estimated_indexed_logs_percentage, estimated_indexed_logs_usage, estimated_indexed_spans_percentage, estimated_indexed_spans_usage, estimated_ingested_logs_percentage, estimated_ingested_logs_usage, estimated_ingested_spans_percentage, estimated_ingested_spans_usage, estimated_rum_sessions_percentage, estimated_rum_sessions_usage, fargate_percentage, fargate_usage, functions_percentage, functions_usage, incident_management_monthly_active_users_percentage, incident_management_monthly_active_users_usage, indexed_spans_percentage, indexed_spans_usage, infra_host_percentage, infra_host_usage, ingested_logs_bytes_percentage, ingested_logs_bytes_usage, ingested_spans_bytes_percentage, ingested_spans_bytes_usage, invocations_percentage, invocations_usage, lambda_traced_invocations_percentage, lambda_traced_invocations_usage, logs_indexed_15day_percentage, logs_indexed_15day_usage, logs_indexed_180day_percentage, logs_indexed_180day_usage, logs_indexed_1day_percentage, logs_indexed_1day_usage, logs_indexed_30day_percentage, logs_indexed_30day_usage, logs_indexed_360day_percentage, logs_indexed_360day_usage, logs_indexed_3day_percentage, logs_indexed_3day_usage, logs_indexed_45day_percentage, logs_indexed_45day_usage, logs_indexed_60day_percentage, logs_indexed_60day_usage, logs_indexed_7day_percentage, logs_indexed_7day_usage, logs_indexed_90day_percentage, logs_indexed_90day_usage, logs_indexed_custom_retention_percentage, logs_indexed_custom_retention_usage, mobile_app_testing_percentage, mobile_app_testing_usage, ndm_netflow_percentage, ndm_netflow_usage, npm_host_percentage, npm_host_usage, obs_pipeline_bytes_percentage, obs_pipeline_bytes_usage, obs_pipelines_vcpu_percentage, obs_pipelines_vcpu_usage, online_archive_percentage, online_archive_usage, profiled_container_percentage, profiled_container_usage, profiled_fargate_percentage, profiled_fargate_usage, profiled_host_percentage, profiled_host_usage, rum_browser_mobile_sessions_percentage, rum_browser_mobile_sessions_usage, rum_replay_sessions_percentage, rum_replay_sessions_usage, sca_fargate_percentage, sca_fargate_usage, sds_scanned_bytes_percentage, sds_scanned_bytes_usage, serverless_apps_percentage, serverless_apps_usage, siem_analyzed_logs_add_on_percentage, siem_analyzed_logs_add_on_usage, siem_ingested_bytes_percentage, siem_ingested_bytes_usage, snmp_percentage, snmp_usage, universal_service_monitoring_percentage, universal_service_monitoring_usage, vuln_management_hosts_percentage, vuln_management_hosts_usage, workflow_executions_percentage, workflow_executions_usage].hash
|
|
1408
1448
|
end
|
|
1409
1449
|
end
|
|
1410
1450
|
end
|
|
@@ -25,7 +25,7 @@ module DatadogAPIClient::V1
|
|
|
25
25
|
attr_reader :password
|
|
26
26
|
|
|
27
27
|
# The type of basic authentication to use when performing the test.
|
|
28
|
-
|
|
28
|
+
attr_reader :type
|
|
29
29
|
|
|
30
30
|
# Username to use for the digest authentication.
|
|
31
31
|
attr_reader :username
|
|
@@ -84,6 +84,7 @@ module DatadogAPIClient::V1
|
|
|
84
84
|
# @!visibility private
|
|
85
85
|
def valid?
|
|
86
86
|
return false if @password.nil?
|
|
87
|
+
return false if @type.nil?
|
|
87
88
|
return false if @username.nil?
|
|
88
89
|
true
|
|
89
90
|
end
|
|
@@ -98,6 +99,16 @@ module DatadogAPIClient::V1
|
|
|
98
99
|
@password = password
|
|
99
100
|
end
|
|
100
101
|
|
|
102
|
+
# Custom attribute writer method with validation
|
|
103
|
+
# @param type [Object] Object to be assigned
|
|
104
|
+
# @!visibility private
|
|
105
|
+
def type=(type)
|
|
106
|
+
if type.nil?
|
|
107
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
|
108
|
+
end
|
|
109
|
+
@type = type
|
|
110
|
+
end
|
|
111
|
+
|
|
101
112
|
# Custom attribute writer method with validation
|
|
102
113
|
# @param username [Object] Object to be assigned
|
|
103
114
|
# @!visibility private
|
|
@@ -43,7 +43,7 @@ module DatadogAPIClient::V1
|
|
|
43
43
|
attr_reader :token_api_authentication
|
|
44
44
|
|
|
45
45
|
# The type of basic authentication to use when performing the test.
|
|
46
|
-
|
|
46
|
+
attr_reader :type
|
|
47
47
|
|
|
48
48
|
# Attribute mapping from ruby-style variable name to JSON key.
|
|
49
49
|
# @!visibility private
|
|
@@ -132,6 +132,7 @@ module DatadogAPIClient::V1
|
|
|
132
132
|
return false if @client_id.nil?
|
|
133
133
|
return false if @client_secret.nil?
|
|
134
134
|
return false if @token_api_authentication.nil?
|
|
135
|
+
return false if @type.nil?
|
|
135
136
|
true
|
|
136
137
|
end
|
|
137
138
|
|
|
@@ -175,6 +176,16 @@ module DatadogAPIClient::V1
|
|
|
175
176
|
@token_api_authentication = token_api_authentication
|
|
176
177
|
end
|
|
177
178
|
|
|
179
|
+
# Custom attribute writer method with validation
|
|
180
|
+
# @param type [Object] Object to be assigned
|
|
181
|
+
# @!visibility private
|
|
182
|
+
def type=(type)
|
|
183
|
+
if type.nil?
|
|
184
|
+
fail ArgumentError, 'invalid value for "type", type cannot be nil.'
|
|
185
|
+
end
|
|
186
|
+
@type = type
|
|
187
|
+
end
|
|
188
|
+
|
|
178
189
|
# Checks equality by comparing each attribute.
|
|
179
190
|
# @param o [Object] Object to be compared
|
|
180
191
|
# @!visibility private
|