Skip to content

Commit c541e16

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit d8efe8c of spec repo
1 parent 31510a0 commit c541e16

14 files changed

Lines changed: 194 additions & 70 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54546,7 +54546,7 @@ components:
5454654546
example: "fluent-source"
5454754547
type: string
5454854548
tls:
54549-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54549+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5455054550
type:
5455154551
$ref: "#/components/schemas/ObservabilityPipelineFluentBitSourceType"
5455254552
required:
@@ -54578,7 +54578,7 @@ components:
5457854578
example: "fluent-source"
5457954579
type: string
5458054580
tls:
54581-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54581+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5458254582
type:
5458354583
$ref: "#/components/schemas/ObservabilityPipelineFluentdSourceType"
5458454584
required:
@@ -55179,7 +55179,7 @@ components:
5517955179
example: HTTP_AUTH_PASSWORD
5518055180
type: string
5518155181
tls:
55182-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55182+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5518355183
type:
5518455184
$ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceType"
5518555185
username_key:
@@ -55493,7 +55493,7 @@ components:
5549355493
example: logstash-source
5549455494
type: string
5549555495
tls:
55496-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55496+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5549755497
type:
5549855498
$ref: "#/components/schemas/ObservabilityPipelineLogstashSourceType"
5549955499
required:
@@ -55644,6 +55644,29 @@ components:
5564455644
oneOf:
5564555645
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByOne"
5564655646
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByField"
55647+
ObservabilityPipelineMtlsServerTls:
55648+
description: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
55649+
properties:
55650+
ca_file:
55651+
description: Path to the Certificate Authority (CA) file used to validate connecting clients' TLS certificates.
55652+
type: string
55653+
crt_file:
55654+
description: Path to the TLS server certificate file used to used to identify the pipeline component to connecting clients.
55655+
example: "/path/to/cert.crt"
55656+
type: string
55657+
key_file:
55658+
description: Path to the private key file associated with the TLS server certificate.
55659+
type: string
55660+
key_pass_key:
55661+
description: Name of the environment variable or secret that holds the passphrase for the private key file.
55662+
example: TLS_KEY_PASSPHRASE
55663+
type: string
55664+
verify_certificate:
55665+
description: When `true`, requires client connections to present a valid certificate, enabling mutual TLS authentication.
55666+
type: boolean
55667+
required:
55668+
- crt_file
55669+
type: object
5564755670
ObservabilityPipelineNewRelicDestination:
5564855671
description: |-
5564955672
The `new_relic` destination sends logs to the New Relic platform.
@@ -55983,7 +56006,7 @@ components:
5598356006
example: opentelemetry-source
5598456007
type: string
5598556008
tls:
55986-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56009+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5598756010
type:
5598856011
$ref: "#/components/schemas/ObservabilityPipelineOpentelemetrySourceType"
5598956012
required:
@@ -56611,7 +56634,7 @@ components:
5661156634
mode:
5661256635
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5661356636
tls:
56614-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56637+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5661556638
type:
5661656639
$ref: "#/components/schemas/ObservabilityPipelineRsyslogSourceType"
5661756640
required:
@@ -57182,7 +57205,7 @@ components:
5718257205
mode:
5718357206
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceMode"
5718457207
tls:
57185-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57208+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5718657209
description: TLS configuration. Relevant only when `mode` is `tcp`.
5718757210
type:
5718857211
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceType"
@@ -57507,7 +57530,7 @@ components:
5750757530
example: true
5750857531
type: boolean
5750957532
tls:
57510-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57533+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5751157534
type:
5751257535
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
5751357536
valid_tokens:
@@ -57569,7 +57592,7 @@ components:
5756957592
example: splunk-tcp-source
5757057593
type: string
5757157594
tls:
57572-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57595+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5757357596
type:
5757457597
$ref: "#/components/schemas/ObservabilityPipelineSplunkTcpSourceType"
5757557598
required:
@@ -57763,7 +57786,7 @@ components:
5776357786
mode:
5776457787
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5776557788
tls:
57766-
$ref: "#/components/schemas/ObservabilityPipelineTls"
57789+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5776757790
type:
5776857791
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
5776957792
required:

docs/datadog_api_client.v2.model.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23755,6 +23755,13 @@ datadog\_api\_client.v2.model.observability\_pipeline\_metric\_value module
2375523755
:members:
2375623756
:show-inheritance:
2375723757

