Skip to content

Commit 786d7ae

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 261dc2c of spec repo
1 parent 8647bf8 commit 786d7ae

10 files changed

Lines changed: 387 additions & 0 deletions

.generator/schemas/v2/openapi.yaml

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26558,6 +26558,9 @@ components:
2655826558
description:
2655926559
description: Description of the degradation.
2656026560
type: string
26561+
is_backfilled:
26562+
description: Whether the degradation was backfilled.
26563+
type: boolean
2656126564
modified_at:
2656226565
description: Timestamp of when the degradation was last modified.
2656326566
format: date-time
@@ -50290,6 +50293,9 @@ components:
5029050293
in_progress_description:
5029150294
description: The description shown while the maintenance is in progress.
5029250295
type: string
50296+
is_backfilled:
50297+
description: Whether the maintenance was backfilled.
50298+
type: boolean
5029350299
modified_at:
5029450300
description: Timestamp of when the maintenance was last modified.
5029550301
format: date-time
@@ -55624,6 +55630,7 @@ components:
5562455630
- $ref: "#/components/schemas/ObservabilityPipelineSyslogNgDestination"
5562555631
- $ref: "#/components/schemas/ObservabilityPipelineDatabricksZerobusDestination"
5562655632
- $ref: "#/components/schemas/ObservabilityPipelineDatadogMetricsDestination"
55633+
- $ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestination"
5562755634
ObservabilityPipelineConfigPipelineType:
5562855635
default: logs
5562955636
description: The type of data being ingested. Defaults to `logs` if not specified.
@@ -59745,6 +59752,81 @@ components:
5974559752
type: string
5974659753
x-enum-varnames:
5974759754
- SPLUNK_HEC
59755+
ObservabilityPipelineSplunkHecMetricsDestination:
59756+
description: |-
59757+
The `splunk_hec_metrics` destination forwards metrics to Splunk using the HTTP Event Collector (HEC).
59758+
59759+
**Supported pipeline types:** metrics
59760+
properties:
59761+
buffer:
59762+
$ref: "#/components/schemas/ObservabilityPipelineBufferOptions"
59763+
compression:
59764+
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestinationCompression"
59765+
default_namespace:
59766+
description: Optional default namespace for metrics sent to Splunk HEC.
59767+
example: "custom_namespace"
59768+
type: string
59769+
endpoint_url_key:
59770+
description: Name of the environment variable or secret that holds the Splunk HEC endpoint URL.
59771+
example: SPLUNK_HEC_ENDPOINT_URL
59772+
type: string
59773+
id:
59774+
description: 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).
59775+
example: splunk-hec-metrics-destination
59776+
type: string
59777+
index:
59778+
description: Optional name of the Splunk index where metrics are written.
59779+
example: "metrics"
59780+
type: string
59781+
inputs:
59782+
description: A list of component IDs whose output is used as the `input` for this component.
59783+
example: ["metrics-filter-processor"]
59784+
items:
59785+
description: The ID of a component whose output is used as input for this destination.
59786+
type: string
59787+
type: array
59788+
source:
59789+
description: The Splunk source field value for metric events.
59790+
example: "observability_pipelines"
59791+
type: string
59792+
sourcetype:
59793+
description: The Splunk sourcetype to assign to metric events.
59794+
example: "custom_sourcetype"
59795+
type: string
59796+
tls:
59797+
$ref: "#/components/schemas/ObservabilityPipelineTls"
59798+
token_key:
59799+
description: Name of the environment variable or secret that holds the Splunk HEC token.
59800+
example: SPLUNK_HEC_TOKEN
59801+
type: string
59802+
type:
59803+
$ref: "#/components/schemas/ObservabilityPipelineSplunkHecMetricsDestinationType"
59804+
required:
59805+
- id
59806+
- type
59807+
- inputs
59808+
type: object
59809+
x-pipeline-types: [metrics]
59810+
ObservabilityPipelineSplunkHecMetricsDestinationCompression:
59811+
default: none
59812+
description: Compression algorithm applied when sending metrics to Splunk HEC.
59813+
enum:
59814+
- none
59815+
- gzip
59816+
example: none
59817+
type: string
59818+
x-enum-varnames:
59819+
- NONE
59820+
- GZIP
59821+
ObservabilityPipelineSplunkHecMetricsDestinationType:
59822+
default: splunk_hec_metrics
59823+
description: The destination type. Always `splunk_hec_metrics`.
59824+
enum:
59825+
- splunk_hec_metrics
59826+
example: splunk_hec_metrics
59827+
type: string
59828+
x-enum-varnames:
59829+
- SPLUNK_HEC_METRICS
5974859830
ObservabilityPipelineSplunkHecSource:
5974959831
description: |-
5975059832
The `splunk_hec` source implements the Splunk HTTP Event Collector (HEC) API.

