@@ -25,6 +25,9 @@ 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 > ,
2831 /// The destination type. The value should always be `cloud_prem`.
2932 #[ serde( rename = "type" ) ]
3033 pub type_ : crate :: datadogV2:: model:: ObservabilityPipelineCloudPremDestinationType ,
@@ -46,6 +49,7 @@ impl ObservabilityPipelineCloudPremDestination {
4649 endpoint_url_key : None ,
4750 id,
4851 inputs,
52+ tls : None ,
4953 type_,
5054 additional_properties : std:: collections:: BTreeMap :: new ( ) ,
5155 _unparsed : false ,
@@ -65,6 +69,11 @@ impl ObservabilityPipelineCloudPremDestination {
6569 self
6670 }
6771
72+ pub fn tls ( mut self , value : crate :: datadogV2:: model:: ObservabilityPipelineTls ) -> Self {
73+ self . tls = Some ( value) ;
74+ self
75+ }
76+
6877 pub fn additional_properties (
6978 mut self ,
7079 value : std:: collections:: BTreeMap < String , serde_json:: Value > ,
@@ -97,6 +106,7 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
97106 let mut endpoint_url_key: Option < String > = None ;
98107 let mut id: Option < String > = None ;
99108 let mut inputs: Option < Vec < String > > = None ;
109+ let mut tls: Option < crate :: datadogV2:: model:: ObservabilityPipelineTls > = None ;
100110 let mut type_: Option <
101111 crate :: datadogV2:: model:: ObservabilityPipelineCloudPremDestinationType ,
102112 > = None ;
@@ -135,6 +145,12 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
135145 "inputs" => {
136146 inputs = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
137147 }
148+ "tls" => {
149+ if v. is_null ( ) {
150+ continue ;
151+ }
152+ tls = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
153+ }
138154 "type" => {
139155 type_ = Some ( serde_json:: from_value ( v) . map_err ( M :: Error :: custom) ?) ;
140156 if let Some ( ref _type_) = type_ {
@@ -162,6 +178,7 @@ impl<'de> Deserialize<'de> for ObservabilityPipelineCloudPremDestination {
162178 endpoint_url_key,
163179 id,
164180 inputs,
181+ tls,
165182 type_,
166183 additional_properties,
167184 _unparsed,
0 commit comments