Skip to content

Commit a58bb2e

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 749c35a of spec repo
1 parent 2703005 commit a58bb2e

8 files changed

Lines changed: 324 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46522,6 +46522,7 @@ components:
4652246522
- $ref: "#/components/schemas/ObservabilityPipelineSplunkHecDestination"
4652346523
- $ref: "#/components/schemas/ObservabilityPipelineSumoLogicDestination"
4652446524
- $ref: "#/components/schemas/ObservabilityPipelineSyslogNgDestination"
46525+
- $ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestination"
4652546526
- $ref: "#/components/schemas/ObservabilityPipelineDatadogMetricsDestination"
4652646527
ObservabilityPipelineConfigPipelineType:
4652746528
default: logs
@@ -46806,6 +46807,74 @@ components:
4680646807
- name
4680746808
- config
4680846809
type: object
46810+
ObservabilityPipelineDatabricksZerobusDestination:
46811+
description: |-
46812+
The `databricks_zerobus` destination sends logs to Databricks using the Zerobus ingestion API, streaming data directly into your Databricks Lakehouse.
46813+
46814+
**Supported pipeline types:** Logs, rehydration
46815+
properties:
46816+
auth:
46817+
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationAuth"
46818+
buffer:
46819+
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
46820+
id:
46821+
description: The unique identifier for this component.
46822+
example: databricks-zerobus-destination
46823+
type: string
46824+
ingestion_endpoint:
46825+
description: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
46826+
example: https://my-workspace-id.zerobus.us-east-1.cloud.databricks.com
46827+
type: string
46828+
inputs:
46829+
description: A list of component IDs whose output is used as the `input` for this component.
46830+
example: ["filter-processor"]
46831+
items:
46832+
description: The ID of a component whose output is used as input for this destination.
46833+
type: string
46834+
type: array
46835+
table_name:
46836+
description: The fully qualified name of your target Databricks table. Make sure this table already exists in your Databricks workspace before deploying.
46837+
example: catalog.schema.table
46838+
type: string
46839+
type:
46840+
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationType"
46841+
unity_catalog_endpoint:
46842+
description: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
46843+
example: https://my-workspace.cloud.databricks.com
46844+
type: string
46845+
required:
46846+
- id
46847+
- type
46848+
- inputs
46849+
- ingestion_endpoint
46850+
- table_name
46851+
- unity_catalog_endpoint
46852+
- auth
46853+
type: object
46854+
x-pipeline-types: [logs, rehydration]
46855+
ObservabilityPipelineDatabricksZerobusDestinationAuth:
46856+
description: OAuth credentials for authenticating with the Databricks Zerobus ingestion API.
46857+
properties:
46858+
client_id:
46859+
description: Your service principal application ID (UUID).
46860+
example: 9a8b7c6d-1234-5678-abcd-ef0123456789
46861+
type: string
46862+
client_secret_key:
46863+
description: Name of the environment variable or secret that holds the OAuth client secret used to authenticate with the Databricks ingestion endpoint.
46864+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_OAUTH_CLIENT_SECRET
46865+
type: string
46866+
required:
46867+
- client_id
46868+
type: object
46869+
ObservabilityPipelineDatabricksZerobusDestinationType:
46870+
default: databricks_zerobus
46871+
description: The destination type. The value must be `databricks_zerobus`.
46872+
enum:
46873+
- databricks_zerobus
46874+
example: databricks_zerobus
46875+
type: string
46876+
x-enum-varnames:
46877+
- DATABRICKS_ZEROBUS
4680946878
ObservabilityPipelineDatadogAgentSource:
4681046879
description: |-
4681146880
The `datadog_agent` source collects logs/metrics from the Datadog Agent.

docs/datadog_api_client.v2.model.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20486,6 +20486,27 @@ datadog\_api\_client.v2.model.observability\_pipeline\_data\_attributes module
2048620486
:members:
2048720487
:show-inheritance:
2048820488

