Skip to content

Commit bf709eb

Browse files
committed
CLOUDP-320468: Update Autogenerated Commands
1 parent 35c23ab commit bf709eb

File tree

2 files changed

+24
-30
lines changed

2 files changed

+24
-30
lines changed

tools/internal/specs/spec-with-overlays.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1778,7 +1778,7 @@ components:
17781778
AlertViewForNdsGroup:
17791779
oneOf:
17801780
- $ref: '#/components/schemas/AppServiceAlertView'
1781-
- $ref: '#/components/schemas/ClusterAlertView'
1781+
- $ref: '#/components/schemas/ClusterAlertViewForNdsGroup'
17821782
- $ref: '#/components/schemas/HostAlertViewForNdsGroup'
17831783
- $ref: '#/components/schemas/HostMetricAlert'
17841784
- $ref: '#/components/schemas/ReplicaSetAlertViewForNdsGroup'
@@ -8325,7 +8325,7 @@ components:
83258325
description: Flag that indicates whether someone enabled this alert configuration for the specified project.
83268326
type: boolean
83278327
eventTypeName:
8328-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8328+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
83298329
groupId:
83308330
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.
83318331
example: 32b6e34b3d91647abb20e7b8
@@ -8372,7 +8372,7 @@ components:
83728372
- notifications
83738373
title: Cluster Alert Configuration
83748374
type: object
8375-
ClusterAlertView:
8375+
ClusterAlertViewForNdsGroup:
83768376
description: Cluster alert notifies different activities and conditions about cluster of mongod hosts.
83778377
properties:
83788378
acknowledgedUntil:
@@ -8418,7 +8418,7 @@ components:
84188418
readOnly: true
84198419
type: string
84208420
eventTypeName:
8421-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8421+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
84228422
groupId:
84238423
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert.
84248424
example: 32b6e34b3d91647abb20e7b8
@@ -9166,23 +9166,21 @@ components:
91669166
minimum: 1
91679167
type: integer
91689168
type: object
9169-
ClusterEventTypeViewAlertable:
9170-
description: Event type that triggers an alert.
9171-
enum:
9172-
- CLUSTER_MONGOS_IS_MISSING
9173-
- CLUSTER_AGENT_IN_CRASH_LOOP
9174-
example: CLUSTER_MONGOS_IS_MISSING
9175-
title: Cluster Event Types
9176-
type: string
91779169
ClusterEventTypeViewForNdsGroup:
91789170
description: Unique identifier of event type.
91799171
enum:
91809172
- CLUSTER_MONGOS_IS_PRESENT
91819173
- CLUSTER_MONGOS_IS_MISSING
9182-
- CLUSTER_AGENT_IN_CRASH_LOOP
91839174
example: CLUSTER_MONGOS_IS_PRESENT
91849175
title: Cluster Event Types
91859176
type: string
9177+
ClusterEventTypeViewForNdsGroupAlertable:
9178+
description: Event type that triggers an alert.
9179+
enum:
9180+
- CLUSTER_MONGOS_IS_MISSING
9181+
example: CLUSTER_MONGOS_IS_MISSING
9182+
title: Cluster Event Types
9183+
type: string
91869184
ClusterEventViewForNdsGroup:
91879185
description: Cluster event identifies different activities about cluster of mongod hosts.
91889186
properties:
@@ -15190,7 +15188,6 @@ components:
1519015188
- enum:
1519115189
- CLUSTER_MONGOS_IS_PRESENT
1519215190
- CLUSTER_MONGOS_IS_MISSING
15193-
- CLUSTER_AGENT_IN_CRASH_LOOP
1519415191
title: Cluster Event Types
1519515192
type: string
1519615193
- enum:
@@ -34729,7 +34726,7 @@ info:
3472934726
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3473034727
title: MongoDB Atlas Administration API
3473134728
version: "2.0"
34732-
x-xgen-sha: d0dc81933289dbde71a17c2676e1b5d45fd74fff
34729+
x-xgen-sha: f6f6b0dba50116a8faf418ac03cade69e1bfcc10
3473334730
openapi: 3.0.1
3473434731
paths:
3473534732
/api/atlas/v2:

