Skip to content

Commit e9898bd

Browse files
APIBot: SDK update based on recent changes in Atlas API (#280)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: wtrocki <[email protected]> Co-authored-by: Wojciech Trocki <[email protected]>
1 parent c25fc63 commit e9898bd

9 files changed

+24
-18
lines changed

admin/model_advanced_cluster_description.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ func NewAdvancedClusterDescription() *AdvancedClusterDescription {
7474
this.BackupEnabled = &backupEnabled
7575
var diskWarmingMode string = "FULLY_WARMED"
7676
this.DiskWarmingMode = &diskWarmingMode
77-
var mongoDBMajorVersion string = "6.0"
77+
var mongoDBMajorVersion string = "7.0"
7878
this.MongoDBMajorVersion = &mongoDBMajorVersion
7979
var rootCertType string = "ISRGROOTX1"
8080
this.RootCertType = &rootCertType
@@ -94,7 +94,7 @@ func NewAdvancedClusterDescriptionWithDefaults() *AdvancedClusterDescription {
9494
this.BackupEnabled = &backupEnabled
9595
var diskWarmingMode string = "FULLY_WARMED"
9696
this.DiskWarmingMode = &diskWarmingMode
97-
var mongoDBMajorVersion string = "6.0"
97+
var mongoDBMajorVersion string = "7.0"
9898
this.MongoDBMajorVersion = &mongoDBMajorVersion
9999
var rootCertType string = "ISRGROOTX1"
100100
this.RootCertType = &rootCertType

admin/model_legacy_atlas_cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func NewLegacyAtlasCluster() *LegacyAtlasCluster {
9494
this := LegacyAtlasCluster{}
9595
var diskWarmingMode string = "FULLY_WARMED"
9696
this.DiskWarmingMode = &diskWarmingMode
97-
var mongoDBMajorVersion string = "6.0"
97+
var mongoDBMajorVersion string = "7.0"
9898
this.MongoDBMajorVersion = &mongoDBMajorVersion
9999
var numShards int = 1
100100
this.NumShards = &numShards
@@ -116,7 +116,7 @@ func NewLegacyAtlasClusterWithDefaults() *LegacyAtlasCluster {
116116
this := LegacyAtlasCluster{}
117117
var diskWarmingMode string = "FULLY_WARMED"
118118
this.DiskWarmingMode = &diskWarmingMode
119-
var mongoDBMajorVersion string = "6.0"
119+
var mongoDBMajorVersion string = "7.0"
120120
this.MongoDBMajorVersion = &mongoDBMajorVersion
121121
var numShards int = 1
122122
this.NumShards = &numShards

admin/model_legacy_atlas_tenant_cluster_upgrade_request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func NewLegacyAtlasTenantClusterUpgradeRequest(name string) *LegacyAtlasTenantCl
9494
this := LegacyAtlasTenantClusterUpgradeRequest{}
9595
var diskWarmingMode string = "FULLY_WARMED"
9696
this.DiskWarmingMode = &diskWarmingMode
97-
var mongoDBMajorVersion string = "6.0"
97+
var mongoDBMajorVersion string = "7.0"
9898
this.MongoDBMajorVersion = &mongoDBMajorVersion
9999
this.Name = name
100100
var numShards int = 1
@@ -117,7 +117,7 @@ func NewLegacyAtlasTenantClusterUpgradeRequestWithDefaults() *LegacyAtlasTenantC
117117
this := LegacyAtlasTenantClusterUpgradeRequest{}
118118
var diskWarmingMode string = "FULLY_WARMED"
119119
this.DiskWarmingMode = &diskWarmingMode
120-
var mongoDBMajorVersion string = "6.0"
120+
var mongoDBMajorVersion string = "7.0"
121121
this.MongoDBMajorVersion = &mongoDBMajorVersion
122122
var numShards int = 1
123123
this.NumShards = &numShards

docs/docs/AdvancedClusterDescription.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Name | Type | Description | Notes
1717
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the replication object for a zone in a Global Cluster. If you include existing zones in the request, you must specify this parameter. If you add a new zone to an existing Global Cluster, you may specify this parameter. The request deletes any existing zones in a Global Cluster that you exclude from the request. | [optional] [readonly]
1818
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
1919
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
20-
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
20+
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
2121
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional] [readonly]
2222
**Name** | Pointer to **string** | Human-readable label that identifies the advanced cluster. | [optional]
2323
**Paused** | Pointer to **bool** | Flag that indicates whether the cluster is paused. | [optional]

docs/docs/LegacyAtlasCluster.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly]
1919
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
2020
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
21-
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
21+
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
2222
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional]
2323
**MongoURI** | Pointer to **string** | Base connection string that you can use to connect to the cluster. MongoDB Cloud displays the string only after the cluster starts, not while it builds the cluster. | [optional] [readonly]
2424
**MongoURIUpdated** | Pointer to **time.Time** | Date and time when someone last updated the connection string. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly]

docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
1818
**Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly]
1919
**Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn&#39;t display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional]
2020
**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly]
21-
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "6.0"]
21+
**MongoDBMajorVersion** | Pointer to **string** | Major MongoDB version of the cluster. MongoDB Cloud deploys the cluster with the latest stable release of the specified version. | [optional] [default to "7.0"]
2222
**MongoDBVersion** | Pointer to **string** | Version of MongoDB that the cluster runs. | [optional]
2323
**MongoURI** | Pointer to **string** | Base connection string that you can use to connect to the cluster. MongoDB Cloud displays the string only after the cluster starts, not while it builds the cluster. | [optional] [readonly]
2424
**MongoURIUpdated** | Pointer to **time.Time** | Date and time when someone last updated the connection string. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly]

