Skip to content

Commit e8525b6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 56ad6c6 of spec repo
1 parent 9471ee0 commit e8525b6

File tree

30 files changed

+1021
-3
lines changed

30 files changed

+1021
-3
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6766,6 +6766,8 @@ components:
67666766
description: Optional prefix for blobs written to the container.
67676767
example: logs/
67686768
type: string
6769+
buffer:
6770+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
67696771
container_name:
67706772
description: The name of the Azure Blob Storage container to store logs
67716773
in.
@@ -36391,6 +36393,8 @@ components:
3639136393

3639236394
**Supported pipeline types:** logs'
3639336395
properties:
36396+
buffer:
36397+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3639436398
client_id:
3639536399
description: Azure AD client ID used for authentication.
3639636400
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
@@ -38337,6 +38341,8 @@ components:
3833738341
properties:
3833838342
auth:
3833938343
$ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestinationAuth'
38344+
buffer:
38345+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3834038346
bulk_index:
3834138347
description: The index to write logs to.
3834238348
example: logs-index
@@ -38418,6 +38424,8 @@ components:
3841838424
description: S3 bucket name.
3841938425
example: error-logs
3842038426
type: string
38427+
buffer:
38428+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3842138429
id:
3842238430
description: Unique identifier for the destination component.
3842338431
example: amazon-s3-destination
@@ -38539,6 +38547,8 @@ components:
3853938547
description: Name of the Amazon S3 bucket in Security Lake (3-63 characters).
3854038548
example: security-lake-bucket
3854138549
type: string
38550+
buffer:
38551+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3854238552
custom_source_name:
3854338553
description: Custom source name for the logs in Security Lake.
3854438554
example: my-custom-source
@@ -38598,6 +38608,39 @@ components:
3859838608
role session.
3859938609
type: string
3860038610
type: object
38611+
ObservabilityPipelineBufferOptions:
38612+
description: Configuration for buffer settings on destination components.
38613+
oneOf:
38614+
- $ref: '#/components/schemas/ObservabilityPipelineDiskBufferOptions'
38615+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferOptions'
38616+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferSizeOptions'
38617+
ObservabilityPipelineBufferOptionsDiskType:
38618+
default: disk
38619+
description: The type of the buffer that will be configured, a disk buffer.
38620+
enum:
38621+
- disk
38622+
type: string
38623+
x-enum-varnames:
38624+
- DISK
38625+
ObservabilityPipelineBufferOptionsMemoryType:
38626+
default: memory
38627+
description: The type of the buffer that will be configured, a memory buffer.
38628+
enum:
38629+
- memory
38630+
type: string
38631+
x-enum-varnames:
38632+
- MEMORY
38633+
ObservabilityPipelineBufferOptionsWhenFull:
38634+
default: block
38635+
description: Behavior when the buffer is full (block and stop accepting new
38636+
events, or drop new events)
38637+
enum:
38638+
- block
38639+
- drop_newest
38640+
type: string
38641+
x-enum-varnames:
38642+
- BLOCK
38643+
- DROP_NEWEST
3860138644
ObservabilityPipelineCloudPremDestination:
3860238645
description: 'The `cloud_prem` destination sends logs to Datadog CloudPrem.
3860338646

@@ -38868,6 +38911,8 @@ components:
3886838911

3886938912
**Supported pipeline types:** logs'
3887038913
properties:
38914+
buffer:
38915+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3887138916
compression:
3887238917
$ref: '#/components/schemas/ObservabilityPipelineCrowdStrikeNextGenSiemDestinationCompression'
3887338918
encoding:
@@ -39093,6 +39138,8 @@ components:
3909339138