tools/internal/specs/spec.yaml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1775,7 +1775,7 @@ components:
17751775
AlertViewForNdsGroup:
17761776
oneOf:
17771777
- $ref: '#/components/schemas/AppServiceAlertView'
1778-
- $ref: '#/components/schemas/ClusterAlertView'
1778+
- $ref: '#/components/schemas/ClusterAlertViewForNdsGroup'
17791779
- $ref: '#/components/schemas/HostAlertViewForNdsGroup'
17801780
- $ref: '#/components/schemas/HostMetricAlert'
17811781
- $ref: '#/components/schemas/ReplicaSetAlertViewForNdsGroup'
@@ -8322,7 +8322,7 @@ components:
83228322
description: Flag that indicates whether someone enabled this alert configuration for the specified project.
83238323
type: boolean
83248324
eventTypeName:
8325-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8325+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
83268326
groupId:
83278327
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert configuration.
83288328
example: 32b6e34b3d91647abb20e7b8
@@ -8369,7 +8369,7 @@ components:
83698369
- notifications
83708370
title: Cluster Alert Configuration
83718371
type: object
8372-
ClusterAlertView:
8372+
ClusterAlertViewForNdsGroup:
83738373
description: Cluster alert notifies different activities and conditions about cluster of mongod hosts.
83748374
properties:
83758375
acknowledgedUntil:
@@ -8415,7 +8415,7 @@ components:
84158415
readOnly: true
84168416
type: string
84178417
eventTypeName:
8418-
$ref: '#/components/schemas/ClusterEventTypeViewAlertable'
8418+
$ref: '#/components/schemas/ClusterEventTypeViewForNdsGroupAlertable'
84198419
groupId:
84208420
description: Unique 24-hexadecimal digit string that identifies the project that owns this alert.
84218421
example: 32b6e34b3d91647abb20e7b8
@@ -9163,23 +9163,21 @@ components:
91639163
minimum: 1
91649164
type: integer
91659165
type: object
9166-
ClusterEventTypeViewAlertable:
9167-
description: Event type that triggers an alert.
9168-
enum:
9169-
- CLUSTER_MONGOS_IS_MISSING
9170-
- CLUSTER_AGENT_IN_CRASH_LOOP
9171-
example: CLUSTER_MONGOS_IS_MISSING
9172-
title: Cluster Event Types
9173-
type: string
91749166
ClusterEventTypeViewForNdsGroup:
91759167
description: Unique identifier of event type.
91769168
enum:
91779169
- CLUSTER_MONGOS_IS_PRESENT
91789170
- CLUSTER_MONGOS_IS_MISSING
9179-
- CLUSTER_AGENT_IN_CRASH_LOOP
91809171
example: CLUSTER_MONGOS_IS_PRESENT
91819172
title: Cluster Event Types
91829173
type: string
9174+
ClusterEventTypeViewForNdsGroupAlertable:
9175+
description: Event type that triggers an alert.
9176+
enum:
9177+
- CLUSTER_MONGOS_IS_MISSING
9178+
example: CLUSTER_MONGOS_IS_MISSING
9179+
title: Cluster Event Types
9180+
type: string
91839181
ClusterEventViewForNdsGroup:
91849182
description: Cluster event identifies different activities about cluster of mongod hosts.
91859183
properties:
@@ -15187,7 +15185,6 @@ components:
1518715185
- enum:
1518815186
- CLUSTER_MONGOS_IS_PRESENT
1518915187
- CLUSTER_MONGOS_IS_MISSING
15190-
- CLUSTER_AGENT_IN_CRASH_LOOP
1519115188
title: Cluster Event Types
1519215189
type: string
1519315190
- enum:
@@ -34726,7 +34723,7 @@ info:
3472634723
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
3472734724
title: MongoDB Atlas Administration API
3472834725
version: "2.0"
34729-
x-xgen-sha: d0dc81933289dbde71a17c2676e1b5d45fd74fff
34726+
x-xgen-sha: f6f6b0dba50116a8faf418ac03cade69e1bfcc10
3473034727
openapi: 3.0.1
3473134728
paths:
3473234729
/api/atlas/v2:

0 commit comments

Comments
 (0)