Skip to content

Commit d02eee9

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 439c572 of spec repo
1 parent c90c633 commit d02eee9

12 files changed

Lines changed: 61 additions & 114 deletions

.generator/schemas/v1/openapi.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -791,6 +791,11 @@ components:
791791
items:
792792
$ref: "#/components/schemas/ResourceProviderConfig"
793793
type: array
794+
secretless_auth_enabled:
795+
description: |-
796+
When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
797+
example: true
798+
type: boolean
794799
tenant_name:
795800
description: Your Azure Active Directory ID.
796801
example: "testc44-1234-5678-9101-cc00736ftest"
@@ -15786,8 +15791,6 @@ components:
1578615791
$ref: "#/components/schemas/LogQueryDefinition"
1578715792
deprecated: true
1578815793
description: Deprecated - Use `queries` and `formulas` instead.
15789-
sort:
15790-
$ref: "#/components/schemas/WidgetSortBy"
1579115794
style:
1579215795
$ref: "#/components/schemas/WidgetStyle"
1579315796
type: object
@@ -20477,10 +20480,6 @@ components:
2047720480
type: array
2047820481
response_format:
2047920482
$ref: "#/components/schemas/FormulaAndFunctionResponseFormat"
20480-
sort:
20481-
$ref: "#/components/schemas/WidgetSortBy"
20482-
style:
20483-
$ref: "#/components/schemas/WidgetRequestStyle"
2048420483
type: object
2048520484
UsageAnalyzedLogsHour:
2048620485
description: The number of analyzed logs for each hour for a given organization.

examples/v1/azure-integration/UpdateAzureHostFilters.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public static void main(String[] args) {
3333
new ResourceProviderConfig()
3434
.metricsEnabled(true)
3535
.namespace("Microsoft.Compute")))
36+
.secretlessAuthEnabled(true)
3637
.tenantName("testc44-1234-5678-9101-cc00736ftest")
3738
.usageMetricsEnabled(true);
3839

