From e06ef4ece8e9bf99bba088fa30b7bdcbff2b8792 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 4 Apr 2024 21:16:29 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#224) --- .../resources/magic_transit/ipsec_tunnels.py | 12 ++++++++---- .../magic_transit/ipsec_tunnel_create_params.py | 5 ++++- .../magic_transit/ipsec_tunnel_create_response.py | 5 ++++- .../magic_transit/ipsec_tunnel_list_response.py | 5 ++++- .../magic_transit/ipsec_tunnel_update_params.py | 5 ++++- 5 files changed, 24 insertions(+), 8 deletions(-) diff --git a/src/cloudflare/resources/magic_transit/ipsec_tunnels.py b/src/cloudflare/resources/magic_transit/ipsec_tunnels.py index 6a6b370479c..e45eb506699 100644 --- a/src/cloudflare/resources/magic_transit/ipsec_tunnels.py +++ b/src/cloudflare/resources/magic_transit/ipsec_tunnels.py @@ -84,7 +84,8 @@ def create( name: The name of the IPsec tunnel. The name cannot share a name with other tunnels. - customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. + customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required, + but must be set for proactive traceroutes to work. description: An optional description forthe IPsec tunnel. @@ -167,7 +168,8 @@ def update( name: The name of the IPsec tunnel. The name cannot share a name with other tunnels. - customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. + customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required, + but must be set for proactive traceroutes to work. description: An optional description forthe IPsec tunnel. @@ -440,7 +442,8 @@ async def create( name: The name of the IPsec tunnel. The name cannot share a name with other tunnels. - customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. + customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required, + but must be set for proactive traceroutes to work. description: An optional description forthe IPsec tunnel. @@ -523,7 +526,8 @@ async def update( name: The name of the IPsec tunnel. The name cannot share a name with other tunnels. - customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. + customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required, + but must be set for proactive traceroutes to work. description: An optional description forthe IPsec tunnel. diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py index 85293ed768d..80db663c7a7 100644 --- a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py +++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py @@ -28,7 +28,10 @@ class IPSECTunnelCreateParams(TypedDict, total=False): """The name of the IPsec tunnel. The name cannot share a name with other tunnels.""" customer_endpoint: str - """The IP address assigned to the customer side of the IPsec tunnel.""" + """The IP address assigned to the customer side of the IPsec tunnel. + + Not required, but must be set for proactive traceroutes to work. + """ description: str """An optional description forthe IPsec tunnel.""" diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py index aed471dd941..3179e68e181 100644 --- a/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py +++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py @@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel): """The date and time the tunnel was created.""" customer_endpoint: Optional[str] = None - """The IP address assigned to the customer side of the IPsec tunnel.""" + """The IP address assigned to the customer side of the IPsec tunnel. + + Not required, but must be set for proactive traceroutes to work. + """ description: Optional[str] = None """An optional description forthe IPsec tunnel.""" diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py index ba0fb849cc4..edba81b05d8 100644 --- a/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py +++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py @@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel): """The date and time the tunnel was created.""" customer_endpoint: Optional[str] = None - """The IP address assigned to the customer side of the IPsec tunnel.""" + """The IP address assigned to the customer side of the IPsec tunnel. + + Not required, but must be set for proactive traceroutes to work. + """ description: Optional[str] = None """An optional description forthe IPsec tunnel.""" diff --git a/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py b/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py index c4144c99bac..d7910561121 100644 --- a/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py +++ b/src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py @@ -28,7 +28,10 @@ class IPSECTunnelUpdateParams(TypedDict, total=False): """The name of the IPsec tunnel. The name cannot share a name with other tunnels.""" customer_endpoint: str - """The IP address assigned to the customer side of the IPsec tunnel.""" + """The IP address assigned to the customer side of the IPsec tunnel. + + Not required, but must be set for proactive traceroutes to work. + """ description: str """An optional description forthe IPsec tunnel."""