Skip to content

Commit e06ef4e

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): OpenAPI spec update via Stainless API (#224)
1 parent dfa9884 commit e06ef4e

File tree

5 files changed

+24
-8
lines changed

5 files changed

+24
-8
lines changed

src/cloudflare/resources/magic_transit/ipsec_tunnels.py

+8-4
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@ def create(
8484
8585
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
8686
87-
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
87+
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
88+
but must be set for proactive traceroutes to work.
8889
8990
description: An optional description forthe IPsec tunnel.
9091
@@ -167,7 +168,8 @@ def update(
167168
168169
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
169170
170-
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
171+
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
172+
but must be set for proactive traceroutes to work.
171173
172174
description: An optional description forthe IPsec tunnel.
173175
@@ -440,7 +442,8 @@ async def create(
440442
441443
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
442444
443-
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
445+
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
446+
but must be set for proactive traceroutes to work.
444447
445448
description: An optional description forthe IPsec tunnel.
446449
@@ -523,7 +526,8 @@ async def update(
523526
524527
name: The name of the IPsec tunnel. The name cannot share a name with other tunnels.
525528
526-
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel.
529+
customer_endpoint: The IP address assigned to the customer side of the IPsec tunnel. Not required,
530+
but must be set for proactive traceroutes to work.
527531
528532
description: An optional description forthe IPsec tunnel.
529533

src/cloudflare/types/magic_transit/ipsec_tunnel_create_params.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class IPSECTunnelCreateParams(TypedDict, total=False):
2828
"""The name of the IPsec tunnel. The name cannot share a name with other tunnels."""
2929

3030
customer_endpoint: str
31-
"""The IP address assigned to the customer side of the IPsec tunnel."""
31+
"""The IP address assigned to the customer side of the IPsec tunnel.
32+
33+
Not required, but must be set for proactive traceroutes to work.
34+
"""
3235

3336
description: str
3437
"""An optional description forthe IPsec tunnel."""

src/cloudflare/types/magic_transit/ipsec_tunnel_create_response.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel):
6161
"""The date and time the tunnel was created."""
6262

6363
customer_endpoint: Optional[str] = None
64-
"""The IP address assigned to the customer side of the IPsec tunnel."""
64+
"""The IP address assigned to the customer side of the IPsec tunnel.
65+
66+
Not required, but must be set for proactive traceroutes to work.
67+
"""
6568

6669
description: Optional[str] = None
6770
"""An optional description forthe IPsec tunnel."""

src/cloudflare/types/magic_transit/ipsec_tunnel_list_response.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,10 @@ class IPSECTunnel(BaseModel):
6161
"""The date and time the tunnel was created."""
6262

6363
customer_endpoint: Optional[str] = None
64-
"""The IP address assigned to the customer side of the IPsec tunnel."""
64+
"""The IP address assigned to the customer side of the IPsec tunnel.
65+
66+
Not required, but must be set for proactive traceroutes to work.
67+
"""
6568

6669
description: Optional[str] = None
6770
"""An optional description forthe IPsec tunnel."""

src/cloudflare/types/magic_transit/ipsec_tunnel_update_params.py

+4-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ class IPSECTunnelUpdateParams(TypedDict, total=False):
2828
"""The name of the IPsec tunnel. The name cannot share a name with other tunnels."""
2929

3030
customer_endpoint: str
31-
"""The IP address assigned to the customer side of the IPsec tunnel."""
31+
"""The IP address assigned to the customer side of the IPsec tunnel.
32+
33+
Not required, but must be set for proactive traceroutes to work.
34+
"""
3235

3336
description: str
3437
"""An optional description forthe IPsec tunnel."""

0 commit comments

Comments
 (0)