Skip to content

Commit cd63df8

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit ef1331f of spec repo
1 parent 3d77f00 commit cd63df8

File tree

43 files changed

+931
-35
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+931
-35
lines changed

.generator/schemas/v2/openapi.yaml

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6684,6 +6684,8 @@ components:
66846684
description: Optional prefix for blobs written to the container.
66856685
example: logs/
66866686
type: string
6687+
buffer:
6688+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
66876689
container_name:
66886690
description: The name of the Azure Blob Storage container to store logs
66896691
in.
@@ -33334,6 +33336,8 @@ components:
3333433336
description: The `microsoft_sentinel` destination forwards logs to Microsoft
3333533337
Sentinel.
3333633338
properties:
33339+
buffer:
33340+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3333733341
client_id:
3333833342
description: Azure AD client ID used for authentication.
3333933343
example: a1b2c3d4-5678-90ab-cdef-1234567890ab
@@ -35211,6 +35215,8 @@ components:
3521135215
properties:
3521235216
auth:
3521335217
$ref: '#/components/schemas/ObservabilityPipelineAmazonOpenSearchDestinationAuth'
35218+
buffer:
35219+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3521435220
bulk_index:
3521535221
description: The index to write logs to.
3521635222
example: logs-index
@@ -35287,6 +35293,8 @@ components:
3528735293
description: S3 bucket name.
3528835294
example: error-logs
3528935295
type: string
35296+
buffer:
35297+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3529035298
id:
3529135299
description: Unique identifier for the destination component.
3529235300
example: amazon-s3-destination
@@ -35455,6 +35463,39 @@ components:
3545535463
role session.
3545635464
type: string
3545735465
type: object
35466+
ObservabilityPipelineBufferOptions:
35467+
description: Configuration for buffer settings on destination components.
35468+
oneOf:
35469+
- $ref: '#/components/schemas/ObservabilityPipelineDiskBufferOptions'
35470+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferOptions'
35471+
- $ref: '#/components/schemas/ObservabilityPipelineMemoryBufferSizeOptions'
35472+
ObservabilityPipelineBufferOptionsDiskType:
35473+
default: disk
35474+
description: The type of the buffer that will be configured, a disk buffer.
35475+
enum:
35476+
- disk
35477+
type: string
35478+
x-enum-varnames:
35479+
- DISK
35480+
ObservabilityPipelineBufferOptionsMemoryType:
35481+
default: memory
35482+
description: The type of the buffer that will be configured, a memory buffer.
35483+
enum:
35484+
- memory
35485+
type: string
35486+
x-enum-varnames:
35487+
- MEMORY
35488+
ObservabilityPipelineBufferOptionsWhenFull:
35489+
default: block
35490+
description: Behavior when the buffer is full (block and stop accepting new
35491+
events, or drop new events)
35492+
enum:
35493+
- block
35494+
- drop_newest
35495+
type: string
35496+
x-enum-varnames:
35497+
- BLOCK
35498+
- DROP_NEWEST
3545835499
ObservabilityPipelineComponentDisplayName:
3545935500
description: The display name for a component.
3546035501
example: my component
@@ -36020,12 +36061,27 @@ components:
3602036061
type: string
3602136062
x-enum-varnames:
3602236063
- DEDUPE
36064+
ObservabilityPipelineDiskBufferOptions:
36065+
description: Options for configuring a disk buffer.
36066+
properties:
36067+
max_size:
36068+
description: Maximum size of the disk buffer.
36069+
example: 4096
36070+
format: int64
36071+
type: integer
36072+
type:
36073+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsDiskType'
36074+
when_full:
36075+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsWhenFull'
36076+
type: object
3602336077
ObservabilityPipelineElasticsearchDestination:
3602436078
description: The `elasticsearch` destination writes logs to an Elasticsearch
3602536079
cluster.
3602636080
properties:
3602736081
api_version:
3602836082
$ref: '#/components/schemas/ObservabilityPipelineElasticsearchDestinationApiVersion'
36083+
buffer:
36084+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3602936085
bulk_index:
3603036086
description: The index to write logs to in Elasticsearch.
3603136087
example: logs-index
@@ -36496,6 +36552,8 @@ components:
3649636552
properties:
3649736553
auth:
3649836554
$ref: '#/components/schemas/ObservabilityPipelineGcpAuth'
36555+
buffer:
36556+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3649936557
customer_id:
3650036558
description: The Google Chronicle customer ID.
3650136559
example: abcdefg123456789
@@ -36559,6 +36617,8 @@ components:
3655936617
description: Name of the GCS bucket.
3656036618
example: error-logs
3656136619
type: string
36620+
buffer:
36621+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3656236622
id:
3656336623
description: Unique identifier for the destination component.
3656436624
example: gcs-destination
@@ -36925,6 +36985,28 @@ components:
3692536985
type: string
3692636986
x-enum-varnames:
3692736987
- LOGSTASH
36988+
ObservabilityPipelineMemoryBufferOptions:
36989+
description: Options for configuring a memory buffer by byte size.
36990+
properties:
36991+
max_size:
36992+
description: Maximum size of the disk buffer.
36993+
example: 4096
36994+
format: int64
36995+
type: integer
36996+
type:
36997+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
36998+
type: object
36999+
ObservabilityPipelineMemoryBufferSizeOptions:
37000+
description: Options for configuring a memory buffer by queue length.
37001+
properties:
37002+
max_events:
37003+
description: Maximum events for the memory buffer.
37004+
example: 500
37005+
format: int64
37006+
type: integer
37007+
type:
37008+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptionsMemoryType'
37009+
type: object
3692837010
ObservabilityPipelineMetadataEntry:
3692937011
description: A custom metadata entry.
3693037012
properties:
@@ -36948,6 +37030,8 @@ components:
3694837030
ObservabilityPipelineNewRelicDestination:
3694937031
description: The `new_relic` destination sends logs to the New Relic platform.
3695037032
properties:
37033+
buffer:
37034+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3695137035
id:
3695237036
description: The unique identifier for this component.
3695337037
example: new-relic-destination
@@ -37084,6 +37168,8 @@ components:
3708437168
ObservabilityPipelineOpenSearchDestination:
3708537169
description: The `opensearch` destination writes logs to an OpenSearch cluster.
3708637170
properties:
37171+
buffer:
37172+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3708737173
bulk_index:
3708837174
description: The index to write logs to.
3708937175
example: logs-index
@@ -37635,6 +37721,8 @@ components:
3763537721
description: The `rsyslog` destination forwards logs to an external `rsyslog`
3763637722
server over TCP or UDP using the syslog protocol.
3763737723
properties:
37724+
buffer:
37725+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3763837726
id:
3763937727
description: The unique identifier for this component.
3764037728
example: rsyslog-destination
@@ -38105,6 +38193,8 @@ components:
3810538193
ObservabilityPipelineSentinelOneDestination:
3810638194
description: The `sentinel_one` destination sends logs to SentinelOne.
3810738195
properties:
38196+
buffer:
38197+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3810838198
id:
3810938199
description: The unique identifier for this component.
3811038200
example: sentinelone-destination
@@ -38453,6 +38543,8 @@ components:
3845338543
If `false`, Splunk assigns the time the event was received.'
3845438544
example: true
3845538545
type: boolean
38546+
buffer:
38547+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3845638548
encoding:
3845738549
$ref: '#/components/schemas/ObservabilityPipelineSplunkHecDestinationEncoding'
3845838550
id:
@@ -38562,6 +38654,8 @@ components:
3856238654
ObservabilityPipelineSumoLogicDestination:
3856338655
description: The `sumo_logic` destination forwards logs to Sumo Logic.
3856438656
properties:
38657+
buffer:
38658+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3856538659
encoding:
3856638660
$ref: '#/components/schemas/ObservabilityPipelineSumoLogicDestinationEncoding'
3856738661
header_custom_fields:
@@ -38665,6 +38759,8 @@ components:
3866538759
description: The `syslog_ng` destination forwards logs to an external `syslog-ng`
3866638760
server over TCP or UDP using the syslog protocol.
3866738761
properties:
38762+
buffer:
38763+
$ref: '#/components/schemas/ObservabilityPipelineBufferOptions'
3866838764
id:
3866938765
description: The unique identifier for this component.
3867038766
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
@@ -15467,6 +15467,34 @@ datadog\_api\_client.v2.model.observability\_pipeline\_aws\_auth module
1546715467
:members:
1546815468
:show-inheritance:
1546915469

