8000 feat(api): api update · GameRoMan/cloudflare-python@136a09b · GitHub
[go: up one dir, main page]

Skip to content

Commit 136a09b

Browse files
feat(api): api update
1 parent 72f73f9 commit 136a09b

File tree

10 files changed

+50
-17
lines changed

10 files changed

+50
-17
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1734
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d271484560e32133829e7c6520cccd085078374f5e076e618c8b1c3538f92681.yml
3-
openapi_spec_hash: f7e474d062360ae0de991798d7b29a41
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-3e05ef9b01de06d9b659d035eca4ee698cc4e0fae820b61d50925673ba8e21ff.yml
3+
openapi_spec_hash: f0cd0123d35c6e2c840d6b533244f421
44
config_hash: 7e270b3449efce600e3469937a344c2d

src/cloudflare/resources/magic_transit/apps.py

Lines changed: 12 additions & 6 deletions
< 8000 td data-grid-cell-id="diff-18f8836e32a62ce6b7533ebc8ceaa70c45a2989be67ce298012fd844d47e795e-576-582-1" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);text-align:center" tabindex="-1" valign="top" class="focusable-grid-cell diff-line-number position-relative diff-line-number-neutral left-side">582
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ def create(
7676
7777
hostnames: FQDNs to associate with traffic decisions.
7878
79-
ip_subnets: CIDRs to associate with traffic decisions.
79+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
80+
unsupported)
8081
8182
extra_headers: Send extra headers
8283
@@ -135,7 +136,8 @@ def update(
135136
136137
hostnames: FQDNs to associate with traffic decisions.
137138
138-
ip_subnets: CIDRs to associate with traffic decisions.
139+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
140+
unsupported)
139141
140142
name: Display name for the app.
141143
@@ -280,7 +282,8 @@ def edit(
280282
281283
hostnames: FQDNs to associate with traffic decisions.
282284
283-
ip_subnets: CIDRs to associate with traffic decisions.
285+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
286+
unsupported)
284287
285288
name: Display name for the app.
286289
@@ -367,7 +370,8 @@ async def create(
367370
368371
hostnames: FQDNs to associate with traffic decisions.
369372
370-
ip_subnets: CIDRs to associate with traffic decisions.
373+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
374+
unsupported)
371375
372376
extra_headers: Send extra headers
373377
@@ -426,7 +430,8 @@ async def update(
426430
427431
hostnames: FQDNs to associate with traffic decisions.
428432
429-
ip_subnets: CIDRs to associate with traffic decisions.
433+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
434+
unsupported)
430435
431436
name: Display name for the app.
432437
@@ -571,7 +576,8 @@ async def edit(
571576
572577
hostnames: FQDNs to associate with traffic decisions.
573578
574-
ip_subnets: CIDRs to associate with traffic decisions.
579+
ip_subnets: IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently
580+
unsupported)
575581
576
name: Display name for the app.
577583

src/cloudflare/types/magic_transit/app_create_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@ class AppCreateParams(TypedDict, total=False):
2222
"""FQDNs to associate with traffic decisions."""
2323

2424
ip_subnets: List[str]
25-
"""CIDRs to associate with traffic decisions."""
25+
"""IPv4 CIDRs to associate with traffic decisions.
26+
27+
(IPv6 CIDRs are currently unsupported)
28+
"""

src/cloudflare/types/magic_transit/app_create_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ class AppCreateResponse(BaseModel):
1515
"""FQDNs to associate with traffic decisions."""
1616

1717
ip_subnets: Optional[List[str]] = None
18-
"""CIDRs to associate with traffic decisions."""
18+
"""IPv4 CIDRs to associate with traffic decisions.
19+
20+
(IPv6 CIDRs are currently unsupported)
21+
"""
1922

2023
name: Optional[str] = None
2124
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_delete_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ class AppDeleteResponse(BaseModel):
1515
"""FQDNs to associate with traffic decisions."""
1616

1717
ip_subnets: Optional[List[str]] = None
18-
"""CIDRs to associate with traffic decisions."""
18+
"""IPv4 CIDRs to associate with traffic decisions.
19+
20+
(IPv6 CIDRs are currently unsupported)
21+
"""
1922

2023
name: Optional[str] = None
2124
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_edit_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ class AppEditParams(TypedDict, total=False):
1616
"""FQDNs to associate with traffic decisions."""
1717

1818
ip_subnets: List[str]
19-
"""CIDRs to associate with traffic decisions."""
19+
"""IPv4 CIDRs to associate with traffic decisions.
20+
21+
(IPv6 CIDRs are currently unsupported)
22+
"""
2023

2124
name: str
2225
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_edit_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ class AppEditResponse(BaseModel):
1515
"""FQDNs to associate with traffic decisions."""
1616

1717
ip_subnets: Optional[List[str]] = None
18-
"""CIDRs to associate with traffic decisions."""
18+
"""IPv4 CIDRs to associate with traffic decisions.
19+
20+
(IPv6 CIDRs are currently unsupported)
21+
"""
1922

2023
name: Optional[str] = None
2124
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_list_response.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ class MagicAccountApp(BaseModel):
1616
"""FQDNs to associate with traffic decisions."""
1717

1818
ip_subnets: Optional[List[str]] = None
19-
"""CIDRs to associate with traffic decisions."""
19+
"""IPv4 CIDRs to associate with traffic decisions.
20+
21+
(IPv6 CIDRs are currently unsupported)
22+
"""
2023

2124
name: Optional[str] = None
2225
"""Display name for the app."""
@@ -33,7 +36,10 @@ class MagicManagedApp(BaseModel):
3336
"""FQDNs to associate with traffic decisions."""
3437

3538
ip_subnets: Optional[List[str]] = None
36-
"""CIDRs to associate with traffic decisions."""
39+
"""IPv4 CIDRs to associate with traffic decisions.
40+
41+
(IPv6 CIDRs are currently unsupported)
42+
"""
3743

3844
name: Optional[str] = None
3945
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_update_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@ class AppUpdateParams(TypedDict, total=False):
1616
"""FQDNs to associate with traffic decisions."""
1717

1818
ip_subnets: List[str]
19-
"""CIDRs to associate with traffic decisions."""
19+
"""IPv4 CIDRs to associate with traffic decisions.
20+
21+
(IPv6 CIDRs are currently unsupported)
22+
"""
2023

2124
name: str
2225
"""Display name for the app."""

src/cloudflare/types/magic_transit/app_update_response.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ class AppUpdateResponse(BaseModel):
1515
"""FQDNs to associate with traffic decisions."""
1616

1717
ip_subnets: Optional[List[str]] = None
18-
"""CIDRs to associate with traffic decisions."""
18+
"""IPv4 CIDRs to associate with traffic decisions.
19+
20+
(IPv6 CIDRs are currently unsupported)
21+
"""
1922

2023
name: Optional[str] = None
2124
"""Display name for the app."""

0 commit comments

Comments
 (0)
0