Skip to content

Commit 0bdb2c1

Browse files
chore(api): update composite API spec
1 parent ea9784a commit 0bdb2c1

7 files changed

Lines changed: 2 additions & 62 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: 1802
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ad0bb4b675e7f18dfbffe7c75086f7185a419f58619c83f0256bce247d8c9eef.yml
3-
openapi_spec_hash: 8f8ce66de94ee28d409821319ce4c384
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c5f32492775124389bdbfdaef3cc5e8b9a461534808ae9a6f392810aaa3f76f5.yml
3+
openapi_spec_hash: 08a2a40332d7e013bf4275ce693c3c63
44
config_hash: ac04197a992afb1d8c3b416fc46e8c8e

src/cloudflare/resources/load_balancers/pools/pools.py

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ def create(
9595
longitude: float | NotGiven = NOT_GIVEN,
9696
minimum_origins: int | NotGiven = NOT_GIVEN,
9797
monitor: str | NotGiven = NOT_GIVEN,
98-
monitor_group: str | NotGiven = NOT_GIVEN,
9998
notification_email: str | NotGiven = NOT_GIVEN,
10099
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
101100
origin_steering: OriginSteeringParam | NotGiven = NOT_GIVEN,
@@ -139,9 +138,6 @@ def create(
139138
monitor: The ID of the Monitor to use for checking the health of origins within this
140139
pool.
141140
142-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
143-
this pool.
144-
145141
notification_email: This field is now deprecated. It has been moved to Cloudflare's Centralized
146142
Notification service
147143
https://developers.cloudflare.com/fundamentals/notifications/. The email address
@@ -177,7 +173,6 @@ def create(
177173
"longitude": longitude,
178174
"minimum_origins": minimum_origins,
179175
"monitor": monitor,
180-
"monitor_group": monitor_group,
181176
"notification_email": notification_email,
182177
"notification_filter": notification_filter,
183178
"origin_steering": origin_steering,
@@ -209,7 +204,6 @@ def update(
209204
longitude: float | NotGiven = NOT_GIVEN,
210205
minimum_origins: int | NotGiven = NOT_GIVEN,
211206
monitor: str | NotGiven = NOT_GIVEN,
212-
monitor_group: str | NotGiven = NOT_GIVEN,
213207
notification_email: str | NotGiven = NOT_GIVEN,
214208
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
215209
origin_steering: OriginSteeringParam | NotGiven = NOT_GIVEN,
@@ -256,9 +250,6 @@ def update(
256250
monitor: The ID of the Monitor to use for checking the health of origins within this
257251
pool.
258252
259-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
260-
this pool.
261-
262253
notification_email: This field is now deprecated. It has been moved to Cloudflare's Centralized
263254
Notification service
264255
https://developers.cloudflare.com/fundamentals/notifications/. The email address
@@ -297,7 +288,6 @@ def update(
297288
"longitude": longitude,
298289
"minimum_origins": minimum_origins,
299290
"monitor": monitor,
300-
"monitor_group": monitor_group,
301291
"notification_email": notification_email,
302292
"notification_filter": notification_filter,
303293
"origin_steering": origin_steering,
@@ -460,7 +450,6 @@ def edit(
460450
longitude: float | NotGiven = NOT_GIVEN,
461451
minimum_origins: int | NotGiven = NOT_GIVEN,
462452
monitor: str | NotGiven = NOT_GIVEN,
463-
monitor_group: str | NotGiven = NOT_GIVEN,
464453
name: str | NotGiven = NOT_GIVEN,
465454
notification_email: str | NotGiven = NOT_GIVEN,
466455
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
@@ -503,9 +492,6 @@ def edit(
503492
monitor: The ID of the Monitor to use for checking the health of origins within this
504493
pool.
505494
506-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
507-
this pool.
508-
509495
name: A short name (tag) for the pool. Only alphanumeric characters, hyphens, and
510496
underscores are allowed.
511497
@@ -548,7 +534,6 @@ def edit(
548534
"longitude": longitude,
549535
"minimum_origins": minimum_origins,
550536
"monitor": monitor,
551-
"monitor_group": monitor_group,
552537
"name": name,
553538
"notification_email": notification_email,
554539
"notification_filter": notification_filter,
@@ -651,7 +636,6 @@ async def create(
651636
longitude: float | NotGiven = NOT_GIVEN,
652637
minimum_origins: int | NotGiven = NOT_GIVEN,
653638
monitor: str | NotGiven = NOT_GIVEN,
654-
monitor_group: str | NotGiven = NOT_GIVEN,
655639
notification_email: str | NotGiven = NOT_GIVEN,
656640
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
657641
origin_steering: OriginSteeringParam | NotGiven = NOT_GIVEN,
@@ -695,9 +679,6 @@ async def create(
695679
monitor: The ID of the Monitor to use for checking the health of origins within this
696680
pool.
697681
698-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
699-
this pool.
700-
701682
notification_email: This field is now deprecated. It has been moved to Cloudflare's Centralized
702683
Notification service
703684
https://developers.cloudflare.com/fundamentals/notifications/. The email address
@@ -733,7 +714,6 @@ async def create(
733714
"longitude": longitude,
734715
"minimum_origins": minimum_origins,
735716
"monitor": monitor,
736-
"monitor_group": monitor_group,
737717
"notification_email": notification_email,
738718
"notification_filter": notification_filter,
739719
"origin_steering": origin_steering,
@@ -765,7 +745,6 @@ async def update(
765745
longitude: float | NotGiven = NOT_GIVEN,
766746
minimum_origins: int | NotGiven = NOT_GIVEN,
767747
monitor: str | NotGiven = NOT_GIVEN,
768-
monitor_group: str | NotGiven = NOT_GIVEN,
769748
notification_email: str | NotGiven = NOT_GIVEN,
770749
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
771750
origin_steering: OriginSteeringParam | NotGiven = NOT_GIVEN,
@@ -812,9 +791,6 @@ async def update(
812791
monitor: The ID of the Monitor to use for checking the health of origins within this
813792
pool.
814793
815-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
816-
this pool.
817-
818794
notification_email: This field is now deprecated. It has been moved to Cloudflare's Centralized
819795
Notification service
820796
https://developers.cloudflare.com/fundamentals/notifications/. The email address
@@ -853,7 +829,6 @@ async def update(
853829
"longitude": longitude,
854830
"minimum_origins": minimum_origins,
855831
"monitor": monitor,
856-
"monitor_group": monitor_group,
857832
"notification_email": notification_email,
858833
"notification_filter": notification_filter,
859834
"origin_steering": origin_steering,
@@ -1016,7 +991,6 @@ async def edit(
1016991
longitude: float | NotGiven = NOT_GIVEN,
1017992
minimum_origins: int | NotGiven = NOT_GIVEN,
1018993
monitor: str | NotGiven = NOT_GIVEN,
1019-
monitor_group: str | NotGiven = NOT_GIVEN,
1020994
name: str | NotGiven = NOT_GIVEN,
1021995
notification_email: str | NotGiven = NOT_GIVEN,
1022996
notification_filter: Optional[NotificationFilterParam] | NotGiven = NOT_GIVEN,
@@ -1059,9 +1033,6 @@ async def edit(
10591033
monitor: The ID of the Monitor to use for checking the health of origins within this
10601034
pool.
10611035
1062-
monitor_group: The ID of the Monitor Group to use for checking the health of origins within
1063-
this pool.
1064-
10651036
name: A short name (tag) for the pool. Only alphanumeric characters, hyphens, and
10661037
underscores are allowed.
10671038
@@ -1104,7 +1075,6 @@ async def edit(
11041075
"longitude": longitude,
11051076
"minimum_origins": minimum_origins,
11061077
"monitor": monitor,
1107-
"monitor_group": monitor_group,
11081078
"name": name,
11091079
"notification_email": notification_email,
11101080
"notification_filter": notification_filter,

src/cloudflare/types/load_balancers/pool.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ class Pool(BaseModel):
7171
pool.
7272
"""
7373

74-
monitor_group: Optional[str] = None
75-
"""
76-
The ID of the Monitor Group to use for checking the health of origins within
77-
this pool.
78-
"""
79-
8074
name: Optional[str] = None
8175
"""A short name (tag) for the pool.
8276

src/cloudflare/types/load_balancers/pool_create_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -69,12 +69,6 @@ class PoolCreateParams(TypedDict, total=False):
6969
pool.
7070
"""
7171

72-
monitor_group: str
73-
"""
74-
The ID of the Monitor Group to use for checking the health of origins within
75-
this pool.
76-
"""
77-
7872
notification_email: str
7973
"""This field is now deprecated.
8074

src/cloudflare/types/load_balancers/pool_edit_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,6 @@ class PoolEditParams(TypedDict, total=False):
6363
pool.
6464
"""
6565

66-
monitor_group: str
67-
"""
68-
The ID of the Monitor Group to use for checking the health of origins within
69-
this pool.
70-
"""
71-
7266
name: str
7367
"""A short name (tag) for the pool.
7468

src/cloudflare/types/load_balancers/pool_update_params.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ class PoolUpdateParams(TypedDict, total=False):
7676
pool.
7777
"""
7878

79-
monitor_group: str
80-
"""
81-
The ID of the Monitor Group to use for checking the health of origins within
82-
this pool.
83-
"""
84-
8579
notification_email: str
8680
"""This field is now deprecated.
8781

tests/api_resources/load_balancers/test_pools.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
5858
longitude=0,
5959
minimum_origins=0,
6060
monitor="monitor",
61-
monitor_group="monitor_group",
6261
notification_email="someone@example.com,sometwo@example.com",
6362
notification_filter={
6463
"origin": {
@@ -151,7 +150,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
151150
longitude=0,
152151
minimum_origins=0,
153152
monitor="monitor",
154-
monitor_group="monitor_group",
155153
notification_email="someone@example.com,sometwo@example.com",
156154
notification_filter={
157155
"origin": {
@@ -386,7 +384,6 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
386384
longitude=0,
387385
minimum_origins=0,
388386
monitor="monitor",
389-
monitor_group="monitor_group",
390387
name="primary-dc-1",
391388
notification_email="someone@example.com,sometwo@example.com",
392389
notification_filter={
@@ -545,7 +542,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
545542
longitude=0,
546543
minimum_origins=0,
547544
monitor="monitor",
548-
monitor_group="monitor_group",
549545
notification_email="someone@example.com,sometwo@example.com",
550546
notification_filter={
551547
"origin": {
@@ -638,7 +634,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
638634
longitude=0,
639635
minimum_origins=0,
640636
monitor="monitor",
641-
monitor_group="monitor_group",
642637
notification_email="someone@example.com,sometwo@example.com",
643638
notification_filter={
644639
"origin": {
@@ -873,7 +868,6 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
873868
longitude=0,
874869
minimum_origins=0,
875870
monitor="monitor",
876-
monitor_group="monitor_group",
877871
name="primary-dc-1",
878872
notification_email="someone@example.com,sometwo@example.com",
879873
notification_filter={

0 commit comments

Comments
 (0)