docs/datadog_api_client.v2.model.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25470,6 +25470,27 @@ datadog\_api\_client.v2.model.observability\_pipeline\_splunk\_hec\_destination\
2547025470
:members:
2547125471
:show-inheritance:
2547225472

25473+
datadog\_api\_client.v2.model.observability\_pipeline\_splunk\_hec\_metrics\_destination module
25474+
-----------------------------------------------------------------------------------------------
25475+
25476+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_splunk_hec_metrics_destination
25477+
:members:
25478+
:show-inheritance:
25479+
25480+
datadog\_api\_client.v2.model.observability\_pipeline\_splunk\_hec\_metrics\_destination\_compression module
25481+
------------------------------------------------------------------------------------------------------------
25482+
25483+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_splunk_hec_metrics_destination_compression
25484+
:members:
25485+
:show-inheritance:
25486+
25487+
datadog\_api\_client.v2.model.observability\_pipeline\_splunk\_hec\_metrics\_destination\_type module
25488+
-----------------------------------------------------------------------------------------------------
25489+
25490+
.. automodule:: datadog_api_client.v2.model.observability_pipeline_splunk_hec_metrics_destination_type
25491+
:members:
25492+
:show-inheritance:
25493+
2547325494
datadog\_api\_client.v2.model.observability\_pipeline\_splunk\_hec\_source module
2547425495
---------------------------------------------------------------------------------
2547525496

