diff --git a/.apigentools-info b/.apigentools-info index ebd230a8a7..21d6f5112e 100644 --- a/.apigentools-info +++ b/.apigentools-info @@ -4,13 +4,13 @@ "spec_versions": { "v1": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-25 12:25:40.724264", - "spec_repo_commit": "1a77c0b6" + "regenerated": "2023-08-28 20:29:20.630970", + "spec_repo_commit": "0fac706f" }, "v2": { "apigentools_version": "1.6.5", - "regenerated": "2023-08-25 12:25:40.743585", - "spec_repo_commit": "1a77c0b6" + "regenerated": "2023-08-28 20:29:20.644178", + "spec_repo_commit": "0fac706f" } } } \ No newline at end of file diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index dc92232608..fc36d458ae 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -17220,6 +17220,12 @@ components: UsageProfilingHour: description: The number of profiled hosts for each hour for a given organization. properties: + aas_count: + description: Contains the total number of profiled Azure app services reporting + during a given hour. + format: int64 + nullable: true + type: integer avg_container_agent_count: description: Get average number of container agents for that hour. format: int64 @@ -17863,6 +17869,11 @@ components: items: $ref: '#/components/schemas/UsageSummaryDateOrg' type: array + profiling_aas_count_top99p: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current date for all organizations. + format: int64 + type: integer profiling_host_top99p: description: Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. @@ -18293,6 +18304,11 @@ components: date for the given org. format: int64 type: integer + profiling_aas_count_top99p: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current date for all organizations. + format: int64 + type: integer profiling_host_top99p: description: Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. @@ -18755,6 +18771,11 @@ components: months for all organizations. format: int64 type: integer + profiling_aas_count_top99p_sum: + description: Shows the 99th percentile of all profiled Azure app services + over all hours in the current months for all organizations. + format: int64 + type: integer profiling_container_agent_count_avg: description: Shows the average number of profiled containers over all hours in the current months for all organizations. diff --git a/src/datadog_api_client/v1/model/usage_profiling_hour.py b/src/datadog_api_client/v1/model/usage_profiling_hour.py index 76e727817d..1064317bd6 100644 --- a/src/datadog_api_client/v1/model/usage_profiling_hour.py +++ b/src/datadog_api_client/v1/model/usage_profiling_hour.py @@ -19,6 +19,7 @@ class UsageProfilingHour(ModelNormal): @cached_property def openapi_types(_): return { + "aas_count": (int, none_type), "avg_container_agent_count": (int, none_type), "host_count": (int, none_type), "hour": (datetime,), @@ -27,6 +28,7 @@ def openapi_types(_): } attribute_map = { + "aas_count": "aas_count", "avg_container_agent_count": "avg_container_agent_count", "host_count": "host_count", "hour": "hour", @@ -36,6 +38,7 @@ def openapi_types(_): def __init__( self_, + aas_count: Union[int, none_type, UnsetType] = unset, avg_container_agent_count: Union[int, none_type, UnsetType] = unset, host_count: Union[int, none_type, UnsetType] = unset, hour: Union[datetime, UnsetType] = unset, @@ -46,6 +49,9 @@ def __init__( """ The number of profiled hosts for each hour for a given organization. + :param aas_count: Contains the total number of profiled Azure app services reporting during a given hour. + :type aas_count: int, none_type, optional + :param avg_container_agent_count: Get average number of container agents for that hour. :type avg_container_agent_count: int, none_type, optional @@ -61,6 +67,8 @@ def __init__( :param public_id: The organization public ID. :type public_id: str, optional """ + if aas_count is not unset: + kwargs["aas_count"] = aas_count if avg_container_agent_count is not unset: kwargs["avg_container_agent_count"] = avg_container_agent_count if host_count is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_date.py b/src/datadog_api_client/v1/model/usage_summary_date.py index 0850f1317f..4dd3e548e1 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date.py +++ b/src/datadog_api_client/v1/model/usage_summary_date.py @@ -90,6 +90,7 @@ def openapi_types(_): "opentelemetry_apm_host_top99p": (int,), "opentelemetry_host_top99p": (int,), "orgs": ([UsageSummaryDateOrg],), + "profiling_aas_count_top99p": (int,), "profiling_host_top99p": (int,), "rum_browser_and_mobile_session_count": (int,), "rum_session_count_sum": (int,), @@ -178,6 +179,7 @@ def openapi_types(_): "opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p": "opentelemetry_host_top99p", "orgs": "orgs", + "profiling_aas_count_top99p": "profiling_aas_count_top99p", "profiling_host_top99p": "profiling_host_top99p", "rum_browser_and_mobile_session_count": "rum_browser_and_mobile_session_count", "rum_session_count_sum": "rum_session_count_sum", @@ -267,6 +269,7 @@ def __init__( opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset, opentelemetry_host_top99p: Union[int, UnsetType] = unset, orgs: Union[List[UsageSummaryDateOrg], UnsetType] = unset, + profiling_aas_count_top99p: Union[int, UnsetType] = unset, profiling_host_top99p: Union[int, UnsetType] = unset, rum_browser_and_mobile_session_count: Union[int, UnsetType] = unset, rum_session_count_sum: Union[int, UnsetType] = unset, @@ -489,6 +492,9 @@ def __init__( :param orgs: Organizations associated with a user. :type orgs: [UsageSummaryDateOrg], optional + :param profiling_aas_count_top99p: Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations. + :type profiling_aas_count_top99p: int, optional + :param profiling_host_top99p: Shows the 99th percentile of all profiled hosts over all hours in the current date for all organizations. :type profiling_host_top99p: int, optional @@ -678,6 +684,8 @@ def __init__( kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p if orgs is not unset: kwargs["orgs"] = orgs + if profiling_aas_count_top99p is not unset: + kwargs["profiling_aas_count_top99p"] = profiling_aas_count_top99p if profiling_host_top99p is not unset: kwargs["profiling_host_top99p"] = profiling_host_top99p if rum_browser_and_mobile_session_count is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_date_org.py b/src/datadog_api_client/v1/model/usage_summary_date_org.py index 15ca9a3d0f..4743008ee2 100644 --- a/src/datadog_api_client/v1/model/usage_summary_date_org.py +++ b/src/datadog_api_client/v1/model/usage_summary_date_org.py @@ -83,6 +83,7 @@ def openapi_types(_): "online_archive_events_count_sum": (int,), "opentelemetry_apm_host_top99p": (int,), "opentelemetry_host_top99p": (int,), + "profiling_aas_count_top99p": (int,), "profiling_host_top99p": (int,), "public_id": (str,), "region": (str,), @@ -173,6 +174,7 @@ def openapi_types(_): "online_archive_events_count_sum": "online_archive_events_count_sum", "opentelemetry_apm_host_top99p": "opentelemetry_apm_host_top99p", "opentelemetry_host_top99p": "opentelemetry_host_top99p", + "profiling_aas_count_top99p": "profiling_aas_count_top99p", "profiling_host_top99p": "profiling_host_top99p", "public_id": "public_id", "region": "region", @@ -264,6 +266,7 @@ def __init__( online_archive_events_count_sum: Union[int, UnsetType] = unset, opentelemetry_apm_host_top99p: Union[int, UnsetType] = unset, opentelemetry_host_top99p: Union[int, UnsetType] = unset, + profiling_aas_count_top99p: Union[int, UnsetType] = unset, profiling_host_top99p: Union[int, UnsetType] = unset, public_id: Union[str, UnsetType] = unset, region: Union[str, UnsetType] = unset, @@ -488,6 +491,9 @@ def __init__( :param opentelemetry_host_top99p: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current date for the given org. :type opentelemetry_host_top99p: int, optional + :param profiling_aas_count_top99p: Shows the 99th percentile of all profiled Azure app services over all hours in the current date for all organizations. + :type profiling_aas_count_top99p: int, optional + :param profiling_host_top99p: Shows the 99th percentile of all profiled hosts over all hours in the current date for the given org. :type profiling_host_top99p: int, optional @@ -683,6 +689,8 @@ def __init__( kwargs["opentelemetry_apm_host_top99p"] = opentelemetry_apm_host_top99p if opentelemetry_host_top99p is not unset: kwargs["opentelemetry_host_top99p"] = opentelemetry_host_top99p + if profiling_aas_count_top99p is not unset: + kwargs["profiling_aas_count_top99p"] = profiling_aas_count_top99p if profiling_host_top99p is not unset: kwargs["profiling_host_top99p"] = profiling_host_top99p if public_id is not unset: diff --git a/src/datadog_api_client/v1/model/usage_summary_response.py b/src/datadog_api_client/v1/model/usage_summary_response.py index d00ad66f9c..ed3ad6462b 100644 --- a/src/datadog_api_client/v1/model/usage_summary_response.py +++ b/src/datadog_api_client/v1/model/usage_summary_response.py @@ -96,6 +96,7 @@ def openapi_types(_): "online_archive_events_count_agg_sum": (int,), "opentelemetry_apm_host_top99p_sum": (int,), "opentelemetry_host_top99p_sum": (int,), + "profiling_aas_count_top99p_sum": (int,), "profiling_container_agent_count_avg": (int,), "profiling_host_count_top99p_sum": (int,), "rehydrated_indexed_events_agg_sum": (int,), @@ -193,6 +194,7 @@ def openapi_types(_): "online_archive_events_count_agg_sum": "online_archive_events_count_agg_sum", "opentelemetry_apm_host_top99p_sum": "opentelemetry_apm_host_top99p_sum", "opentelemetry_host_top99p_sum": "opentelemetry_host_top99p_sum", + "profiling_aas_count_top99p_sum": "profiling_aas_count_top99p_sum", "profiling_container_agent_count_avg": "profiling_container_agent_count_avg", "profiling_host_count_top99p_sum": "profiling_host_count_top99p_sum", "rehydrated_indexed_events_agg_sum": "rehydrated_indexed_events_agg_sum", @@ -291,6 +293,7 @@ def __init__( online_archive_events_count_agg_sum: Union[int, UnsetType] = unset, opentelemetry_apm_host_top99p_sum: Union[int, UnsetType] = unset, opentelemetry_host_top99p_sum: Union[int, UnsetType] = unset, + profiling_aas_count_top99p_sum: Union[int, UnsetType] = unset, profiling_container_agent_count_avg: Union[int, UnsetType] = unset, profiling_host_count_top99p_sum: Union[int, UnsetType] = unset, rehydrated_indexed_events_agg_sum: Union[int, UnsetType] = unset, @@ -530,6 +533,9 @@ def __init__( :param opentelemetry_host_top99p_sum: Shows the 99th percentile of all hosts reported by the Datadog exporter for the OpenTelemetry Collector over all hours in the current months for all organizations. :type opentelemetry_host_top99p_sum: int, optional + :param profiling_aas_count_top99p_sum: Shows the 99th percentile of all profiled Azure app services over all hours in the current months for all organizations. + :type profiling_aas_count_top99p_sum: int, optional + :param profiling_container_agent_count_avg: Shows the average number of profiled containers over all hours in the current months for all organizations. :type profiling_container_agent_count_avg: int, optional @@ -744,6 +750,8 @@ def __init__( kwargs["opentelemetry_apm_host_top99p_sum"] = opentelemetry_apm_host_top99p_sum if opentelemetry_host_top99p_sum is not unset: kwargs["opentelemetry_host_top99p_sum"] = opentelemetry_host_top99p_sum + if profiling_aas_count_top99p_sum is not unset: + kwargs["profiling_aas_count_top99p_sum"] = profiling_aas_count_top99p_sum if profiling_container_agent_count_avg is not unset: kwargs["profiling_container_agent_count_avg"] = profiling_container_agent_count_avg if profiling_host_count_top99p_sum is not unset: