Skip to content

Commit 682a349

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 69bd512 of spec repo
1 parent 5d69285 commit 682a349

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
@@ -50232,7 +50232,7 @@ components:
5023250232
example: "fluent-source"
5023350233
type: string
5023450234
tls:
50235-
$ref: "#/components/schemas/ObservabilityPipelineTls"
50235+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5023650236
type:
5023750237
$ref: "#/components/schemas/ObservabilityPipelineFluentBitSourceType"
5023850238
required:
@@ -50264,7 +50264,7 @@ components:
5026450264
example: "fluent-source"
5026550265
type: string
5026650266
tls:
50267-
$ref: "#/components/schemas/ObservabilityPipelineTls"
50267+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5026850268
type:
5026950269
$ref: "#/components/schemas/ObservabilityPipelineFluentdSourceType"
5027050270
required:
@@ -50865,7 +50865,7 @@ components:
5086550865
example: HTTP_AUTH_PASSWORD
5086650866
type: string
5086750867
tls:
50868-
$ref: "#/components/schemas/ObservabilityPipelineTls"
50868+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5086950869
type:
5087050870
$ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceType"
5087150871
username_key:
@@ -51120,7 +51120,7 @@ components:
5112051120
example: logstash-source
5112151121
type: string
5112251122
tls:
51123-
$ref: "#/components/schemas/ObservabilityPipelineTls"
51123+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5112451124
type:
5112551125
$ref: "#/components/schemas/ObservabilityPipelineLogstashSourceType"
5112651126
required:
@@ -51271,6 +51271,29 @@ components:
5127151271
oneOf:
5127251272
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByOne"
5127351273
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByField"
51274+
ObservabilityPipelineMtlsServerTls:
51275+
description: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
51276+
properties:
51277+
ca_file:
51278+
description: Path to the Certificate Authority (CA) file used to validate connecting clients' TLS certificates.
51279+
type: string
51280+
crt_file:
51281+
description: Path to the TLS server certificate file used to used to identify the pipeline component to connecting clients.
51282+
example: "/path/to/cert.crt"
51283+
type: string
51284+
key_file:
51285+
description: Path to the private key file associated with the TLS server certificate.
51286+
type: string
51287+
key_pass_key:
51288+
description: Name of the environment variable or secret that holds the passphrase for the private key file.
51289+
example: TLS_KEY_PASSPHRASE
51290+
type: string
51291+
verify_certificate:
51292+
description: When `true`, requires client connections to present a valid certificate, enabling mutual TLS authentication.
51293+
type: boolean
51294+
required:
51295+
- crt_file
51296+
type: object
5127451297
ObservabilityPipelineNewRelicDestination:
5127551298
description: |-
5127651299
The `new_relic` destination sends logs to the New Relic platform.
@@ -51610,7 +51633,7 @@ components:
5161051633
example: opentelemetry-source
5161151634
type: string
5161251635
tls:
51613-
$ref: "#/components/schemas/ObservabilityPipelineTls"
51636+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5161451637
type:
5161551638
$ref: "#/components/schemas/ObservabilityPipelineOpentelemetrySourceType"
5161651639
required:
@@ -52238,7 +52261,7 @@ components:
5223852261
mode:
5223952262
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5224052263
tls:
52241-
$ref: "#/components/schemas/ObservabilityPipelineTls"
52264+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5224252265
type:
5224352266
$ref: "#/components/schemas/ObservabilityPipelineRsyslogSourceType"
5224452267
required:
@@ -52809,7 +52832,7 @@ components:
5280952832
mode:
5281052833
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceMode"
5281152834
tls:
52812-
$ref: "#/components/schemas/ObservabilityPipelineTls"
52835+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5281352836
description: TLS configuration. Relevant only when `mode` is `tcp`.
5281452837
type:
5281552838
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceType"
@@ -53113,7 +53136,7 @@ components:
5311353136
example: true
5311453137
type: boolean
5311553138
tls:
53116-
$ref: "#/components/schemas/ObservabilityPipelineTls"
53139+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5311753140
type:
5311853141
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
5311953142
required:
@@ -53146,7 +53169,7 @@ components:
5314653169
example: splunk-tcp-source
5314753170
type: string
5314853171
tls:
53149-
$ref: "#/components/schemas/ObservabilityPipelineTls"
53172+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5315053173
type:
5315153174
$ref: "#/components/schemas/ObservabilityPipelineSplunkTcpSourceType"
5315253175
required:
@@ -53340,7 +53363,7 @@ components:
5334053363
mode:
5334153364
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5334253365
tls:
53343-
$ref: "#/components/schemas/ObservabilityPipelineTls"
53366+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5334453367
type:
5334553368
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
5334653369
required:

docs/datadog_api_client.v2.model.rst

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

21987+
datadog\_api\_client.v2.model.observability\_pipeline\_mtls\_server\_tls module
21988+
-------------------------------------------------------------------------------
21989+
21990+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_mtls_server_tls
21991+
:members:
21992+
:show-inheritance:
21993+
2198721994
datadog\_api\_client.v2.model.observability\_pipeline\_new\_relic\_destination module
2198821995
-------------------------------------------------------------------------------------
2198921996

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
)
@@ -31,7 +31,9 @@ def openapi_types(_):
3131
ObservabilityPipelineHttpServerSourceAuthStrategy,
3232
)
3333
from datadog_api_client.v2.model.observability_pipeline_decoding import ObservabilityPipelineDecoding
34-
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
34+
from datadog_api_client.v2.model.observability_pipeline_mtls_server_tls import (
35+
ObservabilityPipelineMtlsServerTls,
36+
)
3537
from datadog_api_client.v2.model.observability_pipeline_http_server_source_type import (
3638
ObservabilityPipelineHttpServerSourceType,
3739
)
@@ -43,7 +45,7 @@ def openapi_types(_):
4345
"decoding": (ObservabilityPipelineDecoding,),
4446
"id": (str,),
4547
"password_key": (str,),
46-
"tls": (ObservabilityPipelineTls,),
48+
"tls": (ObservabilityPipelineMtlsServerTls,),
4749
"type": (ObservabilityPipelineHttpServerSourceType,),
4850
"username_key": (str,),
4951
}
@@ -69,7 +71,7 @@ def __init__(
6971
address_key: Union[str, UnsetType] = unset,
7072
custom_key: Union[str, UnsetType] = unset,
7173
password_key: Union[str, UnsetType] = unset,
72-
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
74+
tls: Union[ObservabilityPipelineMtlsServerTls, UnsetType] = unset,
7375
username_key: Union[str, UnsetType] = unset,
7476
**kwargs,
7577
):
@@ -96,8 +98,8 @@ def __init__(
9698
:param password_key: Name of the environment variable or secret that holds the password (used when ``auth_strategy`` is ``plain`` ).
9799
:type password_key: str, optional
98100
99-
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
100-
:type tls: ObservabilityPipelineTls, optional
101+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
102+
:type tls: ObservabilityPipelineMtlsServerTls, optional
101103
102104
:param type: The source type. The value should always be ``http_server``.
103105
: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)