From eea2cce1106aec676b73aacaf33e96c349c1b5c8 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 6a6b370479ca..e45eb5066991 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 85293ed768de..80db663c7a79 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 aed471dd9416..3179e68e181f 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 ba0fb849cc4c..edba81b05d8f 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 c4144c99bac6..d7910561121e 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."""