20489+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination module
20490+
----------------------------------------------------------------------------------------------
20491+
20492+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination
20493+
:members:
20494+
:show-inheritance:
20495+
20496+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination\_auth module
20497+
----------------------------------------------------------------------------------------------------
20498+
20499+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth
20500+
:members:
20501+
:show-inheritance:
20502+
20503+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination\_type module
20504+
----------------------------------------------------------------------------------------------------
20505+
20506+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type
20507+
:members:
20508+
:show-inheritance:
20509+
2048920510
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_agent\_source module
2049020511
------------------------------------------------------------------------------------
2049120512

src/datadog_api_client/v2/model/observability_pipeline_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,9 @@
9191
from datadog_api_client.v2.model.observability_pipeline_syslog_ng_destination import (
9292
ObservabilityPipelineSyslogNgDestination,
9393
)
94+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination import (
95+
ObservabilityPipelineDatabricksZerobusDestination,
96+
)
9497
from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination import (
9598
ObservabilityPipelineDatadogMetricsDestination,
9699
)
@@ -195,6 +198,7 @@ def __init__(
195198
ObservabilityPipelineSplunkHecDestination,
196199
ObservabilityPipelineSumoLogicDestination,
197200
ObservabilityPipelineSyslogNgDestination,
201+
ObservabilityPipelineDatabricksZerobusDestination,
198202
ObservabilityPipelineDatadogMetricsDestination,
199203
]
200204
],

