datadog_api_client 2.37.0 → 2.39.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/.generated-info +4 -0
- data/.generator/schemas/v1/openapi.yaml +513 -14
- data/.generator/schemas/v2/openapi.yaml +2101 -107
- data/.github/workflows/approved_status.yml +1 -0
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +36 -0
- data/examples/v1/dashboards/CreateDashboard_1751391372.rb +41 -0
- data/examples/v1/dashboards/CreatePublicDashboard_1668947073.rb +28 -0
- data/examples/v1/dashboards/UpdatePublicDashboard_1708268778.rb +27 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_1248402480.rb +25 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_1267211320.rb +27 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_1271012410.rb +25 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_3314493032.rb +26 -0
- data/examples/v1/logs-pipelines/CreateLogsPipeline_3934594739.rb +26 -0
- data/examples/v1/synthetics/SearchTests.rb +5 -0
- data/examples/v1/synthetics/SearchTests_195957771.rb +13 -0
- data/examples/v2/action-connection/GetAppKeyRegistration.rb +5 -0
- data/examples/v2/action-connection/ListAppKeyRegistrations.rb +5 -0
- data/examples/v2/action-connection/RegisterAppKey.rb +5 -0
- data/examples/v2/action-connection/UnregisterAppKey.rb +5 -0
- data/examples/v2/aws-integration/GetAWSIntegrationIAMPermissions.rb +5 -0
- data/examples/v2/cloud-cost-management/CreateCostGCPUsageCostConfig.rb +19 -0
- data/examples/v2/cloud-cost-management/DeleteCostGCPUsageCostConfig.rb +5 -0
- data/examples/v2/cloud-cost-management/ListCostGCPUsageCostConfigs.rb +5 -0
- data/examples/v2/cloud-cost-management/UpdateCostGCPUsageCostConfig.rb +14 -0
- data/examples/v2/datasets/CreateDataset.rb +27 -0
- data/examples/v2/datasets/DeleteDataset.rb +5 -0
- data/examples/v2/datasets/GetAllDatasets.rb +5 -0
- data/examples/v2/datasets/GetDataset.rb +5 -0
- data/examples/v2/events/CreateEvent.rb +4 -2
- data/examples/v2/monitors/CreateMonitorNotificationRule.rb +0 -3
- data/examples/v2/monitors/CreateMonitorUserTemplate.rb +37 -0
- data/examples/v2/monitors/DeleteMonitorNotificationRule.rb +0 -3
- data/examples/v2/monitors/DeleteMonitorUserTemplate.rb +8 -0
- data/examples/v2/monitors/GetMonitorNotificationRule.rb +0 -3
- data/examples/v2/monitors/GetMonitorNotificationRules.rb +0 -3
- data/examples/v2/monitors/GetMonitorUserTemplate.rb +11 -0
- data/examples/v2/monitors/ListMonitorUserTemplates.rb +8 -0
- data/examples/v2/monitors/UpdateMonitorNotificationRule.rb +0 -3
- data/examples/v2/monitors/UpdateMonitorUserTemplate.rb +41 -0
- data/examples/v2/monitors/ValidateExistingMonitorUserTemplate.rb +41 -0
- data/examples/v2/monitors/ValidateMonitorUserTemplate.rb +37 -0
- data/examples/v2/on-call/UpdateOnCallSchedule.rb +1 -1
- data/examples/v2/security-monitoring/ListAssetsSBOMs.rb +12 -0
- data/lib/datadog_api_client/configuration.rb +60 -5
- data/lib/datadog_api_client/inflector.rb +70 -0
- data/lib/datadog_api_client/v1/api/hosts_api.rb +1 -0
- data/lib/datadog_api_client/v1/api/synthetics_api.rb +72 -0
- data/lib/datadog_api_client/v1/api/usage_metering_api.rb +6 -6
- data/lib/datadog_api_client/v1/models/dashboard_template_variable.rb +14 -3
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_body.rb +1 -0
- data/lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb +9 -1
- data/lib/datadog_api_client/v1/models/logs_array_processor.rb +168 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation.rb +64 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append.rb +175 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_append_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length.rb +165 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_length_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select.rb +207 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_operation_select_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/logs_array_processor_type.rb +26 -0
- data/lib/datadog_api_client/v1/models/logs_processor.rb +2 -1
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_body.rb +1 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb +14 -0
- data/lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb +142 -1
- data/lib/datadog_api_client/v1/models/selectable_template_variable_items.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_mobile_test.rb +12 -1
- data/lib/datadog_api_client/v1/models/synthetics_step_type.rb +1 -0
- data/lib/datadog_api_client/v1/models/synthetics_test_request.rb +1 -1
- data/lib/datadog_api_client/v1/models/synthetics_test_request_dns_server_port.rb +63 -0
- data/lib/datadog_api_client/v1/models/usage_summary_date.rb +81 -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 +81 -1
- data/lib/datadog_api_client/v2/api/action_connection_api.rb +263 -4
- data/lib/datadog_api_client/v2/api/app_builder_api.rb +8 -8
- data/lib/datadog_api_client/v2/api/aws_integration_api.rb +60 -0
- data/lib/datadog_api_client/v2/api/cloud_cost_management_api.rb +264 -0
- data/lib/datadog_api_client/v2/api/datasets_api.rb +283 -0
- data/lib/datadog_api_client/v2/api/events_api.rb +10 -4
- data/lib/datadog_api_client/v2/api/monitors_api.rb +512 -30
- data/lib/datadog_api_client/v2/api/restriction_policies_api.rb +7 -3
- data/lib/datadog_api_client/v2/api/security_monitoring_api.rb +111 -0
- data/lib/datadog_api_client/v2/api/usage_metering_api.rb +1 -1
- data/lib/datadog_api_client/v2/api/workflow_automation_api.rb +8 -8
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes.rb +145 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items.rb +152 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_links_items_category.rb +28 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_priority.rb +30 -0
- data/lib/datadog_api_client/v2/models/alert_event_custom_attributes_status.rb +28 -0
- data/lib/datadog_api_client/v2/models/app_key_registration_data.rb +133 -0
- data/lib/datadog_api_client/v2/models/app_key_registration_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/asset_attributes.rb +13 -1
- data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response.rb +123 -0
- data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_attributes.rb +125 -0
- data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/aws_integration_iam_permissions_response_data_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes.rb +19 -33
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_author.rb +10 -31
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource.rb +15 -32
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_changed_resource_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items.rb +15 -32
- data/lib/datadog_api_client/v2/models/change_event_custom_attributes_impacted_resources_items_type.rb +1 -1
- data/lib/datadog_api_client/v2/models/dataset.rb +154 -0
- data/lib/datadog_api_client/v2/models/dataset_attributes.rb +197 -0
- data/lib/datadog_api_client/v2/models/dataset_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/dataset_response_multi.rb +125 -0
- data/lib/datadog_api_client/v2/models/dataset_response_single.rb +123 -0
- data/lib/datadog_api_client/v2/models/event_category.rb +2 -1
- data/lib/datadog_api_client/v2/models/event_create_request.rb +32 -3
- data/lib/datadog_api_client/v2/models/event_create_request_payload.rb +20 -2
- data/lib/datadog_api_client/v2/models/event_create_response.rb +3 -3
- data/lib/datadog_api_client/v2/models/event_create_response_attributes.rb +2 -2
- data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/event_create_response_attributes_attributes_evt.rb +14 -4
- data/lib/datadog_api_client/v2/models/event_create_response_payload.rb +15 -5
- data/lib/datadog_api_client/v2/models/event_create_response_payload_links.rb +105 -0
- data/lib/datadog_api_client/v2/models/event_payload.rb +48 -36
- data/lib/datadog_api_client/v2/models/event_payload_attributes.rb +3 -2
- data/lib/datadog_api_client/v2/models/event_payload_integration_id.rb +26 -0
- data/lib/datadog_api_client/v2/models/filters_per_product.rb +150 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config.rb +154 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_attributes.rb +369 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_attributes.rb +123 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_patch_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_attributes.rb +217 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_post_request_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_config_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/gcp_usage_cost_configs_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/get_app_key_registration_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/incident_create_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/incident_response_attributes.rb +11 -1
- data/lib/datadog_api_client/v2/models/job_definition_from_rule.rb +1 -26
- data/lib/datadog_api_client/v2/models/layer_attributes.rb +1 -1
- data/lib/datadog_api_client/v2/models/layer_attributes_interval.rb +1 -1
- data/lib/datadog_api_client/v2/models/list_app_key_registrations_response.rb +117 -0
- data/lib/datadog_api_client/v2/models/list_app_key_registrations_response_meta.rb +115 -0
- data/lib/datadog_api_client/v2/models/list_assets_sbo_ms_response.rb +145 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template.rb +200 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_data.rb +144 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_create_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_list_response.rb +107 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_request_attributes.rb +172 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_resource_type.rb +26 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_attributes.rb +188 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_data.rb +125 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_response_data_with_versions.rb +125 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_template_variables_items.rb +132 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_update_data.rb +165 -0
- data/lib/datadog_api_client/v2/models/monitor_user_template_update_request.rb +123 -0
- data/lib/datadog_api_client/v2/models/register_app_key_response.rb +105 -0
- data/lib/datadog_api_client/v2/models/sbom_attributes.rb +24 -1
- data/lib/datadog_api_client/v2/models/sbom_component.rb +46 -1
- data/lib/datadog_api_client/v2/models/sbom_component_dependency.rb +117 -0
- data/lib/datadog_api_client/v2/models/sbom_component_license.rb +123 -0
- data/lib/datadog_api_client/v2/models/sbom_component_license_license.rb +123 -0
- data/lib/datadog_api_client/v2/models/sbom_component_license_type.rb +33 -0
- data/lib/datadog_api_client/v2/models/sbom_component_property.rb +144 -0
- data/lib/datadog_api_client/v2/models/sbom_component_supplier.rb +123 -0
- data/lib/datadog_api_client/v2/models/sbom_metadata.rb +25 -3
- data/lib/datadog_api_client/v2/models/sbom_metadata_author.rb +105 -0
- data/lib/datadog_api_client/v2/models/schedule_create_request_data_attributes_layers_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/schedule_update_request_data_attributes_layers_items.rb +1 -1
- data/lib/datadog_api_client/v2/models/simple_monitor_user_template.rb +188 -0
- data/lib/datadog_api_client/v2/models/vulnerability_attributes.rb +24 -1
- data/lib/datadog_api_client/version.rb +1 -1
- metadata +103 -2
- data/.apigentools-info +0 -16
@@ -0,0 +1,41 @@
|
|
1
|
+
# Validate an existing monitor user template returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
DatadogAPIClient.configure do |config|
|
5
|
+
config.unstable_operations["v2.validate_existing_monitor_user_template".to_sym] = true
|
6
|
+
end
|
7
|
+
api_instance = DatadogAPIClient::V2::MonitorsAPI.new
|
8
|
+
|
9
|
+
# there is a valid "monitor_user_template" in the system
|
10
|
+
MONITOR_USER_TEMPLATE_DATA_ID = ENV["MONITOR_USER_TEMPLATE_DATA_ID"]
|
11
|
+
|
12
|
+
body = DatadogAPIClient::V2::MonitorUserTemplateUpdateRequest.new({
|
13
|
+
data: DatadogAPIClient::V2::MonitorUserTemplateUpdateData.new({
|
14
|
+
attributes: DatadogAPIClient::V2::MonitorUserTemplateRequestAttributes.new({
|
15
|
+
description: "A description.",
|
16
|
+
monitor_definition: {
|
17
|
+
"message": "A msg.", "name": "A name example-monitor", "query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100", "type": "query alert",
|
18
|
+
},
|
19
|
+
tags: [
|
20
|
+
"integration:Azure",
|
21
|
+
],
|
22
|
+
template_variables: [
|
23
|
+
DatadogAPIClient::V2::MonitorUserTemplateTemplateVariablesItems.new({
|
24
|
+
available_values: [
|
25
|
+
"value1",
|
26
|
+
"value2",
|
27
|
+
],
|
28
|
+
defaults: [
|
29
|
+
"defaultValue",
|
30
|
+
],
|
31
|
+
name: "regionName",
|
32
|
+
tag_key: "datacenter",
|
33
|
+
}),
|
34
|
+
],
|
35
|
+
title: "Postgres DB example-monitor",
|
36
|
+
}),
|
37
|
+
id: MONITOR_USER_TEMPLATE_DATA_ID,
|
38
|
+
type: DatadogAPIClient::V2::MonitorUserTemplateResourceType::MONITOR_USER_TEMPLATE,
|
39
|
+
}),
|
40
|
+
})
|
41
|
+
api_instance.validate_existing_monitor_user_template(MONITOR_USER_TEMPLATE_DATA_ID, body)
|
@@ -0,0 +1,37 @@
|
|
1
|
+
# Validate a monitor user template returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
DatadogAPIClient.configure do |config|
|
5
|
+
config.unstable_operations["v2.validate_monitor_user_template".to_sym] = true
|
6
|
+
end
|
7
|
+
api_instance = DatadogAPIClient::V2::MonitorsAPI.new
|
8
|
+
|
9
|
+
body = DatadogAPIClient::V2::MonitorUserTemplateCreateRequest.new({
|
10
|
+
data: DatadogAPIClient::V2::MonitorUserTemplateCreateData.new({
|
11
|
+
attributes: DatadogAPIClient::V2::MonitorUserTemplateRequestAttributes.new({
|
12
|
+
description: "A description.",
|
13
|
+
monitor_definition: {
|
14
|
+
"message": "A msg.", "name": "A name example-monitor", "query": "avg(last_5m):sum:system.net.bytes_rcvd{host:host0} > 100", "type": "query alert",
|
15
|
+
},
|
16
|
+
tags: [
|
17
|
+
"integration:Azure",
|
18
|
+
],
|
19
|
+
template_variables: [
|
20
|
+
DatadogAPIClient::V2::MonitorUserTemplateTemplateVariablesItems.new({
|
21
|
+
available_values: [
|
22
|
+
"value1",
|
23
|
+
"value2",
|
24
|
+
],
|
25
|
+
defaults: [
|
26
|
+
"defaultValue",
|
27
|
+
],
|
28
|
+
name: "regionName",
|
29
|
+
tag_key: "datacenter",
|
30
|
+
}),
|
31
|
+
],
|
32
|
+
title: "Postgres DB example-monitor",
|
33
|
+
}),
|
34
|
+
type: DatadogAPIClient::V2::MonitorUserTemplateResourceType::MONITOR_USER_TEMPLATE,
|
35
|
+
}),
|
36
|
+
})
|
37
|
+
api_instance.validate_monitor_user_template(body)
|
@@ -23,7 +23,7 @@ body = DatadogAPIClient::V2::ScheduleUpdateRequest.new({
|
|
23
23
|
effective_date: (Time.now + -10 * 86400),
|
24
24
|
end_date: (Time.now + 10 * 86400),
|
25
25
|
interval: DatadogAPIClient::V2::LayerAttributesInterval.new({
|
26
|
-
seconds:
|
26
|
+
seconds: 3600,
|
27
27
|
}),
|
28
28
|
members: [
|
29
29
|
DatadogAPIClient::V2::ScheduleRequestDataAttributesLayersItemsMembersItems.new({
|
@@ -0,0 +1,12 @@
|
|
1
|
+
# List assets SBOMs returns "OK" response
|
2
|
+
|
3
|
+
require "datadog_api_client"
|
4
|
+
DatadogAPIClient.configure do |config|
|
5
|
+
config.unstable_operations["v2.list_assets_sbo_ms".to_sym] = true
|
6
|
+
end
|
7
|
+
api_instance = DatadogAPIClient::V2::SecurityMonitoringAPI.new
|
8
|
+
opts = {
|
9
|
+
filter_package_name: "pandas",
|
10
|
+
filter_asset_type: AssetType::SERVICE,
|
11
|
+
}
|
12
|
+
p api_instance.list_assets_sbo_ms(opts)
|
@@ -201,6 +201,7 @@ module DatadogAPIClient
|
|
201
201
|
"v2.get_historical_job": false,
|
202
202
|
"v2.get_rule_version_history": false,
|
203
203
|
"v2.get_sbom": false,
|
204
|
+
"v2.list_assets_sbo_ms": false,
|
204
205
|
"v2.list_findings": false,
|
205
206
|
"v2.list_historical_jobs": false,
|
206
207
|
"v2.list_vulnerabilities": false,
|
@@ -241,11 +242,13 @@ module DatadogAPIClient
|
|
241
242
|
"v2.list_aws_namespaces": false,
|
242
243
|
"v2.update_aws_account": false,
|
243
244
|
"v2.list_aws_logs_services": false,
|
244
|
-
"v2.
|
245
|
-
"v2.
|
246
|
-
"v2.
|
247
|
-
"v2.
|
248
|
-
"v2.
|
245
|
+
"v2.create_monitor_user_template": false,
|
246
|
+
"v2.delete_monitor_user_template": false,
|
247
|
+
"v2.get_monitor_user_template": false,
|
248
|
+
"v2.list_monitor_user_templates": false,
|
249
|
+
"v2.update_monitor_user_template": false,
|
250
|
+
"v2.validate_existing_monitor_user_template": false,
|
251
|
+
"v2.validate_monitor_user_template": false,
|
249
252
|
"v2.get_aggregated_connections": false,
|
250
253
|
"v2.create_pipeline": false,
|
251
254
|
"v2.delete_pipeline": false,
|
@@ -538,6 +541,58 @@ module DatadogAPIClient
|
|
538
541
|
}
|
539
542
|
}
|
540
543
|
],
|
544
|
+
"v2.create_event": [
|
545
|
+
{
|
546
|
+
url: +"https://{subdomain}.{site}",
|
547
|
+
description: "No description provided",
|
548
|
+
variables: {
|
549
|
+
site: {
|
550
|
+
description: "The regional site for customers.",
|
551
|
+
default_value: "datadoghq.com",
|
552
|
+
enum_values: [
|
553
|
+
"datadoghq.com",
|
554
|
+
"us3.datadoghq.com",
|
555
|
+
"us5.datadoghq.com",
|
556
|
+
"ap1.datadoghq.com",
|
557
|
+
"datadoghq.eu",
|
558
|
+
"ddog-gov.com"
|
559
|
+
]
|
560
|
+
},
|
561
|
+
subdomain: {
|
562
|
+
description: "The subdomain where the API is deployed.",
|
563
|
+
default_value: "event-management-intake",
|
564
|
+
}
|
565
|
+
}
|
566
|
+
},
|
567
|
+
{
|
568
|
+
url: +"{protocol}://{name}",
|
569
|
+
description: "No description provided",
|
570
|
+
variables: {
|
571
|
+
name: {
|
572
|
+
description: "Full site DNS name.",
|
573
|
+
default_value: "event-management-intake.datadoghq.com",
|
574
|
+
},
|
575
|
+
protocol: {
|
576
|
+
description: "The protocol for accessing the API.",
|
577
|
+
default_value: "https",
|
578
|
+
}
|
579
|
+
}
|
580
|
+
},
|
581
|
+
{
|
582
|
+
url: +"https://{subdomain}.{site}",
|
583
|
+
description: "No description provided",
|
584
|
+
variables: {
|
585
|
+
site: {
|
586
|
+
description: "Any Datadog deployment.",
|
587
|
+
default_value: "datadoghq.com",
|
588
|
+
},
|
589
|
+
subdomain: {
|
590
|
+
description: "The subdomain where the API is deployed.",
|
591
|
+
default_value: "event-management-intake",
|
592
|
+
}
|
593
|
+
}
|
594
|
+
}
|
595
|
+
],
|
541
596
|
"v2.submit_log": [
|
542
597
|
{
|
543
598
|
url: +"https://{subdomain}.{site}",
|
@@ -227,6 +227,15 @@ module DatadogAPIClient
|
|
227
227
|
"v1.logs_api_error_response" => "LogsAPIErrorResponse",
|
228
228
|
"v1.logs_arithmetic_processor" => "LogsArithmeticProcessor",
|
229
229
|
"v1.logs_arithmetic_processor_type" => "LogsArithmeticProcessorType",
|
230
|
+
"v1.logs_array_processor" => "LogsArrayProcessor",
|
231
|
+
"v1.logs_array_processor_operation" => "LogsArrayProcessorOperation",
|
232
|
+
"v1.logs_array_processor_operation_append" => "LogsArrayProcessorOperationAppend",
|
233
|
+
"v1.logs_array_processor_operation_append_type" => "LogsArrayProcessorOperationAppendType",
|
234
|
+
"v1.logs_array_processor_operation_length" => "LogsArrayProcessorOperationLength",
|
235
|
+
"v1.logs_array_processor_operation_length_type" => "LogsArrayProcessorOperationLengthType",
|
236
|
+
"v1.logs_array_processor_operation_select" => "LogsArrayProcessorOperationSelect",
|
237
|
+
"v1.logs_array_processor_operation_select_type" => "LogsArrayProcessorOperationSelectType",
|
238
|
+
"v1.logs_array_processor_type" => "LogsArrayProcessorType",
|
230
239
|
"v1.logs_attribute_remapper" => "LogsAttributeRemapper",
|
231
240
|
"v1.logs_attribute_remapper_type" => "LogsAttributeRemapperType",
|
232
241
|
"v1.logs_by_retention" => "LogsByRetention",
|
@@ -711,6 +720,7 @@ module DatadogAPIClient
|
|
711
720
|
"v1.synthetics_test_request_body_type" => "SyntheticsTestRequestBodyType",
|
712
721
|
"v1.synthetics_test_request_certificate" => "SyntheticsTestRequestCertificate",
|
713
722
|
"v1.synthetics_test_request_certificate_item" => "SyntheticsTestRequestCertificateItem",
|
723
|
+
"v1.synthetics_test_request_dns_server_port" => "SyntheticsTestRequestDNSServerPort",
|
714
724
|
"v1.synthetics_test_request_port" => "SyntheticsTestRequestPort",
|
715
725
|
"v1.synthetics_test_request_proxy" => "SyntheticsTestRequestProxy",
|
716
726
|
"v1.synthetics_test_restriction_policy_binding" => "SyntheticsTestRestrictionPolicyBinding",
|
@@ -957,6 +967,11 @@ module DatadogAPIClient
|
|
957
967
|
"v2.active_billing_dimensions_type" => "ActiveBillingDimensionsType",
|
958
968
|
"v2.add_member_team_request" => "AddMemberTeamRequest",
|
959
969
|
"v2.advisory" => "Advisory",
|
970
|
+
"v2.alert_event_custom_attributes" => "AlertEventCustomAttributes",
|
971
|
+
"v2.alert_event_custom_attributes_links_items" => "AlertEventCustomAttributesLinksItems",
|
972
|
+
"v2.alert_event_custom_attributes_links_items_category" => "AlertEventCustomAttributesLinksItemsCategory",
|
973
|
+
"v2.alert_event_custom_attributes_priority" => "AlertEventCustomAttributesPriority",
|
974
|
+
"v2.alert_event_custom_attributes_status" => "AlertEventCustomAttributesStatus",
|
960
975
|
"v2.annotation" => "Annotation",
|
961
976
|
"v2.annotation_display" => "AnnotationDisplay",
|
962
977
|
"v2.annotation_display_bounds" => "AnnotationDisplayBounds",
|
@@ -984,6 +999,8 @@ module DatadogAPIClient
|
|
984
999
|
"v2.app_builder_event_type" => "AppBuilderEventType",
|
985
1000
|
"v2.app_definition_type" => "AppDefinitionType",
|
986
1001
|
"v2.app_deployment_type" => "AppDeploymentType",
|
1002
|
+
"v2.app_key_registration_data" => "AppKeyRegistrationData",
|
1003
|
+
"v2.app_key_registration_data_type" => "AppKeyRegistrationDataType",
|
987
1004
|
"v2.application_key_create_attributes" => "ApplicationKeyCreateAttributes",
|
988
1005
|
"v2.application_key_create_data" => "ApplicationKeyCreateData",
|
989
1006
|
"v2.application_key_create_request" => "ApplicationKeyCreateRequest",
|
@@ -1117,6 +1134,10 @@ module DatadogAPIClient
|
|
1117
1134
|
"v2.aws_cur_configs_response" => "AwsCURConfigsResponse",
|
1118
1135
|
"v2.aws_cur_config_type" => "AwsCURConfigType",
|
1119
1136
|
"v2.aws_integration" => "AWSIntegration",
|
1137
|
+
"v2.aws_integration_iam_permissions_response" => "AWSIntegrationIamPermissionsResponse",
|
1138
|
+
"v2.aws_integration_iam_permissions_response_attributes" => "AWSIntegrationIamPermissionsResponseAttributes",
|
1139
|
+
"v2.aws_integration_iam_permissions_response_data" => "AWSIntegrationIamPermissionsResponseData",
|
1140
|
+
"v2.aws_integration_iam_permissions_response_data_type" => "AWSIntegrationIamPermissionsResponseDataType",
|
1120
1141
|
"v2.aws_integration_type" => "AWSIntegrationType",
|
1121
1142
|
"v2.aws_integration_update" => "AWSIntegrationUpdate",
|
1122
1143
|
"v2.aws_lambda_forwarder_config" => "AWSLambdaForwarderConfig",
|
@@ -1573,6 +1594,11 @@ module DatadogAPIClient
|
|
1573
1594
|
"v2.data_relationships_teams_data_items" => "DataRelationshipsTeamsDataItems",
|
1574
1595
|
"v2.data_relationships_teams_data_items_type" => "DataRelationshipsTeamsDataItemsType",
|
1575
1596
|
"v2.data_scalar_column" => "DataScalarColumn",
|
1597
|
+
"v2.dataset" => "Dataset",
|
1598
|
+
"v2.dataset_attributes" => "DatasetAttributes",
|
1599
|
+
"v2.dataset_create_request" => "DatasetCreateRequest",
|
1600
|
+
"v2.dataset_response_multi" => "DatasetResponseMulti",
|
1601
|
+
"v2.dataset_response_single" => "DatasetResponseSingle",
|
1576
1602
|
"v2.data_transform" => "DataTransform",
|
1577
1603
|
"v2.data_transform_properties" => "DataTransformProperties",
|
1578
1604
|
"v2.data_transform_type" => "DataTransformType",
|
@@ -1779,8 +1805,10 @@ module DatadogAPIClient
|
|
1779
1805
|
"v2.event_create_response_attributes_attributes" => "EventCreateResponseAttributesAttributes",
|
1780
1806
|
"v2.event_create_response_attributes_attributes_evt" => "EventCreateResponseAttributesAttributesEvt",
|
1781
1807
|
"v2.event_create_response_payload" => "EventCreateResponsePayload",
|
1808
|
+
"v2.event_create_response_payload_links" => "EventCreateResponsePayloadLinks",
|
1782
1809
|
"v2.event_payload" => "EventPayload",
|
1783
1810
|
"v2.event_payload_attributes" => "EventPayloadAttributes",
|
1811
|
+
"v2.event_payload_integration_id" => "EventPayloadIntegrationId",
|
1784
1812
|
"v2.event_priority" => "EventPriority",
|
1785
1813
|
"v2.event_response" => "EventResponse",
|
1786
1814
|
"v2.event_response_attributes" => "EventResponseAttributes",
|
@@ -1823,6 +1851,7 @@ module DatadogAPIClient
|
|
1823
1851
|
"v2.fastly_service_response" => "FastlyServiceResponse",
|
1824
1852
|
"v2.fastly_services_response" => "FastlyServicesResponse",
|
1825
1853
|
"v2.fastly_service_type" => "FastlyServiceType",
|
1854
|
+
"v2.filters_per_product" => "FiltersPerProduct",
|
1826
1855
|
"v2.finding" => "Finding",
|
1827
1856
|
"v2.finding_attributes" => "FindingAttributes",
|
1828
1857
|
"v2.finding_evaluation" => "FindingEvaluation",
|
@@ -1855,7 +1884,21 @@ module DatadogAPIClient
|
|
1855
1884
|
"v2.gcpsts_service_accounts_response" => "GCPSTSServiceAccountsResponse",
|
1856
1885
|
"v2.gcpsts_service_account_update_request" => "GCPSTSServiceAccountUpdateRequest",
|
1857
1886
|
"v2.gcpsts_service_account_update_request_data" => "GCPSTSServiceAccountUpdateRequestData",
|
1887
|
+
"v2.gcp_usage_cost_config" => "GCPUsageCostConfig",
|
1888
|
+
"v2.gcp_usage_cost_config_attributes" => "GCPUsageCostConfigAttributes",
|
1889
|
+
"v2.gcp_usage_cost_config_patch_data" => "GCPUsageCostConfigPatchData",
|
1890
|
+
"v2.gcp_usage_cost_config_patch_request" => "GCPUsageCostConfigPatchRequest",
|
1891
|
+
"v2.gcp_usage_cost_config_patch_request_attributes" => "GCPUsageCostConfigPatchRequestAttributes",
|
1892
|
+
"v2.gcp_usage_cost_config_patch_request_type" => "GCPUsageCostConfigPatchRequestType",
|
1893
|
+
"v2.gcp_usage_cost_config_post_data" => "GCPUsageCostConfigPostData",
|
1894
|
+
"v2.gcp_usage_cost_config_post_request" => "GCPUsageCostConfigPostRequest",
|
1895
|
+
"v2.gcp_usage_cost_config_post_request_attributes" => "GCPUsageCostConfigPostRequestAttributes",
|
1896
|
+
"v2.gcp_usage_cost_config_post_request_type" => "GCPUsageCostConfigPostRequestType",
|
1897
|
+
"v2.gcp_usage_cost_config_response" => "GCPUsageCostConfigResponse",
|
1898
|
+
"v2.gcp_usage_cost_configs_response" => "GCPUsageCostConfigsResponse",
|
1899
|
+
"v2.gcp_usage_cost_config_type" => "GCPUsageCostConfigType",
|
1858
1900
|
"v2.get_action_connection_response" => "GetActionConnectionResponse",
|
1901
|
+
"v2.get_app_key_registration_response" => "GetAppKeyRegistrationResponse",
|
1859
1902
|
"v2.get_app_response" => "GetAppResponse",
|
1860
1903
|
"v2.get_app_response_data" => "GetAppResponseData",
|
1861
1904
|
"v2.get_app_response_data_attributes" => "GetAppResponseDataAttributes",
|
@@ -2092,6 +2135,8 @@ module DatadogAPIClient
|
|
2092
2135
|
"v2.list_apis_response_data_attributes" => "ListAPIsResponseDataAttributes",
|
2093
2136
|
"v2.list_apis_response_meta" => "ListAPIsResponseMeta",
|
2094
2137
|
"v2.list_apis_response_meta_pagination" => "ListAPIsResponseMetaPagination",
|
2138
|
+
"v2.list_app_key_registrations_response" => "ListAppKeyRegistrationsResponse",
|
2139
|
+
"v2.list_app_key_registrations_response_meta" => "ListAppKeyRegistrationsResponseMeta",
|
2095
2140
|
"v2.list_application_keys_response" => "ListApplicationKeysResponse",
|
2096
2141
|
"v2.list_apps_response" => "ListAppsResponse",
|
2097
2142
|
"v2.list_apps_response_data_items" => "ListAppsResponseDataItems",
|
@@ -2099,6 +2144,7 @@ module DatadogAPIClient
|
|
2099
2144
|
"v2.list_apps_response_data_items_relationships" => "ListAppsResponseDataItemsRelationships",
|
2100
2145
|
"v2.list_apps_response_meta" => "ListAppsResponseMeta",
|
2101
2146
|
"v2.list_apps_response_meta_page" => "ListAppsResponseMetaPage",
|
2147
|
+
"v2.list_assets_sbo_ms_response" => "ListAssetsSBOMsResponse",
|
2102
2148
|
"v2.list_devices_response" => "ListDevicesResponse",
|
2103
2149
|
"v2.list_devices_response_metadata" => "ListDevicesResponseMetadata",
|
2104
2150
|
"v2.list_devices_response_metadata_page" => "ListDevicesResponseMetadataPage",
|
@@ -2363,6 +2409,20 @@ module DatadogAPIClient
|
|
2363
2409
|
"v2.monitor_trigger" => "MonitorTrigger",
|
2364
2410
|
"v2.monitor_trigger_wrapper" => "MonitorTriggerWrapper",
|
2365
2411
|
"v2.monitor_type" => "MonitorType",
|
2412
|
+
"v2.monitor_user_template" => "MonitorUserTemplate",
|
2413
|
+
"v2.monitor_user_template_create_data" => "MonitorUserTemplateCreateData",
|
2414
|
+
"v2.monitor_user_template_create_request" => "MonitorUserTemplateCreateRequest",
|
2415
|
+
"v2.monitor_user_template_create_response" => "MonitorUserTemplateCreateResponse",
|
2416
|
+
"v2.monitor_user_template_list_response" => "MonitorUserTemplateListResponse",
|
2417
|
+
"v2.monitor_user_template_request_attributes" => "MonitorUserTemplateRequestAttributes",
|
2418
|
+
"v2.monitor_user_template_resource_type" => "MonitorUserTemplateResourceType",
|
2419
|
+
"v2.monitor_user_template_response" => "MonitorUserTemplateResponse",
|
2420
|
+
"v2.monitor_user_template_response_attributes" => "MonitorUserTemplateResponseAttributes",
|
2421
|
+
"v2.monitor_user_template_response_data" => "MonitorUserTemplateResponseData",
|
2422
|
+
"v2.monitor_user_template_response_data_with_versions" => "MonitorUserTemplateResponseDataWithVersions",
|
2423
|
+
"v2.monitor_user_template_template_variables_items" => "MonitorUserTemplateTemplateVariablesItems",
|
2424
|
+
"v2.monitor_user_template_update_data" => "MonitorUserTemplateUpdateData",
|
2425
|
+
"v2.monitor_user_template_update_request" => "MonitorUserTemplateUpdateRequest",
|
2366
2426
|
"v2.monthly_cost_attribution_attributes" => "MonthlyCostAttributionAttributes",
|
2367
2427
|
"v2.monthly_cost_attribution_body" => "MonthlyCostAttributionBody",
|
2368
2428
|
"v2.monthly_cost_attribution_meta" => "MonthlyCostAttributionMeta",
|
@@ -2672,6 +2732,7 @@ module DatadogAPIClient
|
|
2672
2732
|
"v2.query_sort_order" => "QuerySortOrder",
|
2673
2733
|
"v2.readiness_gate" => "ReadinessGate",
|
2674
2734
|
"v2.readiness_gate_threshold_type" => "ReadinessGateThresholdType",
|
2735
|
+
"v2.register_app_key_response" => "RegisterAppKeyResponse",
|
2675
2736
|
"v2.relation_attributes" => "RelationAttributes",
|
2676
2737
|
"v2.relation_entity" => "RelationEntity",
|
2677
2738
|
"v2.relation_include_type" => "RelationIncludeType",
|
@@ -2887,8 +2948,15 @@ module DatadogAPIClient
|
|
2887
2948
|
"v2.sbom" => "SBOM",
|
2888
2949
|
"v2.sbom_attributes" => "SBOMAttributes",
|
2889
2950
|
"v2.sbom_component" => "SBOMComponent",
|
2951
|
+
"v2.sbom_component_dependency" => "SBOMComponentDependency",
|
2952
|
+
"v2.sbom_component_license" => "SBOMComponentLicense",
|
2953
|
+
"v2.sbom_component_license_license" => "SBOMComponentLicenseLicense",
|
2954
|
+
"v2.sbom_component_license_type" => "SBOMComponentLicenseType",
|
2955
|
+
"v2.sbom_component_property" => "SBOMComponentProperty",
|
2956
|
+
"v2.sbom_component_supplier" => "SBOMComponentSupplier",
|
2890
2957
|
"v2.sbom_component_type" => "SBOMComponentType",
|
2891
2958
|
"v2.sbom_metadata" => "SBOMMetadata",
|
2959
|
+
"v2.sbom_metadata_author" => "SBOMMetadataAuthor",
|
2892
2960
|
"v2.sbom_metadata_component" => "SBOMMetadataComponent",
|
2893
2961
|
"v2.sbom_type" => "SBOMType",
|
2894
2962
|
"v2.scalar_column" => "ScalarColumn",
|
@@ -3185,6 +3253,7 @@ module DatadogAPIClient
|
|
3185
3253
|
"v2.shift_data_relationships_user_data_type" => "ShiftDataRelationshipsUserDataType",
|
3186
3254
|
"v2.shift_data_type" => "ShiftDataType",
|
3187
3255
|
"v2.shift_included" => "ShiftIncluded",
|
3256
|
+
"v2.simple_monitor_user_template" => "SimpleMonitorUserTemplate",
|
3188
3257
|
"v2.single_aggregated_connection_response_array" => "SingleAggregatedConnectionResponseArray",
|
3189
3258
|
"v2.single_aggregated_connection_response_data" => "SingleAggregatedConnectionResponseData",
|
3190
3259
|
"v2.single_aggregated_connection_response_data_attributes" => "SingleAggregatedConnectionResponseDataAttributes",
|
@@ -3541,6 +3610,7 @@ module DatadogAPIClient
|
|
3541
3610
|
"v2.csm_threats_api" => "CSMThreatsAPI",
|
3542
3611
|
"v2.dashboard_lists_api" => "DashboardListsAPI",
|
3543
3612
|
"v2.data_deletion_api" => "DataDeletionAPI",
|
3613
|
+
"v2.datasets_api" => "DatasetsAPI",
|
3544
3614
|
"v2.domain_allowlist_api" => "DomainAllowlistAPI",
|
3545
3615
|
"v2.dora_metrics_api" => "DORAMetricsAPI",
|
3546
3616
|
"v2.downtimes_api" => "DowntimesAPI",
|
@@ -100,6 +100,7 @@ module DatadogAPIClient::V1
|
|
100
100
|
# Hosts live within the past 3 hours are included by default.
|
101
101
|
# Retention is 7 days.
|
102
102
|
# Results are paginated with a max of 1000 results at a time.
|
103
|
+
# **Note:** If the host is an Amazon EC2 instance, `id` is replaced with `aws_id` in the response.
|
103
104
|
#
|
104
105
|
# @param opts [Hash] the optional parameters
|
105
106
|
# @option opts [String] :filter String to filter search results.
|
@@ -1775,6 +1775,78 @@ module DatadogAPIClient::V1
|
|
1775
1775
|
return data, status_code, headers
|
1776
1776
|
end
|
1777
1777
|
|
1778
|
+
# Search Synthetic tests.
|
1779
|
+
#
|
1780
|
+
# @see #search_tests_with_http_info
|
1781
|
+
def search_tests(opts = {})
|
1782
|
+
data, _status_code, _headers = search_tests_with_http_info(opts)
|
1783
|
+
data
|
1784
|
+
end
|
1785
|
+
|
1786
|
+
# Search Synthetic tests.
|
1787
|
+
#
|
1788
|
+
# Search for Synthetic tests and Test Suites.
|
1789
|
+
#
|
1790
|
+
# @param opts [Hash] the optional parameters
|
1791
|
+
# @option opts [Boolean] :include_full_config If true, include the full configuration for each test in the response.
|
1792
|
+
# @option opts [Boolean] :search_suites If true, returns suites instead of tests.
|
1793
|
+
# @option opts [Boolean] :facets_only If true, return only facets instead of full test details.
|
1794
|
+
# @option opts [Integer] :start The offset from which to start returning results.
|
1795
|
+
# @option opts [Integer] :count The maximum number of results to return.
|
1796
|
+
# @option opts [String] :sort The sort order for the results (e.g., 'name,asc' or 'name,desc').
|
1797
|
+
# @return [Array<(SyntheticsListTestsResponse, Integer, Hash)>] SyntheticsListTestsResponse data, response status code and response headers
|
1798
|
+
def search_tests_with_http_info(opts = {})
|
1799
|
+
|
1800
|
+
if @api_client.config.debugging
|
1801
|
+
@api_client.config.logger.debug 'Calling API: SyntheticsAPI.search_tests ...'
|
1802
|
+
end
|
1803
|
+
# resource path
|
1804
|
+
local_var_path = '/api/v1/synthetics/tests/search'
|
1805
|
+
|
1806
|
+
# query parameters
|
1807
|
+
query_params = opts[:query_params] || {}
|
1808
|
+
query_params[:'include_full_config'] = opts[:'include_full_config'] if !opts[:'include_full_config'].nil?
|
1809
|
+
query_params[:'search_suites'] = opts[:'search_suites'] if !opts[:'search_suites'].nil?
|
1810
|
+
query_params[:'facets_only'] = opts[:'facets_only'] if !opts[:'facets_only'].nil?
|
1811
|
+
query_params[:'start'] = opts[:'start'] if !opts[:'start'].nil?
|
1812
|
+
query_params[:'count'] = opts[:'count'] if !opts[:'count'].nil?
|
1813
|
+
query_params[:'sort'] = opts[:'sort'] if !opts[:'sort'].nil?
|
1814
|
+
|
1815
|
+
# header parameters
|
1816
|
+
header_params = opts[:header_params] || {}
|
1817
|
+
# HTTP header 'Accept' (if needed)
|
1818
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
1819
|
+
|
1820
|
+
# form parameters
|
1821
|
+
form_params = opts[:form_params] || {}
|
1822
|
+
|
1823
|
+
# http body (model)
|
1824
|
+
post_body = opts[:debug_body]
|
1825
|
+
|
1826
|
+
# return_type
|
1827
|
+
return_type = opts[:debug_return_type] || 'SyntheticsListTestsResponse'
|
1828
|
+
|
1829
|
+
# auth_names
|
1830
|
+
auth_names = opts[:debug_auth_names] || [:apiKeyAuth, :appKeyAuth, :AuthZ]
|
1831
|
+
|
1832
|
+
new_options = opts.merge(
|
1833
|
+
:operation => :search_tests,
|
1834
|
+
:header_params => header_params,
|
1835
|
+
:query_params => query_params,
|
1836
|
+
:form_params => form_params,
|
1837
|
+
:body => post_body,
|
1838
|
+
:auth_names => auth_names,
|
1839
|
+
:return_type => return_type,
|
1840
|
+
:api_version => "V1"
|
1841
|
+
)
|
1842
|
+
|
1843
|
+
data, status_code, headers = @api_client.call_api(Net::HTTP::Get, local_var_path, new_options)
|
1844
|
+
if @api_client.config.debugging
|
1845
|
+
@api_client.config.logger.debug "API called: SyntheticsAPI#search_tests\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
1846
|
+
end
|
1847
|
+
return data, status_code, headers
|
1848
|
+
end
|
1849
|
+
|
1778
1850
|
# Trigger tests from CI/CD pipelines.
|
1779
1851
|
#
|
1780
1852
|
# @see #trigger_ci_tests_with_http_info
|
@@ -131,7 +131,7 @@ module DatadogAPIClient::V1
|
|
131
131
|
# ```
|
132
132
|
#
|
133
133
|
# @param start_hr [Time] Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage beginning at this hour.
|
134
|
-
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve.
|
134
|
+
# @param usage_type [HourlyUsageAttributionUsageType] Usage type to retrieve. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_ingested_spans_usage`.
|
135
135
|
# @param opts [Hash] the optional parameters
|
136
136
|
# @option opts [Time] :end_hr Datetime in ISO-8601 format, UTC, precise to hour: `[YYYY-MM-DDThh]` for usage ending **before** this hour.
|
137
137
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
@@ -152,7 +152,7 @@ module DatadogAPIClient::V1
|
|
152
152
|
fail ArgumentError, "Missing the required parameter 'usage_type' when calling UsageMeteringAPI.get_hourly_usage_attribution"
|
153
153
|
end
|
154
154
|
# verify enum value
|
155
|
-
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'code_security_host_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_fargate_task_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'rum_browser_mobile_sessions_usage', 'rum_replay_sessions_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
155
|
+
allowable_values = ['api_usage', 'apm_fargate_usage', 'apm_host_usage', 'apm_usm_usage', 'appsec_fargate_usage', 'appsec_usage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'ci_pipeline_indexed_spans_usage', 'ci_test_indexed_spans_usage', 'ci_visibility_itr_usage', 'cloud_siem_usage', 'code_security_host_usage', 'container_excl_agent_usage', 'container_usage', 'cspm_containers_usage', 'cspm_hosts_usage', 'custom_event_usage', 'custom_ingested_timeseries_usage', 'custom_timeseries_usage', 'cws_containers_usage', 'cws_fargate_task_usage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_stream_monitoring_usage', 'dbm_hosts_usage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_ingested_spans_usage', 'fargate_usage', 'functions_usage', 'incident_management_monthly_active_users_usage', 'indexed_spans_usage', 'infra_host_usage', 'ingested_logs_bytes_usage', 'ingested_spans_bytes_usage', 'invocations_usage', 'lambda_traced_invocations_usage', 'llm_observability_usage', 'logs_indexed_15day_usage', 'logs_indexed_180day_usage', 'logs_indexed_1day_usage', 'logs_indexed_30day_usage', 'logs_indexed_360day_usage', 'logs_indexed_3day_usage', 'logs_indexed_45day_usage', 'logs_indexed_60day_usage', 'logs_indexed_7day_usage', 'logs_indexed_90day_usage', 'logs_indexed_custom_retention_usage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'npm_host_usage', 'network_device_wireless_usage', 'obs_pipeline_bytes_usage', 'obs_pipelines_vcpu_usage', 'online_archive_usage', 'product_analytics_session_usage', 'profiled_container_usage', 'profiled_fargate_usage', 'profiled_host_usage', 'published_app', 'rum_browser_mobile_sessions_usage', 'rum_ingested_usage', 'rum_investigate_usage', 'rum_replay_sessions_usage', 'rum_session_replay_add_on_usage', 'sca_fargate_usage', 'sds_scanned_bytes_usage', 'serverless_apps_usage', 'siem_analyzed_logs_add_on_usage', 'siem_ingested_bytes_usage', 'snmp_usage', 'universal_service_monitoring_usage', 'vuln_management_hosts_usage', 'workflow_executions_usage']
|
156
156
|
if @api_client.config.client_side_validation && !allowable_values.include?(usage_type)
|
157
157
|
fail ArgumentError, "invalid value for \"usage_type\", must be one of #{allowable_values}"
|
158
158
|
end
|
@@ -455,11 +455,11 @@ module DatadogAPIClient::V1
|
|
455
455
|
# ```
|
456
456
|
#
|
457
457
|
# @param start_month [Time] Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage beginning in this month. Maximum of 15 months ago.
|
458
|
-
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types.
|
458
|
+
# @param fields [MonthlyUsageAttributionSupportedMetrics] Comma-separated list of usage types to return, or `*` for all usage types. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
|
459
459
|
# @param opts [Hash] the optional parameters
|
460
460
|
# @option opts [Time] :end_month Datetime in ISO-8601 format, UTC, precise to month: `[YYYY-MM]` for usage ending this month.
|
461
461
|
# @option opts [UsageSortDirection] :sort_direction The direction to sort by: `[desc, asc]`.
|
462
|
-
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by.
|
462
|
+
# @option opts [MonthlyUsageAttributionSupportedMetrics] :sort_name The field to sort by. The following values have been **deprecated**: `estimated_indexed_spans_usage`, `estimated_indexed_spans_percentage`, `estimated_ingested_spans_usage`, `estimated_ingested_spans_percentage`.
|
463
463
|
# @option opts [String] :tag_breakdown_keys Comma separated list of tag keys used to group usage. If no value is provided the usage will not be broken down by tags. To see which tags are available, look for the value of `tag_config_source` in the API response.
|
464
464
|
# @option opts [String] :next_record_id List following results with a next_record_id provided in the previous query.
|
465
465
|
# @option opts [Boolean] :include_descendants Include child org usage in the response. Defaults to `true`.
|
@@ -478,7 +478,7 @@ module DatadogAPIClient::V1
|
|
478
478
|
fail ArgumentError, "Missing the required parameter 'fields' when calling UsageMeteringAPI.get_monthly_usage_attribution"
|
479
479
|
end
|
480
480
|
# verify enum value
|
481
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'code_security_host_usage', 'code_security_host_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_fargate_task_percentage', 'cws_fargate_task_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
481
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'code_security_host_usage', 'code_security_host_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_fargate_task_percentage', 'cws_fargate_task_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'llm_observability_usage', 'llm_observability_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'network_device_wireless_usage', 'network_device_wireless_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'product_analytics_session_usage', 'product_analytics_session_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'published_app_usage', 'published_app_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_ingested_usage', 'rum_ingested_percentage', 'rum_investigate_usage', 'rum_investigate_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_session_replay_add_on_usage', 'rum_session_replay_add_on_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
482
482
|
if @api_client.config.client_side_validation && !allowable_values.include?(fields)
|
483
483
|
fail ArgumentError, "invalid value for \"fields\", must be one of #{allowable_values}"
|
484
484
|
end
|
@@ -486,7 +486,7 @@ module DatadogAPIClient::V1
|
|
486
486
|
if @api_client.config.client_side_validation && opts[:'sort_direction'] && !allowable_values.include?(opts[:'sort_direction'])
|
487
487
|
fail ArgumentError, "invalid value for \"sort_direction\", must be one of #{allowable_values}"
|
488
488
|
end
|
489
|
-
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'code_security_host_usage', 'code_security_host_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_fargate_task_percentage', 'cws_fargate_task_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
489
|
+
allowable_values = ['api_usage', 'api_percentage', 'apm_fargate_usage', 'apm_fargate_percentage', 'appsec_fargate_usage', 'appsec_fargate_percentage', 'apm_host_usage', 'apm_host_percentage', 'apm_usm_usage', 'apm_usm_percentage', 'appsec_usage', 'appsec_percentage', 'asm_serverless_traced_invocations_usage', 'asm_serverless_traced_invocations_percentage', 'browser_usage', 'browser_percentage', 'ci_visibility_itr_usage', 'ci_visibility_itr_percentage', 'cloud_siem_usage', 'cloud_siem_percentage', 'code_security_host_usage', 'code_security_host_percentage', 'container_excl_agent_usage', 'container_excl_agent_percentage', 'container_usage', 'container_percentage', 'cspm_containers_percentage', 'cspm_containers_usage', 'cspm_hosts_percentage', 'cspm_hosts_usage', 'custom_timeseries_usage', 'custom_timeseries_percentage', 'custom_ingested_timeseries_usage', 'custom_ingested_timeseries_percentage', 'cws_containers_percentage', 'cws_containers_usage', 'cws_fargate_task_percentage', 'cws_fargate_task_usage', 'cws_hosts_percentage', 'cws_hosts_usage', 'data_jobs_monitoring_usage', 'data_jobs_monitoring_percentage', 'data_stream_monitoring_usage', 'data_stream_monitoring_percentage', 'dbm_hosts_percentage', 'dbm_hosts_usage', 'dbm_queries_percentage', 'dbm_queries_usage', 'error_tracking_usage', 'error_tracking_percentage', 'estimated_indexed_spans_usage', 'estimated_indexed_spans_percentage', 'estimated_ingested_spans_usage', 'estimated_ingested_spans_percentage', 'fargate_usage', 'fargate_percentage', 'functions_usage', 'functions_percentage', 'incident_management_monthly_active_users_usage', 'incident_management_monthly_active_users_percentage', 'infra_host_usage', 'infra_host_percentage', 'invocations_usage', 'invocations_percentage', 'lambda_traced_invocations_usage', 'lambda_traced_invocations_percentage', 'llm_observability_usage', 'llm_observability_percentage', 'mobile_app_testing_percentage', 'mobile_app_testing_usage', 'ndm_netflow_usage', 'ndm_netflow_percentage', 'network_device_wireless_usage', 'network_device_wireless_percentage', 'npm_host_usage', 'npm_host_percentage', 'obs_pipeline_bytes_usage', 'obs_pipeline_bytes_percentage', 'obs_pipelines_vcpu_usage', 'obs_pipelines_vcpu_percentage', 'online_archive_usage', 'online_archive_percentage', 'product_analytics_session_usage', 'product_analytics_session_percentage', 'profiled_container_usage', 'profiled_container_percentage', 'profiled_fargate_usage', 'profiled_fargate_percentage', 'profiled_host_usage', 'profiled_host_percentage', 'published_app_usage', 'published_app_percentage', 'serverless_apps_usage', 'serverless_apps_percentage', 'snmp_usage', 'snmp_percentage', 'universal_service_monitoring_usage', 'universal_service_monitoring_percentage', 'vuln_management_hosts_usage', 'vuln_management_hosts_percentage', 'sds_scanned_bytes_usage', 'sds_scanned_bytes_percentage', 'ci_test_indexed_spans_usage', 'ci_test_indexed_spans_percentage', 'ingested_logs_bytes_usage', 'ingested_logs_bytes_percentage', 'ci_pipeline_indexed_spans_usage', 'ci_pipeline_indexed_spans_percentage', 'indexed_spans_usage', 'indexed_spans_percentage', 'custom_event_usage', 'custom_event_percentage', 'logs_indexed_custom_retention_usage', 'logs_indexed_custom_retention_percentage', 'logs_indexed_360day_usage', 'logs_indexed_360day_percentage', 'logs_indexed_180day_usage', 'logs_indexed_180day_percentage', 'logs_indexed_90day_usage', 'logs_indexed_90day_percentage', 'logs_indexed_60day_usage', 'logs_indexed_60day_percentage', 'logs_indexed_45day_usage', 'logs_indexed_45day_percentage', 'logs_indexed_30day_usage', 'logs_indexed_30day_percentage', 'logs_indexed_15day_usage', 'logs_indexed_15day_percentage', 'logs_indexed_7day_usage', 'logs_indexed_7day_percentage', 'logs_indexed_3day_usage', 'logs_indexed_3day_percentage', 'logs_indexed_1day_usage', 'logs_indexed_1day_percentage', 'rum_ingested_usage', 'rum_ingested_percentage', 'rum_investigate_usage', 'rum_investigate_percentage', 'rum_replay_sessions_usage', 'rum_replay_sessions_percentage', 'rum_session_replay_add_on_usage', 'rum_session_replay_add_on_percentage', 'rum_browser_mobile_sessions_usage', 'rum_browser_mobile_sessions_percentage', 'ingested_spans_bytes_usage', 'ingested_spans_bytes_percentage', 'siem_analyzed_logs_add_on_usage', 'siem_analyzed_logs_add_on_percentage', 'siem_ingested_bytes_usage', 'siem_ingested_bytes_percentage', 'workflow_executions_usage', 'workflow_executions_percentage', 'sca_fargate_usage', 'sca_fargate_percentage', '*']
|
490
490
|
if @api_client.config.client_side_validation && opts[:'sort_name'] && !allowable_values.include?(opts[:'sort_name'])
|
491
491
|
fail ArgumentError, "invalid value for \"sort_name\", must be one of #{allowable_values}"
|
492
492
|
end
|
@@ -36,6 +36,9 @@ module DatadogAPIClient::V1
|
|
36
36
|
# The tag prefix associated with the variable. Only tags with this prefix appear in the variable drop-down.
|
37
37
|
attr_accessor :prefix
|
38
38
|
|
39
|
+
# The type of variable. This is to differentiate between filter variables (interpolated in query) and group by variables (interpolated into group by).
|
40
|
+
attr_accessor :type
|
41
|
+
|
39
42
|
attr_accessor :additional_properties
|
40
43
|
|
41
44
|
# Attribute mapping from ruby-style variable name to JSON key.
|
@@ -46,7 +49,8 @@ module DatadogAPIClient::V1
|
|
46
49
|
:'default' => :'default',
|
47
50
|
:'defaults' => :'defaults',
|
48
51
|
:'name' => :'name',
|
49
|
-
:'prefix' => :'prefix'
|
52
|
+
:'prefix' => :'prefix',
|
53
|
+
:'type' => :'type'
|
50
54
|
}
|
51
55
|
end
|
52
56
|
|
@@ -58,7 +62,8 @@ module DatadogAPIClient::V1
|
|
58
62
|
:'default' => :'String',
|
59
63
|
:'defaults' => :'Array<String>',
|
60
64
|
:'name' => :'String',
|
61
|
-
:'prefix' => :'String'
|
65
|
+
:'prefix' => :'String',
|
66
|
+
:'type' => :'String'
|
62
67
|
}
|
63
68
|
end
|
64
69
|
|
@@ -69,6 +74,7 @@ module DatadogAPIClient::V1
|
|
69
74
|
:'available_values',
|
70
75
|
:'default',
|
71
76
|
:'prefix',
|
77
|
+
:'type',
|
72
78
|
])
|
73
79
|
end
|
74
80
|
|
@@ -113,6 +119,10 @@ module DatadogAPIClient::V1
|
|
113
119
|
if attributes.key?(:'prefix')
|
114
120
|
self.prefix = attributes[:'prefix']
|
115
121
|
end
|
122
|
+
|
123
|
+
if attributes.key?(:'type')
|
124
|
+
self.type = attributes[:'type']
|
125
|
+
end
|
116
126
|
end
|
117
127
|
|
118
128
|
# Check to see if the all the properties in the model are valid
|
@@ -164,6 +174,7 @@ module DatadogAPIClient::V1
|
|
164
174
|
defaults == o.defaults &&
|
165
175
|
name == o.name &&
|
166
176
|
prefix == o.prefix &&
|
177
|
+
type == o.type &&
|
167
178
|
additional_properties == o.additional_properties
|
168
179
|
end
|
169
180
|
|
@@ -171,7 +182,7 @@ module DatadogAPIClient::V1
|
|
171
182
|
# @return [Integer] Hash code
|
172
183
|
# @!visibility private
|
173
184
|
def hash
|
174
|
-
[available_values, default, defaults, name, prefix, additional_properties].hash
|
185
|
+
[available_values, default, defaults, name, prefix, type, additional_properties].hash
|
175
186
|
end
|
176
187
|
end
|
177
188
|
end
|