Skip to content

Commit 4242361

Browse files
wtrockigithub-actions[bot]
authored andcommitted
temp: client update
1 parent a022940 commit 4242361

File tree

115 files changed

+3887
-1116
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+3887
-1116
lines changed

.mockery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@ filename: "{{ .InterfaceName | snakecase }}.go"
66
mockname: "{{.InterfaceName}}"
77

88
packages:
9-
go.mongodb.org/atlas-sdk/v20250312007/admin:
9+
github.com/mongodb/atlas-sdk-go/admin:
1010
config:
1111
include-regex: ".*Api"

admin/api_cloud_backups.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ type CloudBackupsApi interface {
6363
CreateBackupExportExecute(r CreateBackupExportApiRequest) (*DiskBackupExportJob, *http.Response, error)
6464

6565
/*
66-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
66+
CreateBackupRestoreJob Create One Restore Job of One Cluster
6767
6868
Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of **queued** or **inProgress** exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
6969
@@ -77,7 +77,7 @@ type CloudBackupsApi interface {
7777
*/
7878
CreateBackupRestoreJob(ctx context.Context, groupId string, clusterName string, diskBackupSnapshotRestoreJob *DiskBackupSnapshotRestoreJob) CreateBackupRestoreJobApiRequest
7979
/*
80-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
80+
CreateBackupRestoreJob Create One Restore Job of One Cluster
8181
8282
8383
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -114,7 +114,7 @@ type CloudBackupsApi interface {
114114
CreateExportBucketExecute(r CreateExportBucketApiRequest) (*DiskBackupSnapshotExportBucketResponse, *http.Response, error)
115115

116116
/*
117-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
117+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
118118
119119
Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
120120
@@ -128,7 +128,7 @@ type CloudBackupsApi interface {
128128
*/
129129
CreateServerlessRestoreJob(ctx context.Context, groupId string, clusterName string, serverlessBackupRestoreJob *ServerlessBackupRestoreJob) CreateServerlessRestoreJobApiRequest
130130
/*
131-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
131+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
132132
133133
134134
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -1039,7 +1039,7 @@ func (r CreateBackupRestoreJobApiRequest) Execute() (*DiskBackupSnapshotRestoreJ
10391039
}
10401040

10411041
/*
1042-
CreateBackupRestoreJob Restore One Snapshot of One Cluster
1042+
CreateBackupRestoreJob Create One Restore Job of One Cluster
10431043
10441044
Restores one snapshot of one cluster from the specified project. Atlas takes on-demand snapshots immediately and scheduled snapshots at regular intervals. If an on-demand snapshot with a status of **queued** or **inProgress** exists, before taking another snapshot, wait until Atlas completes completes processing the previously taken on-demand snapshot.
10451045
@@ -1296,7 +1296,7 @@ func (r CreateServerlessRestoreJobApiRequest) Execute() (*ServerlessBackupRestor
12961296
}
12971297

12981298
/*
1299-
CreateServerlessRestoreJob Restore One Snapshot of One Serverless Instance
1299+
CreateServerlessRestoreJob Create One Restore Job for One Serverless Instance
13001300
13011301
Restores one snapshot of one serverless instance from the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role.
13021302

admin/api_cloud_migration_service.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
type CloudMigrationServiceApi interface {
1414

1515
/*
16-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
16+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
1717
1818
Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.
1919
@@ -30,7 +30,7 @@ type CloudMigrationServiceApi interface {
3030
*/
3131
CreateGroupLiveMigration(ctx context.Context, groupId string, liveMigrationRequest20240530 *LiveMigrationRequest20240530) CreateGroupLiveMigrationApiRequest
3232
/*
33-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
33+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
3434
3535
3636
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -238,7 +238,7 @@ func (r CreateGroupLiveMigrationApiRequest) Execute() (*LiveMigrationResponse, *
238238
}
239239

240240
/*
241-
CreateGroupLiveMigration Migrate One Local Managed Cluster to MongoDB Atlas
241+
CreateGroupLiveMigration Create One Migration for One Local Managed Cluster to MongoDB Atlas
242242
243243
Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas.
244244

admin/api_collection_level_metrics.go

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
type CollectionLevelMetricsApi interface {
1616

1717
/*
18-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
18+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
1919
2020
Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
2121
@@ -27,7 +27,7 @@ type CollectionLevelMetricsApi interface {
2727
*/
2828
GetClusterNamespaces(ctx context.Context, groupId string, clusterName string, clusterView string) GetClusterNamespacesApiRequest
2929
/*
30-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
30+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
3131
3232
3333
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -40,7 +40,7 @@ type CollectionLevelMetricsApi interface {
4040
GetClusterNamespacesExecute(r GetClusterNamespacesApiRequest) (*CollStatsRankedNamespaces, *http.Response, error)
4141

4242
/*
43-
GetProcessNamespaces Return Ranked Namespaces from a Host
43+
GetProcessNamespaces Return Ranked Namespaces from One Host
4444
4545
Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
4646
@@ -51,7 +51,7 @@ type CollectionLevelMetricsApi interface {
5151
*/
5252
GetProcessNamespaces(ctx context.Context, groupId string, processId string) GetProcessNamespacesApiRequest
5353
/*
54-
GetProcessNamespaces Return Ranked Namespaces from a Host
54+
GetProcessNamespaces Return Ranked Namespaces from One Host
5555
5656
5757
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -91,7 +91,7 @@ type CollectionLevelMetricsApi interface {
9191
ListCollStatMeasurementsExecute(r ListCollStatMeasurementsApiRequest) (*MeasurementsCollStatsLatencyCluster, *http.Response, error)
9292

9393
/*
94-
ListCollStatMetrics Return all metric names
94+
ListCollStatMetrics Return All Metric Names
9595
9696
Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
9797
@@ -101,7 +101,7 @@ type CollectionLevelMetricsApi interface {
101101
*/
102102
ListCollStatMetrics(ctx context.Context, groupId string) ListCollStatMetricsApiRequest
103103
/*
104-
ListCollStatMetrics Return all metric names
104+
ListCollStatMetrics Return All Metric Names
105105
106106
107107
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -189,7 +189,7 @@ type CollectionLevelMetricsApi interface {
189189
PinNamespacesExecute(r PinNamespacesApiRequest) (*PinnedNamespaces, *http.Response, error)
190190

191191
/*
192-
UnpinNamespaces Unpin namespaces
192+
UnpinNamespaces Unpin Namespaces
193193
194194
Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
195195
@@ -201,7 +201,7 @@ type CollectionLevelMetricsApi interface {
201201
*/
202202
UnpinNamespaces(ctx context.Context, groupId string, clusterName string, namespacesRequest *NamespacesRequest) UnpinNamespacesApiRequest
203203
/*
204-
UnpinNamespaces Unpin namespaces
204+
UnpinNamespaces Unpin Namespaces
205205
206206
207207
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -298,7 +298,7 @@ func (r GetClusterNamespacesApiRequest) Execute() (*CollStatsRankedNamespaces, *
298298
}
299299

300300
/*
301-
GetClusterNamespaces Return Ranked Namespaces from a Cluster
301+
GetClusterNamespaces Return Ranked Namespaces from One Cluster
302302
303303
Return the subset of namespaces from the given cluster sorted by highest total execution time (descending) within the given time window.
304304
@@ -463,7 +463,7 @@ func (r GetProcessNamespacesApiRequest) Execute() (*CollStatsRankedNamespaces, *
463463
}
464464

465465
/*
466-
GetProcessNamespaces Return Ranked Namespaces from a Host
466+
GetProcessNamespaces Return Ranked Namespaces from One Host
467467
468468
Return the subset of namespaces from the given process ranked by highest total execution time (descending) within the given time window.
469469
@@ -794,7 +794,7 @@ func (r ListCollStatMetricsApiRequest) Execute() (*http.Response, error) {
794794
}
795795

796796
/*
797-
ListCollStatMetrics Return all metric names
797+
ListCollStatMetrics Return All Metric Names
798798
799799
Returns all available Coll Stats Latency metric names and their respective units for the specified project at the time of request.
800800
@@ -1345,7 +1345,7 @@ func (r UnpinNamespacesApiRequest) Execute() (*PinnedNamespaces, *http.Response,
13451345
}
13461346

13471347
/*
1348-
UnpinNamespaces Unpin namespaces
1348+
UnpinNamespaces Unpin Namespaces
13491349
13501350
Unpin provided list of namespaces for collection-level latency metrics collection for the given Group and Cluster.
13511351

admin/api_encryption_at_rest_using_customer_key_management.go

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
type EncryptionAtRestUsingCustomerKeyManagementApi interface {
1414

1515
/*
16-
CreateRestPrivateEndpoint Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management
16+
CreateRestPrivateEndpoint Create One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
1717
1818
Creates a private endpoint in the specified region for encryption at rest using customer key management.
1919
@@ -25,7 +25,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
2525
*/
2626
CreateRestPrivateEndpoint(ctx context.Context, groupId string, cloudProvider string, eARPrivateEndpoint *EARPrivateEndpoint) CreateRestPrivateEndpointApiRequest
2727
/*
28-
CreateRestPrivateEndpoint Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management
28+
CreateRestPrivateEndpoint Create One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
2929
3030
3131
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -38,7 +38,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
3838
CreateRestPrivateEndpointExecute(r CreateRestPrivateEndpointApiRequest) (*EARPrivateEndpoint, *http.Response, error)
3939

4040
/*
41-
GetEncryptionAtRest Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project
41+
GetEncryptionAtRest Return One Configuration for Encryption at Rest Using Customer-Managed Keys for One Project
4242
4343
Returns the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role.
4444
@@ -50,7 +50,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
5050
*/
5151
GetEncryptionAtRest(ctx context.Context, groupId string) GetEncryptionAtRestApiRequest
5252
/*
53-
GetEncryptionAtRest Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project
53+
GetEncryptionAtRest Return One Configuration for Encryption at Rest Using Customer-Managed Keys for One Project
5454
5555
5656
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -63,7 +63,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
6363
GetEncryptionAtRestExecute(r GetEncryptionAtRestApiRequest) (*EncryptionAtRest, *http.Response, error)
6464

6565
/*
66-
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management
66+
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
6767
6868
Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management.
6969
@@ -75,7 +75,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
7575
*/
7676
GetRestPrivateEndpoint(ctx context.Context, groupId string, cloudProvider string, endpointId string) GetRestPrivateEndpointApiRequest
7777
/*
78-
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management
78+
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
7979
8080
8181
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -88,7 +88,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
8888
GetRestPrivateEndpointExecute(r GetRestPrivateEndpointApiRequest) (*EARPrivateEndpoint, *http.Response, error)
8989

9090
/*
91-
ListRestPrivateEndpoints Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project
91+
ListRestPrivateEndpoints Return Private Endpoints for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
9292
9393
Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management.
9494
@@ -99,7 +99,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
9999
*/
100100
ListRestPrivateEndpoints(ctx context.Context, groupId string, cloudProvider string) ListRestPrivateEndpointsApiRequest
101101
/*
102-
ListRestPrivateEndpoints Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project
102+
ListRestPrivateEndpoints Return Private Endpoints for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
103103
104104
105105
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -112,7 +112,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
112112
ListRestPrivateEndpointsExecute(r ListRestPrivateEndpointsApiRequest) (*PaginatedApiAtlasEARPrivateEndpoint, *http.Response, error)
113113

114114
/*
115-
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management
115+
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider from One Project
116116
117117
Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management.
118118
@@ -124,7 +124,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
124124
*/
125125
RequestPrivateEndpointDeletion(ctx context.Context, groupId string, cloudProvider string, endpointId string) RequestPrivateEndpointDeletionApiRequest
126126
/*
127-
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management
127+
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider from One Project
128128
129129
130130
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -137,7 +137,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
137137
RequestPrivateEndpointDeletionExecute(r RequestPrivateEndpointDeletionApiRequest) (*http.Response, error)
138138

139139
/*
140-
UpdateEncryptionAtRest Update Encryption at Rest Configuration for One Project
140+
UpdateEncryptionAtRest Update Encryption at Rest Configuration in One Project
141141
142142
Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters.
143143
@@ -150,7 +150,7 @@ type EncryptionAtRestUsingCustomerKeyManagementApi interface {
150150
*/
151151
UpdateEncryptionAtRest(ctx context.Context, groupId string, encryptionAtRest *EncryptionAtRest) UpdateEncryptionAtRestApiRequest
152152
/*
153-
UpdateEncryptionAtRest Update Encryption at Rest Configuration for One Project
153+
UpdateEncryptionAtRest Update Encryption at Rest Configuration in One Project
154154
155155
156156
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@@ -195,7 +195,7 @@ func (r CreateRestPrivateEndpointApiRequest) Execute() (*EARPrivateEndpoint, *ht
195195
}
196196

197197
/*
198-
CreateRestPrivateEndpoint Create One Private Endpoint in a Specified Region for Encryption at Rest Using Customer Key Management
198+
CreateRestPrivateEndpoint Create One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
199199
200200
Creates a private endpoint in the specified region for encryption at rest using customer key management.
201201
@@ -321,7 +321,7 @@ func (r GetEncryptionAtRestApiRequest) Execute() (*EncryptionAtRest, *http.Respo
321321
}
322322

323323
/*
324-
GetEncryptionAtRest Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project
324+
GetEncryptionAtRest Return One Configuration for Encryption at Rest Using Customer-Managed Keys for One Project
325325
326326
Returns the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role.
327327
@@ -443,7 +443,7 @@ func (r GetRestPrivateEndpointApiRequest) Execute() (*EARPrivateEndpoint, *http.
443443
}
444444

445445
/*
446-
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management
446+
GetRestPrivateEndpoint Return One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
447447
448448
Returns one private endpoint, identified by its ID, for encryption at rest using Customer Key Management.
449449
@@ -599,7 +599,7 @@ func (r ListRestPrivateEndpointsApiRequest) Execute() (*PaginatedApiAtlasEARPriv
599599
}
600600

601601
/*
602-
ListRestPrivateEndpoints Return Private Endpoints of a Cloud Provider for Encryption at Rest Using Customer Key Management for One Project
602+
ListRestPrivateEndpoints Return Private Endpoints for Encryption at Rest Using Customer Key Management for One Cloud Provider in One Project
603603
604604
Returns the private endpoints of the specified cloud provider for encryption at rest using customer key management.
605605
@@ -746,7 +746,7 @@ func (r RequestPrivateEndpointDeletionApiRequest) Execute() (*http.Response, err
746746
}
747747

748748
/*
749-
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management
749+
RequestPrivateEndpointDeletion Delete One Private Endpoint for Encryption at Rest Using Customer Key Management for One Cloud Provider from One Project
750750
751751
Deletes one private endpoint, identified by its ID, for encryption at rest using Customer Key Management.
752752
@@ -858,7 +858,7 @@ func (r UpdateEncryptionAtRestApiRequest) Execute() (*EncryptionAtRest, *http.Re
858858
}
859859

860860
/*
861-
UpdateEncryptionAtRest Update Encryption at Rest Configuration for One Project
861+
UpdateEncryptionAtRest Update Encryption at Rest Configuration in One Project
862862
863863
Updates the configuration for encryption at rest using the keys you manage through your cloud provider. MongoDB Cloud encrypts all storage even if you don't use your own key management. This resource requires the requesting Service Account or API Key to have the Project Owner role. This feature isn't available for `M0` free clusters, `M2`, `M5`, or serverless clusters.
864864

0 commit comments

Comments
 (0)