Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .generator/schemas/v2/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64633,6 +64633,9 @@ components:
description: The ID of a component whose output is used as input for this destination.
type: string
type: array
tls:
$ref: "#/components/schemas/ObservabilityPipelineTls"
description: Configuration for TLS encryption.
type:
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
required:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

if TYPE_CHECKING:
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
ObservabilityPipelineCloudPremDestinationType,
)
Expand All @@ -33,6 +34,7 @@ class ObservabilityPipelineCloudPremDestination(ModelNormal):
@cached_property
def openapi_types(_):
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
ObservabilityPipelineCloudPremDestinationType,
)
Expand All @@ -42,6 +44,7 @@ def openapi_types(_):
"endpoint_url_key": (str,),
"id": (str,),
"inputs": ([str],),
"tls": (ObservabilityPipelineTls,),
"type": (ObservabilityPipelineCloudPremDestinationType,),
}

Expand All @@ -50,6 +53,7 @@ def openapi_types(_):
"endpoint_url_key": "endpoint_url_key",
"id": "id",
"inputs": "inputs",
"tls": "tls",
"type": "type",
}

Expand All @@ -66,6 +70,7 @@ def __init__(
UnsetType,
] = unset,
endpoint_url_key: Union[str, UnsetType] = unset,
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
**kwargs,
):
"""
Expand All @@ -85,13 +90,18 @@ def __init__(
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
:type inputs: [str]

:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
:type tls: ObservabilityPipelineTls, optional

:param type: The destination type. The value should always be ``cloud_prem``.
:type type: ObservabilityPipelineCloudPremDestinationType
"""
if buffer is not unset:
kwargs["buffer"] = buffer
if endpoint_url_key is not unset:
kwargs["endpoint_url_key"] = endpoint_url_key
if tls is not unset:
kwargs["tls"] = tls
super().__init__(kwargs)

self_.id = id
Expand Down
Loading