diff --git a/.apigentools-info b/.apigentools-info index 23a33ac3c7..93c889d4e6 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-10 18:55:10.531682", - "spec_repo_commit": "1bd8568a" + "regenerated": "2024-10-10 19:45:55.876636", + "spec_repo_commit": "049920eb" }, "v2": { "apigentools_version": "1.6.6", - "regenerated": "2024-10-10 18:55:10.550210", - "spec_repo_commit": "1bd8568a" + "regenerated": "2024-10-10 19:45:55.894524", + "spec_repo_commit": "049920eb" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index 7c78aee7fd..e2eb404ab4 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -4189,6 +4189,7 @@ components: - cws_containers_usage - cws_hosts_usage - data_jobs_monitoring_usage + - data_stream_monitoring_usage - dbm_hosts_usage - dbm_queries_usage - error_tracking_usage @@ -4263,6 +4264,7 @@ components: - CWS_CONTAINERS_USAGE - CWS_HOSTS_USAGE - DATA_JOBS_MONITORING_USAGE + - DATA_STREAM_MONITORING_USAGE - DBM_HOSTS_USAGE - DBM_QUERIES_USAGE - ERROR_TRACKING_USAGE @@ -7945,6 +7947,8 @@ components: - 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 @@ -8088,6 +8092,8 @@ components: - 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 @@ -8379,6 +8385,10 @@ components: description: The Data Jobs Monitoring usage by tag(s). format: double type: number + data_stream_monitoring_usage: + description: The Data Stream Monitoring usage by tag(s). + format: double + type: number dbm_hosts_percentage: description: The percentage of Database Monitoring host usage by tag(s). format: double diff --git a/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py b/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py index 9876e7ad7b..585571c153 100644 --- a/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py +++ b/src/datadog_api_client/v1/model/hourly_usage_attribution_usage_type.py @@ -16,7 +16,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): """ Supported products for hourly usage attribution requests. - :param value: Must be one of ["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", "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_hosts_usage", "data_jobs_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_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"]. + :param value: Must be one of ["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", "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_hosts_usage", "data_jobs_monitoring_usage", "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_spans_usage", "estimated_ingested_logs_usage", "estimated_ingested_spans_usage", "estimated_rum_sessions_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"]. :type value: str """ @@ -44,6 +44,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): "cws_containers_usage", "cws_hosts_usage", "data_jobs_monitoring_usage", + "data_stream_monitoring_usage", "dbm_hosts_usage", "dbm_queries_usage", "error_tracking_usage", @@ -117,6 +118,7 @@ class HourlyUsageAttributionUsageType(ModelSimple): CWS_CONTAINERS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] CWS_HOSTS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] DATA_JOBS_MONITORING_USAGE: ClassVar["HourlyUsageAttributionUsageType"] + DATA_STREAM_MONITORING_USAGE: ClassVar["HourlyUsageAttributionUsageType"] DBM_HOSTS_USAGE: ClassVar["HourlyUsageAttributionUsageType"] DBM_QUERIES_USAGE: ClassVar["HourlyUsageAttributionUsageType"] ERROR_TRACKING_USAGE: ClassVar["HourlyUsageAttributionUsageType"] @@ -211,6 +213,9 @@ def openapi_types(_): HourlyUsageAttributionUsageType.DATA_JOBS_MONITORING_USAGE = HourlyUsageAttributionUsageType( "data_jobs_monitoring_usage" ) +HourlyUsageAttributionUsageType.DATA_STREAM_MONITORING_USAGE = HourlyUsageAttributionUsageType( + "data_stream_monitoring_usage" +) HourlyUsageAttributionUsageType.DBM_HOSTS_USAGE = HourlyUsageAttributionUsageType("dbm_hosts_usage") HourlyUsageAttributionUsageType.DBM_QUERIES_USAGE = HourlyUsageAttributionUsageType("dbm_queries_usage") HourlyUsageAttributionUsageType.ERROR_TRACKING_USAGE = HourlyUsageAttributionUsageType("error_tracking_usage") diff --git a/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py b/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py index b4b20e28fe..3d8cd94511 100644 --- a/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py +++ b/src/datadog_api_client/v1/model/monthly_usage_attribution_supported_metrics.py @@ -16,7 +16,7 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): """ Supported metrics for monthly usage attribution requests. - :param value: Must be one of ["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", "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_hosts_percentage", "cws_hosts_usage", "data_jobs_monitoring_usage", "data_jobs_monitoring_percentage", "dbm_hosts_percentage", "dbm_hosts_usage", "dbm_queries_percentage", "dbm_queries_usage", "error_tracking_usage", "error_tracking_percentage", "estimated_indexed_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_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", "estimated_rum_sessions_usage", "estimated_rum_sessions_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", "*"]. + :param value: Must be one of ["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", "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_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_logs_usage", "estimated_indexed_logs_percentage", "estimated_ingested_logs_usage", "estimated_ingested_logs_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", "estimated_rum_sessions_usage", "estimated_rum_sessions_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", "*"]. :type value: str """ @@ -59,6 +59,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): "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", @@ -201,6 +203,8 @@ class MonthlyUsageAttributionSupportedMetrics(ModelSimple): CWS_HOSTS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DATA_JOBS_MONITORING_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DATA_JOBS_MONITORING_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] + DATA_STREAM_MONITORING_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] + DATA_STREAM_MONITORING_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_HOSTS_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_HOSTS_USAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] DBM_QUERIES_PERCENTAGE: ClassVar["MonthlyUsageAttributionSupportedMetrics"] @@ -402,6 +406,12 @@ def openapi_types(_): MonthlyUsageAttributionSupportedMetrics.DATA_JOBS_MONITORING_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics( "data_jobs_monitoring_percentage" ) +MonthlyUsageAttributionSupportedMetrics.DATA_STREAM_MONITORING_USAGE = MonthlyUsageAttributionSupportedMetrics( + "data_stream_monitoring_usage" +) +MonthlyUsageAttributionSupportedMetrics.DATA_STREAM_MONITORING_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics( + "data_stream_monitoring_percentage" +) MonthlyUsageAttributionSupportedMetrics.DBM_HOSTS_PERCENTAGE = MonthlyUsageAttributionSupportedMetrics( "dbm_hosts_percentage" ) diff --git a/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py b/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py index 21127d56aa..c49a7fa1ef 100644 --- a/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py +++ b/src/datadog_api_client/v1/model/monthly_usage_attribution_values.py @@ -60,6 +60,7 @@ def openapi_types(_): "cws_hosts_percentage": (float,), "cws_hosts_usage": (float,), "data_jobs_monitoring_usage": (float,), + "data_stream_monitoring_usage": (float,), "dbm_hosts_percentage": (float,), "dbm_hosts_usage": (float,), "dbm_queries_percentage": (float,), @@ -202,6 +203,7 @@ def openapi_types(_): "cws_hosts_percentage": "cws_hosts_percentage", "cws_hosts_usage": "cws_hosts_usage", "data_jobs_monitoring_usage": "data_jobs_monitoring_usage", + "data_stream_monitoring_usage": "data_stream_monitoring_usage", "dbm_hosts_percentage": "dbm_hosts_percentage", "dbm_hosts_usage": "dbm_hosts_usage", "dbm_queries_percentage": "dbm_queries_percentage", @@ -345,6 +347,7 @@ def __init__( cws_hosts_percentage: Union[float, UnsetType] = unset, cws_hosts_usage: Union[float, UnsetType] = unset, data_jobs_monitoring_usage: Union[float, UnsetType] = unset, + data_stream_monitoring_usage: Union[float, UnsetType] = unset, dbm_hosts_percentage: Union[float, UnsetType] = unset, dbm_hosts_usage: Union[float, UnsetType] = unset, dbm_queries_percentage: Union[float, UnsetType] = unset, @@ -575,6 +578,9 @@ def __init__( :param data_jobs_monitoring_usage: The Data Jobs Monitoring usage by tag(s). :type data_jobs_monitoring_usage: float, optional + :param data_stream_monitoring_usage: The Data Stream Monitoring usage by tag(s). + :type data_stream_monitoring_usage: float, optional + :param dbm_hosts_percentage: The percentage of Database Monitoring host usage by tag(s). :type dbm_hosts_percentage: float, optional @@ -949,6 +955,8 @@ def __init__( kwargs["cws_hosts_usage"] = cws_hosts_usage if data_jobs_monitoring_usage is not unset: kwargs["data_jobs_monitoring_usage"] = data_jobs_monitoring_usage + if data_stream_monitoring_usage is not unset: + kwargs["data_stream_monitoring_usage"] = data_stream_monitoring_usage if dbm_hosts_percentage is not unset: kwargs["dbm_hosts_percentage"] = dbm_hosts_percentage if dbm_hosts_usage is not unset: