Skip to content

Commit 823f513

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add UA documentation for new DJM usage_type (#2018)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent d34505c commit 823f513

File tree

6 files changed

+31
-8
lines changed

6 files changed

+31
-8
lines changed

.apigentools-info

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"spec_versions": {
55
"v1": {
66
"apigentools_version": "1.6.6",
7-
"regenerated": "2024-09-30 19:44:25.066972",
8-
"spec_repo_commit": "909e369c"
7+
"regenerated": "2024-10-01 14:24:23.747365",
8+
"spec_repo_commit": "d90ee2ef"
99
},
1010
"v2": {
1111
"apigentools_version": "1.6.6",
12-
"regenerated": "2024-09-30 19:44:25.080968",
13-
"spec_repo_commit": "909e369c"
12+
"regenerated": "2024-10-01 14:24:23.761793",
13+
"spec_repo_commit": "d90ee2ef"
1414
}
1515
}
1616
}

.generator/schemas/v1/openapi.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4182,6 +4182,7 @@ components:
41824182
- custom_timeseries_usage
41834183
- cws_containers_usage
41844184
- cws_hosts_usage
4185+
- data_jobs_monitoring_usage
41854186
- dbm_hosts_usage
41864187
- dbm_queries_usage
41874188
- error_tracking_usage
@@ -4255,6 +4256,7 @@ components:
42554256
- CUSTOM_TIMESERIES_USAGE
42564257
- CWS_CONTAINERS_USAGE
42574258
- CWS_HOSTS_USAGE
4259+
- DATA_JOBS_MONITORING_USAGE
42584260
- DBM_HOSTS_USAGE
42594261
- DBM_QUERIES_USAGE
42604262
- ERROR_TRACKING_USAGE
@@ -7935,6 +7937,8 @@ components:
79357937
- cws_containers_usage
79367938
- cws_hosts_percentage
79377939
- cws_hosts_usage
7940+
- data_jobs_monitoring_usage
7941+
- data_jobs_monitoring_percentage
79387942
- dbm_hosts_percentage
79397943
- dbm_hosts_usage
79407944
- dbm_queries_percentage
@@ -8076,6 +8080,8 @@ components:
80768080
- CWS_CONTAINERS_USAGE
80778081
- CWS_HOSTS_PERCENTAGE
80788082
- CWS_HOSTS_USAGE
8083+
- DATA_JOBS_MONITORING_USAGE
8084+
- DATA_JOBS_MONITORING_PERCENTAGE
80798085
- DBM_HOSTS_PERCENTAGE
80808086
- DBM_HOSTS_USAGE
80818087
- DBM_QUERIES_PERCENTAGE
@@ -8363,6 +8369,10 @@ components:
83638369
description: The Cloud Workload Security host usage by tag(s).
83648370
format: double
83658371
type: number
8372+
data_jobs_monitoring_usage:
8373+
description: The Data Jobs Monitoring usage by tag(s).
8374+
format: double
8375+
type: number
83668376
dbm_hosts_percentage:
83678377
description: The percentage of Database Monitoring host usage by tag(s).
83688378
format: double

lib/datadog_api_client/v1/api/usage_metering_api.rb

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

lib/datadog_api_client/v1/models/hourly_usage_attribution_usage_type.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ class HourlyUsageAttributionUsageType
4343
CUSTOM_TIMESERIES_USAGE = "custom_timeseries_usage".freeze
4444
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
4545
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
46+
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
4647
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
4748
DBM_QUERIES_USAGE = "dbm_queries_usage".freeze
4849
ERROR_TRACKING_USAGE = "error_tracking_usage".freeze

lib/datadog_api_client/v1/models/monthly_usage_attribution_supported_metrics.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ class MonthlyUsageAttributionSupportedMetrics
5757
CWS_CONTAINERS_USAGE = "cws_containers_usage".freeze
5858
CWS_HOSTS_PERCENTAGE = "cws_hosts_percentage".freeze
5959
CWS_HOSTS_USAGE = "cws_hosts_usage".freeze
60+
DATA_JOBS_MONITORING_USAGE = "data_jobs_monitoring_usage".freeze
61+
DATA_JOBS_MONITORING_PERCENTAGE = "data_jobs_monitoring_percentage".freeze
6062
DBM_HOSTS_PERCENTAGE = "dbm_hosts_percentage".freeze
6163
DBM_HOSTS_USAGE = "dbm_hosts_usage".freeze
6264
DBM_QUERIES_PERCENTAGE = "dbm_queries_percentage".freeze

lib/datadog_api_client/v1/models/monthly_usage_attribution_values.rb

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ class MonthlyUsageAttributionValues
147147
# The Cloud Workload Security host usage by tag(s).
148148
attr_accessor :cws_hosts_usage
149149

150+
# The Data Jobs Monitoring usage by tag(s).
151+
attr_accessor :data_jobs_monitoring_usage
152+
150153
# The percentage of Database Monitoring host usage by tag(s).
151154
attr_accessor :dbm_hosts_percentage
152155

@@ -483,6 +486,7 @@ def self.attribute_map
483486
:'cws_containers_usage' => :'cws_containers_usage',
484487
:'cws_hosts_percentage' => :'cws_hosts_percentage',
485488
:'cws_hosts_usage' => :'cws_hosts_usage',
489+
:'data_jobs_monitoring_usage' => :'data_jobs_monitoring_usage',
486490
:'dbm_hosts_percentage' => :'dbm_hosts_percentage',
487491
:'dbm_hosts_usage' => :'dbm_hosts_usage',
488492
:'dbm_queries_percentage' => :'dbm_queries_percentage',
@@ -628,6 +632,7 @@ def self.openapi_types
628632
:'cws_containers_usage' => :'Float',
629633
:'cws_hosts_percentage' => :'Float',
630634
:'cws_hosts_usage' => :'Float',
635+
:'data_jobs_monitoring_usage' => :'Float',
631636
:'dbm_hosts_percentage' => :'Float',
632637
:'dbm_hosts_usage' => :'Float',
633638
:'dbm_queries_percentage' => :'Float',
@@ -913,6 +918,10 @@ def initialize(attributes = {})
913918
self.cws_hosts_usage = attributes[:'cws_hosts_usage']
914919
end
915920

921+
if attributes.key?(:'data_jobs_monitoring_usage')
922+
self.data_jobs_monitoring_usage = attributes[:'data_jobs_monitoring_usage']
923+
end
924+
916925
if attributes.key?(:'dbm_hosts_percentage')
917926
self.dbm_hosts_percentage = attributes[:'dbm_hosts_percentage']
918927
end
@@ -1366,6 +1375,7 @@ def ==(o)
13661375
cws_containers_usage == o.cws_containers_usage &&
13671376
cws_hosts_percentage == o.cws_hosts_percentage &&
13681377
cws_hosts_usage == o.cws_hosts_usage &&
1378+
data_jobs_monitoring_usage == o.data_jobs_monitoring_usage &&
13691379
dbm_hosts_percentage == o.dbm_hosts_percentage &&
13701380
dbm_hosts_usage == o.dbm_hosts_usage &&
13711381
dbm_queries_percentage == o.dbm_queries_percentage &&
@@ -1469,7 +1479,7 @@ def ==(o)
14691479
# @return [Integer] Hash code
14701480
# @!visibility private
14711481
def hash
1472-
[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
1482+
[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, data_jobs_monitoring_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
14731483
end
14741484
end
14751485
end

0 commit comments

Comments
 (0)