Skip to content

Commit d72cee1

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 9f764af of spec repo
1 parent 4d864a9 commit d72cee1

24 files changed

Lines changed: 1619 additions & 59 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: 154 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6369,6 +6369,62 @@ components:
63696369
type: string
63706370
x-enum-varnames:
63716371
- ARBITRARY_RULE
6372+
ArbitraryRuleStatusResponseArray:
6373+
description: The definition of `ArbitraryRuleStatusResponseArray` object.
6374+
example:
6375+
data:
6376+
- attributes:
6377+
processing_status: processing
6378+
id: "123"
6379+
type: arbitrary_rule_status
6380+
- attributes:
6381+
processing_status: done
6382+
id: "456"
6383+
type: arbitrary_rule_status
6384+
properties:
6385+
data:
6386+
description: The `ArbitraryRuleStatusResponseArray` `data`.
6387+
items:
6388+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseData"
6389+
type: array
6390+
required:
6391+
- data
6392+
type: object
6393+
ArbitraryRuleStatusResponseData:
6394+
description: The definition of `ArbitraryRuleStatusResponseData` object.
6395+
properties:
6396+
attributes:
6397+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataAttributes"
6398+
id:
6399+
description: The unique identifier of the custom allocation rule.
6400+
example: "123"
6401+
type: string
6402+
type:
6403+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseDataType"
6404+
required:
6405+
- id
6406+
- type
6407+
- attributes
6408+
type: object
6409+
ArbitraryRuleStatusResponseDataAttributes:
6410+
description: The definition of `ArbitraryRuleStatusResponseDataAttributes` object.
6411+
properties:
6412+
processing_status:
6413+
description: The processing status of the custom allocation rule.
6414+
example: processing
6415+
type: string
6416+
required:
6417+
- processing_status
6418+
type: object
6419+
ArbitraryRuleStatusResponseDataType:
6420+
default: arbitrary_rule_status
6421+
description: Arbitrary rule status resource type.
6422+
enum:
6423+
- arbitrary_rule_status
6424+
example: arbitrary_rule_status
6425+
type: string
6426+
x-enum-varnames:
6427+
- ARBITRARY_RULE_STATUS
63726428
Argument:
63736429
description: A named argument for a custom static analysis rule.
63746430
properties:
@@ -60338,6 +60394,62 @@ components:
6033860394
type: string
6033960395
x-enum-varnames:
6034060396
- RULESET
60397+
RulesetStatusRespArray:
60398+
description: The definition of `RulesetStatusRespArray` object.
60399+
example:
60400+
data:
60401+
- attributes:
60402+
processing_status: processing
60403+
id: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60404+
type: ruleset_status
60405+
- attributes:
60406+
processing_status: done
60407+
id: a7b8c9d0-1234-5678-9abc-def012345678
60408+
type: ruleset_status
60409+
properties:
60410+
data:
60411+
description: The `RulesetStatusRespArray` `data`.
60412+
items:
60413+
$ref: "#/components/schemas/RulesetStatusRespData"
60414+
type: array
60415+
required:
60416+
- data
60417+
type: object
60418+
RulesetStatusRespData:
60419+
description: The definition of `RulesetStatusRespData` object.
60420+
properties:
60421+
attributes:
60422+
$ref: "#/components/schemas/RulesetStatusRespDataAttributes"
60423+
id:
60424+
description: The unique identifier of the ruleset.
60425+
example: 55ef2385-9ae1-4410-90c4-5ac1b60fec10
60426+
type: string
60427+
type:
60428+
$ref: "#/components/schemas/RulesetStatusRespDataType"
60429+
required:
60430+
- id
60431+
- type
60432+
- attributes
60433+
type: object
60434+
RulesetStatusRespDataAttributes:
60435+
description: The definition of `RulesetStatusRespDataAttributes` object.
60436+
properties:
60437+
processing_status:
60438+
description: The processing status of the ruleset.
60439+
example: processing
60440+
type: string
60441+
required:
60442+
- processing_status
60443+
type: object
60444+
RulesetStatusRespDataType:
60445+
default: ruleset_status
60446+
description: Ruleset status resource type.
60447+
enum:
60448+
- ruleset_status
60449+
example: ruleset_status
60450+
type: string
60451+
x-enum-varnames:
60452+
- RULESET_STATUS
6034160453
RumCrossProductSampling:
6034260454
description: The configuration for cross-product retention filters.
6034360455
properties:
@@ -92445,6 +92557,27 @@ paths:
9244592557
summary: Reorder custom allocation rules
9244692558
tags:
9244792559
- Cloud Cost Management
92560+
/api/v2/cost/arbitrary_rule/status:
92561+
get:
92562+
description: List the processing status of all custom allocation rules. Returns only the ID and processing status for each rule.
92563+
operationId: ListCustomAllocationRulesStatus
92564+
responses:
92565+
"200":
92566+
content:
92567+
application/json:
92568+
schema:
92569+
$ref: "#/components/schemas/ArbitraryRuleStatusResponseArray"
92570+
description: OK
92571+
"429":
92572+
$ref: "#/components/responses/TooManyRequestsResponse"
92573+
security:
92574+
- apiKeyAuth: []
92575+
appKeyAuth: []
92576+
- AuthZ:
92577+
- cloud_cost_management_read
92578+
summary: List custom allocation rules status
92579+
tags:
92580+
- Cloud Cost Management
9244892581
/api/v2/cost/arbitrary_rule/{rule_id}:
9244992582
delete:
9245092583
description: Delete a custom allocation rule - Delete an existing custom allocation rule by its ID
@@ -131002,6 +131135,27 @@ paths:
131002131135
summary: Reorder tag pipeline rulesets
131003131136
tags:
131004131137
- Cloud Cost Management
131138+
/api/v2/tags/enrichment/status:
131139+
get:
131140+
description: List the processing status of all tag pipeline rulesets. Returns only the ID and processing status for each ruleset.
131141+
operationId: ListTagPipelinesRulesetsStatus
131142+
responses:
131143+
"200":
131144+
content:
131145+
application/json:
131146+
schema:
131147+
$ref: "#/components/schemas/RulesetStatusRespArray"
131148+
description: OK
131149+
"429":
131150+
$ref: "#/components/responses/TooManyRequestsResponse"
131151+
security:
131152+
- apiKeyAuth: []
131153+
appKeyAuth: []
131154+
- AuthZ:
131155+
- cloud_cost_management_read
131156+
summary: List tag pipeline rulesets status
131157+
tags:
131158+
- Cloud Cost Management
131005131159
/api/v2/tags/enrichment/validate-query:
131006131160
post:
131007131161
description: Validate a tag pipeline query - Validate the syntax and structure of a tag pipeline query

