Skip to content

Commit 377260f

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 884871f of spec repo
1 parent 6858905 commit 377260f

23 files changed

Lines changed: 1600 additions & 23 deletions

.generated-info

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"spec_repo_commit": "69305be",
3-
"generated": "2025-08-05 16:21:55.068"
2+
"spec_repo_commit": "884871f",
3+
"generated": "2025-08-05 21:32:52.766"
44
}

.generator/schemas/v2/openapi.yaml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4946,6 +4946,8 @@ components:
49464946
description: Optional prefix for blobs written to the container.
49474947
example: logs/
49484948
type: string
4949+
buffer:
4950+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
49494951
container_name:
49504952
description: The name of the Azure Blob Storage container to store logs
49514953
in.
@@ -24998,6 +25000,8 @@ components:
2499825000
description: The `microsoft_sentinel` destination forwards logs to Microsoft
2499925001
Sentinel.
2500025002
properties:
25003+
buffer:
25004+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2500125005
client_id:
2500225006
description: Azure AD client ID used for authentication.
2500325007
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
@@ -26630,6 +26634,8 @@ components:
2663026634
properties:
2663126635
auth:
2663226636
$ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestinationAuth'
26637+
buffer:
26638+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2663326639
bulk_index:
2663426640
description: The index to write logs to.
2663526641
example: logs-index
@@ -26708,6 +26714,8 @@ components:
2670826714
description: S3 bucket name.
2670926715
example: error-logs
2671026716
type: string
26717+
buffer:
26718+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2671126719
id:
2671226720
description: Unique identifier for the destination component.
2671326721
example: amazon-s3-destination
@@ -26827,6 +26835,28 @@ components:
2682726835
role session.
2682826836
type: string
2682926837
type: object
26838+
ObservabilityPipelineBufferOptions:
26839+
description: Configuration for buffer settings on destination components.
26840+
oneOf:
26841+
- $ref: '#/components/schemas/ObservabilityPipelineDiskBufferOptions'
26842+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferOptions'
26843+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferSizeOptions'
26844+
ObservabilityPipelineBufferOptionsDiskType:
26845+
default: disk
26846+
description: The type of the buffer that will be configured, a disk buffer.
26847+
enum:
26848+
- disk
26849+
type: string
26850+
x-enum-varnames:
26851+
- DISK
26852+
ObservabilityPipelineBufferOptionsMemoryType:
26853+
default: memory
26854+
description: The type of the buffer that will be configured, a memory buffer.
26855+
enum:
26856+
- memory
26857+
type: string
26858+
x-enum-varnames:
26859+
- MEMORY
2683026860
ObservabilityPipelineConfig:
2683126861
description: Specifies the pipeline's configuration, including its sources,
2683226862
processors, and destinations.
@@ -26982,6 +27012,8 @@ components:
2698227012
ObservabilityPipelineDatadogLogsDestination:
2698327013
description: The `datadog_logs` destination forwards logs to Datadog Log Management.
2698427014
properties:
27015+
buffer:
27016+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2698527017
id:
2698627018
description: The unique identifier for this component.
2698727019
example: datadog-logs-destination
@@ -27083,12 +27115,27 @@ components:
2708327115
type: string
2708427116
x-enum-varnames:
2708527117
- DEDUPE
27118+
ObservabilityPipelineDiskBufferOptions:
27119+
description: Options for configuring a disk buffer.
27120+
properties:
27121+
max_size:
27122+
description: Maximum size of the disk buffer.
27123+
example: 4096
27124+
format: int64
27125+
maximum: 536870912000
27126+
minimum: 268435488
27127+
type: integer
27128+
type:
27129+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType'
27130+
type: object
2708627131
ObservabilityPipelineElasticsearchDestination:
2708727132
description: The `elasticsearch` destination writes logs to an Elasticsearch
2708827133
cluster.
2708927134
properties:
2709027135
api_version:
2709127136
$ref: '#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion'
27137+
buffer:
27138+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2709227139
bulk_index:
2709327140
description: The index to write logs to in Elasticsearch.
2709427141
example: logs-index
@@ -27573,6 +27620,8 @@ components:
2757327620
properties:
2757427621
auth:
2757527622
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
27623+
buffer:
27624+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2757627625
customer_id:
2757727626
description: The Google Chronicle customer ID.
2757827627
example: abcdefg123456789
@@ -27639,6 +27688,8 @@ components:
2763927688
description: Name of the GCS bucket.
2764027689
example: error-logs
2764127690
type: string
27691+
buffer:
27692+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2764227693
id:
2764327694
description: Unique identifier for the destination component.
2764427695
example: gcs-destination
@@ -27949,6 +28000,32 @@ components:
2794928000
type: string
2795028001
x-enum-varnames:
2795128002
- LOGSTASH
28003+
ObservabilityPipelineMemoryBufferOptions:
28004+
description: Options for configuring a memory buffer by byte size.
28005+
properties:
28006+
max_size:
28007+
description: Maximum size of the disk buffer.
28008+
example: 4096
28009+
format: int64
28010+
maximum: 13743895347
28011+
minimum: 1
28012+
type: integer
28013+
type:
28014+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
28015+
type: object
28016+
ObservabilityPipelineMemoryBufferSizeOptions:
28017+
description: Options for configuring a memory buffer by queue length.
28018+
properties:
28019+
max_events:
28020+
description: The `ObservabilityPipelineMemoryBufferSizeOptions` `max_events`.
28021+
example: 500
28022+
format: int64
28023+
maximum: 268435456
28024+
minimum: 1
28025+
type: integer
28026+
type:
28027+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
28028+
type: object
2795228029
ObservabilityPipelineMetadataEntry:
2795328030
description: A custom metadata entry.
2795428031
properties:
@@ -27972,6 +28049,8 @@ components:
2797228049
ObservabilityPipelineNewRelicDestination:
2797328050
description: The `new_relic` destination sends logs to the New Relic platform.
2797428051
properties:
28052+
buffer:
28053+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2797528054
id:
2797628055
description: The unique identifier for this component.
2797728056
example: new-relic-destination
@@ -28109,6 +28188,8 @@ components:
2810928188
ObservabilityPipelineOpenSearchDestination:
2811028189
description: The `opensearch` destination writes logs to an OpenSearch cluster.
2811128190
properties:
28191+
buffer:
28192+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2811228193
bulk_index:
2811328194
description: The index to write logs to.
2811428195
example: logs-index
@@ -28683,6 +28764,8 @@ components:
2868328764
description: The `rsyslog` destination forwards logs to an external `rsyslog`
2868428765
server over TCP or UDP using the syslog protocol.
2868528766
properties:
28767+
buffer:
28768+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2868628769
id:
2868728770
description: The unique identifier for this component.
2868828771
example: rsyslog-destination
@@ -29157,6 +29240,8 @@ components:
2915729240
ObservabilityPipelineSentinelOneDestination:
2915829241
description: The `sentinel_one` destination sends logs to SentinelOne.
2915929242
properties:
29243+
buffer:
29244+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2916029245
id:
2916129246
description: The unique identifier for this component.
2916229247
example: sentinelone-destination
@@ -29241,6 +29326,8 @@ components:
2924129326
'
2924229327
example: true
2924329328
type: boolean
29329+
buffer:
29330+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2924429331
encoding:
2924529332
$ref: '#/components/schemas/ObservabilityPipelineSplunkHecDestinationEncoding'
2924629333
id:
@@ -29354,6 +29441,8 @@ components:
2935429441
ObservabilityPipelineSumoLogicDestination:
2935529442
description: The `sumo_logic` destination forwards logs to Sumo Logic.
2935629443
properties:
29444+
buffer:
29445+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2935729446
encoding:
2935829447
$ref: '#/components/schemas/ObservabilityPipelineSumoLogicDestinationEncoding'
2935929448
header_custom_fields:
@@ -29457,6 +29546,8 @@ components:
2945729546
description: The `syslog_ng` destination forwards logs to an external `syslog-ng`
2945829547
server over TCP or UDP using the syslog protocol.
2945929548
properties:
29549+
buffer:
29550+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
2946029551
id:
2946129552
description: The unique identifier for this component.
2946229553
example: syslog-ng-destination