3909439139
**Supported pipeline types:** logs'
3909539140
properties:
39141+
buffer:
39142+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3909639143
id:
3909739144
description: The unique identifier for this component.
3909839145
example: datadog-logs-destination
@@ -39347,6 +39394,19 @@ components:
3934739394
type: string
3934839395
x-enum-varnames:
3934939396
- DEDUPE
39397+
ObservabilityPipelineDiskBufferOptions:
39398+
description: Options for configuring a disk buffer.
39399+
properties:
39400+
max_size:
39401+
description: Maximum size of the disk buffer.
39402+
example: 4096
39403+
format: int64
39404+
type: integer
39405+
type:
39406+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType'
39407+
when_full:
39408+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
39409+
type: object
3935039410
ObservabilityPipelineElasticsearchDestination:
3935139411
description: 'The `elasticsearch` destination writes logs to an Elasticsearch
3935239412
cluster.
@@ -39356,6 +39416,8 @@ components:
3935639416
properties:
3935739417
api_version:
3935839418
$ref: '#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion'
39419+
buffer:
39420+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3935939421
bulk_index:
3936039422
description: The index to write logs to in Elasticsearch.
3936139423
example: logs-index
@@ -39901,6 +39963,8 @@ components:
3990139963
properties:
3990239964
auth:
3990339965
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
39966+
buffer:
39967+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3990439968
customer_id:
3990539969
description: The Google Chronicle customer ID.
3990639970
example: abcdefg123456789
@@ -39969,6 +40033,8 @@ components:
3996940033
description: Name of the GCS bucket.
3997040034
example: error-logs
3997140035
type: string
40036+
buffer:
40037+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3997240038
id:
3997340039
description: Unique identifier for the destination component.
3997440040
example: gcs-destination
@@ -40053,6 +40119,8 @@ components:
4005340119
properties:
4005440120
auth:
4005540121
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
40122+
buffer:
40123+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4005640124
encoding:
4005740125
$ref: '#/components/schemas/ObservabilityPipelineGooglePubSubDestinationEncoding'
4005840126
id:
@@ -40579,6 +40647,28 @@ components:
4057940647
type: string
4058040648
x-enum-varnames:
4058140649
- LOGSTASH
40650+
ObservabilityPipelineMemoryBufferOptions:
40651+
description: Options for configuring a memory buffer by byte size.
40652+
properties:
40653+
max_size:
40654+
description: Maximum size of the memory buffer.
40655+
example: 4096
40656+
format: int64
40657+
type: integer
40658+
type:
40659+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40660+
type: object
40661+
ObservabilityPipelineMemoryBufferSizeOptions:
40662+
description: Options for configuring a memory buffer by queue length.
40663+
properties:
40664+
max_events:
40665+
description: Maximum events for the memory buffer.
40666+
example: 500
40667+
format: int64
40668+
type: integer
40669+
type:
40670+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
40671+
type: object
4058240672
ObservabilityPipelineMetadataEntry:
4058340673
description: A custom metadata entry.
4058440674
properties:
@@ -40701,6 +40791,8 @@ components:
4070140791

4070240792
**Supported pipeline types:** logs'
4070340793
properties:
40794+
buffer:
40795+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4070440796
id:
4070540797
description: The unique identifier for this component.
4070640798
example: new-relic-destination
@@ -40847,6 +40939,8 @@ components:
4084740939

4084840940
**Supported pipeline types:** logs'
4084940941
properties:
40942+
buffer:
40943+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4085040944
bulk_index:
4085140945
description: The index to write logs to.
4085240946
example: logs-index
@@ -41560,6 +41654,8 @@ components:
4156041654

4156141655
**Supported pipeline types:** logs'
4156241656
properties:
41657+
buffer:
41658+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4156341659
id:
4156441660
description: The unique identifier for this component.
4156541661
example: rsyslog-destination
@@ -42065,6 +42161,8 @@ components:
4206542161

4206642162
**Supported pipeline types:** logs'
4206742163
properties:
42164+
buffer:
42165+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4206842166
id:
4206942167
description: The unique identifier for this component.
4207042168
example: sentinelone-destination
@@ -42119,6 +42217,8 @@ components:
4211942217

4212042218
**Supported pipeline types:** logs'
4212142219
properties:
42220+
buffer:
42221+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4212242222
encoding:
4212342223
$ref: '#/components/schemas/ObservabilityPipelineSocketDestinationEncoding'
4212442224
framing:
@@ -42495,6 +42595,8 @@ components:
4249542595
If `false`, Splunk assigns the time the event was received.'
4249642596
example: true
4249742597
type: boolean
42598+
buffer:
42599+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4249842600
encoding:
4249942601
$ref: '#/components/schemas/ObservabilityPipelineSplunkHecDestinationEncoding'
4250042602
id:
@@ -42619,6 +42721,8 @@ components:
4261942721

4262042722
**Supported pipeline types:** logs'
4262142723
properties:
42724+
buffer:
42725+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4262242726
encoding:
4262342727
$ref: '#/components/schemas/ObservabilityPipelineSumoLogicDestinationEncoding'
4262442728
header_custom_fields:
@@ -42732,6 +42836,8 @@ components:
4273242836

4273342837
**Supported pipeline types:** logs'
4273442838
properties:
42839+
buffer:
42840+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
4273542841
id:
4273642842
description: The unique identifier for this component.
4273742843
example: syslog-ng-destination

docs/datadog_api_client.v2.model.rst

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16811,6 +16811,34 @@ datadog\_api\_client.v2.model.observability\_pipeline\_aws\_auth module
1681116811
:members:
1681216812
:show-inheritance:
1681316813