examples/v1/azure-integration/UpdateAzureHostFilters.java

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

examples/v1/azure-integration/UpdateAzureIntegration.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ 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)
2928
.tenantName("9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d");
3029

3130
try {
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// List custom allocation rules status returns "OK" response
2+
3+
import com.datadog.api.client.ApiClient;
4+
import com.datadog.api.client.ApiException;
5+
import com.datadog.api.client.v2.api.CloudCostManagementApi;
6+
import com.datadog.api.client.v2.model.ArbitraryRuleStatusResponseArray;
7+
8+
public class Example {
9+
public static void main(String[] args) {
10+
ApiClient defaultClient = ApiClient.getDefaultApiClient();
11+
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);
12+
13+
try {
14+
ArbitraryRuleStatusResponseArray result = apiInstance.listCustomAllocationRulesStatus();
15+
System.out.println(result);
16+
} catch (ApiException e) {
17+
System.err.println(
18+
"Exception when calling CloudCostManagementApi#listCustomAllocationRulesStatus");
19+
System.err.println("Status code: " + e.getCode());
20+
System.err.println("Reason: " + e.getResponseBody());
21+
System.err.println("Response headers: " + e.getResponseHeaders());
22+
e.printStackTrace();
23+
}
24+
}
25+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
// List tag pipeline rulesets status returns "OK" response
2+
3+
import com.datadog.api.client.ApiClient;
4+
import com.datadog.api.client.ApiException;
5+
import com.datadog.api.client.v2.api.CloudCostManagementApi;
6+
import com.datadog.api.client.v2.model.RulesetStatusRespArray;
7+
8+
public class Example {
9+
public static void main(String[] args) {
10+
ApiClient defaultClient = ApiClient.getDefaultApiClient();
11+
CloudCostManagementApi apiInstance = new CloudCostManagementApi(defaultClient);
12+
13+
try {
14+
RulesetStatusRespArray result = apiInstance.listTagPipelinesRulesetsStatus();
15+
System.out.println(result);
16+
} catch (ApiException e) {
17+
System.err.println(
18+
"Exception when calling CloudCostManagementApi#listTagPipelinesRulesetsStatus");
19+
System.err.println("Status code: " + e.getCode());
20+
System.err.println("Reason: " + e.getResponseBody());
21+
System.err.println("Response headers: " + e.getResponseHeaders());
22+
e.printStackTrace();
23+
}
24+
}
25+
}

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

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
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,
3938
AzureAccount.JSON_PROPERTY_TENANT_NAME,
4039
AzureAccount.JSON_PROPERTY_USAGE_METRICS_ENABLED
4140
})
@@ -89,9 +88,6 @@ public class AzureAccount {
8988
public static final String JSON_PROPERTY_RESOURCE_PROVIDER_CONFIGS = "resource_provider_configs";
9089
private List<ResourceProviderConfig> resourceProviderConfigs = null;
9190

92-
public static final String JSON_PROPERTY_SECRETLESS_AUTH_ENABLED = "secretless_auth_enabled";
93-
private Boolean secretlessAuthEnabled;
94-
9591
public static final String JSON_PROPERTY_TENANT_NAME = "tenant_name";
9692
private String tenantName;
9793

@@ -442,28 +438,6 @@ public void setResourceProviderConfigs(List<ResourceProviderConfig> resourceProv
442438
this.resourceProviderConfigs = resourceProviderConfigs;
443439
}
444440

445-
public AzureAccount secretlessAuthEnabled(Boolean secretlessAuthEnabled) {
446-
this.secretlessAuthEnabled = secretlessAuthEnabled;
447-
return this;
448-
}
449-
450-
/**
451-
* (Preview) When enabled, Datadog authenticates with this app registration using federated
452-
* workload 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-
467441
public AzureAccount tenantName(String tenantName) {
468442
this.tenantName = tenantName;
469443
return this;
@@ -577,7 +551,6 @@ public boolean equals(Object o) {
577551
&& Objects.equals(this.newTenantName, azureAccount.newTenantName)
578552
&& Objects.equals(this.resourceCollectionEnabled, azureAccount.resourceCollectionEnabled)
579553
&& Objects.equals(this.resourceProviderConfigs, azureAccount.resourceProviderConfigs)
580-
&& Objects.equals(this.secretlessAuthEnabled, azureAccount.secretlessAuthEnabled)
581554
&& Objects.equals(this.tenantName, azureAccount.tenantName)
582555
&& Objects.equals(this.usageMetricsEnabled, azureAccount.usageMetricsEnabled)
583556
&& Objects.equals(this.additionalProperties, azureAccount.additionalProperties);
@@ -601,7 +574,6 @@ public int hashCode() {
601574
newTenantName,
602575
resourceCollectionEnabled,
603576
resourceProviderConfigs,
604-
secretlessAuthEnabled,
605577
tenantName,
606578
usageMetricsEnabled,
607579
additionalProperties);
@@ -638,9 +610,6 @@ public String toString() {
638610
sb.append(" resourceProviderConfigs: ")
639611
.append(toIndentedString(resourceProviderConfigs))
640612
.append("\n");
641-
sb.append(" secretlessAuthEnabled: ")
642-
.append(toIndentedString(secretlessAuthEnabled))
643-
.append("\n");
644613
sb.append(" tenantName: ").append(toIndentedString(tenantName)).append("\n");
645614
sb.append(" usageMetricsEnabled: ")
646615
.append(toIndentedString(usageMetricsEnabled))

0 commit comments

Comments
 (0)