src/main/java/com/datadog/api/client/v2/model/AzureStorageDestination.java

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
/** The <code>azure_storage</code> destination forwards logs to an Azure Blob Storage container. */
2323
@JsonPropertyOrder({
2424
AzureStorageDestination.JSON_PROPERTY_BLOB_PREFIX,
25+
AzureStorageDestination.JSON_PROPERTY_BUFFER,
2526
AzureStorageDestination.JSON_PROPERTY_CONTAINER_NAME,
2627
AzureStorageDestination.JSON_PROPERTY_ID,
2728
AzureStorageDestination.JSON_PROPERTY_INPUTS,
@@ -34,6 +35,9 @@ public class AzureStorageDestination {
3435
public static final String JSON_PROPERTY_BLOB_PREFIX = "blob_prefix";
3536
private String blobPrefix;
3637

38+
public static final String JSON_PROPERTY_BUFFER = "buffer";
39+
private ObservabilityPipelineBufferOptions buffer;
40+
3741
public static final String JSON_PROPERTY_CONTAINER_NAME = "container_name";
3842
private String containerName;
3943

@@ -82,6 +86,28 @@ public void setBlobPrefix(String blobPrefix) {
8286
this.blobPrefix = blobPrefix;
8387
}
8488

89+
public AzureStorageDestination buffer(ObservabilityPipelineBufferOptions buffer) {
90+
this.buffer = buffer;
91+
this.unparsed |= buffer.unparsed;
92+
return this;
93+
}
94+
95+
/**
96+
* Configuration for buffer settings on destination components.
97+
*
98+
* @return buffer
99+
*/
100+
@jakarta.annotation.Nullable
101+
@JsonProperty(JSON_PROPERTY_BUFFER)
102+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
103+
public ObservabilityPipelineBufferOptions getBuffer() {
104+
return buffer;
105+
}
106+
107+
public void setBuffer(ObservabilityPipelineBufferOptions buffer) {
108+
this.buffer = buffer;
109+
}
110+
85111
public AzureStorageDestination containerName(String containerName) {
86112
this.containerName = containerName;
87113
return this;
@@ -228,6 +254,7 @@ public boolean equals(Object o) {
228254
}
229255
AzureStorageDestination azureStorageDestination = (AzureStorageDestination) o;
230256
return Objects.equals(this.blobPrefix, azureStorageDestination.blobPrefix)
257+
&& Objects.equals(this.buffer, azureStorageDestination.buffer)
231258
&& Objects.equals(this.containerName, azureStorageDestination.containerName)
232259
&& Objects.equals(this.id, azureStorageDestination.id)
233260
&& Objects.equals(this.inputs, azureStorageDestination.inputs)
@@ -237,14 +264,15 @@ public boolean equals(Object o) {
237264

238265
@Override
239266
public int hashCode() {
240-
return Objects.hash(blobPrefix, containerName, id, inputs, type, additionalProperties);
267+
return Objects.hash(blobPrefix, buffer, containerName, id, inputs, type, additionalProperties);
241268
}
242269

243270
@Override
244271
public String toString() {
245272
StringBuilder sb = new StringBuilder();
246273
sb.append("class AzureStorageDestination {\n");
247274
sb.append(" blobPrefix: ").append(toIndentedString(blobPrefix)).append("\n");
275+
sb.append(" buffer: ").append(toIndentedString(buffer)).append("\n");
248276
sb.append(" containerName: ").append(toIndentedString(containerName)).append("\n");
249277
sb.append(" id: ").append(toIndentedString(id)).append("\n");
250278
sb.append(" inputs: ").append(toIndentedString(inputs)).append("\n");

src/main/java/com/datadog/api/client/v2/model/MicrosoftSentinelDestination.java

Lines changed: 30 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
/** The <code>microsoft_sentinel</code> destination forwards logs to Microsoft Sentinel. */
2323
@JsonPropertyOrder({
24+
MicrosoftSentinelDestination.JSON_PROPERTY_BUFFER,
2425
MicrosoftSentinelDestination.JSON_PROPERTY_CLIENT_ID,
2526
MicrosoftSentinelDestination.JSON_PROPERTY_DCR_IMMUTABLE_ID,
2627
MicrosoftSentinelDestination.JSON_PROPERTY_ID,
@@ -33,6 +34,9 @@
3334
value = "https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
3435
public class MicrosoftSentinelDestination {
3536
@JsonIgnore public boolean unparsed = false;
37+
public static final String JSON_PROPERTY_BUFFER = "buffer";
38+
private ObservabilityPipelineBufferOptions buffer;
39+
3640
public static final String JSON_PROPERTY_CLIENT_ID = "client_id";
3741
private String clientId;
3842

@@ -77,6 +81,28 @@ public MicrosoftSentinelDestination(
7781
this.unparsed |= !type.isValid();
7882
}
7983

84+
public MicrosoftSentinelDestination buffer(ObservabilityPipelineBufferOptions buffer) {
85+
this.buffer = buffer;
86+
this.unparsed |= buffer.unparsed;
87+
return this;
88+
}
89+
90+
/**
91+
* Configuration for buffer settings on destination components.
92+
*
93+
* @return buffer
94+
*/
95+
@jakarta.annotation.Nullable
96+
@JsonProperty(JSON_PROPERTY_BUFFER)
97+
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
98+
public ObservabilityPipelineBufferOptions getBuffer() {
99+
return buffer;
100+
}
101+
102+
public void setBuffer(ObservabilityPipelineBufferOptions buffer) {
103+
this.buffer = buffer;
104+
}
105+
80106
public MicrosoftSentinelDestination clientId(String clientId) {
81107
this.clientId = clientId;
82108
return this;
@@ -282,7 +308,8 @@ public boolean equals(Object o) {
282308
return false;
283309
}
284310
MicrosoftSentinelDestination microsoftSentinelDestination = (MicrosoftSentinelDestination) o;
285-
return Objects.equals(this.clientId, microsoftSentinelDestination.clientId)
311+
return Objects.equals(this.buffer, microsoftSentinelDestination.buffer)
312+
&& Objects.equals(this.clientId, microsoftSentinelDestination.clientId)
286313
&& Objects.equals(this.dcrImmutableId, microsoftSentinelDestination.dcrImmutableId)
287314
&& Objects.equals(this.id, microsoftSentinelDestination.id)
288315
&& Objects.equals(this.inputs, microsoftSentinelDestination.inputs)
@@ -296,13 +323,14 @@ public boolean equals(Object o) {
296323
@Override
297324
public int hashCode() {
298325
return Objects.hash(
299-
clientId, dcrImmutableId, id, inputs, table, tenantId, type, additionalProperties);
326+
buffer, clientId, dcrImmutableId, id, inputs, table, tenantId, type, additionalProperties);
300327
}
301328

302329
@Override
303330
public String toString() {
304331
StringBuilder sb = new StringBuilder();
305332
sb.append("class MicrosoftSentinelDestination {\n");
333+
sb.append(" buffer: ").append(toIndentedString(buffer)).append("\n");
306334
sb.append(" clientId: ").append(toIndentedString(clientId)).append("\n");
307335
sb.append(" dcrImmutableId: ").append(toIndentedString(dcrImmutableId)).append("\n");
308336
sb.append(" id: ").append(toIndentedString(id)).append("\n");

0 commit comments

Comments
 (0)