Skip to content

Add Cloud Cost And Container Excl Agent Usage Fields #1340

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .apigentools-info
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"spec_versions": {
"v1": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-13 19:39:23.939884",
"spec_repo_commit": "e92a3dde"
"regenerated": "2023-02-13 20:03:57.202739",
"spec_repo_commit": "ca2fb7b8"
},
"v2": {
"apigentools_version": "1.6.4",
"regenerated": "2023-02-13 19:39:23.954474",
"spec_repo_commit": "e92a3dde"
"regenerated": "2023-02-13 20:03:57.220950",
"spec_repo_commit": "ca2fb7b8"
}
}
}
20 changes: 20 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16683,11 +16683,21 @@ components:
over all hours in the current month for all organizations.
format: int64
type: integer
cloud_cost_management_host_count_avg:
description: Host count average of Cloud Cost Management for the given date
and given organization.
format: int64
type: integer
container_avg:
description: Shows the average of all distinct containers over all hours
in the current date for all organizations.
format: int64
type: integer
container_excl_agent_avg:
description: Shows the average of containers without the Datadog Agent over
all hours in the current date for all organizations.
format: int64
type: integer
container_hwm:
description: Shows the high-water mark of all distinct containers over all
hours in the current date for all organizations.
Expand Down Expand Up @@ -17064,6 +17074,11 @@ components:
in the current date for the given org.
format: int64
type: integer
container_excl_agent_avg:
description: Shows the average of containers without the Datadog Agent over
all hours in the current date for the given organization.
format: int64
type: integer
container_hwm:
description: Shows the high-water mark of all distinct containers over all
hours in the current date for the given org.
Expand Down Expand Up @@ -17448,6 +17463,11 @@ components:
in the current months for all organizations.
format: int64
type: integer
container_excl_agent_avg_sum:
description: Shows the average of the containers without the Datadog Agent
over all hours in the current month for all organizations.
format: int64
type: integer
container_hwm_sum:
description: Shows the sum of the high-water marks of all distinct containers
over all hours in the current months for all organizations.
Expand Down
16 changes: 16 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ def openapi_types(_):
"ci_test_indexed_spans_sum": (int,),
"ci_visibility_pipeline_committers_hwm": (int,),
"ci_visibility_test_committers_hwm": (int,),
"cloud_cost_management_host_count_avg": (int,),
"container_avg": (int,),
"container_excl_agent_avg": (int,),
"container_hwm": (int,),
"cspm_aas_host_top99p": (int,),
"cspm_aws_host_top99p": (int,),
Expand Down Expand Up @@ -119,7 +121,9 @@ def openapi_types(_):
"ci_test_indexed_spans_sum": "ci_test_indexed_spans_sum",
"ci_visibility_pipeline_committers_hwm": "ci_visibility_pipeline_committers_hwm",
"ci_visibility_test_committers_hwm": "ci_visibility_test_committers_hwm",
"cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg",
"container_avg": "container_avg",
"container_excl_agent_avg": "container_excl_agent_avg",
"container_hwm": "container_hwm",
"cspm_aas_host_top99p": "cspm_aas_host_top99p",
"cspm_aws_host_top99p": "cspm_aws_host_top99p",
Expand Down Expand Up @@ -196,7 +200,9 @@ def __init__(
ci_test_indexed_spans_sum: Union[int, UnsetType] = unset,
ci_visibility_pipeline_committers_hwm: Union[int, UnsetType] = unset,
ci_visibility_test_committers_hwm: Union[int, UnsetType] = unset,
cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset,
container_avg: Union[int, UnsetType] = unset,
container_excl_agent_avg: Union[int, UnsetType] = unset,
container_hwm: Union[int, UnsetType] = unset,
cspm_aas_host_top99p: Union[int, UnsetType] = unset,
cspm_aws_host_top99p: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -312,9 +318,15 @@ def __init__(
:param ci_visibility_test_committers_hwm: Shows the high-water mark of all CI visibility test committers over all hours in the current month for all organizations.
:type ci_visibility_test_committers_hwm: int, optional

:param cloud_cost_management_host_count_avg: Host count average of Cloud Cost Management for the given date and given organization.
:type cloud_cost_management_host_count_avg: int, optional

:param container_avg: Shows the average of all distinct containers over all hours in the current date for all organizations.
:type container_avg: int, optional

:param container_excl_agent_avg: Shows the average of containers without the Datadog Agent over all hours in the current date for all organizations.
:type container_excl_agent_avg: int, optional

:param container_hwm: Shows the high-water mark of all distinct containers over all hours in the current date for all organizations.
:type container_hwm: int, optional

Expand Down Expand Up @@ -512,8 +524,12 @@ def __init__(
kwargs["ci_visibility_pipeline_committers_hwm"] = ci_visibility_pipeline_committers_hwm
if ci_visibility_test_committers_hwm is not unset:
kwargs["ci_visibility_test_committers_hwm"] = ci_visibility_test_committers_hwm
if cloud_cost_management_host_count_avg is not unset:
kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg
if container_avg is not unset:
kwargs["container_avg"] = container_avg
if container_excl_agent_avg is not unset:
kwargs["container_excl_agent_avg"] = container_excl_agent_avg
if container_hwm is not unset:
kwargs["container_hwm"] = container_hwm
if cspm_aas_host_top99p is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_date_org.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def openapi_types(_):
"ci_visibility_test_committers_hwm": (int,),
"cloud_cost_management_host_count_avg": (int,),
"container_avg": (int,),
"container_excl_agent_avg": (int,),
"container_hwm": (int,),
"cspm_aas_host_top99p": (int,),
"cspm_aws_host_top99p": (int,),
Expand Down Expand Up @@ -117,6 +118,7 @@ def openapi_types(_):
"ci_visibility_test_committers_hwm": "ci_visibility_test_committers_hwm",
"cloud_cost_management_host_count_avg": "cloud_cost_management_host_count_avg",
"container_avg": "container_avg",
"container_excl_agent_avg": "container_excl_agent_avg",
"container_hwm": "container_hwm",
"cspm_aas_host_top99p": "cspm_aas_host_top99p",
"cspm_aws_host_top99p": "cspm_aws_host_top99p",
Expand Down Expand Up @@ -197,6 +199,7 @@ def __init__(
ci_visibility_test_committers_hwm: Union[int, UnsetType] = unset,
cloud_cost_management_host_count_avg: Union[int, UnsetType] = unset,
container_avg: Union[int, UnsetType] = unset,
container_excl_agent_avg: Union[int, UnsetType] = unset,
container_hwm: Union[int, UnsetType] = unset,
cspm_aas_host_top99p: Union[int, UnsetType] = unset,
cspm_aws_host_top99p: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -320,6 +323,9 @@ def __init__(
:param container_avg: Shows the average of all distinct containers over all hours in the current date for the given org.
:type container_avg: int, optional

:param container_excl_agent_avg: Shows the average of containers without the Datadog Agent over all hours in the current date for the given organization.
:type container_excl_agent_avg: int, optional

:param container_hwm: Shows the high-water mark of all distinct containers over all hours in the current date for the given org.
:type container_hwm: int, optional

Expand Down Expand Up @@ -527,6 +533,8 @@ def __init__(
kwargs["cloud_cost_management_host_count_avg"] = cloud_cost_management_host_count_avg
if container_avg is not unset:
kwargs["container_avg"] = container_avg
if container_excl_agent_avg is not unset:
kwargs["container_excl_agent_avg"] = container_excl_agent_avg
if container_hwm is not unset:
kwargs["container_hwm"] = container_hwm
if cspm_aas_host_top99p is not unset:
Expand Down
8 changes: 8 additions & 0 deletions src/datadog_api_client/v1/model/usage_summary_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ def openapi_types(_):
"ci_visibility_test_committers_hwm_sum": (int,),
"cloud_cost_management_host_count_avg_sum": (int,),
"container_avg_sum": (int,),
"container_excl_agent_avg_sum": (int,),
"container_hwm_sum": (int,),
"cspm_aas_host_top99p_sum": (int,),
"cspm_aws_host_top99p_sum": (int,),
Expand Down Expand Up @@ -134,6 +135,7 @@ def openapi_types(_):
"ci_visibility_test_committers_hwm_sum": "ci_visibility_test_committers_hwm_sum",
"cloud_cost_management_host_count_avg_sum": "cloud_cost_management_host_count_avg_sum",
"container_avg_sum": "container_avg_sum",
"container_excl_agent_avg_sum": "container_excl_agent_avg_sum",
"container_hwm_sum": "container_hwm_sum",
"cspm_aas_host_top99p_sum": "cspm_aas_host_top99p_sum",
"cspm_aws_host_top99p_sum": "cspm_aws_host_top99p_sum",
Expand Down Expand Up @@ -221,6 +223,7 @@ def __init__(
ci_visibility_test_committers_hwm_sum: Union[int, UnsetType] = unset,
cloud_cost_management_host_count_avg_sum: Union[int, UnsetType] = unset,
container_avg_sum: Union[int, UnsetType] = unset,
container_excl_agent_avg_sum: Union[int, UnsetType] = unset,
container_hwm_sum: Union[int, UnsetType] = unset,
cspm_aas_host_top99p_sum: Union[int, UnsetType] = unset,
cspm_aws_host_top99p_sum: Union[int, UnsetType] = unset,
Expand Down Expand Up @@ -353,6 +356,9 @@ def __init__(
:param container_avg_sum: Shows the average of all distinct containers over all hours in the current months for all organizations.
:type container_avg_sum: int, optional

:param container_excl_agent_avg_sum: Shows the average of the containers without the Datadog Agent over all hours in the current month for all organizations.
:type container_excl_agent_avg_sum: int, optional

:param container_hwm_sum: Shows the sum of the high-water marks of all distinct containers over all hours in the current months for all organizations.
:type container_hwm_sum: int, optional

Expand Down Expand Up @@ -580,6 +586,8 @@ def __init__(
kwargs["cloud_cost_management_host_count_avg_sum"] = cloud_cost_management_host_count_avg_sum
if container_avg_sum is not unset:
kwargs["container_avg_sum"] = container_avg_sum
if container_excl_agent_avg_sum is not unset:
kwargs["container_excl_agent_avg_sum"] = container_excl_agent_avg_sum
if container_hwm_sum is not unset:
kwargs["container_hwm_sum"] = container_hwm_sum
if cspm_aas_host_top99p_sum is not unset:
Expand Down