src/datadog_api_client/v2/model/observability_pipeline_config_destination_item.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,15 @@ def __init__(self, **kwargs):
217217
218218
:param header_source_name: Optional override for the source name header.
219219
:type header_source_name: str, optional
220+
221+
:param ingestion_endpoint: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
222+
:type ingestion_endpoint: str
223+
224+
:param table_name: The fully qualified name of your target Databricks table. Make sure this table already exists in your Databricks workspace before deploying.
225+
:type table_name: str
226+
227+
:param unity_catalog_endpoint: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
228+
:type unity_catalog_endpoint: str
220229
"""
221230
super().__init__(kwargs)
222231

@@ -294,6 +303,9 @@ def _composed_schemas(_):
294303
from datadog_api_client.v2.model.observability_pipeline_syslog_ng_destination import (
295304
ObservabilityPipelineSyslogNgDestination,
296305
)
306+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination import (
307+
ObservabilityPipelineDatabricksZerobusDestination,
308+
)
297309
from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination import (
298310
ObservabilityPipelineDatadogMetricsDestination,
299311
)
@@ -323,6 +335,7 @@ def _composed_schemas(_):
323335
ObservabilityPipelineSplunkHecDestination,
324336
ObservabilityPipelineSumoLogicDestination,
325337
ObservabilityPipelineSyslogNgDestination,
338+
ObservabilityPipelineDatabricksZerobusDestination,
326339
ObservabilityPipelineDatadogMetricsDestination,
327340
],
328341
}
Lines changed: 125 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,125 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
from typing import List, Union, TYPE_CHECKING
7+
8+
from datadog_api_client.model_utils import (
9+
ModelNormal,
10+
cached_property,
11+
unset,
12+
UnsetType,
13+
)
14+
15+
16+
if TYPE_CHECKING:
17+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth import (
18+
ObservabilityPipelineDatabricksZerobusDestinationAuth,
19+
)
20+
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
21+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type import (
22+
ObservabilityPipelineDatabricksZerobusDestinationType,
23+
)
24+
from datadog_api_client.v2.model.observability_pipeline_disk_buffer_options import (
25+
ObservabilityPipelineDiskBufferOptions,
26+
)
27+
from datadog_api_client.v2.model.observability_pipeline_memory_buffer_options import (
28+
ObservabilityPipelineMemoryBufferOptions,
29+
)
30+
from datadog_api_client.v2.model.observability_pipeline_memory_buffer_size_options import (
31+
ObservabilityPipelineMemoryBufferSizeOptions,
32+
)
33+
34+
35+
class ObservabilityPipelineDatabricksZerobusDestination(ModelNormal):
36+
@cached_property
37+
def openapi_types(_):
38+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth import (
39+
ObservabilityPipelineDatabricksZerobusDestinationAuth,
40+
)
41+
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
42+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type import (
43+
ObservabilityPipelineDatabricksZerobusDestinationType,
44+
)
45+
46+
return {
47+
"auth": (ObservabilityPipelineDatabricksZerobusDestinationAuth,),
48+
"buffer": (ObservabilityPipelineBufferOptions,),
49+
"id": (str,),
50+
"ingestion_endpoint": (str,),
51+
"inputs": ([str],),
52+
"table_name": (str,),
53+
"type": (ObservabilityPipelineDatabricksZerobusDestinationType,),
54+
"unity_catalog_endpoint": (str,),
55+
}
56+
57+
attribute_map = {
58+
"auth": "auth",
59+
"buffer": "buffer",
60+
"id": "id",
61+
"ingestion_endpoint": "ingestion_endpoint",
62+
"inputs": "inputs",
63+
"table_name": "table_name",
64+
"type": "type",
65+
"unity_catalog_endpoint": "unity_catalog_endpoint",
66+
}
67+
68+
def __init__(
69+
self_,
70+
auth: ObservabilityPipelineDatabricksZerobusDestinationAuth,
71+
id: str,
72+
ingestion_endpoint: str,
73+
inputs: List[str],
74+
table_name: str,
75+
type: ObservabilityPipelineDatabricksZerobusDestinationType,
76+
unity_catalog_endpoint: str,
77+
buffer: Union[
78+
ObservabilityPipelineBufferOptions,
79+
ObservabilityPipelineDiskBufferOptions,
80+
ObservabilityPipelineMemoryBufferOptions,
81+
ObservabilityPipelineMemoryBufferSizeOptions,
82+
UnsetType,
83+
] = unset,
84+
**kwargs,
85+
):
86+
"""
87+
The ``databricks_zerobus`` destination sends logs to Databricks using the Zerobus ingestion API, streaming data directly into your Databricks Lakehouse.
88+
89+
**Supported pipeline types:** Logs, rehydration
90+
91+
:param auth: OAuth credentials for authenticating with the Databricks Zerobus ingestion API.
92+
:type auth: ObservabilityPipelineDatabricksZerobusDestinationAuth
93+
94+
:param buffer: Configuration for buffer settings on destination components.
95+
:type buffer: ObservabilityPipelineBufferOptions, optional
96+
97+
:param id: The unique identifier for this component.
98+
:type id: str
99+
100+
:param ingestion_endpoint: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
101+
:type ingestion_endpoint: str
102+
103+
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
104+
:type inputs: [str]
105+
106+
:param table_name: The fully qualified name of your target Databricks table. Make sure this table already exists in your Databricks workspace before deploying.
107+
:type table_name: str
108+
109+
:param type: The destination type. The value must be ``databricks_zerobus``.
110+
:type type: ObservabilityPipelineDatabricksZerobusDestinationType
111+
112+
:param unity_catalog_endpoint: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
113+
:type unity_catalog_endpoint: str
114+
"""
115+
if buffer is not unset:
116+
kwargs["buffer"] = buffer
117+
super().__init__(kwargs)
118+
119+
self_.auth = auth
120+
self_.id = id
121+
self_.ingestion_endpoint = ingestion_endpoint
122+
self_.inputs = inputs
123+
self_.table_name = table_name
124+
self_.type = type
125+
self_.unity_catalog_endpoint = unity_catalog_endpoint
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
from typing import Union
7+
8+
from datadog_api_client.model_utils import (
9+
ModelNormal,
10+
cached_property,
11+
unset,
12+
UnsetType,
13+
)
14+
15+
16+
class ObservabilityPipelineDatabricksZerobusDestinationAuth(ModelNormal):
17+
@cached_property
18+
def openapi_types(_):
19+
return {
20+
"client_id": (str,),
21+
"client_secret_key": (str,),
22+
}
23+
24+
attribute_map = {
25+
"client_id": "client_id",
26+
"client_secret_key": "client_secret_key",
27+
}
28+
29+
def __init__(self_, client_id: str, client_secret_key: Union[str, UnsetType] = unset, **kwargs):
30+
"""
31+
OAuth credentials for authenticating with the Databricks Zerobus ingestion API.
32+
33+
:param client_id: Your service principal application ID (UUID).
34+
:type client_id: str
35+
36+
:param client_secret_key: Name of the environment variable or secret that holds the OAuth client secret used to authenticate with the Databricks ingestion endpoint.
37+
:type client_secret_key: str, optional
38+
"""
39+
if client_secret_key is not unset:
40+
kwargs["client_secret_key"] = client_secret_key
41+
super().__init__(kwargs)
42+
43+
self_.client_id = client_id
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Unless explicitly stated otherwise all files in this repository are licensed under the Apache-2.0 License.
2+
# This product includes software developed at Datadog (https://www.datadoghq.com/).
3+
# Copyright 2019-Present Datadog, Inc.
4+
from __future__ import annotations
5+
6+
7+
from datadog_api_client.model_utils import (
8+
ModelSimple,
9+
cached_property,
10+
)
11+
12+
from typing import ClassVar
13+
14+
15+
class ObservabilityPipelineDatabricksZerobusDestinationType(ModelSimple):
16+
"""
17+
The destination type. The value must be `databricks_zerobus`.
18+
19+
:param value: If omitted defaults to "databricks_zerobus". Must be one of ["databricks_zerobus"].
20+
:type value: str
21+
"""
22+
23+
allowed_values = {
24+
"databricks_zerobus",
25+
}
26+
DATABRICKS_ZEROBUS: ClassVar["ObservabilityPipelineDatabricksZerobusDestinationType"]
27+
28+
@cached_property
29+
def openapi_types(_):
30+
return {
31+
"value": (str,),
32+
}
33+
34+
35+
ObservabilityPipelineDatabricksZerobusDestinationType.DATABRICKS_ZEROBUS = (
36+
ObservabilityPipelineDatabricksZerobusDestinationType("databricks_zerobus")
37+
)

src/datadog_api_client/v2/models/__init__.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3963,6 +3963,15 @@
39633963
)
39643964
from datadog_api_client.v2.model.observability_pipeline_data import ObservabilityPipelineData
39653965
from datadog_api_client.v2.model.observability_pipeline_data_attributes import ObservabilityPipelineDataAttributes
3966+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination import (
3967+
ObservabilityPipelineDatabricksZerobusDestination,
3968+
)
3969+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth import (
3970+
ObservabilityPipelineDatabricksZerobusDestinationAuth,
3971+
)
3972+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type import (
3973+
ObservabilityPipelineDatabricksZerobusDestinationType,
3974+
)
39663975
from datadog_api_client.v2.model.observability_pipeline_datadog_agent_source import (
39673976
ObservabilityPipelineDatadogAgentSource,
39683977
)
@@ -10375,6 +10384,9 @@
1037510384
"ObservabilityPipelineCustomProcessorType",
1037610385
"ObservabilityPipelineData",
1037710386
"ObservabilityPipelineDataAttributes",
10387+
"ObservabilityPipelineDatabricksZerobusDestination",
10388+
"ObservabilityPipelineDatabricksZerobusDestinationAuth",
10389+
"ObservabilityPipelineDatabricksZerobusDestinationType",
1037810390
"ObservabilityPipelineDatadogAgentSource",
1037910391
"ObservabilityPipelineDatadogAgentSourceType",
1038010392
"ObservabilityPipelineDatadogLogsDestination",

0 commit comments

Comments
 (0)