Skip to content

Commit 91d38fc

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 3865cba of spec repo
1 parent 4d78432 commit 91d38fc

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
@@ -53700,7 +53700,7 @@ components:
5370053700
example: "fluent-source"
5370153701
type: string
5370253702
tls:
53703-
$ref: "#/components/schemas/ObservabilityPipelineTls"
53703+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5370453704
type:
5370553705
$ref: "#/components/schemas/ObservabilityPipelineFluentBitSourceType"
5370653706
required:
@@ -53732,7 +53732,7 @@ components:
5373253732
example: "fluent-source"
5373353733
type: string
5373453734
tls:
53735-
$ref: "#/components/schemas/ObservabilityPipelineTls"
53735+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5373653736
type:
5373753737
$ref: "#/components/schemas/ObservabilityPipelineFluentdSourceType"
5373853738
required:
@@ -54333,7 +54333,7 @@ components:
5433354333
example: HTTP_AUTH_PASSWORD
5433454334
type: string
5433554335
tls:
54336-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54336+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5433754337
type:
5433854338
$ref: "#/components/schemas/ObservabilityPipelineHttpServerSourceType"
5433954339
username_key:
@@ -54588,7 +54588,7 @@ components:
5458854588
example: logstash-source
5458954589
type: string
5459054590
tls:
54591-
$ref: "#/components/schemas/ObservabilityPipelineTls"
54591+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5459254592
type:
5459354593
$ref: "#/components/schemas/ObservabilityPipelineLogstashSourceType"
5459454594
required:
@@ -54739,6 +54739,29 @@ components:
5473954739
oneOf:
5474054740
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByOne"
5474154741
- $ref: "#/components/schemas/ObservabilityPipelineGeneratedMetricIncrementByField"
54742+
ObservabilityPipelineMtlsServerTls:
54743+
description: Configuration for enabling TLS encryption between the pipeline component and external connecting clients.
54744+
properties:
54745+
ca_file:
54746+
description: Path to the Certificate Authority (CA) file used to validate connecting clients' TLS certificates.
54747+
type: string
54748+
crt_file:
54749+
description: Path to the TLS server certificate file used to used to identify the pipeline component to connecting clients.
54750+
example: "/path/to/cert.crt"
54751+
type: string
54752+
key_file:
54753+
description: Path to the private key file associated with the TLS server certificate.
54754+
type: string
54755+
key_pass_key:
54756+
description: Name of the environment variable or secret that holds the passphrase for the private key file.
54757+
example: TLS_KEY_PASSPHRASE
54758+
type: string
54759+
verify_certificate:
54760+
description: When `true`, requires client connections to present a valid certificate, enabling mutual TLS authentication.
54761+
type: boolean
54762+
required:
54763+
- crt_file
54764+
type: object
5474254765
ObservabilityPipelineNewRelicDestination:
5474354766
description: |-
5474454767
The `new_relic` destination sends logs to the New Relic platform.
@@ -55078,7 +55101,7 @@ components:
5507855101
example: opentelemetry-source
5507955102
type: string
5508055103
tls:
55081-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55104+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5508255105
type:
5508355106
$ref: "#/components/schemas/ObservabilityPipelineOpentelemetrySourceType"
5508455107
required:
@@ -55706,7 +55729,7 @@ components:
5570655729
mode:
5570755730
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5570855731
tls:
55709-
$ref: "#/components/schemas/ObservabilityPipelineTls"
55732+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5571055733
type:
5571155734
$ref: "#/components/schemas/ObservabilityPipelineRsyslogSourceType"
5571255735
required:
@@ -56277,7 +56300,7 @@ components:
5627756300
mode:
5627856301
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceMode"
5627956302
tls:
56280-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56303+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5628156304
description: TLS configuration. Relevant only when `mode` is `tcp`.
5628256305
type:
5628356306
$ref: "#/components/schemas/ObservabilityPipelineSocketSourceType"
@@ -56581,7 +56604,7 @@ components:
5658156604
example: true
5658256605
type: boolean
5658356606
tls:
56584-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56607+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5658556608
type:
5658656609
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecSourceType"
5658756610
required:
@@ -56614,7 +56637,7 @@ components:
5661456637
example: splunk-tcp-source
5661556638
type: string
5661656639
tls:
56617-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56640+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5661856641
type:
5661956642
$ref: "#/components/schemas/ObservabilityPipelineSplunkTcpSourceType"
5662056643
required:
@@ -56808,7 +56831,7 @@ components:
5680856831
mode:
5680956832
$ref: "#/components/schemas/ObservabilityPipelineSyslogSourceMode"
5681056833
tls:
56811-
$ref: "#/components/schemas/ObservabilityPipelineTls"
56834+
$ref: "#/components/schemas/ObservabilityPipelineMtlsServerTls"
5681256835
type:
5681356836
$ref: "#/components/schemas/ObservabilityPipelineSyslogNgSourceType"
5681456837
required:

docs/datadog_api_client.v2.model.rst

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

23464+
datadog\_api\_client.v2.model.observability\_pipeline\_mtls\_server\_tls module
23465+
-------------------------------------------------------------------------------
23466+
23467+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_mtls_server_tls
23468+
:members:
23469+
:show-inheritance:
23470+
2346423471
datadog\_api\_client.v2.model.observability\_pipeline\_new\_relic\_destination module
2346523472
-------------------------------------------------------------------------------------
2346623473

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)