Skip to content

Commit e4f6db1

Browse files
feat(api): api update
1 parent 080e338 commit e4f6db1

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f7681635d53a6621672260d7c100544abb5ac1765e79a1050125ede065ddc3ce.yml
3-
openapi_spec_hash: a9bf548865fe679f0fd5946d8ac43dc3
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b80363dff8a9093d4f64908a5266d96097c56e8b786850513ad10807e3f61441.yml
3+
openapi_spec_hash: 03f0955df4a358d12749e4d530a17fa6
44
config_hash: de4c81cee29cd7dd907279e8916b334f

src/cloudflare/types/shared/cloudflare_tunnel.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,13 @@ class CloudflareTunnel(BaseModel):
4747
account_tag: Optional[str] = None
4848
"""Cloudflare account ID"""
4949

50+
config_src: Optional[Literal["local", "cloudflare"]] = None
51+
"""Indicates if this is a locally or remotely configured tunnel.
52+
53+
If `local`, manage the tunnel using a YAML file on the origin machine. If
54+
`cloudflare`, manage the tunnel on the Zero Trust dashboard.
55+
"""
56+
5057
connections: Optional[List[Connection]] = None
5158
"""The Cloudflare Tunnel connections between your origin and Cloudflare's edge."""
5259

0 commit comments

Comments
 (0)