Skip to content

Commit c005cf6

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit b3beeab of spec repo
1 parent 572f11c commit c005cf6

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
@@ -46371,6 +46371,7 @@ components:
4637146371
- $ref: "#/components/schemas/ObservabilityPipelineSplunkHecDestination"
4637246372
- $ref: "#/components/schemas/ObservabilityPipelineSumoLogicDestination"
4637346373
- $ref: "#/components/schemas/ObservabilityPipelineSyslogNgDestination"
46374+
- $ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestination"
4637446375
- $ref: "#/components/schemas/ObservabilityPipelineDatadogMetricsDestination"
4637546376
ObservabilityPipelineConfigPipelineType:
4637646377
default: logs
@@ -46655,6 +46656,74 @@ components:
4665546656
- name
4665646657
- config
4665746658
type: object
46659+
ObservabilityPipelineDatabricksZerobusDestination:
46660+
description: |-
46661+
The `databricks_zerobus` destination sends logs to Databricks using the Zerobus ingestion API, streaming data directly into your Databricks Lakehouse.
46662+
46663+
**Supported pipeline types:** Logs, rehydration
46664+
properties:
46665+
auth:
46666+
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationAuth"
46667+
buffer:
46668+
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
46669+
id:
46670+
description: The unique identifier for this component.
46671+
example: databricks-zerobus-destination
46672+
type: string
46673+
ingestion_endpoint:
46674+
description: Your Databricks Zerobus ingestion endpoint. This is the endpoint used to stream data directly into your Databricks Lakehouse.
46675+
example: https://my-workspace-id.zerobus.us-east-1.cloud.databricks.com
46676+
type: string
46677+
inputs:
46678+
description: A list of component IDs whose output is used as the `input` for this component.
46679+
example: ["filter-processor"]
46680+
items:
46681+
description: The ID of a component whose output is used as input for this destination.
46682+
type: string
46683+
type: array
46684+
table_name:
46685+
description: The fully qualified name of your target Databricks table. Make sure this table already exists in your Databricks workspace before deploying.
46686+
example: catalog.schema.table
46687+
type: string
46688+
type:
46689+
$ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestinationType"
46690+
unity_catalog_endpoint:
46691+
description: Your Databricks workspace URL. This is used to communicate with the Unity Catalog API.
46692+
example: https://my-workspace.cloud.databricks.com
46693+
type: string
46694+
required:
46695+
- id
46696+
- type
46697+
- inputs
46698+
- ingestion_endpoint
46699+
- table_name
46700+
- unity_catalog_endpoint
46701+
- auth
46702+
type: object
46703+
x-pipeline-types: [logs, rehydration]
46704+
ObservabilityPipelineDatabricksZerobusDestinationAuth:
46705+
description: OAuth credentials for authenticating with the Databricks Zerobus ingestion API.
46706+
properties:
46707+
client_id:
46708+
description: Your service principal application ID (UUID).
46709+
example: 9a8b7c6d-1234-5678-abcd-ef0123456789
46710+
type: string
46711+
client_secret_key:
46712+
description: Name of the environment variable or secret that holds the OAuth client secret used to authenticate with the Databricks ingestion endpoint.
46713+
example: DD_OP_DESTINATION_DATABRICKS_ZEROBUS_OAUTH_CLIENT_SECRET
46714+
type: string
46715+
required:
46716+
- client_id
46717+
type: object
46718+
ObservabilityPipelineDatabricksZerobusDestinationType:
46719+
default: databricks_zerobus
46720+
description: The destination type. The value must be `databricks_zerobus`.
46721+
enum:
46722+
- databricks_zerobus
46723+
example: databricks_zerobus
46724+
type: string
46725+
x-enum-varnames:
46726+
- DATABRICKS_ZEROBUS
4665846727
ObservabilityPipelineDatadogAgentSource:
4665946728
description: |-
4666046729
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
@@ -20423,6 +20423,27 @@ datadog\_api\_client.v2.model.observability\_pipeline\_data\_attributes module
2042320423
:members:
2042420424
:show-inheritance:
2042520425

20426+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination module
20427+
----------------------------------------------------------------------------------------------
20428+
20429+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination
20430+
:members:
20431+
:show-inheritance:
20432+
20433+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination\_auth module
20434+
----------------------------------------------------------------------------------------------------
20435+
20436+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth
20437+
:members:
20438+
:show-inheritance:
20439+
20440+
datadog\_api\_client.v2.model.observability\_pipeline\_databricks\_zerobus\_destination\_type module
20441+
----------------------------------------------------------------------------------------------------
20442+
20443+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type
20444+
:members:
20445+
:show-inheritance:
20446+
2042620447
datadog\_api\_client.v2.model.observability\_pipeline\_datadog\_agent\_source module
2042720448
------------------------------------------------------------------------------------
2042820449

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
@@ -3944,6 +3944,15 @@
39443944
)
39453945
from datadog_api_client.v2.model.observability_pipeline_data import ObservabilityPipelineData
39463946
from datadog_api_client.v2.model.observability_pipeline_data_attributes import ObservabilityPipelineDataAttributes
3947+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination import (
3948+
ObservabilityPipelineDatabricksZerobusDestination,
3949+
)
3950+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_auth import (
3951+
ObservabilityPipelineDatabricksZerobusDestinationAuth,
3952+
)
3953+
from datadog_api_client.v2.model.observability_pipeline_databricks_zerobus_destination_type import (
3954+
ObservabilityPipelineDatabricksZerobusDestinationType,
3955+
)
39473956
from datadog_api_client.v2.model.observability_pipeline_datadog_agent_source import (
39483957
ObservabilityPipelineDatadogAgentSource,
39493958
)
@@ -10347,6 +10356,9 @@
1034710356
"ObservabilityPipelineCustomProcessorType",
1034810357
"ObservabilityPipelineData",
1034910358
"ObservabilityPipelineDataAttributes",
10359+
"ObservabilityPipelineDatabricksZerobusDestination",
10360+
"ObservabilityPipelineDatabricksZerobusDestinationAuth",
10361+
"ObservabilityPipelineDatabricksZerobusDestinationType",
1035010362
"ObservabilityPipelineDatadogAgentSource",
1035110363
"ObservabilityPipelineDatadogAgentSourceType",
1035210364
"ObservabilityPipelineDatadogLogsDestination",

0 commit comments

Comments
 (0)