Skip to content

Commit 160fa1b

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit bcfb266 of spec repo
1 parent cad8a33 commit 160fa1b

12 files changed

Lines changed: 32 additions & 41 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -791,11 +791,6 @@ components:
791791
items:
792792
$ref: "#/components/schemas/ResourceProviderConfig"
793793
type: array
794-
secretless_auth_enabled:
795-
description: |-
796-
(Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
797-
example: true
798-
type: boolean
799794
tenant_name:
800795
description: Your Azure Active Directory ID.
801796
example: "testc44-1234-5678-9101-cc00736ftest"

.generator/schemas/v2/openapi.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107887,6 +107887,8 @@ paths:
107887107887
get:
107888107888
description: |-
107889107889
Get a list of actively reporting metrics for your organization. Pagination is optional using the `page[cursor]` and `page[size]` query parameters.
107890+
107891+
Query parameters use bracket notation (for example, `filter[tags]`, `filter[queried][window][seconds]`). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: `GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500`.
107890107892
operationId: ListTagConfigurations
107891107893
parameters:
107892107894
- description: Only return custom metrics that have been configured with Metrics Without Limits.
@@ -107926,7 +107928,7 @@ paths:
107926107928
schema:
107927107929
type: boolean
107928107930
- description: |-
107929-
Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with `filter[queried]`. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
107931+
This parameter has no effect unless `filter[queried]` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: `filter[queried]=true&filter[queried][window][seconds]=604800`.
107930107932
example: 15552000
107931107933
in: query
107932107934
name: filter[queried][window][seconds]
@@ -107938,7 +107940,7 @@ paths:
107938107940
minimum: 1
107939107941
type: integer
107940107942
- description: |-
107941-
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
107943+
Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: `filter[tags]=env IN (staging,test) AND service:web*`.
107942107944
example: "env IN (staging,test) AND service:web*"
107943107945
in: query
107944107946
name: filter[tags]
@@ -107965,7 +107967,8 @@ paths:
107965107967
maximum: 2592000
107966107968
minimum: 1
107967107969
type: integer
107968-
- description: Maximum number of results per page. Use with `page[cursor]` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
107970+
- description: |-
107971+
Maximum number of results per page. Send `page[size]` on the first request to opt in to pagination. On each subsequent request, send `page[cursor]` set to the value of `meta.pagination.next_cursor` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
107969107972
in: query
107970107973
name: page[size]
107971107974
required: false
@@ -108369,7 +108372,8 @@ paths:
108369108372
operationId: EstimateMetricsOutputSeries
108370108373
parameters:
108371108374
- $ref: "#/components/parameters/MetricName"
108372-
- description: Filtered tag keys that the metric is configured to query with.
108375+
- description: |-
108376+
Comma-separated list of tag keys that the metric is configured to query with. For example: `filter[groups]=app,host`.
108373108377
example: "app,host"
108374108378
in: query
108375108379
name: filter[groups]

examples/v1/azure-integration/UpdateAzureHostFilters.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
namespace="Microsoft.Compute",
3131
),
3232
],
33-
secretless_auth_enabled=True,
3433
tenant_name="testc44-1234-5678-9101-cc00736ftest",
3534
usage_metrics_enabled=True,
3635
)

examples/v1/azure-integration/UpdateAzureIntegration.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
new_client_id="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2222
new_tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2323
resource_collection_enabled=True,
24-
secretless_auth_enabled=True,
2524
tenant_name="9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
2625
)
2726

