Skip to content
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
5 changes: 5 additions & 0 deletions .generator/schemas/v1/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -791,6 +791,11 @@ components:
items:
$ref: "#/components/schemas/ResourceProviderConfig"
type: array
secretless_auth_enabled:
description: |-
(Preview) When enabled, Datadog authenticates with this app registration using federated workload identity credentials instead of a client secret.
example: true
type: boolean
tenant_name:
description: Your Azure Active Directory ID.
example: "testc44-1234-5678-9101-cc00736ftest"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public static void main(String[] args) {
new ResourceProviderConfig()
.metricsEnabled(true)
.namespace("Microsoft.Compute")))
.secretlessAuthEnabled(true)
.tenantName("testc44-1234-5678-9101-cc00736ftest")
.usageMetricsEnabled(true);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public static void main(String[] args) {
.newClientId("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
.newTenantName("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d")
.resourceCollectionEnabled(true)
.secretlessAuthEnabled(true)
.tenantName("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d");

try {
Expand Down
31 changes: 31 additions & 0 deletions src/main/java/com/datadog/api/client/v1/model/AzureAccount.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
AzureAccount.JSON_PROPERTY_NEW_TENANT_NAME,
AzureAccount.JSON_PROPERTY_RESOURCE_COLLECTION_ENABLED,
AzureAccount.JSON_PROPERTY_RESOURCE_PROVIDER_CONFIGS,
AzureAccount.JSON_PROPERTY_SECRETLESS_AUTH_ENABLED,
AzureAccount.JSON_PROPERTY_TENANT_NAME,
AzureAccount.JSON_PROPERTY_USAGE_METRICS_ENABLED
})
Expand Down Expand Up @@ -88,6 +89,9 @@ public class AzureAccount {
public static final String JSON_PROPERTY_RESOURCE_PROVIDER_CONFIGS = "resource_provider_configs";
private List<ResourceProviderConfig> resourceProviderConfigs = null;

public static final String JSON_PROPERTY_SECRETLESS_AUTH_ENABLED = "secretless_auth_enabled";
private Boolean secretlessAuthEnabled;

public static final String JSON_PROPERTY_TENANT_NAME = "tenant_name";
private String tenantName;

Expand Down Expand Up @@ -438,6 +442,28 @@ public void setResourceProviderConfigs(List<ResourceProviderConfig> resourceProv
this.resourceProviderConfigs = resourceProviderConfigs;
}

public AzureAccount secretlessAuthEnabled(Boolean secretlessAuthEnabled) {
this.secretlessAuthEnabled = secretlessAuthEnabled;
return this;
}

/**
* (Preview) When enabled, Datadog authenticates with this app registration using federated
* workload identity credentials instead of a client secret.
*
* @return secretlessAuthEnabled
*/
@jakarta.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SECRETLESS_AUTH_ENABLED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSecretlessAuthEnabled() {
return secretlessAuthEnabled;
}

public void setSecretlessAuthEnabled(Boolean secretlessAuthEnabled) {
this.secretlessAuthEnabled = secretlessAuthEnabled;
}

public AzureAccount tenantName(String tenantName) {
this.tenantName = tenantName;
return this;
Expand Down Expand Up @@ -551,6 +577,7 @@ public boolean equals(Object o) {
&& Objects.equals(this.newTenantName, azureAccount.newTenantName)
&& Objects.equals(this.resourceCollectionEnabled, azureAccount.resourceCollectionEnabled)
&& Objects.equals(this.resourceProviderConfigs, azureAccount.resourceProviderConfigs)
&& Objects.equals(this.secretlessAuthEnabled, azureAccount.secretlessAuthEnabled)
&& Objects.equals(this.tenantName, azureAccount.tenantName)
&& Objects.equals(this.usageMetricsEnabled, azureAccount.usageMetricsEnabled)
&& Objects.equals(this.additionalProperties, azureAccount.additionalProperties);
Expand All @@ -574,6 +601,7 @@ public int hashCode() {
newTenantName,
resourceCollectionEnabled,
resourceProviderConfigs,
secretlessAuthEnabled,
tenantName,
usageMetricsEnabled,
additionalProperties);
Expand Down Expand Up @@ -610,6 +638,9 @@ public String toString() {
sb.append(" resourceProviderConfigs: ")
.append(toIndentedString(resourceProviderConfigs))
.append("\n");
sb.append(" secretlessAuthEnabled: ")
.append(toIndentedString(secretlessAuthEnabled))
.append("\n");
sb.append(" tenantName: ").append(toIndentedString(tenantName)).append("\n");
sb.append(" usageMetricsEnabled: ")
.append(toIndentedString(usageMetricsEnabled))
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-12-17T21:43:00.678Z
2026-05-04T13:56:51.846Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"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}"
"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}"
},
"headers": {},
"method": "POST",
Expand All @@ -27,13 +27,13 @@
"timeToLive": {
"unlimited": true
},
"id": "4e2e023b-b6c5-6332-0969-71d544522742"
"id": "5b0e587d-65f9-d856-930b-854130684f9e"
},
{
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
"json": "{\"client_id\":\"17779030-0000-0000-0000-177790301100\",\"tenant_name\":\"17779030-0000-0000-0000-177790301100\"}"
},
"headers": {},
"method": "DELETE",
Expand All @@ -57,13 +57,13 @@
"timeToLive": {
"unlimited": true
},
"id": "18bf59b1-5d58-2ef7-1a8b-79afe390d743"
"id": "2f452316-5b50-e116-03de-9353579d1f96"
},
{
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"client_id\":\"17344717-0000-0000-0000-173447178000\",\"tenant_name\":\"17344717-0000-0000-0000-173447178000\"}"
"json": "{\"client_id\":\"17779030-0000-0000-0000-177790301100\",\"tenant_name\":\"17779030-0000-0000-0000-177790301100\"}"
},
"headers": {},
"method": "DELETE",
Expand All @@ -87,6 +87,6 @@
"timeToLive": {
"unlimited": true
},
"id": "18bf59b1-5d58-2ef7-1a8b-79afe390d744"
"id": "2f452316-5b50-e116-03de-9353579d1f97"
}
]
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2024-12-17T21:43:01.129Z
2026-05-04T13:56:52.686Z
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"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}"
"json": "{\"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}"
},
"headers": {},
"method": "POST",
Expand All @@ -27,13 +27,13 @@
"timeToLive": {
"unlimited": true
},
"id": "6ba1c834-178d-7fbd-05a9-8c57c5b3a59c"
"id": "83288968-90a5-00af-afa2-381253802da5"
},
{
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"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\"}"
"json": "{\"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\"}"
},
"headers": {},
"method": "PUT",
Expand All @@ -57,13 +57,13 @@
"timeToLive": {
"unlimited": true
},
"id": "d21774b0-7473-079b-4c57-d1a122d1c43a"
"id": "b3b0ff38-35d5-4672-3d69-3c128a1cc3df"
},
{
"httpRequest": {
"body": {
"type": "JSON",
"json": "{\"client_id\":\"17344717-0000-0000-0000-173447178100\",\"tenant_name\":\"17344717-0000-0000-0000-173447178100\"}"
"json": "{\"client_id\":\"17779030-0000-0000-0000-177790301200\",\"tenant_name\":\"17779030-0000-0000-0000-177790301200\"}"
},
"headers": {},
"method": "DELETE",
Expand All @@ -87,6 +87,6 @@
"timeToLive": {
"unlimited": true
},
"id": "5f728266-9032-95f3-5a63-47b82c4cbe45"
"id": "1e3bb8a0-dee7-9c9d-969e-5f72687ff090"
}
]
Loading
Loading