Skip to content

Commit eee657d

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 471512b of spec repo
1 parent cad8a33 commit eee657d

18 files changed

Lines changed: 12161 additions & 109 deletions

.generator/schemas/v1/openapi.yaml

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

.generator/schemas/v2/openapi.yaml

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

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

examples/v2/llm-observability/CreateLLMObsAnnotationQueue.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
description="Rating of the response quality.",
2424
has_assessment=False,
2525
has_reasoning=False,
26-
id="ab12cd34",
26+
id="abc-123",
2727
is_assessment=False,
2828
is_integer=False,
2929
is_required=True,
@@ -41,7 +41,7 @@
4141
),
4242
description="Queue for annotating customer support traces",
4343
name="My annotation queue",
44-
project_id="a33671aa-24fd-4dcd-9b33-a8ec7dde7751",
44+
project_id="00000000-0000-0000-0000-000000000002",
4545
),
4646
type=LLMObsAnnotationQueueType.QUEUES,
4747
),

examples/v2/llm-observability/UpdateLLMObsAnnotationQueue.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
description="Rating of the response quality.",
2626
has_assessment=False,
2727
has_reasoning=False,
28-
id="ab12cd34",
28+
id="abc-123",
2929
is_assessment=False,
3030
is_integer=False,
3131
is_required=True,

examples/v2/llm-observability/UpdateLLMObsAnnotationQueueLabelSchema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
description="Rating of the response quality.",
2828
has_assessment=False,
2929
has_reasoning=False,
30-
id="ab12cd34",
30+
id="abc-123",
3131
is_assessment=False,
3232
is_integer=False,
3333
is_required=True,

examples/v2/security-monitoring/MuteSecurityFindings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
reason=MuteFindingsReason.PENDING_FIX,
2626
),
2727
),
28-
id="93bfeb70-af47-424d-908a-948d3f08e37f",
28+
id="00000000-0000-0000-0000-000000000001",
2929
relationships=MuteFindingsRequestDataRelationships(
3030
findings=Findings(
3131
data=[

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/model/security_entity_risk_score_attributes.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ def openapi_types(_):
4141
"first_detected": (int,),
4242
"last_activity_title": (str,),
4343
"last_detected": (int,),
44-
"risk_score": (float,),
45-
"risk_score_evolution": (float,),
44+
"risk_score": (int,),
45+
"risk_score_evolution": (int,),
4646
"severity": (SecurityEntityRiskScoreAttributesSeverity,),
4747
"signals_detected": (int,),
4848
}
@@ -74,8 +74,8 @@ def __init__(
7474
first_detected: int,
7575
last_activity_title: str,
7676
last_detected: int,
77-
risk_score: float,
78-
risk_score_evolution: float,
77+
risk_score: int,
78+
risk_score_evolution: int,
7979
severity: SecurityEntityRiskScoreAttributesSeverity,
8080
signals_detected: int,
8181
entity_name: Union[str, UnsetType] = unset,
@@ -116,10 +116,10 @@ def __init__(
116116
:type last_detected: int
117117
118118
:param risk_score: Current risk score for the entity
119-
:type risk_score: float
119+
:type risk_score: int
120120
121121
:param risk_score_evolution: Change in risk score compared to previous period
122-
:type risk_score_evolution: float
122+
:type risk_score_evolution: int
123123
124124
:param severity: Severity level based on risk score
125125
:type severity: SecurityEntityRiskScoreAttributesSeverity

0 commit comments

Comments
 (0)