Skip to content

Commit 65fff47

Browse files
chore(api): update composite API spec
1 parent c5cc86a commit 65fff47

File tree

3 files changed

+29
-2
lines changed

3 files changed

+29
-2
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: 1802
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c5f32492775124389bdbfdaef3cc5e8b9a461534808ae9a6f392810aaa3f76f5.yml
3-
openapi_spec_hash: 08a2a40332d7e013bf4275ce693c3c63
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dd93f537a4c74ad787ab638437cffdf462f373a40e4bf6c58e88b4a2506eb97a.yml
3+
openapi_spec_hash: 455470da367dffe6c0708f8240a5ce3e
44
config_hash: ac04197a992afb1d8c3b416fc46e8c8e

src/resources/load-balancers/pools/pools.ts

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,12 @@ export interface Pool {
250250
*/
251251
monitor?: string;
252252

253+
/**
254+
* The ID of the Monitor Group to use for checking the health of origins within
255+
* this pool.
256+
*/
257+
monitor_group?: string;
258+
253259
/**
254260
* A short name (tag) for the pool. Only alphanumeric characters, hyphens, and
255261
* underscores are allowed.
@@ -354,6 +360,12 @@ export interface PoolCreateParams {
354360
*/
355361
monitor?: string;
356362

363+
/**
364+
* Body param: The ID of the Monitor Group to use for checking the health of
365+
* origins within this pool.
366+
*/
367+
monitor_group?: string;
368+
357369
/**
358370
* Body param: This field is now deprecated. It has been moved to Cloudflare's
359371
* Centralized Notification service
@@ -443,6 +455,12 @@ export interface PoolUpdateParams {
443455
*/
444456
monitor?: string;
445457

458+
/**
459+
* Body param: The ID of the Monitor Group to use for checking the health of
460+
* origins within this pool.
461+
*/
462+
monitor_group?: string;
463+
446464
/**
447465
* Body param: This field is now deprecated. It has been moved to Cloudflare's
448466
* Centralized Notification service
@@ -553,6 +571,12 @@ export interface PoolEditParams {
553571
*/
554572
monitor?: string;
555573

574+
/**
575+
* Body param: The ID of the Monitor Group to use for checking the health of
576+
* origins within this pool.
577+
*/
578+
monitor_group?: string;
579+
556580
/**
557581
* Body param: A short name (tag) for the pool. Only alphanumeric characters,
558582
* hyphens, and underscores are allowed.

tests/api-resources/load-balancers/pools/pools.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ describe('resource pools', () => {
5252
longitude: 0,
5353
minimum_origins: 0,
5454
monitor: 'monitor',
55+
monitor_group: 'monitor_group',
5556
notification_email: 'someone@example.com,sometwo@example.com',
5657
notification_filter: {
5758
origin: { disable: true, healthy: true },
@@ -104,6 +105,7 @@ describe('resource pools', () => {
104105
longitude: 0,
105106
minimum_origins: 0,
106107
monitor: 'monitor',
108+
monitor_group: 'monitor_group',
107109
notification_email: 'someone@example.com,sometwo@example.com',
108110
notification_filter: {
109111
origin: { disable: true, healthy: true },
@@ -203,6 +205,7 @@ describe('resource pools', () => {
203205
longitude: 0,
204206
minimum_origins: 0,
205207
monitor: 'monitor',
208+
monitor_group: 'monitor_group',
206209
name: 'primary-dc-1',
207210
notification_email: 'someone@example.com,sometwo@example.com',
208211
notification_filter: {

0 commit comments

Comments
 (0)