src/datadog_api_client/v2/model/degradation_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def openapi_types(_):
4545
"components_affected": ([DegradationDataAttributesComponentsAffectedItems],),
4646
"created_at": (datetime,),
4747
"description": (str,),
48+
"is_backfilled": (bool,),
4849
"modified_at": (datetime,),
4950
"source": (DegradationDataAttributesSource,),
5051
"status": (CreateDegradationRequestDataAttributesStatus,),
@@ -56,6 +57,7 @@ def openapi_types(_):
5657
"components_affected": "components_affected",
5758
"created_at": "created_at",
5859
"description": "description",
60+
"is_backfilled": "is_backfilled",
5961
"modified_at": "modified_at",
6062
"source": "source",
6163
"status": "status",
@@ -68,6 +70,7 @@ def __init__(
6870
components_affected: Union[List[DegradationDataAttributesComponentsAffectedItems], UnsetType] = unset,
6971
created_at: Union[datetime, UnsetType] = unset,
7072
description: Union[str, UnsetType] = unset,
73+
is_backfilled: Union[bool, UnsetType] = unset,
7174
modified_at: Union[datetime, UnsetType] = unset,
7275
source: Union[DegradationDataAttributesSource, UnsetType] = unset,
7376
status: Union[CreateDegradationRequestDataAttributesStatus, UnsetType] = unset,
@@ -87,6 +90,9 @@ def __init__(
8790
:param description: Description of the degradation.
8891
:type description: str, optional
8992
93+
:param is_backfilled: Whether the degradation was backfilled.
94+
:type is_backfilled: bool, optional
95+
9096
:param modified_at: Timestamp of when the degradation was last modified.
9197
:type modified_at: datetime, optional
9298
@@ -108,6 +114,8 @@ def __init__(
108114
kwargs["created_at"] = created_at
109115
if description is not unset:
110116
kwargs["description"] = description
117+
if is_backfilled is not unset:
118+
kwargs["is_backfilled"] = is_backfilled
111119
if modified_at is not unset:
112120
kwargs["modified_at"] = modified_at
113121
if source is not unset:

src/datadog_api_client/v2/model/maintenance_data_attributes.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ def openapi_types(_):
4040
"completed_description": (str,),
4141
"components_affected": ([MaintenanceDataAttributesComponentsAffectedItems],),
4242
"in_progress_description": (str,),
43+
"is_backfilled": (bool,),
4344
"modified_at": (datetime,),
4445
"published_date": (datetime,),
4546
"scheduled_description": (str,),
@@ -54,6 +55,7 @@ def openapi_types(_):
5455
"completed_description": "completed_description",
5556
"components_affected": "components_affected",
5657
"in_progress_description": "in_progress_description",
58+
"is_backfilled": "is_backfilled",
5759
"modified_at": "modified_at",
5860
"published_date": "published_date",
5961
"scheduled_description": "scheduled_description",
@@ -69,6 +71,7 @@ def __init__(
6971
completed_description: Union[str, UnsetType] = unset,
7072
components_affected: Union[List[MaintenanceDataAttributesComponentsAffectedItems], UnsetType] = unset,
7173
in_progress_description: Union[str, UnsetType] = unset,
74+
is_backfilled: Union[bool, UnsetType] = unset,
7275
modified_at: Union[datetime, UnsetType] = unset,
7376
published_date: Union[datetime, UnsetType] = unset,
7477
scheduled_description: Union[str, UnsetType] = unset,
@@ -93,6 +96,9 @@ def __init__(
9396
:param in_progress_description: The description shown while the maintenance is in progress.
9497
:type in_progress_description: str, optional
9598
99+
:param is_backfilled: Whether the maintenance was backfilled.
100+
:type is_backfilled: bool, optional
101+
96102
:param modified_at: Timestamp of when the maintenance was last modified.
97103
:type modified_at: datetime, optional
98104
@@ -122,6 +128,8 @@ def __init__(
122128
kwargs["components_affected"] = components_affected
123129
if in_progress_description is not unset:
124130
kwargs["in_progress_description"] = in_progress_description
131+
if is_backfilled is not unset:
132+
kwargs["is_backfilled"] = is_backfilled
125133
if modified_at is not unset:
126134
kwargs["modified_at"] = modified_at
127135
if published_date is not unset:

src/datadog_api_client/v2/model/observability_pipeline_config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,9 @@
9797
from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination import (
9898
ObservabilityPipelineDatadogMetricsDestination,
9999
)
100+
from datadog_api_client.v2.model.observability_pipeline_splunk_hec_metrics_destination import (
101+
ObservabilityPipelineSplunkHecMetricsDestination,
102+
)
100103
from datadog_api_client.v2.model.observability_pipeline_datadog_agent_source import (
101104
ObservabilityPipelineDatadogAgentSource,
102105
)
@@ -200,6 +203,7 @@ def __init__(
200203
ObservabilityPipelineSyslogNgDestination,
201204
ObservabilityPipelineDatabricksZerobusDestination,
202205
ObservabilityPipelineDatadogMetricsDestination,
206+
ObservabilityPipelineSplunkHecMetricsDestination,
203207
]
204208
],
205209
sources: List[

src/datadog_api_client/v2/model/observability_pipeline_config_destination_item.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,12 @@ def __init__(self, **kwargs):
226226
227227
:param unity_catalog_endpoint_key: Name of the environment variable or the secret identifier that references your Databricks workspace URL, which is used to communicate with the Unity Catalog API.
228228
:type unity_catalog_endpoint_key: str, optional
229+
230+
:param default_namespace: Optional default namespace for metrics sent to Splunk HEC.
231+
:type default_namespace: str, optional
232+
233+
:param source: The Splunk source field value for metric events.
234+
:type source: str, optional
229235
"""
230236
super().__init__(kwargs)
231237

@@ -309,6 +315,9 @@ def _composed_schemas(_):
309315
from datadog_api_client.v2.model.observability_pipeline_datadog_metrics_destination import (
310316
ObservabilityPipelineDatadogMetricsDestination,
311317
)
318+
from datadog_api_client.v2.model.observability_pipeline_splunk_hec_metrics_destination import (
319+
ObservabilityPipelineSplunkHecMetricsDestination,
320+
)
312321

313322
return {
314323
"oneOf": [
@@ -337,5 +346,6 @@ def _composed_schemas(_):
337346
ObservabilityPipelineSyslogNgDestination,
338347
ObservabilityPipelineDatabricksZerobusDestination,
339348
ObservabilityPipelineDatadogMetricsDestination,
349+
ObservabilityPipelineSplunkHecMetricsDestination,
340350
],
341351
}

0 commit comments

Comments
 (0)