examples/v1/azure-integration/UpdateAzureIntegration.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ public static void main(String[] args) {
2525
.newClientId("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
2626
.newTenantName("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
2727
.resourceCollectionEnabled(true)
28+
.secretlessAuthEnabled(true)
2829
.tenantName("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d");
2930

3031
try {

src/main/java/com/datadog/api/client/v1/model/AzureAccount.java

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
AzureAccount.JSON_PROPERTY_NEW_TENANT_NAME,
3636
AzureAccount.JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED,
3737
AzureAccount.JSON_PROPERTY_RESOURCE_PROVIDER_CONFIGS,
38+
AzureAccount.JSON_PROPERTY_SECRETLESS_AUTH_ENABLED,
3839
AzureAccount.JSON_PROPERTY_TENANT_NAME,
3940
AzureAccount.JSON_PROPERTY_USAGE_METRICS_ENABLED
4041
})
@@ -88,6 +89,9 @@ public class AzureAccount {
8889
public static final String JSON_PROPERTY_RESOURCE_PROVIDER_CONFIGS = "resource_provider_configs";
8990
private List<ResourceProviderConfig> resourceProviderConfigs = null;
9091

92+
public static final String JSON_PROPERTY_SECRETLESS_AUTH_ENABLED = "secretless_auth_enabled";
93+
private Boolean secretlessAuthEnabled;
94+
9195
public static final String JSON_PROPERTY_TENANT_NAME = "tenant_name";
9296
private String tenantName;
9397

@@ -438,6 +442,28 @@ public void setResourceProviderConfigs(List<ResourceProviderConfig> resourceProv
438442
this.resourceProviderConfigs = resourceProviderConfigs;
439443
}
440444

445+
public AzureAccount secretlessAuthEnabled(Boolean secretlessAuthEnabled) {
446+
this.secretlessAuthEnabled = secretlessAuthEnabled;
447+
return this;
448+
}
449+
450+
/**
451+
* When enabled, Datadog authenticates with this app registration using federated workload
452+
* identity credentials instead of a client secret.
453+
*
454+
* @return secretlessAuthEnabled
455+
*/
456+
@jakarta.annotation.Nullable
457+
@JsonProperty(JSON_PROPERTY_SECRETLESS_AUTH_ENABLED)
458+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
459+
public Boolean getSecretlessAuthEnabled() {
460+
return secretlessAuthEnabled;
461+
}
462+
463+
public void setSecretlessAuthEnabled(Boolean secretlessAuthEnabled) {
464+
this.secretlessAuthEnabled = secretlessAuthEnabled;
465+
}
466+
441467
public AzureAccount tenantName(String tenantName) {
442468
this.tenantName = tenantName;
443469
return this;
@@ -551,6 +577,7 @@ public boolean equals(Object o) {
551577
&& Objects.equals(this.newTenantName, azureAccount.newTenantName)
552578
&& Objects.equals(this.resourceCollectionEnabled, azureAccount.resourceCollectionEnabled)
553579
&& Objects.equals(this.resourceProviderConfigs, azureAccount.resourceProviderConfigs)
580+
&& Objects.equals(this.secretlessAuthEnabled, azureAccount.secretlessAuthEnabled)
554581
&& Objects.equals(this.tenantName, azureAccount.tenantName)
555582
&& Objects.equals(this.usageMetricsEnabled, azureAccount.usageMetricsEnabled)
556583
&& Objects.equals(this.additionalProperties, azureAccount.additionalProperties);
@@ -574,6 +601,7 @@ public int hashCode() {
574601
newTenantName,
575602
resourceCollectionEnabled,
576603
resourceProviderConfigs,
604+
secretlessAuthEnabled,
577605
tenantName,
578606
usageMetricsEnabled,
579607
additionalProperties);
@@ -610,6 +638,9 @@ public String toString() {
610638
sb.append(" resourceProviderConfigs: ")
611639
.append(toIndentedString(resourceProviderConfigs))
612640
.append("\n");
641+
sb.append(" secretlessAuthEnabled: ")
642+
.append(toIndentedString(secretlessAuthEnabled))
643+
.append("\n");
613644
sb.append(" tenantName: ").append(toIndentedString(tenantName)).append("\n");
614645
sb.append(" usageMetricsEnabled: ")
615646
.append(toIndentedString(usageMetricsEnabled))

src/main/java/com/datadog/api/client/v1/model/SunburstWidgetRequest.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
SunburstWidgetRequest.JSON_PROPERTY_RESPONSE_FORMAT,
3434
SunburstWidgetRequest.JSON_PROPERTY_RUM_QUERY,
3535
SunburstWidgetRequest.JSON_PROPERTY_SECURITY_QUERY,
36-
SunburstWidgetRequest.JSON_PROPERTY_SORT,
3736
SunburstWidgetRequest.JSON_PROPERTY_STYLE
3837
})
3938
@jakarta.annotation.Generated(
@@ -79,9 +78,6 @@ public class SunburstWidgetRequest {
7978
public static final String JSON_PROPERTY_SECURITY_QUERY = "security_query";
8079
private LogQueryDefinition securityQuery;
8180

82-
public static final String JSON_PROPERTY_SORT = "sort";
83-
private WidgetSortBy sort;
84-
8581
public static final String JSON_PROPERTY_STYLE = "style";
8682
private WidgetStyle style;
8783

@@ -399,28 +395,6 @@ public void setSecurityQuery(LogQueryDefinition securityQuery) {
399395
this.securityQuery = securityQuery;
400396
}
401397

402-
public SunburstWidgetRequest sort(WidgetSortBy sort) {
403-
this.sort = sort;
404-
this.unparsed |= sort.unparsed;
405-
return this;
406-
}
407-
408-
/**
409-
* The controls for sorting the widget.
410-
*
411-
* @return sort
412-
*/
413-
@jakarta.annotation.Nullable
414-
@JsonProperty(JSON_PROPERTY_SORT)
415-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
416-
public WidgetSortBy getSort() {
417-
return sort;
418-
}
419-
420-
public void setSort(WidgetSortBy sort) {
421-
this.sort = sort;
422-
}
423-
424398
public SunburstWidgetRequest style(WidgetStyle style) {
425399
this.style = style;
426400
this.unparsed |= style.unparsed;
@@ -512,7 +486,6 @@ public boolean equals(Object o) {
512486
&& Objects.equals(this.responseFormat, sunburstWidgetRequest.responseFormat)
513487
&& Objects.equals(this.rumQuery, sunburstWidgetRequest.rumQuery)
514488
&& Objects.equals(this.securityQuery, sunburstWidgetRequest.securityQuery)
515-
&& Objects.equals(this.sort, sunburstWidgetRequest.sort)
516489
&& Objects.equals(this.style, sunburstWidgetRequest.style)
517490
&& Objects.equals(this.additionalProperties, sunburstWidgetRequest.additionalProperties);
518491
}
@@ -533,7 +506,6 @@ public int hashCode() {
533506
responseFormat,
534507
rumQuery,
535508
securityQuery,
536-
sort,
537509
style,
538510
additionalProperties);
539511
}
@@ -557,7 +529,6 @@ public String toString() {
557529
sb.append(" responseFormat: ").append(toIndentedString(responseFormat)).append("\n");
558530
sb.append(" rumQuery: ").append(toIndentedString(rumQuery)).append("\n");
559531
sb.append(" securityQuery: ").append(toIndentedString(securityQuery)).append("\n");
560-
sb.append(" sort: ").append(toIndentedString(sort)).append("\n");
561532
sb.append(" style: ").append(toIndentedString(style)).append("\n");
562533
sb.append(" additionalProperties: ")
563534
.append(toIndentedString(additionalProperties))

src/main/java/com/datadog/api/client/v1/model/TreeMapWidgetRequest.java

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@
2323
TreeMapWidgetRequest.JSON_PROPERTY_FORMULAS,
2424
TreeMapWidgetRequest.JSON_PROPERTY_Q,
2525
TreeMapWidgetRequest.JSON_PROPERTY_QUERIES,
26-
TreeMapWidgetRequest.JSON_PROPERTY_RESPONSE_FORMAT,
27-
TreeMapWidgetRequest.JSON_PROPERTY_SORT,
28-
TreeMapWidgetRequest.JSON_PROPERTY_STYLE
26+
TreeMapWidgetRequest.JSON_PROPERTY_RESPONSE_FORMAT
2927
})
3028
@jakarta.annotation.Generated(
3129
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
@@ -43,12 +41,6 @@ public class TreeMapWidgetRequest {
4341
public static final String JSON_PROPERTY_RESPONSE_FORMAT = "response_format";
4442
private FormulaAndFunctionResponseFormat responseFormat;
4543

46-
public static final String JSON_PROPERTY_SORT = "sort";
47-
private WidgetSortBy sort;
48-
49-
public static final String JSON_PROPERTY_STYLE = "style";
50-
private WidgetRequestStyle style;
51-
5244
public TreeMapWidgetRequest formulas(List<WidgetFormula> formulas) {
5345
this.formulas = formulas;
5446
for (WidgetFormula item : formulas) {
@@ -166,50 +158,6 @@ public void setResponseFormat(FormulaAndFunctionResponseFormat responseFormat) {
166158
this.responseFormat = responseFormat;
167159
}
168160

169-
public TreeMapWidgetRequest sort(WidgetSortBy sort) {
170-
this.sort = sort;
171-
this.unparsed |= sort.unparsed;
172-
return this;
173-
}
174-
175-
/**
176-
* The controls for sorting the widget.
177-
*
178-
* @return sort
179-
*/
180-
@jakarta.annotation.Nullable
181-
@JsonProperty(JSON_PROPERTY_SORT)
182-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
183-
public WidgetSortBy getSort() {
184-
return sort;
185-
}
186-
187-
public void setSort(WidgetSortBy sort) {
188-
this.sort = sort;
189-
}
190-
191-
public TreeMapWidgetRequest style(WidgetRequestStyle style) {
192-
this.style = style;
193-
this.unparsed |= style.unparsed;
194-
return this;
195-
}
196-
197-
/**
198-
* Define request widget style.
199-
*
200-
* @return style
201-
*/
202-
@jakarta.annotation.Nullable
203-
@JsonProperty(JSON_PROPERTY_STYLE)
204-
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
205-
public WidgetRequestStyle getStyle() {
206-
return style;
207-
}
208-
209-
public void setStyle(WidgetRequestStyle style) {
210-
this.style = style;
211-
}
212-
213161
/**
214162
* A container for additional, undeclared properties. This is a holder for any undeclared
215163
* properties as specified with the 'additionalProperties' keyword in the OAS document.
@@ -270,14 +218,12 @@ public boolean equals(Object o) {
270218
&& Objects.equals(this.q, treeMapWidgetRequest.q)
271219
&& Objects.equals(this.queries, treeMapWidgetRequest.queries)
272220
&& Objects.equals(this.responseFormat, treeMapWidgetRequest.responseFormat)
273-
&& Objects.equals(this.sort, treeMapWidgetRequest.sort)
274-
&& Objects.equals(this.style, treeMapWidgetRequest.style)
275221
&& Objects.equals(this.additionalProperties, treeMapWidgetRequest.additionalProperties);
276222
}
277223

278224
@Override
279225
public int hashCode() {
280-
return Objects.hash(formulas, q, queries, responseFormat, sort, style, additionalProperties);
226+
return Objects.hash(formulas, q, queries, responseFormat, additionalProperties);
281227
}
282228

283229
@Override
@@ -288,8 +234,6 @@ public String toString() {
288234
sb.append(" q: ").append(toIndentedString(q)).append("\n");
289235
sb.append(" queries: ").append(toIndentedString(queries)).append("\n");
290236
sb.append(" responseFormat: ").append(toIndentedString(responseFormat)).append("\n");
291-
sb.append(" sort: ").append(toIndentedString(sort)).append("\n");
292-
sb.append(" style: ").append(toIndentedString(style)).append("\n");
293237
sb.append(" additionalProperties: ")
294238
.append(toIndentedString(additionalProperties))
295239
.append("\n");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-17T21:43:00.678Z
1+
2026-05-04T13:56:51.846Z

src/test/resources/cassettes/features/v1/Delete_an_Azure_integration_returns_OK_response.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"httpRequest": {
44
"body": {
55
"type": "JSON",
6-
"json": "{\"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}"
6+
"json": "{\"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}"
77
},
88
"headers": {},
99
"method": "POST",
@@ -27,13 +27,13 @@
2727
"timeToLive": {
2828
"unlimited": true
2929
},
30-
"id": "4e2e023b-b6c5-6332-0969-71d544522742"
30+
"id": "5b0e587d-65f9-d856-930b-854130684f9e"
3131
},
3232
{
3333
"httpRequest": {
3434
"body": {
3535
"type": "JSON",
36-
"json": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
36+
"json": "{\"client_id\":\"17779030-0000-0000-0000-177790301100\",\"tenant_name\":\"17779030-0000-0000-0000-177790301100\"}"
3737
},
3838
"headers": {},
3939
"method": "DELETE",
@@ -57,13 +57,13 @@
5757
"timeToLive": {
5858
"unlimited": true
5959
},
60-
"id": "18bf59b1-5d58-2ef7-1a8b-79afe390d743"
60+
"id": "2f452316-5b50-e116-03de-9353579d1f96"
6161
},
6262
{
6363
"httpRequest": {
6464
"body": {
6565
"type": "JSON",
66-
"json": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
66+
"json": "{\"client_id\":\"17779030-0000-0000-0000-177790301100\",\"tenant_name\":\"17779030-0000-0000-0000-177790301100\"}"
6767
},
6868
"headers": {},
6969
"method": "DELETE",
@@ -87,6 +87,6 @@
8787
"timeToLive": {
8888
"unlimited": true
8989
},
90-
"id": "18bf59b1-5d58-2ef7-1a8b-79afe390d744"
90+
"id": "2f452316-5b50-e116-03de-9353579d1f97"
9191
}
9292
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2024-12-17T21:43:01.129Z
1+
2026-05-04T13:56:52.686Z

0 commit comments

Comments
 (0)