16814+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options module
16815+
-----------------------------------------------------------------------------
16816+
16817+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options
16818+
:members:
16819+
:show-inheritance:
16820+
16821+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_disk\_type module
16822+
-----------------------------------------------------------------------------------------
16823+
16824+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_disk_type
16825+
:members:
16826+
:show-inheritance:
16827+
16828+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_memory\_type module
16829+
-------------------------------------------------------------------------------------------
16830+
16831+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type
16832+
:members:
16833+
:show-inheritance:
16834+
16835+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_when\_full module
16836+
-----------------------------------------------------------------------------------------
16837+
16838+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full
16839+
:members:
16840+
:show-inheritance:
16841+
1681416842
datadog\_api\_client.v2.model.observability\_pipeline\_cloud\_prem\_destination module
1681516843
--------------------------------------------------------------------------------------
1681616844

@@ -17042,6 +17070,13 @@ datadog\_api\_client.v2.model.observability\_pipeline\_dedupe\_processor\_type m
1704217070
:members:
1704317071
:show-inheritance:
1704417072

17073+
datadog\_api\_client.v2.model.observability\_pipeline\_disk\_buffer\_options module
17074+
-----------------------------------------------------------------------------------
17075+
17076+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_disk_buffer_options
17077+
:members:
17078+
:show-inheritance:
17079+
1704517080
datadog\_api\_client.v2.model.observability\_pipeline\_elasticsearch\_destination module
1704617081
----------------------------------------------------------------------------------------
1704717082

@@ -17497,6 +17532,20 @@ datadog\_api\_client.v2.model.observability\_pipeline\_logstash\_source\_type mo
1749717532
:members:
1749817533
:show-inheritance:
1749917534

17535+
datadog\_api\_client.v2.model.observability\_pipeline\_memory\_buffer\_options module
17536+
-------------------------------------------------------------------------------------
17537+
17538+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_memory_buffer_options
17539+
:members:
17540+
:show-inheritance:
17541+
17542+
datadog\_api\_client.v2.model.observability\_pipeline\_memory\_buffer\_size\_options module
17543+
-------------------------------------------------------------------------------------------
17544+
17545+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_memory_buffer_size_options
17546+
:members:
17547+
:show-inheritance:
17548+
1750017549
datadog\_api\_client.v2.model.observability\_pipeline\_metadata\_entry module
1750117550
-----------------------------------------------------------------------------
1750217551

src/datadog_api_client/v2/model/azure_storage_destination.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,28 @@
1414

1515

1616
if TYPE_CHECKING:
17+
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
1718
from datadog_api_client.v2.model.azure_storage_destination_type import AzureStorageDestinationType
19+
from datadog_api_client.v2.model.observability_pipeline_disk_buffer_options import (
20+
ObservabilityPipelineDiskBufferOptions,
21+
)
22+
from datadog_api_client.v2.model.observability_pipeline_memory_buffer_options import (
23+
ObservabilityPipelineMemoryBufferOptions,
24+
)
25+
from datadog_api_client.v2.model.observability_pipeline_memory_buffer_size_options import (
26+
ObservabilityPipelineMemoryBufferSizeOptions,
27+
)
1828

1929

2030
class AzureStorageDestination(ModelNormal):
2131
@cached_property
2232
def openapi_types(_):
33+
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
2334
from datadog_api_client.v2.model.azure_storage_destination_type import AzureStorageDestinationType
2435

2536
return {
2637
"blob_prefix": (str,),
38+
"buffer": (ObservabilityPipelineBufferOptions,),
2739
"container_name": (str,),
2840
"id": (str,),
2941
"inputs": ([str],),
@@ -32,6 +44,7 @@ def openapi_types(_):
3244

3345
attribute_map = {
3446
"blob_prefix": "blob_prefix",
47+
"buffer": "buffer",
3548
"container_name": "container_name",
3649
"id": "id",
3750
"inputs": "inputs",
@@ -45,6 +58,13 @@ def __init__(
4558
inputs: List[str],
4659
type: AzureStorageDestinationType,
4760
blob_prefix: Union[str, UnsetType] = unset,
61+
buffer: Union[
62+
ObservabilityPipelineBufferOptions,
63+
ObservabilityPipelineDiskBufferOptions,
64+
ObservabilityPipelineMemoryBufferOptions,
65+
ObservabilityPipelineMemoryBufferSizeOptions,
66+
UnsetType,
67+
] = unset,
4868
**kwargs,
4969
):
5070
"""
@@ -55,6 +75,9 @@ def __init__(
5575
:param blob_prefix: Optional prefix for blobs written to the container.
5676
:type blob_prefix: str, optional
5777
78+
:param buffer: Configuration for buffer settings on destination components.
79+
:type buffer: ObservabilityPipelineBufferOptions, optional
80+
5881
:param container_name: The name of the Azure Blob Storage container to store logs in.
5982
:type container_name: str
6083
@@ -69,6 +92,8 @@ def __init__(
6992
"""
7093
if blob_prefix is not unset:
7194
kwargs["blob_prefix"] = blob_prefix
95+
if buffer is not unset:
96+
kwargs["buffer"] = buffer
7297
super().__init__(kwargs)
7398

7499
self_.container_name = container_name

0 commit comments

Comments
 (0)