Skip to content

Commit 9468e7b

Browse files
chore(api): update composite API spec
1 parent 249fdaa commit 9468e7b

18 files changed

Lines changed: 192 additions & 2 deletions

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1993
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-27f6b1369083e22ebab722ef452af9f22e4f421b5caaddef2f8b1a2abc862a2d.yml
3-
openapi_spec_hash: c1f5be51520a21feec9d12e08b7bb243
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dfcfb91b62daeff310609797c93ae70c5e040e1658338e12629d199fcffdb402.yml
3+
openapi_spec_hash: 1083e054d1efad2591a2299209615ca0
44
config_hash: 316e765ff117ffcf8ecf5a3187c184b1

src/cloudflare/resources/magic_cloud_networking/on_ramps/on_ramps.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,15 @@ def create(
8585
*,
8686
account_id: str,
8787
cloud_type: Literal["AWS", "AZURE", "GOOGLE"],
88+
dynamic_routing: bool,
8889
install_routes_in_cloud: bool,
8990
install_routes_in_magic_wan: bool,
9091
name: str,
9192
type: Literal["OnrampTypeSingle", "OnrampTypeHub"],
9293
adopted_hub_id: str | Omit = omit,
9394
attached_hubs: SequenceNotStr[str] | Omit = omit,
9495
attached_vpcs: SequenceNotStr[str] | Omit = omit,
96+
cloud_asn: int | Omit = omit,
9597
description: str | Omit = omit,
9698
hub_provider_id: str | Omit = omit,
9799
manage_hub_to_hub_attachments: bool | Omit = omit,
@@ -110,6 +112,12 @@ def create(
110112
Create a new On-ramp (Closed Beta).
111113
112114
Args:
115+
dynamic_routing: if set to true, install_routes_in_cloud and install_routes_in_magic_wan should
116+
be set to false
117+
118+
cloud_asn: the ASN to use on the cloud side. If unset or zero, the cloud's default will be
119+
used.
120+
113121
extra_headers: Send extra headers
114122
115123
extra_query: Add additional query parameters to the request
@@ -126,13 +134,15 @@ def create(
126134
body=maybe_transform(
127135
{
128136
"cloud_type": cloud_type,
137+
"dynamic_routing": dynamic_routing,
129138
"install_routes_in_cloud": install_routes_in_cloud,
130139
"install_routes_in_magic_wan": install_routes_in_magic_wan,
131140
"name": name,
132141
"type": type,
133142
"adopted_hub_id": adopted_hub_id,
134143
"attached_hubs": attached_hubs,
135144
"attached_vpcs": attached_vpcs,
145+
"cloud_asn": cloud_asn,
136146
"description": description,
137147
"hub_provider_id": hub_provider_id,
138148
"manage_hub_to_hub_attachments": manage_hub_to_hub_attachments,
@@ -571,13 +581,15 @@ async def create(
571581
*,
572582
account_id: str,
573583
cloud_type: Literal["AWS", "AZURE", "GOOGLE"],
584+
dynamic_routing: bool,
574585
install_routes_in_cloud: bool,
575586
install_routes_in_magic_wan: bool,
576587
name: str,
577588
type: Literal["OnrampTypeSingle", "OnrampTypeHub"],
578589
adopted_hub_id: str | Omit = omit,
579590
attached_hubs: SequenceNotStr[str] | Omit = omit,
580591
attached_vpcs: SequenceNotStr[str] | Omit = omit,
592+
cloud_asn: int | Omit = omit,
581593
description: str | Omit = omit,
582594
hub_provider_id: str | Omit = omit,
583595
manage_hub_to_hub_attachments: bool | Omit = omit,
@@ -596,6 +608,12 @@ async def create(
596608
Create a new On-ramp (Closed Beta).
597609
598610
Args:
611+
dynamic_routing: if set to true, install_routes_in_cloud and install_routes_in_magic_wan should
612+
be set to false
613+
614+
cloud_asn: the ASN to use on the cloud side. If unset or zero, the cloud's default will be
615+
used.
616+
599617
extra_headers: Send extra headers
600618
601619
extra_query: Add additional query parameters to the request
@@ -612,13 +630,15 @@ async def create(
612630
body=await async_maybe_transform(
613631
{
614632
"cloud_type": cloud_type,
633+
"dynamic_routing": dynamic_routing,
615634
"install_routes_in_cloud": install_routes_in_cloud,
616635
"install_routes_in_magic_wan": install_routes_in_magic_wan,
617636
"name": name,
618637
"type": type,
619638
"adopted_hub_id": adopted_hub_id,
620639
"attached_hubs": attached_hubs,
621640
"attached_vpcs": attached_vpcs,
641+
"cloud_asn": cloud_asn,
622642
"description": description,
623643
"hub_provider_id": hub_provider_id,
624644
"manage_hub_to_hub_attachments": manage_hub_to_hub_attachments,

src/cloudflare/types/magic_cloud_networking/catalog_sync_create_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Errors(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Errors(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,

src/cloudflare/types/magic_cloud_networking/catalog_sync_edit_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Errors(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Errors(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,

src/cloudflare/types/magic_cloud_networking/catalog_sync_get_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Errors(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Errors(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,

src/cloudflare/types/magic_cloud_networking/catalog_sync_list_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Errors(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Errors(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,

src/cloudflare/types/magic_cloud_networking/catalog_sync_update_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Errors(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Errors(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,

src/cloudflare/types/magic_cloud_networking/cloud_integration_discover_all_response.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Error(BaseModel):
5353
1015,
5454
1016,
5555
1017,
56+
1018,
5657
2001,
5758
2002,
5859
2003,
@@ -176,6 +177,12 @@ class Error(BaseModel):
176177
102064,
177178
102065,
178179
102066,
180+
102067,
181+
102068,
182+
102069,
183+
102070,
184+
102071,
185+
102072,
179186
103001,
180187
103002,
181188
103003,
@@ -232,6 +239,7 @@ class Message(BaseModel):
232239
1015,
233240
1016,
234241
1017,
242+
1018,
235243
2001,
236244
2002,
237245
2003,
@@ -355,6 +363,12 @@ class Message(BaseModel):
355363
102064,
356364
102065,
357365
102066,
366+
102067,
367+
102068,
368+
102069,
369+
102070,
370+
102071,
371+
102072,
358372
103001,
359373
103002,
360374
103003,

src/cloudflare/types/magic_cloud_networking/cloud_integration_discover_response.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ class Error(BaseModel):
5353
1015,
5454
1016,
5555
1017,
56+
1018,
5657
2001,
5758
2002,
5859
2003,
@@ -176,6 +177,12 @@ class Error(BaseModel):
176177
102064,
177178
102065,
178179
102066,
180+
102067,
181+
102068,
182+
102069,
183+
102070,
184+
102071,
185+
102072,
179186
103001,
180187
103002,
181188
103003,
@@ -232,6 +239,7 @@ class Message(BaseModel):
232239
1015,
233240
1016,
234241
1017,
242+
1018,
235243
2001,
236244
2002,
237245
2003,
@@ -355,6 +363,12 @@ class Message(BaseModel):
355363
102064,
356364
102065,
357365
102066,
366+
102067,
367+
102068,
368+
102069,
369+
102070,
370+
102071,
371+
102072,
358372
103001,
359373
103002,
360374
103003,

src/cloudflare/types/magic_cloud_networking/on_ramp_apply_response.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ class Error(BaseModel):
4545
1015,
4646
1016,
4747
1017,
48+
1018,
4849
2001,
4950
2002,
5051
2003,
@@ -168,6 +169,12 @@ class Error(BaseModel):
168169
102064,
169170
102065,
170171
102066,
172+
102067,
173+
102068,
174+
102069,
175+
102070,
176+
102071,
177+
102072,
171178
103001,
172179
103002,
173180
103003,
@@ -224,6 +231,7 @@ class Message(BaseModel):
224231
1015,
225232
1016,
226233
1017,
234+
1018,
227235
2001,
228236
2002,
229237
2003,
@@ -347,6 +355,12 @@ class Message(BaseModel):
347355
102064,
348356
102065,
349357
102066,
358+
102067,
359+
102068,
360+
102069,
361+
102070,
362+
102071,
363+
102072,
350364
103001,
351365
103002,
352366
103003,

0 commit comments

Comments
 (0)