internal/core/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package core
55
// For more information please see: https://github.com/mongodb/atlas-sdk-go/blob/main/docs/doc_1_concepts.md
66
const (
77
// SDK release tag version.
8-
Version = "v20231115007.0.0"
8+
Version = "v20231115007.1.0"
99
// Resource Version.
1010
Resource = "20231115"
1111
)

openapi/atlas-api-transformed.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ info:
2424
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2525
title: MongoDB Atlas Administration API
2626
version: "2.0"
27-
x-xgen-sha: 1d36d4db8bf621bc5159f91402a1112225adb2cf
27+
x-xgen-sha: 76088c8031312c93862e7b4c7d9d15f4f0e64d4a
2828
servers:
2929
- url: https://cloud.mongodb.com
3030
tags:
@@ -15807,7 +15807,7 @@ components:
1580715807
readOnly: true
1580815808
mongoDBMajorVersion:
1580915809
type: string
15810-
default: "6.0"
15810+
default: "7.0"
1581115811
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
1581215812
cluster with the latest stable release of the specified version.
1581315813
mongoDBVersion:
@@ -24783,7 +24783,7 @@ components:
2478324783
readOnly: true
2478424784
mongoDBMajorVersion:
2478524785
type: string
24786-
default: "6.0"
24786+
default: "7.0"
2478724787
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
2478824788
cluster with the latest stable release of the specified version.
2478924789
mongoDBVersion:
@@ -25028,7 +25028,7 @@ components:
2502825028
readOnly: true
2502925029
mongoDBMajorVersion:
2503025030
type: string
25031-
default: "6.0"
25031+
default: "7.0"
2503225032
description: Major MongoDB version of the cluster. MongoDB Cloud deploys the
2503325033
cluster with the latest stable release of the specified version.
2503425034
mongoDBVersion:

openapi/atlas-api.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ info:
1919
termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions
2020
title: MongoDB Atlas Administration API
2121
version: "2.0"
22-
x-xgen-sha: 1d36d4db8bf621bc5159f91402a1112225adb2cf
22+
x-xgen-sha: 76088c8031312c93862e7b4c7d9d15f4f0e64d4a
2323
servers:
2424
- url: https://cloud.mongodb.com
2525
tags:
@@ -16797,7 +16797,7 @@ components:
1679716797
readOnly: true
1679816798
mongoDBMajorVersion:
1679916799
type: string
16800-
default: "6.0"
16800+
default: "7.0"
1680116801
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
1680216802
the cluster with the latest stable release of the specified version.
1680316803
enum:
@@ -29325,7 +29325,9 @@ components:
2932529325
- CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
2932629326
- CLUSTER_AUTOMATICALLY_PAUSED
2932729327
- CLUSTER_UPDATE_STARTED
29328+
- CLUSTER_UPDATE_STARTED_INTERNAL
2932829329
- CLUSTER_UPDATE_COMPLETED
29330+
- MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
2932929331
- CLUSTER_DELETE_SUBMITTED
2933029332
- CLUSTER_DELETE_SUBMITTED_INTERNAL
2933129333
- CLUSTER_DELETED
@@ -29503,6 +29505,7 @@ components:
2950329505
- STREAM_TENANT_CONNECTION_DELETED
2950429506
- STREAM_TENANT_CONNECTION_CREATED
2950529507
- STREAM_TENANT_CONNECTION_VIEWED
29508+
- STREAM_TENANT_AUDIT_LOGS
2950629509
title: NDS Audit Types
2950729510
- type: string
2950829511
enum:
@@ -34493,7 +34496,7 @@ components:
3449334496
readOnly: true
3449434497
mongoDBMajorVersion:
3449534498
type: string
34496-
default: "6.0"
34499+
default: "7.0"
3449734500
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
3449834501
the cluster with the latest stable release of the specified version.
3449934502
enum:
@@ -34766,7 +34769,7 @@ components:
3476634769
readOnly: true
3476734770
mongoDBMajorVersion:
3476834771
type: string
34769-
default: "6.0"
34772+
default: "7.0"
3477034773
description: Major MongoDB version of the cluster. MongoDB Cloud deploys
3477134774
the cluster with the latest stable release of the specified version.
3477234775
enum:
@@ -35884,7 +35887,9 @@ components:
3588435887
- CLUSTER_SERVER_PARAMETERS_UPDATE_SUBMITTED
3588535888
- CLUSTER_AUTOMATICALLY_PAUSED
3588635889
- CLUSTER_UPDATE_STARTED
35890+
- CLUSTER_UPDATE_STARTED_INTERNAL
3588735891
- CLUSTER_UPDATE_COMPLETED
35892+
- MATERIAL_CLUSTER_UPDATE_COMPLETED_INTERNAL
3588835893
- CLUSTER_DELETE_SUBMITTED
3588935894
- CLUSTER_DELETE_SUBMITTED_INTERNAL
3589035895
- CLUSTER_DELETED
@@ -36062,6 +36067,7 @@ components:
3606236067
- STREAM_TENANT_CONNECTION_DELETED
3606336068
- STREAM_TENANT_CONNECTION_CREATED
3606436069
- STREAM_TENANT_CONNECTION_VIEWED
36070+
- STREAM_TENANT_AUDIT_LOGS
3606536071
example: CLUSTER_CREATED
3606636072
title: NDS Audit Types
3606736073
NDSAuditTypeViewForOrg:

0 commit comments

Comments
 (0)