src/datadog_api_client/v1/model/azure_account.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ def openapi_types(_):
3838
"new_tenant_name": (str,),
3939
"resource_collection_enabled": (bool,),
4040
"resource_provider_configs": ([ResourceProviderConfig],),
41-
"secretless_auth_enabled": (bool,),
4241
"tenant_name": (str,),
4342
"usage_metrics_enabled": (bool,),
4443
}
@@ -59,7 +58,6 @@ def openapi_types(_):
5958
"new_tenant_name": "new_tenant_name",
6059
"resource_collection_enabled": "resource_collection_enabled",
6160
"resource_provider_configs": "resource_provider_configs",
62-
"secretless_auth_enabled": "secretless_auth_enabled",
6361
"tenant_name": "tenant_name",
6462
"usage_metrics_enabled": "usage_metrics_enabled",
6563
}
@@ -81,7 +79,6 @@ def __init__(
8179
new_tenant_name: Union[str, UnsetType] = unset,
8280
resource_collection_enabled: Union[bool, UnsetType] = unset,
8381
resource_provider_configs: Union[List[ResourceProviderConfig], UnsetType] = unset,
84-
secretless_auth_enabled: Union[bool, UnsetType] = unset,
8582
tenant_name: Union[str, UnsetType] = unset,
8683
usage_metrics_enabled: Union[bool, UnsetType] = unset,
8784
**kwargs,
@@ -138,9 +135,6 @@ def __init__(
138135
:param resource_provider_configs: Configuration settings applied to resources from the specified Azure resource providers.
139136
:type resource_provider_configs: [ResourceProviderConfig], optional
140137
141-
:param secretless_auth_enabled: (Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
142-
:type secretless_auth_enabled: bool, optional
143-
144138
:param tenant_name: Your Azure Active Directory ID.
145139
:type tenant_name: str, optional
146140
@@ -177,8 +171,6 @@ def __init__(
177171
kwargs["resource_collection_enabled"] = resource_collection_enabled
178172
if resource_provider_configs is not unset:
179173
kwargs["resource_provider_configs"] = resource_provider_configs
180-
if secretless_auth_enabled is not unset:
181-
kwargs["secretless_auth_enabled"] = secretless_auth_enabled
182174
if tenant_name is not unset:
183175
kwargs["tenant_name"] = tenant_name
184176
if usage_metrics_enabled is not unset:

src/datadog_api_client/v2/api/metrics_api.py

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ def estimate_metrics_output_series(
668668
669669
:param metric_name: The name of the metric.
670670
:type metric_name: str
671-
:param filter_groups: Filtered tag keys that the metric is configured to query with.
671+
:param filter_groups: Comma-separated list of tag keys that the metric is configured to query with. For example: ``filter[groups]=app,host``.
672672
:type filter_groups: str, optional
673673
:param filter_hours_ago: The number of hours of look back (from now) to estimate cardinality with. If unspecified, it defaults to 0 hours.
674674
:type filter_hours_ago: int, optional
@@ -795,6 +795,8 @@ def list_tag_configurations(
795795
796796
Get a list of actively reporting metrics for your organization. Pagination is optional using the ``page[cursor]`` and ``page[size]`` query parameters.
797797
798+
Query parameters use bracket notation (for example, ``filter[tags]`` , ``filter[queried][window][seconds]`` ). Pass them as standard URL query strings, URL-encoding the brackets if your client does not handle them. For example: ``GET /api/v2/metrics?filter[tags]=env:prod&window[seconds]=86400&page[size]=500``.
799+
798800
:param filter_configured: Only return custom metrics that have been configured with Metrics Without Limits.
799801
:type filter_configured: bool, optional
800802
:param filter_tags_configured: Only return metrics that have the given tag key(s) in their Metrics Without Limits configuration (included or excluded).
@@ -805,15 +807,15 @@ def list_tag_configurations(
805807
:type filter_include_percentiles: bool, optional
806808
:param filter_queried: Only return metrics that have been queried (true) or not queried (false) in the look back window. Set the window with ``filter[queried][window][seconds]`` ; if omitted, a default window is used.
807809
:type filter_queried: bool, optional
808-
:param filter_queried_window_seconds: Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with ``filter[queried]``. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
810+
:param filter_queried_window_seconds: This parameter has no effect unless ``filter[queried]`` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
809811
:type filter_queried_window_seconds: int, optional
810-
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
812+
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: ``filter[tags]=env IN (staging,test) AND service:web*``.
811813
:type filter_tags: str, optional
812814
:param filter_related_assets: Only return metrics that are used in at least one dashboard, monitor, notebook, or SLO.
813815
:type filter_related_assets: bool, optional
814816
:param window_seconds: Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
815817
:type window_seconds: int, optional
816-
:param page_size: Maximum number of results per page. Use with ``page[cursor]`` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
818+
:param page_size: Maximum number of results per page. Send ``page[size]`` on the first request to opt in to pagination. On each subsequent request, send ``page[cursor]`` set to the value of ``meta.pagination.next_cursor`` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
817819
:type page_size: int, optional
818820
:param page_cursor: Cursor for pagination. Use ``page[size]`` to opt-in to pagination and get the first page; for subsequent pages, use the value from ``meta.pagination.next_cursor`` in the response. Pagination is complete when ``next_cursor`` is null.
819821
:type page_cursor: str, optional
@@ -884,15 +886,15 @@ def list_tag_configurations_with_pagination(
884886
:type filter_include_percentiles: bool, optional
885887
:param filter_queried: Only return metrics that have been queried (true) or not queried (false) in the look back window. Set the window with ``filter[queried][window][seconds]`` ; if omitted, a default window is used.
886888
:type filter_queried: bool, optional
887-
:param filter_queried_window_seconds: Only return metrics that have been queried or not queried in the specified window. Dependent on being sent with ``filter[queried]``. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second.
889+
:param filter_queried_window_seconds: This parameter has no effect unless ``filter[queried]`` is also set. Only return metrics that have been queried or not queried in the specified window. The default value is 2,592,000 seconds (30 days), the maximum value is 15,552,000 seconds (180 days), and the minimum value is 1 second. For example: ``filter[queried]=true&filter[queried][window][seconds]=604800``.
888890
:type filter_queried_window_seconds: int, optional
889-
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards (for example, service:web*).
891+
:param filter_tags: Only return metrics that were submitted with tags matching this expression. You can use AND, OR, IN, and wildcards. For example: ``filter[tags]=env IN (staging,test) AND service:web*``.
890892
:type filter_tags: str, optional
891893
:param filter_related_assets: Only return metrics that are used in at least one dashboard, monitor, notebook, or SLO.
892894
:type filter_related_assets: bool, optional
893895
:param window_seconds: Only return metrics that have been actively reporting in the specified window. The default value is 3600 seconds (1 hour), the maximum value is 2,592,000 seconds (30 days), and the minimum value is 1 second.
894896
:type window_seconds: int, optional
895-
:param page_size: Maximum number of results per page. Use with ``page[cursor]`` for pagination. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
897+
:param page_size: Maximum number of results per page. Send ``page[size]`` on the first request to opt in to pagination. On each subsequent request, send ``page[cursor]`` set to the value of ``meta.pagination.next_cursor`` from the previous response. The default value is 10000, the maximum value is 10000, and the minimum value is 1.
896898
:type page_size: int, optional
897899
:param page_cursor: Cursor for pagination. Use ``page[size]`` to opt-in to pagination and get the first page; for subsequent pages, use the value from ``meta.pagination.next_cursor`` in the response. Pagination is complete when ``next_cursor`` is null.
898900
:type page_cursor: str, optional
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-05-04T13:56:51.846Z
1+
2024-12-17T21:43:00.678Z

tests/v1/cassettes/test_scenarios/test_delete_an_azure_integration_returns_ok_response.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17779030-0000-0000-0000-177790301100","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","metrics_enabled":true,"metrics_enabled_default":true,"new_client_id":"17779030-0000-0000-0000-177790301100","new_tenant_name":"17779030-0000-0000-0000-177790301100","resource_collection_enabled":true,"resource_provider_configs":[{"metrics_enabled":false,"namespace":"Microsoft.Compute"},{"metrics_enabled":false,"namespace":"Microsoft.Web"}],"secretless_auth_enabled":false,"tenant_name":"17779030-0000-0000-0000-177790301100","usage_metrics_enabled":true}'
3+
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17344717-0000-0000-0000-173447178000","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","metrics_enabled":true,"metrics_enabled_default":true,"new_client_id":"17344717-0000-0000-0000-173447178000","new_tenant_name":"17344717-0000-0000-0000-173447178000","resource_collection_enabled":true,"resource_provider_configs":[{"metrics_enabled":false,"namespace":"Microsoft.Compute"},{"metrics_enabled":false,"namespace":"Microsoft.Web"}],"tenant_name":"17344717-0000-0000-0000-173447178000","usage_metrics_enabled":true}'
44
headers:
55
accept:
66
- application/json
@@ -20,7 +20,7 @@ interactions:
2020
code: 200
2121
message: OK
2222
- request:
23-
body: '{"client_id":"17779030-0000-0000-0000-177790301100","tenant_name":"17779030-0000-0000-0000-177790301100"}'
23+
body: '{"client_id":"17344717-0000-0000-0000-173447178000","tenant_name":"17344717-0000-0000-0000-173447178000"}'
2424
headers:
2525
accept:
2626
- application/json
@@ -40,7 +40,7 @@ interactions:
4040
code: 200
4141
message: OK
4242
- request:
43-
body: '{"client_id":"17779030-0000-0000-0000-177790301100","tenant_name":"17779030-0000-0000-0000-177790301100"}'
43+
body: '{"client_id":"17344717-0000-0000-0000-173447178000","tenant_name":"17344717-0000-0000-0000-173447178000"}'
4444
headers:
4545
accept:
4646
- application/json
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2026-05-04T13:56:52.686Z
1+
2024-12-17T21:43:01.129Z

tests/v1/cassettes/test_scenarios/test_update_an_azure_integration_returns_ok_response.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
interactions:
22
- request:
3-
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17779030-0000-0000-0000-177790301200","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","metrics_enabled":true,"metrics_enabled_default":true,"new_client_id":"17779030-0000-0000-0000-177790301200","new_tenant_name":"17779030-0000-0000-0000-177790301200","resource_collection_enabled":true,"resource_provider_configs":[{"metrics_enabled":false,"namespace":"Microsoft.Compute"},{"metrics_enabled":false,"namespace":"Microsoft.Web"}],"secretless_auth_enabled":false,"tenant_name":"17779030-0000-0000-0000-177790301200","usage_metrics_enabled":true}'
3+
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17344717-0000-0000-0000-173447178100","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","metrics_enabled":true,"metrics_enabled_default":true,"new_client_id":"17344717-0000-0000-0000-173447178100","new_tenant_name":"17344717-0000-0000-0000-173447178100","resource_collection_enabled":true,"resource_provider_configs":[{"metrics_enabled":false,"namespace":"Microsoft.Compute"},{"metrics_enabled":false,"namespace":"Microsoft.Web"}],"tenant_name":"17344717-0000-0000-0000-173447178100","usage_metrics_enabled":true}'
44
headers:
55
accept:
66
- application/json
@@ -20,7 +20,7 @@ interactions:
2020
code: 200
2121
message: OK
2222
- request:
23-
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17779030-0000-0000-0000-177790301200","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17779030-0000-0000-0000-177790301200","new_tenant_name":"17779030-0000-0000-0000-177790301200","resource_collection_enabled":true,"secretless_auth_enabled":true,"tenant_name":"17779030-0000-0000-0000-177790301200"}'
23+
body: '{"app_service_plan_filters":"key:value,filter:example","automute":true,"client_id":"17344717-0000-0000-0000-173447178100","client_secret":"TestingRh2nx664kUy5dIApvM54T4AtO","container_app_filters":"key:value,filter:example","cspm_enabled":true,"custom_metrics_enabled":true,"errors":["*"],"host_filters":"key:value,filter:example","new_client_id":"17344717-0000-0000-0000-173447178100","new_tenant_name":"17344717-0000-0000-0000-173447178100","resource_collection_enabled":true,"tenant_name":"17344717-0000-0000-0000-173447178100"}'
2424
headers:
2525
accept:
2626
- application/json
@@ -40,7 +40,7 @@ interactions:
4040
code: 200
4141
message: OK
4242
- request:
43-
body: '{"client_id":"17779030-0000-0000-0000-177790301200","tenant_name":"17779030-0000-0000-0000-177790301200"}'
43+
body: '{"client_id":"17344717-0000-0000-0000-173447178100","tenant_name":"17344717-0000-0000-0000-173447178100"}'
4444
headers:
4545
accept:
4646
- application/json

0 commit comments

Comments
 (0)