15470+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options module
15471+
-----------------------------------------------------------------------------
15472+
15473+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options
15474+
:members:
15475+
:show-inheritance:
15476+
15477+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_disk\_type module
15478+
-----------------------------------------------------------------------------------------
15479+
15480+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_disk_type
15481+
:members:
15482+
:show-inheritance:
15483+
15484+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_memory\_type module
15485+
-------------------------------------------------------------------------------------------
15486+
15487+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_memory_type
15488+
:members:
15489+
:show-inheritance:
15490+
15491+
datadog\_api\_client.v2.model.observability\_pipeline\_buffer\_options\_when\_full module
15492+
-----------------------------------------------------------------------------------------
15493+
15494+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_buffer_options_when_full
15495+
:members:
15496+
:show-inheritance:
15497+
1547015498
datadog\_api\_client.v2.model.observability\_pipeline\_config module
1547115499
--------------------------------------------------------------------
1547215500

@@ -15656,6 +15684,13 @@ datadog\_api\_client.v2.model.observability\_pipeline\_dedupe\_processor\_type m
1565615684
:members:
1565715685
:show-inheritance:
1565815686

15687+
datadog\_api\_client.v2.model.observability\_pipeline\_disk\_buffer\_options module
15688+
-----------------------------------------------------------------------------------
15689+
15690+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_disk_buffer_options
15691+
:members:
15692+
:show-inheritance:
15693+
1565915694
datadog\_api\_client.v2.model.observability\_pipeline\_elasticsearch\_destination module
1566015695
----------------------------------------------------------------------------------------
1566115696

