diff --git a/.generator/schemas/v1/openapi.yaml b/.generator/schemas/v1/openapi.yaml index d829783224..63e50be3c3 100644 --- a/.generator/schemas/v1/openapi.yaml +++ b/.generator/schemas/v1/openapi.yaml @@ -8112,6 +8112,12 @@ components: type: object MetricsListResponse: description: Object listing all metric names stored by Datadog since a given time. + example: + from: "1571011200" + metrics: + - system.cpu.idle + - system.mem.free + - aws.ec2.cpuutilization properties: from: description: Time when the metrics were active, seconds since the Unix epoch. diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml index b7b41151ba..d1a339e9a5 100644 --- a/.generator/schemas/v2/openapi.yaml +++ b/.generator/schemas/v2/openapi.yaml @@ -64968,6 +64968,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: @@ -152933,10 +152936,21 @@ paths: examples: default: value: - data: [] + data: + - id: system.cpu.user + type: metrics + - attributes: + created_at: "2020-03-25T09:48:37.463835Z" + metric_type: gauge + modified_at: "2020-04-25T09:48:37.463835Z" + tags: + - app + - datacenter + id: http.endpoint.request + type: manage_tags meta: pagination: - next_cursor: + next_cursor: eyJhZnRlciI6Imh0dHAuZW5kcG9pbnQucmVxdWVzdCJ9 with_metric_volumes: value: data: @@ -153779,12 +153793,30 @@ paths: id: http.endpoint.request relationships: dashboards: - data: [] + data: + - id: abc-def-xyz + type: dashboards monitors: - data: [] + data: + - id: "1775073" + type: monitors notebooks: data: [] + slos: + data: [] type: metrics + included: + - attributes: + popularity: 3.0 + title: My Dashboard + url: /dashboard/abc-def-xyz + id: abc-def-xyz + type: dashboards + - attributes: + title: CPU utilization is high + url: /monitors/1775073 + id: "1775073" + type: monitors schema: $ref: "#/components/schemas/MetricAssetsResponse" description: Success @@ -153928,8 +153960,17 @@ paths: examples: default: value: - data: [] - meta: {} + data: + - attributes: + cardinality_delta: 25 + id: host + type: tag_cardinality + - attributes: + cardinality_delta: 5 + id: env + type: tag_cardinality + meta: + metric_name: system.cpu.user schema: $ref: "#/components/schemas/MetricTagCardinalitiesResponse" description: Success diff --git a/src/datadog_api_client/v2/model/observability_pipeline_cloud_prem_destination.py b/src/datadog_api_client/v2/model/observability_pipeline_cloud_prem_destination.py index 6fdf1196a4..23be48f6c7 100644 --- a/src/datadog_api_client/v2/model/observability_pipeline_cloud_prem_destination.py +++ b/src/datadog_api_client/v2/model/observability_pipeline_cloud_prem_destination.py @@ -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, ) @@ -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, ) @@ -42,6 +44,7 @@ def openapi_types(_): "endpoint_url_key": (str,), "id": (str,), "inputs": ([str],), + "tls": (ObservabilityPipelineTls,), "type": (ObservabilityPipelineCloudPremDestinationType,), } @@ -50,6 +53,7 @@ def openapi_types(_): "endpoint_url_key": "endpoint_url_key", "id": "id", "inputs": "inputs", + "tls": "tls", "type": "type", } @@ -66,6 +70,7 @@ def __init__( UnsetType, ] = unset, endpoint_url_key: Union[str, UnsetType] = unset, + tls: Union[ObservabilityPipelineTls, UnsetType] = unset, **kwargs, ): """ @@ -85,6 +90,9 @@ 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 """ @@ -92,6 +100,8 @@ def __init__( 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