23758+
datadog\_api\_client.v2.model.observability\_pipeline\_mtls\_server\_tls module
23759+
-------------------------------------------------------------------------------
23760+
23761+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_mtls_server_tls
23762+
:members:
23763+
:show-inheritance:
23764+
2375823765
datadog\_api\_client.v2.model.observability\_pipeline\_new\_relic\_destination module
2375923766
-------------------------------------------------------------------------------------
2376023767

src/datadog_api_client/v2/model/observability_pipeline_fluent_bit_source.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
if TYPE_CHECKING:
17-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
17+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import ObservabilityPipelineMtlsServerTls
1818
from datadog_api_client.v2.model.observability_pipeline_fluent_bit_source_type import (
1919
ObservabilityPipelineFluentBitSourceType,
2020
)
@@ -23,15 +23,17 @@
2323
class ObservabilityPipelineFluentBitSource(ModelNormal):
2424
@cached_property
2525
def openapi_types(_):
26-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
26+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import (
27+
ObservabilityPipelineMtlsServerTls,
28+
)
2729
from datadog_api_client.v2.model.observability_pipeline_fluent_bit_source_type import (
2830
ObservabilityPipelineFluentBitSourceType,
2931
)
3032

3133
return {
3234
"address_key": (str,),
3335
"id": (str,),
34-
"tls": (ObservabilityPipelineTls,),
36+
"tls": (ObservabilityPipelineMtlsServerTls,),
3537
"type": (ObservabilityPipelineFluentBitSourceType,),
3638
}
3739