@@ -16020,6 +16055,20 @@ datadog\_api\_client.v2.model.observability\_pipeline\_logstash\_source\_type mo
1602016055
:members:
1602116056
:show-inheritance:
1602216057

16058+
datadog\_api\_client.v2.model.observability\_pipeline\_memory\_buffer\_options module
16059+
-------------------------------------------------------------------------------------
16060+
16061+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_memory_buffer_options
16062+
:members:
16063+
:show-inheritance:
16064+
16065+
datadog\_api\_client.v2.model.observability\_pipeline\_memory\_buffer\_size\_options module
16066+
-------------------------------------------------------------------------------------------
16067+
16068+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_memory_buffer_size_options
16069+
:members:
16070+
:show-inheritance:
16071+
1602316072
datadog\_api\_client.v2.model.observability\_pipeline\_metadata\_entry module
1602416073
-----------------------------------------------------------------------------
1602516074

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
"""
@@ -53,6 +73,9 @@ def __init__(
5373
:param blob_prefix: Optional prefix for blobs written to the container.
5474
:type blob_prefix: str, optional
5575
76+
:param buffer: Configuration for buffer settings on destination components.
77+
:type buffer: ObservabilityPipelineBufferOptions, optional
78+
5679
:param container_name: The name of the Azure Blob Storage container to store logs in.
5780
:type container_name: str
5881
@@ -67,6 +90,8 @@ def __init__(
6790
"""
6891
if blob_prefix is not unset:
6992
kwargs["blob_prefix"] = blob_prefix
93+
if buffer is not unset:
94+
kwargs["buffer"] = buffer
7095
super().__init__(kwargs)
7196

7297
self_.container_name = container_name

0 commit comments

Comments
 (0)