Skip to content

Commit 74aaac6

Browse files
api-clients-generation-pipeline[bot]ci.datadog-api-spec
andauthored
Add the uk1 data center. (#1795)
Co-authored-by: ci.datadog-api-spec <packages@datadoghq.com>
1 parent 6d270c4 commit 74aaac6

4 files changed

Lines changed: 3 additions & 20 deletions

File tree

.generator/schemas/v1/openapi.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44342,6 +44342,7 @@ servers:
4434244342
- datadoghq.eu
4434344343
- ddog-gov.com
4434444344
- us2.ddog-gov.com
44345+
- uk1.datadoghq.com
4434544346
subdomain:
4434644347
default: api
4434744348
description: The subdomain where the API is deployed.

.generator/schemas/v2/openapi.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64968,9 +64968,6 @@ 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.
6497464971
type:
6497564972
$ref: "#/components/schemas/ObservabilityPipelineCloudPremDestinationType"
6497664973
required:
@@ -196311,6 +196308,7 @@ servers:
196311196308
- datadoghq.eu
196312196309
- ddog-gov.com
196313196310
- us2.ddog-gov.com
196311+
- uk1.datadoghq.com
196314196312
subdomain:
196315196313
default: api
196316196314
description: The subdomain where the API is deployed.

src/datadog/configuration.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -859,6 +859,7 @@ lazy_static! {
859859
"datadoghq.eu".into(),
860860
"ddog-gov.com".into(),
861861
"us2.ddog-gov.com".into(),
862+
"uk1.datadoghq.com".into(),
862863
],
863864
},
864865
),

src/datadogV2/model/model_observability_pipeline_cloud_prem_destination.rs

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ pub struct ObservabilityPipelineCloudPremDestination {
2525
/// A list of component IDs whose output is used as the `input` for this component.
2626
#[serde(rename = "inputs")]
2727
pub inputs: Vec<String>,
28-
/// Configuration for enabling TLS encryption between the pipeline component and external services.
29-
#[serde(rename = "tls")]
30-
pub tls: Option<crate::datadogV2::model::ObservabilityPipelineTls>,
3128
/// The destination type. The value should always be `cloud_prem`.
3229
#[serde(rename = "type")]
3330
pub type_: crate::datadogV2::model::ObservabilityPipelineCloudPremDestinationType,
@@ -49,7 +46,6 @@ impl ObservabilityPipelineCloudPremDestination {
4946
endpoint_url_key: None,
5047
id,
5148
inputs,
52-
tls: None,
5349
type_,
5450
additional_properties: std::collections::BTreeMap::new(),
5551
_unparsed: false,
@@ -69,11 +65,6 @@ impl ObservabilityPipelineCloudPremDestination {
6965
self
7066
}
7167

72-
pub fn tls(mut self, value: crate::datadogV2::model::ObservabilityPipelineTls) -> Self {
73-
self.tls = Some(value);
74-
self
75-
}
76-
7768
pub fn additional_properties(
7869
mut self,
7970
value: std::collections::BTreeMap<String, serde_json::Value>,
@@ -106,7 +97,6 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
10697
let mut endpoint_url_key: Option<String> = None;
10798
let mut id: Option<String> = None;
10899
let mut inputs: Option<Vec<String>> = None;
109-
let mut tls: Option<crate::datadogV2::model::ObservabilityPipelineTls> = None;
110100
let mut type_: Option<
111101
crate::datadogV2::model::ObservabilityPipelineCloudPremDestinationType,
112102
> = None;
@@ -145,12 +135,6 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
145135
"inputs" => {
146136
inputs = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
147137
}
148-
"tls" => {
149-
if v.is_null() {
150-
continue;
151-
}
152-
tls = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
153-
}
154138
"type" => {
155139
type_ = Some(serde_json::from_value(v).map_err(M::Error::custom)?);
156140
if let Some(ref _type_) = type_ {
@@ -178,7 +162,6 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
178162
endpoint_url_key,
179163
id,
180164
inputs,
181-
tls,
182165
type_,
183166
additional_properties,
184167
_unparsed,

0 commit comments

Comments
 (0)