@@ -47,7 +49,7 @@ def __init__(
4749
id: str,
4850
type: ObservabilityPipelineFluentBitSourceType,
4951
address_key: Union[str, UnsetType] = unset,
50-
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
52+
tls: Union[ObservabilityPipelineMtlsServerTls, UnsetType] = unset,
5153
**kwargs,
5254
):
5355
"""
@@ -61,8 +63,8 @@ def __init__(
6163
:param id: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the ``input`` to downstream components).
6264
:type id: str
6365
64-
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
65-
:type tls: ObservabilityPipelineTls, optional
66+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
67+
:type tls: ObservabilityPipelineMtlsServerTls, optional
6668
6769
:param type: The source type. The value should always be ``fluent_bit``.
6870
:type type: ObservabilityPipelineFluentBitSourceType

src/datadog_api_client/v2/model/observability_pipeline_fluentd_source.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
if TYPE_CHECKING:
17-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
17+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import ObservabilityPipelineMtlsServerTls
1818
from datadog_api_client.v2.model.observability_pipeline_fluentd_source_type import (
1919
ObservabilityPipelineFluentdSourceType,
2020
)
@@ -23,15 +23,17 @@
2323
class ObservabilityPipelineFluentdSource(ModelNormal):
2424
@cached_property
2525
def openapi_types(_):
26-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
26+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import (
27+
ObservabilityPipelineMtlsServerTls,
28+
)
2729
from datadog_api_client.v2.model.observability_pipeline_fluentd_source_type import (
2830
ObservabilityPipelineFluentdSourceType,
2931
)
3032

3133
return {
3234
"address_key": (str,),
3335
"id": (str,),
34-
"tls": (ObservabilityPipelineTls,),
36+
"tls": (ObservabilityPipelineMtlsServerTls,),
3537
"type": (ObservabilityPipelineFluentdSourceType,),
3638
}
3739

@@ -47,7 +49,7 @@ def __init__(
4749
id: str,
4850
type: ObservabilityPipelineFluentdSourceType,
4951
address_key: Union[str, UnsetType] = unset,
50-
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
52+
tls: Union[ObservabilityPipelineMtlsServerTls, UnsetType] = unset,
5153
**kwargs,
5254
):
5355
"""
@@ -61,8 +63,8 @@ def __init__(
6163
:param id: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the ``input`` to downstream components).
6264
:type id: str
6365
64-
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
65-
:type tls: ObservabilityPipelineTls, optional
66+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
67+
:type tls: ObservabilityPipelineMtlsServerTls, optional
6668
6769
:param type: The source type. The value should always be `fluentd.
6870
:type type: ObservabilityPipelineFluentdSourceType

src/datadog_api_client/v2/model/observability_pipeline_http_server_source.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
ObservabilityPipelineHttpServerSourceAuthStrategy,
1919
)
2020
from datadog_api_client.v2.model.observability_pipeline_decoding import ObservabilityPipelineDecoding
21-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
21+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import ObservabilityPipelineMtlsServerTls
2222
from datadog_api_client.v2.model.observability_pipeline_http_server_source_type import (
2323
ObservabilityPipelineHttpServerSourceType,
2424
)
@@ -41,7 +41,9 @@ def openapi_types(_):
4141
ObservabilityPipelineHttpServerSourceAuthStrategy,
4242
)
4343
from datadog_api_client.v2.model.observability_pipeline_decoding import ObservabilityPipelineDecoding
44-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
44+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import (
45+
ObservabilityPipelineMtlsServerTls,
46+
)
4547
from datadog_api_client.v2.model.observability_pipeline_http_server_source_type import (
4648
ObservabilityPipelineHttpServerSourceType,
4749
)
@@ -56,7 +58,7 @@ def openapi_types(_):
5658
"decoding": (ObservabilityPipelineDecoding,),
5759
"id": (str,),
5860
"password_key": (str,),
59-
"tls": (ObservabilityPipelineTls,),
61+
"tls": (ObservabilityPipelineMtlsServerTls,),
6062
"type": (ObservabilityPipelineHttpServerSourceType,),
6163
"username_key": (str,),
6264
"valid_tokens": ([ObservabilityPipelineHttpServerSourceValidToken],),
@@ -84,7 +86,7 @@ def __init__(
8486
address_key: Union[str, UnsetType] = unset,
8587
custom_key: Union[str, UnsetType] = unset,
8688
password_key: Union[str, UnsetType] = unset,
87-
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
89+
tls: Union[ObservabilityPipelineMtlsServerTls, UnsetType] = unset,
8890
username_key: Union[str, UnsetType] = unset,
8991
valid_tokens: Union[List[ObservabilityPipelineHttpServerSourceValidToken], UnsetType] = unset,
9092
**kwargs,
@@ -112,8 +114,8 @@ def __init__(
112114
:param password_key: Name of the environment variable or secret that holds the password (used when ``auth_strategy`` is ``plain`` ).
113115
:type password_key: str, optional
114116
115-
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
116-
:type tls: ObservabilityPipelineTls, optional
117+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
118+
:type tls: ObservabilityPipelineMtlsServerTls, optional
117119
118120
:param type: The source type. The value should always be ``http_server``.
119121
:type type: ObservabilityPipelineHttpServerSourceType

src/datadog_api_client/v2/model/observability_pipeline_logstash_source.py

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
if TYPE_CHECKING:
17-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
17+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import ObservabilityPipelineMtlsServerTls
1818
from datadog_api_client.v2.model.observability_pipeline_logstash_source_type import (
1919
ObservabilityPipelineLogstashSourceType,
2020
)
@@ -23,15 +23,17 @@
2323
class ObservabilityPipelineLogstashSource(ModelNormal):
2424
@cached_property
2525
def openapi_types(_):
26-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
26+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import (
27+
ObservabilityPipelineMtlsServerTls,
28+
)
2729
from datadog_api_client.v2.model.observability_pipeline_logstash_source_type import (
2830
ObservabilityPipelineLogstashSourceType,
2931
)
3032

3133
return {
3234
"address_key": (str,),
3335
"id": (str,),
34-
"tls": (ObservabilityPipelineTls,),
36+
"tls": (ObservabilityPipelineMtlsServerTls,),
3537
"type": (ObservabilityPipelineLogstashSourceType,),
3638
}
3739

@@ -47,7 +49,7 @@ def __init__(
4749
id: str,
4850
type: ObservabilityPipelineLogstashSourceType,
4951
address_key: Union[str, UnsetType] = unset,
50-
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
52+
tls: Union[ObservabilityPipelineMtlsServerTls, UnsetType] = unset,
5153
**kwargs,
5254
):
5355
"""
@@ -61,8 +63,8 @@ def __init__(
6163
:param id: The unique identifier for this component. Used in other parts of the pipeline to reference this component (for example, as the ``input`` to downstream components).
6264
:type id: str
6365
64-
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
65-
:type tls: ObservabilityPipelineTls, optional
66+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
67+
:type tls: ObservabilityPipelineMtlsServerTls, optional
6668
6769
:param type: The source type. The value should always be ``logstash``.
6870
:type type: ObservabilityPipelineLogstashSourceType

0 commit comments

Comments
 (0)