Skip to content

Commit 8b8e728

Browse files
author
ci.datadog-api-spec
committed
Regenerate client from commit 6fe338a of spec repo
1 parent 53be7d6 commit 8b8e728

3 files changed

Lines changed: 63 additions & 6 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8112,6 +8112,12 @@ components:
81128112
type: object
81138113
MetricsListResponse:
81148114
description: Object listing all metric names stored by Datadog since a given time.
8115+
example:
8116+
from: "1571011200"
8117+
metrics:
8118+
- system.cpu.idle
8119+
- system.mem.free
8120+
- aws.ec2.cpuutilization
81158121
properties:
81168122
from:
81178123
description: Time when the metrics were active, seconds since the Unix epoch.

.generator/schemas/v2/openapi.yaml

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64968,6 +64968,9 @@ components:
6496864968
description: The ID of a component whose output is used as input for this destination.
6496964969
type: string
6497064970
type: array
64971+
tls:
64972+
$ref: "#/components/schemas/ObservabilityPipelineTls"
64973+
description: Configuration for TLS encryption.
6497164974
type:
6497264975
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
6497364976
required:
@@ -152933,10 +152936,21 @@ paths:
152933152936
examples:
152934152937
default:
152935152938
value:
152936-
data: []
152939+
data:
152940+
- id: system.cpu.user
152941+
type: metrics
152942+
- attributes:
152943+
created_at: "2020-03-25T09:48:37.463835Z"
152944+
metric_type: gauge
152945+
modified_at: "2020-04-25T09:48:37.463835Z"
152946+
tags:
152947+
- app
152948+
- datacenter
152949+
id: http.endpoint.request
152950+
type: manage_tags
152937152951
meta:
152938152952
pagination:
152939-
next_cursor:
152953+
next_cursor: eyJhZnRlciI6Imh0dHAuZW5kcG9pbnQucmVxdWVzdCJ9
152940152954
with_metric_volumes:
152941152955
value:
152942152956
data:
@@ -153779,12 +153793,30 @@ paths:
153779153793
id: http.endpoint.request
153780153794
relationships:
153781153795
dashboards:
153782-
data: []
153796+
data:
153797+
- id: abc-def-xyz
153798+
type: dashboards
153783153799
monitors:
153784-
data: []
153800+
data:
153801+
- id: "1775073"
153802+
type: monitors
153785153803
notebooks:
153786153804
data: []
153805+
slos:
153806+
data: []
153787153807
type: metrics
153808+
included:
153809+
- attributes:
153810+
popularity: 3.0
153811+
title: My Dashboard
153812+
url: /dashboard/abc-def-xyz
153813+
id: abc-def-xyz
153814+
type: dashboards
153815+
- attributes:
153816+
title: CPU utilization is high
153817+
url: /monitors/1775073
153818+
id: "1775073"
153819+
type: monitors
153788153820
schema:
153789153821
$ref: "#/components/schemas/MetricAssetsResponse"
153790153822
description: Success
@@ -153928,8 +153960,17 @@ paths:
153928153960
examples:
153929153961
default:
153930153962
value:
153931-
data: []
153932-
meta: {}
153963+
data:
153964+
- attributes:
153965+
cardinality_delta: 25
153966+
id: host
153967+
type: tag_cardinality
153968+
- attributes:
153969+
cardinality_delta: 5
153970+
id: env
153971+
type: tag_cardinality
153972+
meta:
153973+
metric_name: system.cpu.user
153933153974
schema:
153934153975
$ref: "#/components/schemas/MetricTagCardinalitiesResponse"
153935153976
description: Success

src/datadog_api_client/v2/model/observability_pipeline_cloud_prem_destination.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
if TYPE_CHECKING:
1717
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
18+
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
1819
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
1920
ObservabilityPipelineCloudPremDestinationType,
2021
)
@@ -33,6 +34,7 @@ class ObservabilityPipelineCloudPremDestination(ModelNormal):
3334
@cached_property
3435
def openapi_types(_):
3536
from datadog_api_client.v2.model.observability_pipeline_buffer_options import ObservabilityPipelineBufferOptions
37+
from datadog_api_client.v2.model.observability_pipeline_tls import ObservabilityPipelineTls
3638
from datadog_api_client.v2.model.observability_pipeline_cloud_prem_destination_type import (
3739
ObservabilityPipelineCloudPremDestinationType,
3840
)
@@ -42,6 +44,7 @@ def openapi_types(_):
4244
"endpoint_url_key": (str,),
4345
"id": (str,),
4446
"inputs": ([str],),
47+
"tls": (ObservabilityPipelineTls,),
4548
"type": (ObservabilityPipelineCloudPremDestinationType,),
4649
}
4750

@@ -50,6 +53,7 @@ def openapi_types(_):
5053
"endpoint_url_key": "endpoint_url_key",
5154
"id": "id",
5255
"inputs": "inputs",
56+
"tls": "tls",
5357
"type": "type",
5458
}
5559

@@ -66,6 +70,7 @@ def __init__(
6670
UnsetType,
6771
] = unset,
6872
endpoint_url_key: Union[str, UnsetType] = unset,
73+
tls: Union[ObservabilityPipelineTls, UnsetType] = unset,
6974
**kwargs,
7075
):
7176
"""
@@ -85,13 +90,18 @@ def __init__(
8590
:param inputs: A list of component IDs whose output is used as the ``input`` for this component.
8691
:type inputs: [str]
8792
93+
:param tls: Configuration for enabling TLS encryption between the pipeline component and external services.
94+
:type tls: ObservabilityPipelineTls, optional
95+
8896
:param type: The destination type. The value should always be ``cloud_prem``.
8997
:type type: ObservabilityPipelineCloudPremDestinationType
9098
"""
9199
if buffer is not unset:
92100
kwargs["buffer"] = buffer
93101
if endpoint_url_key is not unset:
94102
kwargs["endpoint_url_key"] = endpoint_url_key
103+
if tls is not unset:
104+
kwargs["tls"] = tls
95105
super().__init__(kwargs)
96106

97107
self_.id = id

0 commit comments

Comments
 (0)