diff --git a/.mockery.yaml b/.mockery.yaml index 280e1e893..02cb53dca 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -6,6 +6,6 @@ filename: "{{ .InterfaceName | snakecase }}.go" mockname: "{{.InterfaceName}}" packages: - go.mongodb.org/atlas-sdk/v20250312006/admin: + github.com/mongodb/atlas-sdk-go/admin: config: include-regex: ".*Api" diff --git a/admin/api_cloud_provider_access.go b/admin/api_cloud_provider_access.go index de699f1ff..0d20da299 100644 --- a/admin/api_cloud_provider_access.go +++ b/admin/api_cloud_provider_access.go @@ -40,7 +40,7 @@ type CloudProviderAccessApi interface { /* CreateCloudProviderAccessRole Create One Cloud Provider Access Role - Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @@ -297,7 +297,7 @@ func (r CreateCloudProviderAccessRoleApiRequest) Execute() (*CloudProviderAccess /* CreateCloudProviderAccessRole Create One Cloud Provider Access Role -Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. +Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. diff --git a/admin/api_open_api.go b/admin/api_open_api.go new file mode 100644 index 000000000..34d48c224 --- /dev/null +++ b/admin/api_open_api.go @@ -0,0 +1,314 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "context" + "io" + "net/http" + "net/url" +) + +type OpenAPIApi interface { + + /* + GetApiVersions Provides a list of versions for a given environment. + + API that provides a list of available versionsfor a given environment. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return GetApiVersionsApiRequest + */ + GetApiVersions(ctx context.Context) GetApiVersionsApiRequest + /* + GetApiVersions Provides a list of versions for a given environment. + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param GetApiVersionsApiParams - Parameters for the request + @return GetApiVersionsApiRequest + */ + GetApiVersionsWithParams(ctx context.Context, args *GetApiVersionsApiParams) GetApiVersionsApiRequest + + // Method available only for mocking purposes + GetApiVersionsExecute(r GetApiVersionsApiRequest) (*PaginatedApiVersions, *http.Response, error) + + /* + GetOpenApiInfo Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + + This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30} + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return GetOpenApiInfoApiRequest + */ + GetOpenApiInfo(ctx context.Context) GetOpenApiInfoApiRequest + /* + GetOpenApiInfo Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param GetOpenApiInfoApiParams - Parameters for the request + @return GetOpenApiInfoApiRequest + */ + GetOpenApiInfoWithParams(ctx context.Context, args *GetOpenApiInfoApiParams) GetOpenApiInfoApiRequest + + // Method available only for mocking purposes + GetOpenApiInfoExecute(r GetOpenApiInfoApiRequest) (*OpenApiInfo, *http.Response, error) +} + +// OpenAPIApiService OpenAPIApi service +type OpenAPIApiService service + +type GetApiVersionsApiRequest struct { + ctx context.Context + ApiService OpenAPIApi + itemsPerPage *int + pageNum *int + env *string +} + +type GetApiVersionsApiParams struct { + ItemsPerPage *int + PageNum *int + Env *string +} + +func (a *OpenAPIApiService) GetApiVersionsWithParams(ctx context.Context, args *GetApiVersionsApiParams) GetApiVersionsApiRequest { + return GetApiVersionsApiRequest{ + ApiService: a, + ctx: ctx, + itemsPerPage: args.ItemsPerPage, + pageNum: args.PageNum, + env: args.Env, + } +} + +// Number of items that the response returns per page. +func (r GetApiVersionsApiRequest) ItemsPerPage(itemsPerPage int) GetApiVersionsApiRequest { + r.itemsPerPage = &itemsPerPage + return r +} + +// Number of the page that displays the current set of the total objects that the response returns. +func (r GetApiVersionsApiRequest) PageNum(pageNum int) GetApiVersionsApiRequest { + r.pageNum = &pageNum + return r +} + +// The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). +func (r GetApiVersionsApiRequest) Env(env string) GetApiVersionsApiRequest { + r.env = &env + return r +} + +func (r GetApiVersionsApiRequest) Execute() (*PaginatedApiVersions, *http.Response, error) { + return r.ApiService.GetApiVersionsExecute(r) +} + +/* +GetApiVersions Provides a list of versions for a given environment. + +API that provides a list of available versionsfor a given environment. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return GetApiVersionsApiRequest +*/ +func (a *OpenAPIApiService) GetApiVersions(ctx context.Context) GetApiVersionsApiRequest { + return GetApiVersionsApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// GetApiVersionsExecute executes the request +// +// @return PaginatedApiVersions +func (a *OpenAPIApiService) GetApiVersionsExecute(r GetApiVersionsApiRequest) (*PaginatedApiVersions, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody any + formFiles []formFile + localVarReturnValue *PaginatedApiVersions + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenAPIApiService.GetApiVersions") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/atlas/v2/unauth/openapi/versions" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + if r.itemsPerPage != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "itemsPerPage", r.itemsPerPage, "") + } else { + var defaultValue int = 100 + r.itemsPerPage = &defaultValue + parameterAddToHeaderOrQuery(localVarQueryParams, "itemsPerPage", r.itemsPerPage, "") + } + if r.pageNum != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "pageNum", r.pageNum, "") + } else { + var defaultValue int = 1 + r.pageNum = &defaultValue + parameterAddToHeaderOrQuery(localVarQueryParams, "pageNum", r.pageNum, "") + } + if r.env != nil { + parameterAddToHeaderOrQuery(localVarQueryParams, "env", r.env, "") + } + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header (only first one) + localVarHTTPHeaderAccepts := []string{"application/vnd.atlas.2024-08-05+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := a.client.makeApiError(localVarHTTPResponse, localVarHTTPMethod, localVarPath) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarHTTPResponse.Body, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + defer localVarHTTPResponse.Body.Close() + buf, readErr := io.ReadAll(localVarHTTPResponse.Body) + if readErr != nil { + err = readErr + } + newErr := &GenericOpenAPIError{ + body: buf, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} + +type GetOpenApiInfoApiRequest struct { + ctx context.Context + ApiService OpenAPIApi +} + +type GetOpenApiInfoApiParams struct { +} + +func (a *OpenAPIApiService) GetOpenApiInfoWithParams(ctx context.Context, args *GetOpenApiInfoApiParams) GetOpenApiInfoApiRequest { + return GetOpenApiInfoApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +func (r GetOpenApiInfoApiRequest) Execute() (*OpenApiInfo, *http.Response, error) { + return r.ApiService.GetOpenApiInfoExecute(r) +} + +/* +GetOpenApiInfo Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + +This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30} + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return GetOpenApiInfoApiRequest +*/ +func (a *OpenAPIApiService) GetOpenApiInfo(ctx context.Context) GetOpenApiInfoApiRequest { + return GetOpenApiInfoApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// GetOpenApiInfoExecute executes the request +// +// @return OpenApiInfo +func (a *OpenAPIApiService) GetOpenApiInfoExecute(r GetOpenApiInfoApiRequest) (*OpenApiInfo, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody any + formFiles []formFile + localVarReturnValue *OpenApiInfo + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenAPIApiService.GetOpenApiInfo") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/atlas/v2/openapi/info" + + localVarHeaderParams := make(map[string]string) + localVarQueryParams := url.Values{} + localVarFormParams := url.Values{} + + // to determine the Content-Type header + localVarHTTPContentTypes := []string{} + + // set Content-Type header + localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes) + if localVarHTTPContentType != "" { + localVarHeaderParams["Content-Type"] = localVarHTTPContentType + } + + // to determine the Accept header (only first one) + localVarHTTPHeaderAccepts := []string{"application/vnd.atlas.2024-08-05+json"} + + // set Accept header + localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts) + if localVarHTTPHeaderAccept != "" { + localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept + } + req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) + if err != nil { + return localVarReturnValue, nil, err + } + + localVarHTTPResponse, err := a.client.callAPI(req) + if err != nil || localVarHTTPResponse == nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := a.client.makeApiError(localVarHTTPResponse, localVarHTTPMethod, localVarPath) + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarHTTPResponse.Body, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + defer localVarHTTPResponse.Body.Close() + buf, readErr := io.ReadAll(localVarHTTPResponse.Body) + if readErr != nil { + err = readErr + } + newErr := &GenericOpenAPIError{ + body: buf, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/admin/api_projects.go b/admin/api_projects.go index ffd18d4e0..656d30e3a 100644 --- a/admin/api_projects.go +++ b/admin/api_projects.go @@ -148,7 +148,7 @@ type ProjectsApi interface { Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @return DeleteProjectLimitApiRequest */ @@ -246,7 +246,7 @@ type ProjectsApi interface { Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @return GetProjectLimitApiRequest */ @@ -437,7 +437,7 @@ type ProjectsApi interface { **NOTE**: Increasing the following configuration limits might lead to slower response times in the MongoDB Cloud UI or increased user management overhead leading to authentication or authorization re-architecture. If possible, we recommend that you create additional projects to gain access to more of these resources for a more sustainable growth pattern. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @param dataFederationLimit Limit to update. @return SetProjectLimitApiRequest @@ -1211,7 +1211,7 @@ DeleteProjectLimit Remove One Project Limit Removes the specified project limit. Depending on the limit, Atlas either resets the limit to its default value or removes the limit entirely. To use this resource, the requesting Service Account or API Key must have the Project Owner role. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @return DeleteProjectLimitApiRequest */ @@ -1672,7 +1672,7 @@ GetProjectLimit Return One Limit for One Project Returns the specified limit for the specified project. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @return GetProjectLimitApiRequest */ @@ -2730,7 +2730,7 @@ Sets the specified project limit. To use this resource, the requesting Service A **NOTE**: Increasing the following configuration limits might lead to slower response times in the MongoDB Cloud UI or increased user management overhead leading to authentication or authorization re-architecture. If possible, we recommend that you create additional projects to gain access to more of these resources for a more sustainable growth pattern. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). - @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | + @param limitName Human-readable label that identifies this project limit. | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | | atlas.project.security.networkAccess.crossRegionEntries | Limit on the number of cross-region network access entries in this project | 40 | 220 | | atlas.project.security.networkAccess.entries | Limit on the number of network access entries in this project | 200 | 20 | | dataFederation.bytesProcessed.query | Limit on the number of bytes processed during a single Data Federation query | N/A | N/A | | dataFederation.bytesProcessed.daily | Limit on the number of bytes processed across all Data Federation tenants for the current day | N/A | N/A | | dataFederation.bytesProcessed.weekly | Limit on the number of bytes processed across all Data Federation tenants for the current week | N/A | N/A | | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| @param groupId Unique 24-hexadecimal digit string that identifies your project. Use the [/groups](#tag/Projects/operation/listProjects) endpoint to retrieve all projects to which the authenticated user has access. **NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group/project id remains the same. The resource and corresponding endpoints use the term groups. @return SetProjectLimitApiRequest */ diff --git a/admin/atlas_client.go b/admin/atlas_client.go index 78b2304ce..d15277975 100644 --- a/admin/atlas_client.go +++ b/admin/atlas_client.go @@ -1,4 +1,4 @@ -package admin // import "go.mongodb.org/atlas-sdk/v20250312006/admin" +package admin // import "github.com/mongodb/atlas-sdk-go/admin" import ( "context" @@ -7,9 +7,9 @@ import ( "strings" "github.com/mongodb-forks/digest" - "go.mongodb.org/atlas-sdk/v20250312006/auth" - "go.mongodb.org/atlas-sdk/v20250312006/auth/clientcredentials" - "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + "github.com/mongodb/atlas-sdk-go/auth" + "github.com/mongodb/atlas-sdk-go/auth/clientcredentials" + "github.com/mongodb/atlas-sdk-go/internal/core" ) const ( diff --git a/admin/client.go b/admin/client.go index af7ccc0a9..010b5cd7a 100644 --- a/admin/client.go +++ b/admin/client.go @@ -102,6 +102,8 @@ type APIClient struct { OnlineArchiveApi OnlineArchiveApi + OpenAPIApi OpenAPIApi + OrganizationsApi OrganizationsApi PerformanceAdvisorApi PerformanceAdvisorApi @@ -191,6 +193,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.MonitoringAndLogsApi = (*MonitoringAndLogsApiService)(&c.common) c.NetworkPeeringApi = (*NetworkPeeringApiService)(&c.common) c.OnlineArchiveApi = (*OnlineArchiveApiService)(&c.common) + c.OpenAPIApi = (*OpenAPIApiService)(&c.common) c.OrganizationsApi = (*OrganizationsApiService)(&c.common) c.PerformanceAdvisorApi = (*PerformanceAdvisorApiService)(&c.common) c.PrivateEndpointServicesApi = (*PrivateEndpointServicesApiService)(&c.common) diff --git a/admin/model_api_version.go b/admin/model_api_version.go new file mode 100644 index 000000000..3e3511811 --- /dev/null +++ b/admin/model_api_version.go @@ -0,0 +1,59 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +// ApiVersion struct for ApiVersion +type ApiVersion struct { + // Object representing a version of the Atlas Admin API. + Version *string `json:"version,omitempty"` +} + +// NewApiVersion instantiates a new ApiVersion object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewApiVersion() *ApiVersion { + this := ApiVersion{} + return &this +} + +// NewApiVersionWithDefaults instantiates a new ApiVersion object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewApiVersionWithDefaults() *ApiVersion { + this := ApiVersion{} + return &this +} + +// GetVersion returns the Version field value if set, zero value otherwise +func (o *ApiVersion) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ApiVersion) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *ApiVersion) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *ApiVersion) SetVersion(v string) { + o.Version = &v +} diff --git a/admin/model_cloud_provider_access_awsiam_role.go b/admin/model_cloud_provider_access_awsiam_role.go index f8db98dd9..9d49f94b6 100644 --- a/admin/model_cloud_provider_access_awsiam_role.go +++ b/admin/model_cloud_provider_access_awsiam_role.go @@ -44,6 +44,9 @@ type CloudProviderAccessAWSIAMRole struct { TenantId *string `json:"tenantId,omitempty"` // Email address for the Google Service Account created by Atlas. GcpServiceAccountForAtlas *string `json:"gcpServiceAccountForAtlas,omitempty"` + // Provision status of the service account. + // Read only field. + Status *string `json:"status,omitempty"` } // NewCloudProviderAccessAWSIAMRole instantiates a new CloudProviderAccessAWSIAMRole object @@ -516,3 +519,36 @@ func (o *CloudProviderAccessAWSIAMRole) HasGcpServiceAccountForAtlas() bool { func (o *CloudProviderAccessAWSIAMRole) SetGcpServiceAccountForAtlas(v string) { o.GcpServiceAccountForAtlas = &v } + +// GetStatus returns the Status field value if set, zero value otherwise +func (o *CloudProviderAccessAWSIAMRole) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessAWSIAMRole) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CloudProviderAccessAWSIAMRole) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *CloudProviderAccessAWSIAMRole) SetStatus(v string) { + o.Status = &v +} diff --git a/admin/model_cloud_provider_access_azure_service_principal.go b/admin/model_cloud_provider_access_azure_service_principal.go index 208c3dc7b..595a75ef2 100644 --- a/admin/model_cloud_provider_access_azure_service_principal.go +++ b/admin/model_cloud_provider_access_azure_service_principal.go @@ -44,6 +44,9 @@ type CloudProviderAccessAzureServicePrincipal struct { RoleId *string `json:"roleId,omitempty"` // Email address for the Google Service Account created by Atlas. GcpServiceAccountForAtlas *string `json:"gcpServiceAccountForAtlas,omitempty"` + // Provision status of the service account. + // Read only field. + Status *string `json:"status,omitempty"` } // NewCloudProviderAccessAzureServicePrincipal instantiates a new CloudProviderAccessAzureServicePrincipal object @@ -516,3 +519,36 @@ func (o *CloudProviderAccessAzureServicePrincipal) HasGcpServiceAccountForAtlas( func (o *CloudProviderAccessAzureServicePrincipal) SetGcpServiceAccountForAtlas(v string) { o.GcpServiceAccountForAtlas = &v } + +// GetStatus returns the Status field value if set, zero value otherwise +func (o *CloudProviderAccessAzureServicePrincipal) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessAzureServicePrincipal) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CloudProviderAccessAzureServicePrincipal) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *CloudProviderAccessAzureServicePrincipal) SetStatus(v string) { + o.Status = &v +} diff --git a/admin/model_cloud_provider_access_gcp_service_account.go b/admin/model_cloud_provider_access_gcp_service_account.go new file mode 100644 index 000000000..67f10a1ab --- /dev/null +++ b/admin/model_cloud_provider_access_gcp_service_account.go @@ -0,0 +1,554 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "time" +) + +// CloudProviderAccessGCPServiceAccount Details that describe the features linked to the GCP Service Account. +type CloudProviderAccessGCPServiceAccount struct { + // Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + // Read only field. + CreatedDate *time.Time `json:"createdDate,omitempty"` + // List that contains application features associated with this Google Service Account. + // Read only field. + FeatureUsages *[]CloudProviderAccessFeatureUsage `json:"featureUsages,omitempty"` + // Email address for the Google Service Account created by Atlas. + GcpServiceAccountForAtlas *string `json:"gcpServiceAccountForAtlas,omitempty"` + // Unique 24-hexadecimal digit string that identifies the role. + // Read only field. + RoleId *string `json:"roleId,omitempty"` + // Provision status of the service account. + // Read only field. + Status *string `json:"status,omitempty"` + // Human-readable label that identifies the cloud provider of the role. + ProviderName string `json:"providerName"` + // Amazon Resource Name that identifies the Amazon Web Services (AWS) user account that MongoDB Cloud uses when it assumes the Identity and Access Management (IAM) role. + // Read only field. + AtlasAWSAccountArn *string `json:"atlasAWSAccountArn,omitempty"` + // Unique external ID that MongoDB Cloud uses when it assumes the IAM role in your Amazon Web Services (AWS) account. + // Read only field. + AtlasAssumedRoleExternalId *string `json:"atlasAssumedRoleExternalId,omitempty"` + // Date and time when someone authorized this role for the specified cloud service provider. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + // Read only field. + AuthorizedDate *time.Time `json:"authorizedDate,omitempty"` + // Amazon Resource Name (ARN) that identifies the Amazon Web Services (AWS) Identity and Access Management (IAM) role that MongoDB Cloud assumes when it accesses resources in your AWS account. + IamAssumedRoleArn *string `json:"iamAssumedRoleArn,omitempty"` + // Unique 24-hexadecimal digit string that identifies the role. + // Read only field. + Id *string `json:"_id,omitempty"` + // Azure Active Directory Application ID of Atlas. + AtlasAzureAppId *string `json:"atlasAzureAppId,omitempty"` + // Date and time when this Azure Service Principal was last updated. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + // Read only field. + LastUpdatedDate *time.Time `json:"lastUpdatedDate,omitempty"` + // UUID string that identifies the Azure Service Principal. + ServicePrincipalId *string `json:"servicePrincipalId,omitempty"` + // UUID String that identifies the Azure Active Directory Tenant ID. + TenantId *string `json:"tenantId,omitempty"` +} + +// NewCloudProviderAccessGCPServiceAccount instantiates a new CloudProviderAccessGCPServiceAccount object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCloudProviderAccessGCPServiceAccount(providerName string) *CloudProviderAccessGCPServiceAccount { + this := CloudProviderAccessGCPServiceAccount{} + this.ProviderName = providerName + return &this +} + +// NewCloudProviderAccessGCPServiceAccountWithDefaults instantiates a new CloudProviderAccessGCPServiceAccount object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCloudProviderAccessGCPServiceAccountWithDefaults() *CloudProviderAccessGCPServiceAccount { + this := CloudProviderAccessGCPServiceAccount{} + return &this +} + +// GetCreatedDate returns the CreatedDate field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetCreatedDate() time.Time { + if o == nil || IsNil(o.CreatedDate) { + var ret time.Time + return ret + } + return *o.CreatedDate +} + +// GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetCreatedDateOk() (*time.Time, bool) { + if o == nil || IsNil(o.CreatedDate) { + return nil, false + } + + return o.CreatedDate, true +} + +// HasCreatedDate returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasCreatedDate() bool { + if o != nil && !IsNil(o.CreatedDate) { + return true + } + + return false +} + +// SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field. +func (o *CloudProviderAccessGCPServiceAccount) SetCreatedDate(v time.Time) { + o.CreatedDate = &v +} + +// GetFeatureUsages returns the FeatureUsages field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetFeatureUsages() []CloudProviderAccessFeatureUsage { + if o == nil || IsNil(o.FeatureUsages) { + var ret []CloudProviderAccessFeatureUsage + return ret + } + return *o.FeatureUsages +} + +// GetFeatureUsagesOk returns a tuple with the FeatureUsages field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetFeatureUsagesOk() (*[]CloudProviderAccessFeatureUsage, bool) { + if o == nil || IsNil(o.FeatureUsages) { + return nil, false + } + + return o.FeatureUsages, true +} + +// HasFeatureUsages returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasFeatureUsages() bool { + if o != nil && !IsNil(o.FeatureUsages) { + return true + } + + return false +} + +// SetFeatureUsages gets a reference to the given []CloudProviderAccessFeatureUsage and assigns it to the FeatureUsages field. +func (o *CloudProviderAccessGCPServiceAccount) SetFeatureUsages(v []CloudProviderAccessFeatureUsage) { + o.FeatureUsages = &v +} + +// GetGcpServiceAccountForAtlas returns the GcpServiceAccountForAtlas field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetGcpServiceAccountForAtlas() string { + if o == nil || IsNil(o.GcpServiceAccountForAtlas) { + var ret string + return ret + } + return *o.GcpServiceAccountForAtlas +} + +// GetGcpServiceAccountForAtlasOk returns a tuple with the GcpServiceAccountForAtlas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetGcpServiceAccountForAtlasOk() (*string, bool) { + if o == nil || IsNil(o.GcpServiceAccountForAtlas) { + return nil, false + } + + return o.GcpServiceAccountForAtlas, true +} + +// HasGcpServiceAccountForAtlas returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasGcpServiceAccountForAtlas() bool { + if o != nil && !IsNil(o.GcpServiceAccountForAtlas) { + return true + } + + return false +} + +// SetGcpServiceAccountForAtlas gets a reference to the given string and assigns it to the GcpServiceAccountForAtlas field. +func (o *CloudProviderAccessGCPServiceAccount) SetGcpServiceAccountForAtlas(v string) { + o.GcpServiceAccountForAtlas = &v +} + +// GetRoleId returns the RoleId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetRoleId() string { + if o == nil || IsNil(o.RoleId) { + var ret string + return ret + } + return *o.RoleId +} + +// GetRoleIdOk returns a tuple with the RoleId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetRoleIdOk() (*string, bool) { + if o == nil || IsNil(o.RoleId) { + return nil, false + } + + return o.RoleId, true +} + +// HasRoleId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasRoleId() bool { + if o != nil && !IsNil(o.RoleId) { + return true + } + + return false +} + +// SetRoleId gets a reference to the given string and assigns it to the RoleId field. +func (o *CloudProviderAccessGCPServiceAccount) SetRoleId(v string) { + o.RoleId = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *CloudProviderAccessGCPServiceAccount) SetStatus(v string) { + o.Status = &v +} + +// GetProviderName returns the ProviderName field value +func (o *CloudProviderAccessGCPServiceAccount) GetProviderName() string { + if o == nil { + var ret string + return ret + } + + return o.ProviderName +} + +// GetProviderNameOk returns a tuple with the ProviderName field value +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetProviderNameOk() (*string, bool) { + if o == nil { + return nil, false + } + return &o.ProviderName, true +} + +// SetProviderName sets field value +func (o *CloudProviderAccessGCPServiceAccount) SetProviderName(v string) { + o.ProviderName = v +} + +// GetAtlasAWSAccountArn returns the AtlasAWSAccountArn field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAWSAccountArn() string { + if o == nil || IsNil(o.AtlasAWSAccountArn) { + var ret string + return ret + } + return *o.AtlasAWSAccountArn +} + +// GetAtlasAWSAccountArnOk returns a tuple with the AtlasAWSAccountArn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAWSAccountArnOk() (*string, bool) { + if o == nil || IsNil(o.AtlasAWSAccountArn) { + return nil, false + } + + return o.AtlasAWSAccountArn, true +} + +// HasAtlasAWSAccountArn returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasAtlasAWSAccountArn() bool { + if o != nil && !IsNil(o.AtlasAWSAccountArn) { + return true + } + + return false +} + +// SetAtlasAWSAccountArn gets a reference to the given string and assigns it to the AtlasAWSAccountArn field. +func (o *CloudProviderAccessGCPServiceAccount) SetAtlasAWSAccountArn(v string) { + o.AtlasAWSAccountArn = &v +} + +// GetAtlasAssumedRoleExternalId returns the AtlasAssumedRoleExternalId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAssumedRoleExternalId() string { + if o == nil || IsNil(o.AtlasAssumedRoleExternalId) { + var ret string + return ret + } + return *o.AtlasAssumedRoleExternalId +} + +// GetAtlasAssumedRoleExternalIdOk returns a tuple with the AtlasAssumedRoleExternalId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAssumedRoleExternalIdOk() (*string, bool) { + if o == nil || IsNil(o.AtlasAssumedRoleExternalId) { + return nil, false + } + + return o.AtlasAssumedRoleExternalId, true +} + +// HasAtlasAssumedRoleExternalId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasAtlasAssumedRoleExternalId() bool { + if o != nil && !IsNil(o.AtlasAssumedRoleExternalId) { + return true + } + + return false +} + +// SetAtlasAssumedRoleExternalId gets a reference to the given string and assigns it to the AtlasAssumedRoleExternalId field. +func (o *CloudProviderAccessGCPServiceAccount) SetAtlasAssumedRoleExternalId(v string) { + o.AtlasAssumedRoleExternalId = &v +} + +// GetAuthorizedDate returns the AuthorizedDate field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetAuthorizedDate() time.Time { + if o == nil || IsNil(o.AuthorizedDate) { + var ret time.Time + return ret + } + return *o.AuthorizedDate +} + +// GetAuthorizedDateOk returns a tuple with the AuthorizedDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetAuthorizedDateOk() (*time.Time, bool) { + if o == nil || IsNil(o.AuthorizedDate) { + return nil, false + } + + return o.AuthorizedDate, true +} + +// HasAuthorizedDate returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasAuthorizedDate() bool { + if o != nil && !IsNil(o.AuthorizedDate) { + return true + } + + return false +} + +// SetAuthorizedDate gets a reference to the given time.Time and assigns it to the AuthorizedDate field. +func (o *CloudProviderAccessGCPServiceAccount) SetAuthorizedDate(v time.Time) { + o.AuthorizedDate = &v +} + +// GetIamAssumedRoleArn returns the IamAssumedRoleArn field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetIamAssumedRoleArn() string { + if o == nil || IsNil(o.IamAssumedRoleArn) { + var ret string + return ret + } + return *o.IamAssumedRoleArn +} + +// GetIamAssumedRoleArnOk returns a tuple with the IamAssumedRoleArn field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetIamAssumedRoleArnOk() (*string, bool) { + if o == nil || IsNil(o.IamAssumedRoleArn) { + return nil, false + } + + return o.IamAssumedRoleArn, true +} + +// HasIamAssumedRoleArn returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasIamAssumedRoleArn() bool { + if o != nil && !IsNil(o.IamAssumedRoleArn) { + return true + } + + return false +} + +// SetIamAssumedRoleArn gets a reference to the given string and assigns it to the IamAssumedRoleArn field. +func (o *CloudProviderAccessGCPServiceAccount) SetIamAssumedRoleArn(v string) { + o.IamAssumedRoleArn = &v +} + +// GetId returns the Id field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetId() string { + if o == nil || IsNil(o.Id) { + var ret string + return ret + } + return *o.Id +} + +// GetIdOk returns a tuple with the Id field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetIdOk() (*string, bool) { + if o == nil || IsNil(o.Id) { + return nil, false + } + + return o.Id, true +} + +// HasId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasId() bool { + if o != nil && !IsNil(o.Id) { + return true + } + + return false +} + +// SetId gets a reference to the given string and assigns it to the Id field. +func (o *CloudProviderAccessGCPServiceAccount) SetId(v string) { + o.Id = &v +} + +// GetAtlasAzureAppId returns the AtlasAzureAppId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAzureAppId() string { + if o == nil || IsNil(o.AtlasAzureAppId) { + var ret string + return ret + } + return *o.AtlasAzureAppId +} + +// GetAtlasAzureAppIdOk returns a tuple with the AtlasAzureAppId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetAtlasAzureAppIdOk() (*string, bool) { + if o == nil || IsNil(o.AtlasAzureAppId) { + return nil, false + } + + return o.AtlasAzureAppId, true +} + +// HasAtlasAzureAppId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasAtlasAzureAppId() bool { + if o != nil && !IsNil(o.AtlasAzureAppId) { + return true + } + + return false +} + +// SetAtlasAzureAppId gets a reference to the given string and assigns it to the AtlasAzureAppId field. +func (o *CloudProviderAccessGCPServiceAccount) SetAtlasAzureAppId(v string) { + o.AtlasAzureAppId = &v +} + +// GetLastUpdatedDate returns the LastUpdatedDate field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetLastUpdatedDate() time.Time { + if o == nil || IsNil(o.LastUpdatedDate) { + var ret time.Time + return ret + } + return *o.LastUpdatedDate +} + +// GetLastUpdatedDateOk returns a tuple with the LastUpdatedDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetLastUpdatedDateOk() (*time.Time, bool) { + if o == nil || IsNil(o.LastUpdatedDate) { + return nil, false + } + + return o.LastUpdatedDate, true +} + +// HasLastUpdatedDate returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasLastUpdatedDate() bool { + if o != nil && !IsNil(o.LastUpdatedDate) { + return true + } + + return false +} + +// SetLastUpdatedDate gets a reference to the given time.Time and assigns it to the LastUpdatedDate field. +func (o *CloudProviderAccessGCPServiceAccount) SetLastUpdatedDate(v time.Time) { + o.LastUpdatedDate = &v +} + +// GetServicePrincipalId returns the ServicePrincipalId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetServicePrincipalId() string { + if o == nil || IsNil(o.ServicePrincipalId) { + var ret string + return ret + } + return *o.ServicePrincipalId +} + +// GetServicePrincipalIdOk returns a tuple with the ServicePrincipalId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetServicePrincipalIdOk() (*string, bool) { + if o == nil || IsNil(o.ServicePrincipalId) { + return nil, false + } + + return o.ServicePrincipalId, true +} + +// HasServicePrincipalId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasServicePrincipalId() bool { + if o != nil && !IsNil(o.ServicePrincipalId) { + return true + } + + return false +} + +// SetServicePrincipalId gets a reference to the given string and assigns it to the ServicePrincipalId field. +func (o *CloudProviderAccessGCPServiceAccount) SetServicePrincipalId(v string) { + o.ServicePrincipalId = &v +} + +// GetTenantId returns the TenantId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccount) GetTenantId() string { + if o == nil || IsNil(o.TenantId) { + var ret string + return ret + } + return *o.TenantId +} + +// GetTenantIdOk returns a tuple with the TenantId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccount) GetTenantIdOk() (*string, bool) { + if o == nil || IsNil(o.TenantId) { + return nil, false + } + + return o.TenantId, true +} + +// HasTenantId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccount) HasTenantId() bool { + if o != nil && !IsNil(o.TenantId) { + return true + } + + return false +} + +// SetTenantId gets a reference to the given string and assigns it to the TenantId field. +func (o *CloudProviderAccessGCPServiceAccount) SetTenantId(v string) { + o.TenantId = &v +} diff --git a/admin/model_cloud_provider_access_gcp_service_account_all_of.go b/admin/model_cloud_provider_access_gcp_service_account_all_of.go new file mode 100644 index 000000000..e191e2863 --- /dev/null +++ b/admin/model_cloud_provider_access_gcp_service_account_all_of.go @@ -0,0 +1,207 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "time" +) + +// CloudProviderAccessGCPServiceAccountAllOf struct for CloudProviderAccessGCPServiceAccountAllOf +type CloudProviderAccessGCPServiceAccountAllOf struct { + // Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + // Read only field. + CreatedDate *time.Time `json:"createdDate,omitempty"` + // List that contains application features associated with this Google Service Account. + // Read only field. + FeatureUsages *[]CloudProviderAccessFeatureUsage `json:"featureUsages,omitempty"` + // Email address for the Google Service Account created by Atlas. + GcpServiceAccountForAtlas *string `json:"gcpServiceAccountForAtlas,omitempty"` + // Unique 24-hexadecimal digit string that identifies the role. + // Read only field. + RoleId *string `json:"roleId,omitempty"` + // Provision status of the service account. + // Read only field. + Status *string `json:"status,omitempty"` +} + +// NewCloudProviderAccessGCPServiceAccountAllOf instantiates a new CloudProviderAccessGCPServiceAccountAllOf object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewCloudProviderAccessGCPServiceAccountAllOf() *CloudProviderAccessGCPServiceAccountAllOf { + this := CloudProviderAccessGCPServiceAccountAllOf{} + return &this +} + +// NewCloudProviderAccessGCPServiceAccountAllOfWithDefaults instantiates a new CloudProviderAccessGCPServiceAccountAllOf object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewCloudProviderAccessGCPServiceAccountAllOfWithDefaults() *CloudProviderAccessGCPServiceAccountAllOf { + this := CloudProviderAccessGCPServiceAccountAllOf{} + return &this +} + +// GetCreatedDate returns the CreatedDate field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetCreatedDate() time.Time { + if o == nil || IsNil(o.CreatedDate) { + var ret time.Time + return ret + } + return *o.CreatedDate +} + +// GetCreatedDateOk returns a tuple with the CreatedDate field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetCreatedDateOk() (*time.Time, bool) { + if o == nil || IsNil(o.CreatedDate) { + return nil, false + } + + return o.CreatedDate, true +} + +// HasCreatedDate returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) HasCreatedDate() bool { + if o != nil && !IsNil(o.CreatedDate) { + return true + } + + return false +} + +// SetCreatedDate gets a reference to the given time.Time and assigns it to the CreatedDate field. +func (o *CloudProviderAccessGCPServiceAccountAllOf) SetCreatedDate(v time.Time) { + o.CreatedDate = &v +} + +// GetFeatureUsages returns the FeatureUsages field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetFeatureUsages() []CloudProviderAccessFeatureUsage { + if o == nil || IsNil(o.FeatureUsages) { + var ret []CloudProviderAccessFeatureUsage + return ret + } + return *o.FeatureUsages +} + +// GetFeatureUsagesOk returns a tuple with the FeatureUsages field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetFeatureUsagesOk() (*[]CloudProviderAccessFeatureUsage, bool) { + if o == nil || IsNil(o.FeatureUsages) { + return nil, false + } + + return o.FeatureUsages, true +} + +// HasFeatureUsages returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) HasFeatureUsages() bool { + if o != nil && !IsNil(o.FeatureUsages) { + return true + } + + return false +} + +// SetFeatureUsages gets a reference to the given []CloudProviderAccessFeatureUsage and assigns it to the FeatureUsages field. +func (o *CloudProviderAccessGCPServiceAccountAllOf) SetFeatureUsages(v []CloudProviderAccessFeatureUsage) { + o.FeatureUsages = &v +} + +// GetGcpServiceAccountForAtlas returns the GcpServiceAccountForAtlas field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetGcpServiceAccountForAtlas() string { + if o == nil || IsNil(o.GcpServiceAccountForAtlas) { + var ret string + return ret + } + return *o.GcpServiceAccountForAtlas +} + +// GetGcpServiceAccountForAtlasOk returns a tuple with the GcpServiceAccountForAtlas field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetGcpServiceAccountForAtlasOk() (*string, bool) { + if o == nil || IsNil(o.GcpServiceAccountForAtlas) { + return nil, false + } + + return o.GcpServiceAccountForAtlas, true +} + +// HasGcpServiceAccountForAtlas returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) HasGcpServiceAccountForAtlas() bool { + if o != nil && !IsNil(o.GcpServiceAccountForAtlas) { + return true + } + + return false +} + +// SetGcpServiceAccountForAtlas gets a reference to the given string and assigns it to the GcpServiceAccountForAtlas field. +func (o *CloudProviderAccessGCPServiceAccountAllOf) SetGcpServiceAccountForAtlas(v string) { + o.GcpServiceAccountForAtlas = &v +} + +// GetRoleId returns the RoleId field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetRoleId() string { + if o == nil || IsNil(o.RoleId) { + var ret string + return ret + } + return *o.RoleId +} + +// GetRoleIdOk returns a tuple with the RoleId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetRoleIdOk() (*string, bool) { + if o == nil || IsNil(o.RoleId) { + return nil, false + } + + return o.RoleId, true +} + +// HasRoleId returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) HasRoleId() bool { + if o != nil && !IsNil(o.RoleId) { + return true + } + + return false +} + +// SetRoleId gets a reference to the given string and assigns it to the RoleId field. +func (o *CloudProviderAccessGCPServiceAccountAllOf) SetRoleId(v string) { + o.RoleId = &v +} + +// GetStatus returns the Status field value if set, zero value otherwise +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CloudProviderAccessGCPServiceAccountAllOf) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *CloudProviderAccessGCPServiceAccountAllOf) SetStatus(v string) { + o.Status = &v +} diff --git a/admin/model_cloud_provider_access_role.go b/admin/model_cloud_provider_access_role.go index 440a98462..e578a0288 100644 --- a/admin/model_cloud_provider_access_role.go +++ b/admin/model_cloud_provider_access_role.go @@ -44,6 +44,9 @@ type CloudProviderAccessRole struct { TenantId *string `json:"tenantId,omitempty"` // Email address for the Google Service Account created by Atlas. GcpServiceAccountForAtlas *string `json:"gcpServiceAccountForAtlas,omitempty"` + // Provision status of the service account. + // Read only field. + Status *string `json:"status,omitempty"` } // NewCloudProviderAccessRole instantiates a new CloudProviderAccessRole object @@ -516,3 +519,36 @@ func (o *CloudProviderAccessRole) HasGcpServiceAccountForAtlas() bool { func (o *CloudProviderAccessRole) SetGcpServiceAccountForAtlas(v string) { o.GcpServiceAccountForAtlas = &v } + +// GetStatus returns the Status field value if set, zero value otherwise +func (o *CloudProviderAccessRole) GetStatus() string { + if o == nil || IsNil(o.Status) { + var ret string + return ret + } + return *o.Status +} + +// GetStatusOk returns a tuple with the Status field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessRole) GetStatusOk() (*string, bool) { + if o == nil || IsNil(o.Status) { + return nil, false + } + + return o.Status, true +} + +// HasStatus returns a boolean if a field has been set. +func (o *CloudProviderAccessRole) HasStatus() bool { + if o != nil && !IsNil(o.Status) { + return true + } + + return false +} + +// SetStatus gets a reference to the given string and assigns it to the Status field. +func (o *CloudProviderAccessRole) SetStatus(v string) { + o.Status = &v +} diff --git a/admin/model_cloud_provider_access_roles.go b/admin/model_cloud_provider_access_roles.go index 613581709..3a897235f 100644 --- a/admin/model_cloud_provider_access_roles.go +++ b/admin/model_cloud_provider_access_roles.go @@ -8,6 +8,8 @@ type CloudProviderAccessRoles struct { AwsIamRoles *[]CloudProviderAccessAWSIAMRole `json:"awsIamRoles,omitempty"` // List that contains the Azure Service Principals registered with MongoDB Cloud. AzureServicePrincipals *[]CloudProviderAccessAzureServicePrincipal `json:"azureServicePrincipals,omitempty"` + // List that contains the Google Service Accounts registered and authorized with MongoDB Cloud. + GcpServiceAccounts *[]CloudProviderAccessGCPServiceAccount `json:"gcpServiceAccounts,omitempty"` } // NewCloudProviderAccessRoles instantiates a new CloudProviderAccessRoles object @@ -92,3 +94,36 @@ func (o *CloudProviderAccessRoles) HasAzureServicePrincipals() bool { func (o *CloudProviderAccessRoles) SetAzureServicePrincipals(v []CloudProviderAccessAzureServicePrincipal) { o.AzureServicePrincipals = &v } + +// GetGcpServiceAccounts returns the GcpServiceAccounts field value if set, zero value otherwise +func (o *CloudProviderAccessRoles) GetGcpServiceAccounts() []CloudProviderAccessGCPServiceAccount { + if o == nil || IsNil(o.GcpServiceAccounts) { + var ret []CloudProviderAccessGCPServiceAccount + return ret + } + return *o.GcpServiceAccounts +} + +// GetGcpServiceAccountsOk returns a tuple with the GcpServiceAccounts field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *CloudProviderAccessRoles) GetGcpServiceAccountsOk() (*[]CloudProviderAccessGCPServiceAccount, bool) { + if o == nil || IsNil(o.GcpServiceAccounts) { + return nil, false + } + + return o.GcpServiceAccounts, true +} + +// HasGcpServiceAccounts returns a boolean if a field has been set. +func (o *CloudProviderAccessRoles) HasGcpServiceAccounts() bool { + if o != nil && !IsNil(o.GcpServiceAccounts) { + return true + } + + return false +} + +// SetGcpServiceAccounts gets a reference to the given []CloudProviderAccessGCPServiceAccount and assigns it to the GcpServiceAccounts field. +func (o *CloudProviderAccessRoles) SetGcpServiceAccounts(v []CloudProviderAccessGCPServiceAccount) { + o.GcpServiceAccounts = &v +} diff --git a/admin/model_cost_explorer_filter_request_body.go b/admin/model_cost_explorer_filter_request_body.go index a8211640e..559ae897c 100644 --- a/admin/model_cost_explorer_filter_request_body.go +++ b/admin/model_cost_explorer_filter_request_body.go @@ -4,7 +4,7 @@ package admin // CostExplorerFilterRequestBody Request body for a cost explorer query. type CostExplorerFilterRequestBody struct { - // The list of projects to be included in the Cost Explorer Query. + // The list of clusters to be included in the Cost Explorer Query. Clusters *[]string `json:"clusters,omitempty"` // The exclusive ending date for the Cost Explorer query. The date must be the start of a month. EndDate string `json:"endDate"` diff --git a/admin/model_create_atlas_organization_api_key.go b/admin/model_create_atlas_organization_api_key.go index 3bb077e2c..18d2e4791 100644 --- a/admin/model_create_atlas_organization_api_key.go +++ b/admin/model_create_atlas_organization_api_key.go @@ -2,7 +2,7 @@ package admin -// CreateAtlasOrganizationApiKey Details of the programmatic API key to be created. +// CreateAtlasOrganizationApiKey Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. type CreateAtlasOrganizationApiKey struct { // Purpose or explanation provided when someone created this organization API key. Desc string `json:"desc"` diff --git a/admin/model_disk_backup_snapshot_export_bucket_request.go b/admin/model_disk_backup_snapshot_export_bucket_request.go index 9d6a9759e..e84c46ca2 100644 --- a/admin/model_disk_backup_snapshot_export_bucket_request.go +++ b/admin/model_disk_backup_snapshot_export_bucket_request.go @@ -13,6 +13,8 @@ type DiskBackupSnapshotExportBucketRequest struct { BucketName *string `json:"bucketName,omitempty"` // Unique 24-hexadecimal character string that identifies the Unified AWS Access role ID that MongoDB Cloud uses to access the AWS S3 bucket. IamRoleId *string `json:"iamRoleId,omitempty"` + // Indicates whether to do exports over PrivateLink as opposed to public IPs. Defaults to False. + RequirePrivateNetworking *bool `json:"requirePrivateNetworking,omitempty"` // Unique 24-hexadecimal digit string that identifies the GCP Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud Storage Bucket. RoleId *string `json:"roleId,omitempty"` // URL of the Azure Storage Account to export to. For example: \"https://examplestorageaccount.blob.core.windows.net/exportcontainer\". Only standard endpoints (with \"blob.core.windows.net\") are supported. @@ -163,6 +165,39 @@ func (o *DiskBackupSnapshotExportBucketRequest) SetIamRoleId(v string) { o.IamRoleId = &v } +// GetRequirePrivateNetworking returns the RequirePrivateNetworking field value if set, zero value otherwise +func (o *DiskBackupSnapshotExportBucketRequest) GetRequirePrivateNetworking() bool { + if o == nil || IsNil(o.RequirePrivateNetworking) { + var ret bool + return ret + } + return *o.RequirePrivateNetworking +} + +// GetRequirePrivateNetworkingOk returns a tuple with the RequirePrivateNetworking field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiskBackupSnapshotExportBucketRequest) GetRequirePrivateNetworkingOk() (*bool, bool) { + if o == nil || IsNil(o.RequirePrivateNetworking) { + return nil, false + } + + return o.RequirePrivateNetworking, true +} + +// HasRequirePrivateNetworking returns a boolean if a field has been set. +func (o *DiskBackupSnapshotExportBucketRequest) HasRequirePrivateNetworking() bool { + if o != nil && !IsNil(o.RequirePrivateNetworking) { + return true + } + + return false +} + +// SetRequirePrivateNetworking gets a reference to the given bool and assigns it to the RequirePrivateNetworking field. +func (o *DiskBackupSnapshotExportBucketRequest) SetRequirePrivateNetworking(v bool) { + o.RequirePrivateNetworking = &v +} + // GetRoleId returns the RoleId field value if set, zero value otherwise func (o *DiskBackupSnapshotExportBucketRequest) GetRoleId() string { if o == nil || IsNil(o.RoleId) { diff --git a/admin/model_disk_backup_snapshot_export_bucket_response.go b/admin/model_disk_backup_snapshot_export_bucket_response.go index fd88c5887..5d804d6ec 100644 --- a/admin/model_disk_backup_snapshot_export_bucket_response.go +++ b/admin/model_disk_backup_snapshot_export_bucket_response.go @@ -18,6 +18,8 @@ type DiskBackupSnapshotExportBucketResponse struct { // AWS region for the export bucket. This is set by Atlas and is never user-supplied. // Read only field. Region *string `json:"region,omitempty"` + // Indicates whether to use privatelink. User supplied. + RequirePrivateNetworking *bool `json:"requirePrivateNetworking,omitempty"` // Unique 24-hexadecimal digit string that identifies the GCP Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud Storage Bucket. RoleId *string `json:"roleId,omitempty"` // URL of the Azure Storage Account to export to. Only standard endpoints (with \"blob.core.windows.net\") are supported. @@ -217,6 +219,39 @@ func (o *DiskBackupSnapshotExportBucketResponse) SetRegion(v string) { o.Region = &v } +// GetRequirePrivateNetworking returns the RequirePrivateNetworking field value if set, zero value otherwise +func (o *DiskBackupSnapshotExportBucketResponse) GetRequirePrivateNetworking() bool { + if o == nil || IsNil(o.RequirePrivateNetworking) { + var ret bool + return ret + } + return *o.RequirePrivateNetworking +} + +// GetRequirePrivateNetworkingOk returns a tuple with the RequirePrivateNetworking field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DiskBackupSnapshotExportBucketResponse) GetRequirePrivateNetworkingOk() (*bool, bool) { + if o == nil || IsNil(o.RequirePrivateNetworking) { + return nil, false + } + + return o.RequirePrivateNetworking, true +} + +// HasRequirePrivateNetworking returns a boolean if a field has been set. +func (o *DiskBackupSnapshotExportBucketResponse) HasRequirePrivateNetworking() bool { + if o != nil && !IsNil(o.RequirePrivateNetworking) { + return true + } + + return false +} + +// SetRequirePrivateNetworking gets a reference to the given bool and assigns it to the RequirePrivateNetworking field. +func (o *DiskBackupSnapshotExportBucketResponse) SetRequirePrivateNetworking(v bool) { + o.RequirePrivateNetworking = &v +} + // GetRoleId returns the RoleId field value if set, zero value otherwise func (o *DiskBackupSnapshotExportBucketResponse) GetRoleId() string { if o == nil || IsNil(o.RoleId) { diff --git a/admin/model_info.go b/admin/model_info.go new file mode 100644 index 000000000..974d86059 --- /dev/null +++ b/admin/model_info.go @@ -0,0 +1,198 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +// Info Information about the MongoDB Atlas Administration API OpenAPI Specification. +type Info struct { + // Description of the MongoDB Atlas Administration API. + Description *string `json:"description,omitempty"` + License *License `json:"license,omitempty"` + // Terms of Service URL. + TermsOfService *string `json:"termsOfService,omitempty"` + // Title of the MongoDB Atlas Administration API. + Title *string `json:"title,omitempty"` + // Version of the MongoDB Atlas Administration API. + Version *string `json:"version,omitempty"` +} + +// NewInfo instantiates a new Info object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewInfo() *Info { + this := Info{} + return &this +} + +// NewInfoWithDefaults instantiates a new Info object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewInfoWithDefaults() *Info { + this := Info{} + return &this +} + +// GetDescription returns the Description field value if set, zero value otherwise +func (o *Info) GetDescription() string { + if o == nil || IsNil(o.Description) { + var ret string + return ret + } + return *o.Description +} + +// GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Info) GetDescriptionOk() (*string, bool) { + if o == nil || IsNil(o.Description) { + return nil, false + } + + return o.Description, true +} + +// HasDescription returns a boolean if a field has been set. +func (o *Info) HasDescription() bool { + if o != nil && !IsNil(o.Description) { + return true + } + + return false +} + +// SetDescription gets a reference to the given string and assigns it to the Description field. +func (o *Info) SetDescription(v string) { + o.Description = &v +} + +// GetLicense returns the License field value if set, zero value otherwise +func (o *Info) GetLicense() License { + if o == nil || IsNil(o.License) { + var ret License + return ret + } + return *o.License +} + +// GetLicenseOk returns a tuple with the License field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Info) GetLicenseOk() (*License, bool) { + if o == nil || IsNil(o.License) { + return nil, false + } + + return o.License, true +} + +// HasLicense returns a boolean if a field has been set. +func (o *Info) HasLicense() bool { + if o != nil && !IsNil(o.License) { + return true + } + + return false +} + +// SetLicense gets a reference to the given License and assigns it to the License field. +func (o *Info) SetLicense(v License) { + o.License = &v +} + +// GetTermsOfService returns the TermsOfService field value if set, zero value otherwise +func (o *Info) GetTermsOfService() string { + if o == nil || IsNil(o.TermsOfService) { + var ret string + return ret + } + return *o.TermsOfService +} + +// GetTermsOfServiceOk returns a tuple with the TermsOfService field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Info) GetTermsOfServiceOk() (*string, bool) { + if o == nil || IsNil(o.TermsOfService) { + return nil, false + } + + return o.TermsOfService, true +} + +// HasTermsOfService returns a boolean if a field has been set. +func (o *Info) HasTermsOfService() bool { + if o != nil && !IsNil(o.TermsOfService) { + return true + } + + return false +} + +// SetTermsOfService gets a reference to the given string and assigns it to the TermsOfService field. +func (o *Info) SetTermsOfService(v string) { + o.TermsOfService = &v +} + +// GetTitle returns the Title field value if set, zero value otherwise +func (o *Info) GetTitle() string { + if o == nil || IsNil(o.Title) { + var ret string + return ret + } + return *o.Title +} + +// GetTitleOk returns a tuple with the Title field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Info) GetTitleOk() (*string, bool) { + if o == nil || IsNil(o.Title) { + return nil, false + } + + return o.Title, true +} + +// HasTitle returns a boolean if a field has been set. +func (o *Info) HasTitle() bool { + if o != nil && !IsNil(o.Title) { + return true + } + + return false +} + +// SetTitle gets a reference to the given string and assigns it to the Title field. +func (o *Info) SetTitle(v string) { + o.Title = &v +} + +// GetVersion returns the Version field value if set, zero value otherwise +func (o *Info) GetVersion() string { + if o == nil || IsNil(o.Version) { + var ret string + return ret + } + return *o.Version +} + +// GetVersionOk returns a tuple with the Version field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *Info) GetVersionOk() (*string, bool) { + if o == nil || IsNil(o.Version) { + return nil, false + } + + return o.Version, true +} + +// HasVersion returns a boolean if a field has been set. +func (o *Info) HasVersion() bool { + if o != nil && !IsNil(o.Version) { + return true + } + + return false +} + +// SetVersion gets a reference to the given string and assigns it to the Version field. +func (o *Info) SetVersion(v string) { + o.Version = &v +} diff --git a/admin/model_license.go b/admin/model_license.go new file mode 100644 index 000000000..3d40d10d2 --- /dev/null +++ b/admin/model_license.go @@ -0,0 +1,94 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +// License License information of the MongoDB Atlas Administration API. +type License struct { + // Name of the license. + Name *string `json:"name,omitempty"` + // URL of the license. + Url *string `json:"url,omitempty"` +} + +// NewLicense instantiates a new License object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewLicense() *License { + this := License{} + return &this +} + +// NewLicenseWithDefaults instantiates a new License object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewLicenseWithDefaults() *License { + this := License{} + return &this +} + +// GetName returns the Name field value if set, zero value otherwise +func (o *License) GetName() string { + if o == nil || IsNil(o.Name) { + var ret string + return ret + } + return *o.Name +} + +// GetNameOk returns a tuple with the Name field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *License) GetNameOk() (*string, bool) { + if o == nil || IsNil(o.Name) { + return nil, false + } + + return o.Name, true +} + +// HasName returns a boolean if a field has been set. +func (o *License) HasName() bool { + if o != nil && !IsNil(o.Name) { + return true + } + + return false +} + +// SetName gets a reference to the given string and assigns it to the Name field. +func (o *License) SetName(v string) { + o.Name = &v +} + +// GetUrl returns the Url field value if set, zero value otherwise +func (o *License) GetUrl() string { + if o == nil || IsNil(o.Url) { + var ret string + return ret + } + return *o.Url +} + +// GetUrlOk returns a tuple with the Url field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *License) GetUrlOk() (*string, bool) { + if o == nil || IsNil(o.Url) { + return nil, false + } + + return o.Url, true +} + +// HasUrl returns a boolean if a field has been set. +func (o *License) HasUrl() bool { + if o != nil && !IsNil(o.Url) { + return true + } + + return false +} + +// SetUrl gets a reference to the given string and assigns it to the Url field. +func (o *License) SetUrl(v string) { + o.Url = &v +} diff --git a/admin/model_open_api_info.go b/admin/model_open_api_info.go new file mode 100644 index 000000000..53488bf86 --- /dev/null +++ b/admin/model_open_api_info.go @@ -0,0 +1,58 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +// OpenApiInfo struct for OpenApiInfo +type OpenApiInfo struct { + Info *Info `json:"info,omitempty"` +} + +// NewOpenApiInfo instantiates a new OpenApiInfo object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewOpenApiInfo() *OpenApiInfo { + this := OpenApiInfo{} + return &this +} + +// NewOpenApiInfoWithDefaults instantiates a new OpenApiInfo object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewOpenApiInfoWithDefaults() *OpenApiInfo { + this := OpenApiInfo{} + return &this +} + +// GetInfo returns the Info field value if set, zero value otherwise +func (o *OpenApiInfo) GetInfo() Info { + if o == nil || IsNil(o.Info) { + var ret Info + return ret + } + return *o.Info +} + +// GetInfoOk returns a tuple with the Info field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OpenApiInfo) GetInfoOk() (*Info, bool) { + if o == nil || IsNil(o.Info) { + return nil, false + } + + return o.Info, true +} + +// HasInfo returns a boolean if a field has been set. +func (o *OpenApiInfo) HasInfo() bool { + if o != nil && !IsNil(o.Info) { + return true + } + + return false +} + +// SetInfo gets a reference to the given Info and assigns it to the Info field. +func (o *OpenApiInfo) SetInfo(v Info) { + o.Info = &v +} diff --git a/admin/model_org_service_account_request.go b/admin/model_org_service_account_request.go index fa38d8def..7616d7580 100644 --- a/admin/model_org_service_account_request.go +++ b/admin/model_org_service_account_request.go @@ -2,7 +2,7 @@ package admin -// OrgServiceAccountRequest Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. +// OrgServiceAccountRequest Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. type OrgServiceAccountRequest struct { // Human readable description for the Service Account. Description string `json:"description"` diff --git a/admin/model_paginated_api_versions.go b/admin/model_paginated_api_versions.go new file mode 100644 index 000000000..d4f90a4f4 --- /dev/null +++ b/admin/model_paginated_api_versions.go @@ -0,0 +1,132 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +// PaginatedApiVersions struct for PaginatedApiVersions +type PaginatedApiVersions struct { + // 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. + // Read only field. + Links *[]Link `json:"links,omitempty"` + // List of returned documents that MongoDB Cloud provides when completing this request. + // Read only field. + Results *[]ApiVersion `json:"results,omitempty"` + // Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + // Read only field. + TotalCount *int `json:"totalCount,omitempty"` +} + +// NewPaginatedApiVersions instantiates a new PaginatedApiVersions object +// This constructor will assign default values to properties that have it defined, +// and makes sure properties required by API are set, but the set of arguments +// will change when the set of required properties is changed +func NewPaginatedApiVersions() *PaginatedApiVersions { + this := PaginatedApiVersions{} + return &this +} + +// NewPaginatedApiVersionsWithDefaults instantiates a new PaginatedApiVersions object +// This constructor will only assign default values to properties that have it defined, +// but it doesn't guarantee that properties required by API are set +func NewPaginatedApiVersionsWithDefaults() *PaginatedApiVersions { + this := PaginatedApiVersions{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise +func (o *PaginatedApiVersions) GetLinks() []Link { + if o == nil || IsNil(o.Links) { + var ret []Link + return ret + } + return *o.Links +} + +// GetLinksOk returns a tuple with the Links field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaginatedApiVersions) GetLinksOk() (*[]Link, bool) { + if o == nil || IsNil(o.Links) { + return nil, false + } + + return o.Links, true +} + +// HasLinks returns a boolean if a field has been set. +func (o *PaginatedApiVersions) HasLinks() bool { + if o != nil && !IsNil(o.Links) { + return true + } + + return false +} + +// SetLinks gets a reference to the given []Link and assigns it to the Links field. +func (o *PaginatedApiVersions) SetLinks(v []Link) { + o.Links = &v +} + +// GetResults returns the Results field value if set, zero value otherwise +func (o *PaginatedApiVersions) GetResults() []ApiVersion { + if o == nil || IsNil(o.Results) { + var ret []ApiVersion + return ret + } + return *o.Results +} + +// GetResultsOk returns a tuple with the Results field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaginatedApiVersions) GetResultsOk() (*[]ApiVersion, bool) { + if o == nil || IsNil(o.Results) { + return nil, false + } + + return o.Results, true +} + +// HasResults returns a boolean if a field has been set. +func (o *PaginatedApiVersions) HasResults() bool { + if o != nil && !IsNil(o.Results) { + return true + } + + return false +} + +// SetResults gets a reference to the given []ApiVersion and assigns it to the Results field. +func (o *PaginatedApiVersions) SetResults(v []ApiVersion) { + o.Results = &v +} + +// GetTotalCount returns the TotalCount field value if set, zero value otherwise +func (o *PaginatedApiVersions) GetTotalCount() int { + if o == nil || IsNil(o.TotalCount) { + var ret int + return ret + } + return *o.TotalCount +} + +// GetTotalCountOk returns a tuple with the TotalCount field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PaginatedApiVersions) GetTotalCountOk() (*int, bool) { + if o == nil || IsNil(o.TotalCount) { + return nil, false + } + + return o.TotalCount, true +} + +// HasTotalCount returns a boolean if a field has been set. +func (o *PaginatedApiVersions) HasTotalCount() bool { + if o != nil && !IsNil(o.TotalCount) { + return true + } + + return false +} + +// SetTotalCount gets a reference to the given int and assigns it to the TotalCount field. +func (o *PaginatedApiVersions) SetTotalCount(v int) { + o.TotalCount = &v +} diff --git a/admin/model_streams_kafka_networking_access.go b/admin/model_streams_kafka_networking_access.go index f3008f823..a5dc7f66c 100644 --- a/admin/model_streams_kafka_networking_access.go +++ b/admin/model_streams_kafka_networking_access.go @@ -12,13 +12,9 @@ type StreamsKafkaNetworkingAccess struct { // Reserved. Will be used by PRIVATE_LINK connection type. Name *string `json:"name,omitempty"` // Reserved. Will be used by TRANSIT_GATEWAY connection type. - TgwId *string `json:"tgwId,omitempty"` - // Reserved. Will be used by TRANSIT_GATEWAY connection type. TgwRouteId *string `json:"tgwRouteId,omitempty"` // Selected networking type. Either PUBLIC, VPC, PRIVATE_LINK, or TRANSIT_GATEWAY. Defaults to PUBLIC. For VPC, ensure that VPC peering exists and connectivity has been established between Atlas VPC and the VPC where Kafka cluster is hosted for the connection to function properly. TRANSIT_GATEWAY support is coming soon. Type *string `json:"type,omitempty"` - // Reserved. Will be used by TRANSIT_GATEWAY connection type. - VpcCIDR *string `json:"vpcCIDR,omitempty"` } // NewStreamsKafkaNetworkingAccess instantiates a new StreamsKafkaNetworkingAccess object @@ -137,39 +133,6 @@ func (o *StreamsKafkaNetworkingAccess) SetName(v string) { o.Name = &v } -// GetTgwId returns the TgwId field value if set, zero value otherwise -func (o *StreamsKafkaNetworkingAccess) GetTgwId() string { - if o == nil || IsNil(o.TgwId) { - var ret string - return ret - } - return *o.TgwId -} - -// GetTgwIdOk returns a tuple with the TgwId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *StreamsKafkaNetworkingAccess) GetTgwIdOk() (*string, bool) { - if o == nil || IsNil(o.TgwId) { - return nil, false - } - - return o.TgwId, true -} - -// HasTgwId returns a boolean if a field has been set. -func (o *StreamsKafkaNetworkingAccess) HasTgwId() bool { - if o != nil && !IsNil(o.TgwId) { - return true - } - - return false -} - -// SetTgwId gets a reference to the given string and assigns it to the TgwId field. -func (o *StreamsKafkaNetworkingAccess) SetTgwId(v string) { - o.TgwId = &v -} - // GetTgwRouteId returns the TgwRouteId field value if set, zero value otherwise func (o *StreamsKafkaNetworkingAccess) GetTgwRouteId() string { if o == nil || IsNil(o.TgwRouteId) { @@ -235,36 +198,3 @@ func (o *StreamsKafkaNetworkingAccess) HasType() bool { func (o *StreamsKafkaNetworkingAccess) SetType(v string) { o.Type = &v } - -// GetVpcCIDR returns the VpcCIDR field value if set, zero value otherwise -func (o *StreamsKafkaNetworkingAccess) GetVpcCIDR() string { - if o == nil || IsNil(o.VpcCIDR) { - var ret string - return ret - } - return *o.VpcCIDR -} - -// GetVpcCIDROk returns a tuple with the VpcCIDR field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *StreamsKafkaNetworkingAccess) GetVpcCIDROk() (*string, bool) { - if o == nil || IsNil(o.VpcCIDR) { - return nil, false - } - - return o.VpcCIDR, true -} - -// HasVpcCIDR returns a boolean if a field has been set. -func (o *StreamsKafkaNetworkingAccess) HasVpcCIDR() bool { - if o != nil && !IsNil(o.VpcCIDR) { - return true - } - - return false -} - -// SetVpcCIDR gets a reference to the given string and assigns it to the VpcCIDR field. -func (o *StreamsKafkaNetworkingAccess) SetVpcCIDR(v string) { - o.VpcCIDR = &v -} diff --git a/auth/clientcredentials/clientcredentials.go b/auth/clientcredentials/clientcredentials.go index 19a396e56..23032c82e 100644 --- a/auth/clientcredentials/clientcredentials.go +++ b/auth/clientcredentials/clientcredentials.go @@ -11,8 +11,8 @@ import ( "golang.org/x/oauth2" - "go.mongodb.org/atlas-sdk/v20250312006/auth" - "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + "github.com/mongodb/atlas-sdk-go/auth" + "github.com/mongodb/atlas-sdk-go/internal/core" "golang.org/x/oauth2/clientcredentials" ) diff --git a/auth/clientcredentials/clientcredentials_test.go b/auth/clientcredentials/clientcredentials_test.go index fecafd6cb..ec418c4cc 100644 --- a/auth/clientcredentials/clientcredentials_test.go +++ b/auth/clientcredentials/clientcredentials_test.go @@ -7,8 +7,8 @@ import ( "testing" "time" + "github.com/mongodb/atlas-sdk-go/auth" "github.com/stretchr/testify/assert" - "go.mongodb.org/atlas-sdk/v20250312006/auth" ) // mockOAuthRevokeEndpoint creates a mock OAuth revoke endpoint, diff --git a/auth/code/device_flow.go b/auth/code/device_flow.go index 2a57618a5..6d353bddb 100644 --- a/auth/code/device_flow.go +++ b/auth/code/device_flow.go @@ -22,7 +22,7 @@ import ( "strings" "time" - core "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + core "github.com/mongodb/atlas-sdk-go/internal/core" ) const authExpiredError = "DEVICE_AUTHORIZATION_EXPIRED" diff --git a/auth/code/oauth.go b/auth/code/oauth.go index a614a4934..170214993 100644 --- a/auth/code/oauth.go +++ b/auth/code/oauth.go @@ -26,7 +26,7 @@ import ( "runtime" "strings" - "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + "github.com/mongodb/atlas-sdk-go/internal/core" ) const defaultBaseURL = "https://cloud.mongodb.com/" diff --git a/auth/code/oauth_test.go b/auth/code/oauth_test.go index 8e5eed5a7..1234427b1 100644 --- a/auth/code/oauth_test.go +++ b/auth/code/oauth_test.go @@ -24,7 +24,7 @@ import ( "reflect" "testing" - core "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + core "github.com/mongodb/atlas-sdk-go/internal/core" ) const ( diff --git a/examples/aws_cluster/aws.go b/examples/aws_cluster/aws.go index 21bc2d1ab..19ebdf4e1 100644 --- a/examples/aws_cluster/aws.go +++ b/examples/aws_cluster/aws.go @@ -10,8 +10,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) /* diff --git a/examples/basic/basic.go b/examples/basic/basic.go index 529a754c0..731342a99 100644 --- a/examples/basic/basic.go +++ b/examples/basic/basic.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) /* diff --git a/examples/db_users/db_users.go b/examples/db_users/db_users.go index ba9dd4444..0ba40cbd5 100644 --- a/examples/db_users/db_users.go +++ b/examples/db_users/db_users.go @@ -6,8 +6,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) const ( diff --git a/examples/download/downloadLogs.go b/examples/download/downloadLogs.go index c774c9838..7b1ca274f 100644 --- a/examples/download/downloadLogs.go +++ b/examples/download/downloadLogs.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) /* diff --git a/examples/errors.go b/examples/errors.go index c288a1ab3..7c6a28ad7 100644 --- a/examples/errors.go +++ b/examples/errors.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) func HandleErr(err error, resp *http.Response) { diff --git a/examples/go.mod b/examples/go.mod index 15ee82a20..f388bca0e 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,17 +1,18 @@ -module go.mongodb.org/atlas-sdk/v20250312006/examples +module github.com/mongodb/atlas-sdk-go/examples go 1.23.0 toolchain go1.24.1 -replace go.mongodb.org/atlas-sdk/v20250312006 => ../ +replace github.com/mongodb/atlas-sdk-go => ../ require ( github.com/hashicorp/go-retryablehttp v0.7.7 github.com/mongodb-forks/digest v1.1.0 - go.mongodb.org/atlas-sdk/v20250312006 v20250312006.1.0 ) +require github.com/mongodb/atlas-sdk-go v1.0.0 // indirect + require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/hashicorp/go-cleanhttp v0.5.2 // indirect diff --git a/examples/invoice/invoice.go b/examples/invoice/invoice.go index 97c7bd603..f5e41b040 100644 --- a/examples/invoice/invoice.go +++ b/examples/invoice/invoice.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) func main() { diff --git a/examples/mock/cluster_test.go b/examples/mock/cluster_test.go index b1f1e62d0..6ec146a76 100644 --- a/examples/mock/cluster_test.go +++ b/examples/mock/cluster_test.go @@ -5,10 +5,10 @@ import ( "net/http" "testing" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/mockadmin" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/mock" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/mockadmin" ) func myFunctionCallingListClusters(clusterAPI admin.ClustersApi) (int, error) { diff --git a/examples/regions/regions.go b/examples/regions/regions.go index 89cb753b9..25e110610 100644 --- a/examples/regions/regions.go +++ b/examples/regions/regions.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/examples" + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/examples" ) /* diff --git a/examples/retry/retry.go b/examples/retry/retry.go index a299602e5..420790b1c 100644 --- a/examples/retry/retry.go +++ b/examples/retry/retry.go @@ -8,7 +8,7 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" retryablehttp "github.com/hashicorp/go-retryablehttp" "github.com/mongodb-forks/digest" diff --git a/examples/service_account_management/sa_management.go b/examples/service_account_management/sa_management.go index 11b0ad6bf..89d963d7e 100644 --- a/examples/service_account_management/sa_management.go +++ b/examples/service_account_management/sa_management.go @@ -6,7 +6,7 @@ import ( "log" "os" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) // Example for Service Account Management API diff --git a/examples/service_account_token_store/cached_token.go b/examples/service_account_token_store/cached_token.go index e49759159..565704a2c 100644 --- a/examples/service_account_token_store/cached_token.go +++ b/examples/service_account_token_store/cached_token.go @@ -4,13 +4,14 @@ import ( "context" "encoding/json" "fmt" - "go.mongodb.org/atlas-sdk/v20250312006/auth" "log" "os" "strings" - "go.mongodb.org/atlas-sdk/v20250312006/admin" - "go.mongodb.org/atlas-sdk/v20250312006/auth/clientcredentials" + "github.com/mongodb/atlas-sdk-go/auth" + + "github.com/mongodb/atlas-sdk-go/admin" + "github.com/mongodb/atlas-sdk-go/auth/clientcredentials" ) // Variable provided as example. diff --git a/go.mod b/go.mod index 533935745..917dfc4b4 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.mongodb.org/atlas-sdk/v20250312006 +module github.com/mongodb/atlas-sdk-go go 1.23.0 diff --git a/mockadmin/access_tracking_api.go b/mockadmin/access_tracking_api.go index 3d7fc6bf5..727d3feaf 100644 --- a/mockadmin/access_tracking_api.go +++ b/mockadmin/access_tracking_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/alert_configurations_api.go b/mockadmin/alert_configurations_api.go index 561a1e11d..09d640271 100644 --- a/mockadmin/alert_configurations_api.go +++ b/mockadmin/alert_configurations_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/alerts_api.go b/mockadmin/alerts_api.go index 624b72146..dd7b998b4 100644 --- a/mockadmin/alerts_api.go +++ b/mockadmin/alerts_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/atlas_search_api.go b/mockadmin/atlas_search_api.go index 46a3b8869..847a9a427 100644 --- a/mockadmin/atlas_search_api.go +++ b/mockadmin/atlas_search_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/auditing_api.go b/mockadmin/auditing_api.go index a8ab6fd15..d76a7ec84 100644 --- a/mockadmin/auditing_api.go +++ b/mockadmin/auditing_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/aws_clusters_dns_api.go b/mockadmin/aws_clusters_dns_api.go index a273fef0b..6f8f303a1 100644 --- a/mockadmin/aws_clusters_dns_api.go +++ b/mockadmin/aws_clusters_dns_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/cloud_backups_api.go b/mockadmin/cloud_backups_api.go index 35239168c..d5a9d8be3 100644 --- a/mockadmin/cloud_backups_api.go +++ b/mockadmin/cloud_backups_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/cloud_migration_service_api.go b/mockadmin/cloud_migration_service_api.go index fc9b96e84..3263bd562 100644 --- a/mockadmin/cloud_migration_service_api.go +++ b/mockadmin/cloud_migration_service_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/cloud_provider_access_api.go b/mockadmin/cloud_provider_access_api.go index 7f2e67627..5dcdb3d0e 100644 --- a/mockadmin/cloud_provider_access_api.go +++ b/mockadmin/cloud_provider_access_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/cluster_outage_simulation_api.go b/mockadmin/cluster_outage_simulation_api.go index c9b74a824..964087740 100644 --- a/mockadmin/cluster_outage_simulation_api.go +++ b/mockadmin/cluster_outage_simulation_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/clusters_api.go b/mockadmin/clusters_api.go index 8ec680d7e..024a977f6 100644 --- a/mockadmin/clusters_api.go +++ b/mockadmin/clusters_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/collection_level_metrics_api.go b/mockadmin/collection_level_metrics_api.go index df4c08311..a027a146f 100644 --- a/mockadmin/collection_level_metrics_api.go +++ b/mockadmin/collection_level_metrics_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/custom_database_roles_api.go b/mockadmin/custom_database_roles_api.go index aa0491543..ed0cb9dbb 100644 --- a/mockadmin/custom_database_roles_api.go +++ b/mockadmin/custom_database_roles_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/data_federation_api.go b/mockadmin/data_federation_api.go index e86a23ebe..e7c0d55ec 100644 --- a/mockadmin/data_federation_api.go +++ b/mockadmin/data_federation_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/data_lake_pipelines_api.go b/mockadmin/data_lake_pipelines_api.go index fe3362b9b..a4a4042ab 100644 --- a/mockadmin/data_lake_pipelines_api.go +++ b/mockadmin/data_lake_pipelines_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/database_users_api.go b/mockadmin/database_users_api.go index f5e66cca9..995a5c07a 100644 --- a/mockadmin/database_users_api.go +++ b/mockadmin/database_users_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/encryption_at_rest_using_customer_key_management_api.go b/mockadmin/encryption_at_rest_using_customer_key_management_api.go index f3e1da171..95fca41da 100644 --- a/mockadmin/encryption_at_rest_using_customer_key_management_api.go +++ b/mockadmin/encryption_at_rest_using_customer_key_management_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/events_api.go b/mockadmin/events_api.go index f4ed681ac..f4a8dc183 100644 --- a/mockadmin/events_api.go +++ b/mockadmin/events_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/federated_authentication_api.go b/mockadmin/federated_authentication_api.go index ab1f2449a..cf274c9e2 100644 --- a/mockadmin/federated_authentication_api.go +++ b/mockadmin/federated_authentication_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/flex_clusters_api.go b/mockadmin/flex_clusters_api.go index d30aeb43e..a449fa581 100644 --- a/mockadmin/flex_clusters_api.go +++ b/mockadmin/flex_clusters_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/flex_restore_jobs_api.go b/mockadmin/flex_restore_jobs_api.go index 49669f0bc..c643a3965 100644 --- a/mockadmin/flex_restore_jobs_api.go +++ b/mockadmin/flex_restore_jobs_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/flex_snapshots_api.go b/mockadmin/flex_snapshots_api.go index c6c08814f..c8e9f18a9 100644 --- a/mockadmin/flex_snapshots_api.go +++ b/mockadmin/flex_snapshots_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/global_clusters_api.go b/mockadmin/global_clusters_api.go index 6fe67fbf5..3aad43d49 100644 --- a/mockadmin/global_clusters_api.go +++ b/mockadmin/global_clusters_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/invoices_api.go b/mockadmin/invoices_api.go index 1ab92aac8..5c1b3eb18 100644 --- a/mockadmin/invoices_api.go +++ b/mockadmin/invoices_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/ldap_configuration_api.go b/mockadmin/ldap_configuration_api.go index 62bb51019..c3e6a5669 100644 --- a/mockadmin/ldap_configuration_api.go +++ b/mockadmin/ldap_configuration_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/legacy_backup_api.go b/mockadmin/legacy_backup_api.go index 7153df1f2..00390b9ff 100644 --- a/mockadmin/legacy_backup_api.go +++ b/mockadmin/legacy_backup_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/maintenance_windows_api.go b/mockadmin/maintenance_windows_api.go index 50c1f97b3..e5a5b3fca 100644 --- a/mockadmin/maintenance_windows_api.go +++ b/mockadmin/maintenance_windows_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/mongo_db_cloud_users_api.go b/mockadmin/mongo_db_cloud_users_api.go index 0d9b9f0ef..b95854864 100644 --- a/mockadmin/mongo_db_cloud_users_api.go +++ b/mockadmin/mongo_db_cloud_users_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/monitoring_and_logs_api.go b/mockadmin/monitoring_and_logs_api.go index 70926f49f..537e8e117 100644 --- a/mockadmin/monitoring_and_logs_api.go +++ b/mockadmin/monitoring_and_logs_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/network_peering_api.go b/mockadmin/network_peering_api.go index 81a9336f4..3e273930f 100644 --- a/mockadmin/network_peering_api.go +++ b/mockadmin/network_peering_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/online_archive_api.go b/mockadmin/online_archive_api.go index f574a1057..ad5ced221 100644 --- a/mockadmin/online_archive_api.go +++ b/mockadmin/online_archive_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/open_api_api.go b/mockadmin/open_api_api.go new file mode 100644 index 000000000..abdf6927a --- /dev/null +++ b/mockadmin/open_api_api.go @@ -0,0 +1,360 @@ +// Code generated by mockery. DO NOT EDIT. + +package mockadmin + +import ( + context "context" + + admin "github.com/mongodb/atlas-sdk-go/admin" + + http "net/http" + + mock "github.com/stretchr/testify/mock" +) + +// OpenAPIApi is an autogenerated mock type for the OpenAPIApi type +type OpenAPIApi struct { + mock.Mock +} + +type OpenAPIApi_Expecter struct { + mock *mock.Mock +} + +func (_m *OpenAPIApi) EXPECT() *OpenAPIApi_Expecter { + return &OpenAPIApi_Expecter{mock: &_m.Mock} +} + +// GetApiVersions provides a mock function with given fields: ctx +func (_m *OpenAPIApi) GetApiVersions(ctx context.Context) admin.GetApiVersionsApiRequest { + ret := _m.Called(ctx) + + if len(ret) == 0 { + panic("no return value specified for GetApiVersions") + } + + var r0 admin.GetApiVersionsApiRequest + if rf, ok := ret.Get(0).(func(context.Context) admin.GetApiVersionsApiRequest); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(admin.GetApiVersionsApiRequest) + } + + return r0 +} + +// OpenAPIApi_GetApiVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApiVersions' +type OpenAPIApi_GetApiVersions_Call struct { + *mock.Call +} + +// GetApiVersions is a helper method to define mock.On call +// - ctx context.Context +func (_e *OpenAPIApi_Expecter) GetApiVersions(ctx any) *OpenAPIApi_GetApiVersions_Call { + return &OpenAPIApi_GetApiVersions_Call{Call: _e.mock.On("GetApiVersions", ctx)} +} + +func (_c *OpenAPIApi_GetApiVersions_Call) Run(run func(ctx context.Context)) *OpenAPIApi_GetApiVersions_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context)) + }) + return _c +} + +func (_c *OpenAPIApi_GetApiVersions_Call) Return(_a0 admin.GetApiVersionsApiRequest) *OpenAPIApi_GetApiVersions_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_GetApiVersions_Call) RunAndReturn(run func(context.Context) admin.GetApiVersionsApiRequest) *OpenAPIApi_GetApiVersions_Call { + _c.Call.Return(run) + return _c +} + +// GetApiVersionsExecute provides a mock function with given fields: r +func (_m *OpenAPIApi) GetApiVersionsExecute(r admin.GetApiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error) { + ret := _m.Called(r) + + if len(ret) == 0 { + panic("no return value specified for GetApiVersionsExecute") + } + + var r0 *admin.PaginatedApiVersions + var r1 *http.Response + var r2 error + if rf, ok := ret.Get(0).(func(admin.GetApiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error)); ok { + return rf(r) + } + if rf, ok := ret.Get(0).(func(admin.GetApiVersionsApiRequest) *admin.PaginatedApiVersions); ok { + r0 = rf(r) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.PaginatedApiVersions) + } + } + + if rf, ok := ret.Get(1).(func(admin.GetApiVersionsApiRequest) *http.Response); ok { + r1 = rf(r) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*http.Response) + } + } + + if rf, ok := ret.Get(2).(func(admin.GetApiVersionsApiRequest) error); ok { + r2 = rf(r) + } else { + r2 = ret.Error(2) + } + + return r0, r1, r2 +} + +// OpenAPIApi_GetApiVersionsExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApiVersionsExecute' +type OpenAPIApi_GetApiVersionsExecute_Call struct { + *mock.Call +} + +// GetApiVersionsExecute is a helper method to define mock.On call +// - r admin.GetApiVersionsApiRequest +func (_e *OpenAPIApi_Expecter) GetApiVersionsExecute(r any) *OpenAPIApi_GetApiVersionsExecute_Call { + return &OpenAPIApi_GetApiVersionsExecute_Call{Call: _e.mock.On("GetApiVersionsExecute", r)} +} + +func (_c *OpenAPIApi_GetApiVersionsExecute_Call) Run(run func(r admin.GetApiVersionsApiRequest)) *OpenAPIApi_GetApiVersionsExecute_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(admin.GetApiVersionsApiRequest)) + }) + return _c +} + +func (_c *OpenAPIApi_GetApiVersionsExecute_Call) Return(_a0 *admin.PaginatedApiVersions, _a1 *http.Response, _a2 error) *OpenAPIApi_GetApiVersionsExecute_Call { + _c.Call.Return(_a0, _a1, _a2) + return _c +} + +func (_c *OpenAPIApi_GetApiVersionsExecute_Call) RunAndReturn(run func(admin.GetApiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error)) *OpenAPIApi_GetApiVersionsExecute_Call { + _c.Call.Return(run) + return _c +} + +// GetApiVersionsWithParams provides a mock function with given fields: ctx, args +func (_m *OpenAPIApi) GetApiVersionsWithParams(ctx context.Context, args *admin.GetApiVersionsApiParams) admin.GetApiVersionsApiRequest { + ret := _m.Called(ctx, args) + + if len(ret) == 0 { + panic("no return value specified for GetApiVersionsWithParams") + } + + var r0 admin.GetApiVersionsApiRequest + if rf, ok := ret.Get(0).(func(context.Context, *admin.GetApiVersionsApiParams) admin.GetApiVersionsApiRequest); ok { + r0 = rf(ctx, args) + } else { + r0 = ret.Get(0).(admin.GetApiVersionsApiRequest) + } + + return r0 +} + +// OpenAPIApi_GetApiVersionsWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetApiVersionsWithParams' +type OpenAPIApi_GetApiVersionsWithParams_Call struct { + *mock.Call +} + +// GetApiVersionsWithParams is a helper method to define mock.On call +// - ctx context.Context +// - args *admin.GetApiVersionsApiParams +func (_e *OpenAPIApi_Expecter) GetApiVersionsWithParams(ctx any, args any) *OpenAPIApi_GetApiVersionsWithParams_Call { + return &OpenAPIApi_GetApiVersionsWithParams_Call{Call: _e.mock.On("GetApiVersionsWithParams", ctx, args)} +} + +func (_c *OpenAPIApi_GetApiVersionsWithParams_Call) Run(run func(ctx context.Context, args *admin.GetApiVersionsApiParams)) *OpenAPIApi_GetApiVersionsWithParams_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context), args[1].(*admin.GetApiVersionsApiParams)) + }) + return _c +} + +func (_c *OpenAPIApi_GetApiVersionsWithParams_Call) Return(_a0 admin.GetApiVersionsApiRequest) *OpenAPIApi_GetApiVersionsWithParams_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_GetApiVersionsWithParams_Call) RunAndReturn(run func(context.Context, *admin.GetApiVersionsApiParams) admin.GetApiVersionsApiRequest) *OpenAPIApi_GetApiVersionsWithParams_Call { + _c.Call.Return(run) + return _c +} + +// GetOpenApiInfo provides a mock function with given fields: ctx +func (_m *OpenAPIApi) GetOpenApiInfo(ctx context.Context) admin.GetOpenApiInfoApiRequest { + ret := _m.Called(ctx) + + if len(ret) == 0 { + panic("no return value specified for GetOpenApiInfo") + } + + var r0 admin.GetOpenApiInfoApiRequest + if rf, ok := ret.Get(0).(func(context.Context) admin.GetOpenApiInfoApiRequest); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(admin.GetOpenApiInfoApiRequest) + } + + return r0 +} + +// OpenAPIApi_GetOpenApiInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpenApiInfo' +type OpenAPIApi_GetOpenApiInfo_Call struct { + *mock.Call +} + +// GetOpenApiInfo is a helper method to define mock.On call +// - ctx context.Context +func (_e *OpenAPIApi_Expecter) GetOpenApiInfo(ctx any) *OpenAPIApi_GetOpenApiInfo_Call { + return &OpenAPIApi_GetOpenApiInfo_Call{Call: _e.mock.On("GetOpenApiInfo", ctx)} +} + +func (_c *OpenAPIApi_GetOpenApiInfo_Call) Run(run func(ctx context.Context)) *OpenAPIApi_GetOpenApiInfo_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context)) + }) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfo_Call) Return(_a0 admin.GetOpenApiInfoApiRequest) *OpenAPIApi_GetOpenApiInfo_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfo_Call) RunAndReturn(run func(context.Context) admin.GetOpenApiInfoApiRequest) *OpenAPIApi_GetOpenApiInfo_Call { + _c.Call.Return(run) + return _c +} + +// GetOpenApiInfoExecute provides a mock function with given fields: r +func (_m *OpenAPIApi) GetOpenApiInfoExecute(r admin.GetOpenApiInfoApiRequest) (*admin.OpenApiInfo, *http.Response, error) { + ret := _m.Called(r) + + if len(ret) == 0 { + panic("no return value specified for GetOpenApiInfoExecute") + } + + var r0 *admin.OpenApiInfo + var r1 *http.Response + var r2 error + if rf, ok := ret.Get(0).(func(admin.GetOpenApiInfoApiRequest) (*admin.OpenApiInfo, *http.Response, error)); ok { + return rf(r) + } + if rf, ok := ret.Get(0).(func(admin.GetOpenApiInfoApiRequest) *admin.OpenApiInfo); ok { + r0 = rf(r) + } else { + if ret.Get(0) != nil { + r0 = ret.Get(0).(*admin.OpenApiInfo) + } + } + + if rf, ok := ret.Get(1).(func(admin.GetOpenApiInfoApiRequest) *http.Response); ok { + r1 = rf(r) + } else { + if ret.Get(1) != nil { + r1 = ret.Get(1).(*http.Response) + } + } + + if rf, ok := ret.Get(2).(func(admin.GetOpenApiInfoApiRequest) error); ok { + r2 = rf(r) + } else { + r2 = ret.Error(2) + } + + return r0, r1, r2 +} + +// OpenAPIApi_GetOpenApiInfoExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpenApiInfoExecute' +type OpenAPIApi_GetOpenApiInfoExecute_Call struct { + *mock.Call +} + +// GetOpenApiInfoExecute is a helper method to define mock.On call +// - r admin.GetOpenApiInfoApiRequest +func (_e *OpenAPIApi_Expecter) GetOpenApiInfoExecute(r any) *OpenAPIApi_GetOpenApiInfoExecute_Call { + return &OpenAPIApi_GetOpenApiInfoExecute_Call{Call: _e.mock.On("GetOpenApiInfoExecute", r)} +} + +func (_c *OpenAPIApi_GetOpenApiInfoExecute_Call) Run(run func(r admin.GetOpenApiInfoApiRequest)) *OpenAPIApi_GetOpenApiInfoExecute_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(admin.GetOpenApiInfoApiRequest)) + }) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfoExecute_Call) Return(_a0 *admin.OpenApiInfo, _a1 *http.Response, _a2 error) *OpenAPIApi_GetOpenApiInfoExecute_Call { + _c.Call.Return(_a0, _a1, _a2) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfoExecute_Call) RunAndReturn(run func(admin.GetOpenApiInfoApiRequest) (*admin.OpenApiInfo, *http.Response, error)) *OpenAPIApi_GetOpenApiInfoExecute_Call { + _c.Call.Return(run) + return _c +} + +// GetOpenApiInfoWithParams provides a mock function with given fields: ctx, args +func (_m *OpenAPIApi) GetOpenApiInfoWithParams(ctx context.Context, args *admin.GetOpenApiInfoApiParams) admin.GetOpenApiInfoApiRequest { + ret := _m.Called(ctx, args) + + if len(ret) == 0 { + panic("no return value specified for GetOpenApiInfoWithParams") + } + + var r0 admin.GetOpenApiInfoApiRequest + if rf, ok := ret.Get(0).(func(context.Context, *admin.GetOpenApiInfoApiParams) admin.GetOpenApiInfoApiRequest); ok { + r0 = rf(ctx, args) + } else { + r0 = ret.Get(0).(admin.GetOpenApiInfoApiRequest) + } + + return r0 +} + +// OpenAPIApi_GetOpenApiInfoWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetOpenApiInfoWithParams' +type OpenAPIApi_GetOpenApiInfoWithParams_Call struct { + *mock.Call +} + +// GetOpenApiInfoWithParams is a helper method to define mock.On call +// - ctx context.Context +// - args *admin.GetOpenApiInfoApiParams +func (_e *OpenAPIApi_Expecter) GetOpenApiInfoWithParams(ctx any, args any) *OpenAPIApi_GetOpenApiInfoWithParams_Call { + return &OpenAPIApi_GetOpenApiInfoWithParams_Call{Call: _e.mock.On("GetOpenApiInfoWithParams", ctx, args)} +} + +func (_c *OpenAPIApi_GetOpenApiInfoWithParams_Call) Run(run func(ctx context.Context, args *admin.GetOpenApiInfoApiParams)) *OpenAPIApi_GetOpenApiInfoWithParams_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context), args[1].(*admin.GetOpenApiInfoApiParams)) + }) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfoWithParams_Call) Return(_a0 admin.GetOpenApiInfoApiRequest) *OpenAPIApi_GetOpenApiInfoWithParams_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_GetOpenApiInfoWithParams_Call) RunAndReturn(run func(context.Context, *admin.GetOpenApiInfoApiParams) admin.GetOpenApiInfoApiRequest) *OpenAPIApi_GetOpenApiInfoWithParams_Call { + _c.Call.Return(run) + return _c +} + +// NewOpenAPIApi creates a new instance of OpenAPIApi. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. +// The first argument is typically a *testing.T value. +func NewOpenAPIApi(t interface { + mock.TestingT + Cleanup(func()) +}) *OpenAPIApi { + mock := &OpenAPIApi{} + mock.Mock.Test(t) + + t.Cleanup(func() { mock.AssertExpectations(t) }) + + return mock +} diff --git a/mockadmin/organizations_api.go b/mockadmin/organizations_api.go index 4db26847d..2b1c9d242 100644 --- a/mockadmin/organizations_api.go +++ b/mockadmin/organizations_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/performance_advisor_api.go b/mockadmin/performance_advisor_api.go index ccfad3063..21daf6e70 100644 --- a/mockadmin/performance_advisor_api.go +++ b/mockadmin/performance_advisor_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/private_endpoint_services_api.go b/mockadmin/private_endpoint_services_api.go index 2dfd8f0a7..de3d85b8d 100644 --- a/mockadmin/private_endpoint_services_api.go +++ b/mockadmin/private_endpoint_services_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/programmatic_api_keys_api.go b/mockadmin/programmatic_api_keys_api.go index 3b18c1465..cd7cf5120 100644 --- a/mockadmin/programmatic_api_keys_api.go +++ b/mockadmin/programmatic_api_keys_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/project_ip_access_list_api.go b/mockadmin/project_ip_access_list_api.go index bf81d4874..17332586b 100644 --- a/mockadmin/project_ip_access_list_api.go +++ b/mockadmin/project_ip_access_list_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/projects_api.go b/mockadmin/projects_api.go index 5eb728cb8..a189e66ea 100644 --- a/mockadmin/projects_api.go +++ b/mockadmin/projects_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/push_based_log_export_api.go b/mockadmin/push_based_log_export_api.go index 7bc0734f0..d752b72a4 100644 --- a/mockadmin/push_based_log_export_api.go +++ b/mockadmin/push_based_log_export_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/query_shape_insights_api.go b/mockadmin/query_shape_insights_api.go index 0f7dd427c..1dab553a3 100644 --- a/mockadmin/query_shape_insights_api.go +++ b/mockadmin/query_shape_insights_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/resource_policies_api.go b/mockadmin/resource_policies_api.go index 67063b7e4..01801ce0f 100644 --- a/mockadmin/resource_policies_api.go +++ b/mockadmin/resource_policies_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/rolling_index_api.go b/mockadmin/rolling_index_api.go index f121f7c25..5076d6676 100644 --- a/mockadmin/rolling_index_api.go +++ b/mockadmin/rolling_index_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/root_api.go b/mockadmin/root_api.go index 93cf43b1d..9428ed577 100644 --- a/mockadmin/root_api.go +++ b/mockadmin/root_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/serverless_instances_api.go b/mockadmin/serverless_instances_api.go index 6124480a3..73358896b 100644 --- a/mockadmin/serverless_instances_api.go +++ b/mockadmin/serverless_instances_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/serverless_private_endpoints_api.go b/mockadmin/serverless_private_endpoints_api.go index 5a7f94662..6c7ce6185 100644 --- a/mockadmin/serverless_private_endpoints_api.go +++ b/mockadmin/serverless_private_endpoints_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/service_accounts_api.go b/mockadmin/service_accounts_api.go index f3e05920e..83c75fa89 100644 --- a/mockadmin/service_accounts_api.go +++ b/mockadmin/service_accounts_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/shared_tier_restore_jobs_api.go b/mockadmin/shared_tier_restore_jobs_api.go index f58e4c652..f461bff4f 100644 --- a/mockadmin/shared_tier_restore_jobs_api.go +++ b/mockadmin/shared_tier_restore_jobs_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/shared_tier_snapshots_api.go b/mockadmin/shared_tier_snapshots_api.go index a1010c427..5575cd234 100644 --- a/mockadmin/shared_tier_snapshots_api.go +++ b/mockadmin/shared_tier_snapshots_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/streams_api.go b/mockadmin/streams_api.go index eeced1ae2..2cd42840a 100644 --- a/mockadmin/streams_api.go +++ b/mockadmin/streams_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/teams_api.go b/mockadmin/teams_api.go index a32bec2a0..c205d39c7 100644 --- a/mockadmin/teams_api.go +++ b/mockadmin/teams_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/third_party_integrations_api.go b/mockadmin/third_party_integrations_api.go index 3babab15c..87066a7f5 100644 --- a/mockadmin/third_party_integrations_api.go +++ b/mockadmin/third_party_integrations_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/mockadmin/x509_authentication_api.go b/mockadmin/x509_authentication_api.go index 1d84445b1..ed79d3147 100644 --- a/mockadmin/x509_authentication_api.go +++ b/mockadmin/x509_authentication_api.go @@ -5,7 +5,7 @@ package mockadmin import ( context "context" - admin "go.mongodb.org/atlas-sdk/v20250312006/admin" + admin "github.com/mongodb/atlas-sdk-go/admin" http "net/http" diff --git a/openapi/atlas-api-transformed.yaml b/openapi/atlas-api-transformed.yaml index 175604611..ec2364bdf 100644 --- a/openapi/atlas-api-transformed.yaml +++ b/openapi/atlas-api-transformed.yaml @@ -1086,6 +1086,12 @@ components: description: Specify the sort order (ascending / descending) used to specify how to sort query results. Defaults to descending. type: string type: object + ApiVersion: + properties: + version: + description: Object representing a version of the Atlas Admin API. + type: string + type: object AtlasClusterOutageSimulationOutageFilter: properties: cloudProvider: @@ -3049,6 +3055,66 @@ components: readOnly: true type: string type: object + CloudProviderAccessGCPServiceAccount: + allOf: + - $ref: "#/components/schemas/CloudProviderAccessRole" + - properties: + createdDate: + description: Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + format: date-time + readOnly: true + type: string + featureUsages: + description: List that contains application features associated with this Google Service Account. + items: + $ref: "#/components/schemas/CloudProviderAccessFeatureUsage" + readOnly: true + type: array + gcpServiceAccountForAtlas: + description: Email address for the Google Service Account created by Atlas. + pattern: ^mongodb-atlas-[0-9a-z]{16}@p-[0-9a-z]{24}.iam.gserviceaccount.com$ + type: string + roleId: + description: Unique 24-hexadecimal digit string that identifies the role. + example: 32b6e34b3d91647abb20e7b8 + pattern: ^([a-f0-9]{24})$ + readOnly: true + type: string + status: + description: Provision status of the service account. + readOnly: true + type: string + type: object + description: Details that describe the features linked to the GCP Service Account. + required: + - providerName + type: object + properties: + createdDate: + description: Date and time when this Google Service Account was created. This parameter expresses its value in the ISO 8601 timestamp format in UTC. + format: date-time + readOnly: true + type: string + featureUsages: + description: List that contains application features associated with this Google Service Account. + items: + $ref: "#/components/schemas/CloudProviderAccessFeatureUsage" + readOnly: true + type: array + gcpServiceAccountForAtlas: + description: Email address for the Google Service Account created by Atlas. + pattern: ^mongodb-atlas-[0-9a-z]{16}@p-[0-9a-z]{24}.iam.gserviceaccount.com$ + type: string + roleId: + description: Unique 24-hexadecimal digit string that identifies the role. + example: 32b6e34b3d91647abb20e7b8 + pattern: ^([a-f0-9]{24})$ + readOnly: true + type: string + status: + description: Provision status of the service account. + readOnly: true + type: string CloudProviderAccessRole: description: Cloud provider access role. properties: @@ -3122,6 +3188,10 @@ components: description: Email address for the Google Service Account created by Atlas. pattern: ^mongodb-atlas-[0-9a-z]{16}@p-[0-9a-z]{24}.iam.gserviceaccount.com$ type: string + status: + description: Provision status of the service account. + readOnly: true + type: string required: - providerName type: object @@ -3279,6 +3349,11 @@ components: items: $ref: "#/components/schemas/CloudProviderAccessAzureServicePrincipal" type: array + gcpServiceAccounts: + description: List that contains the Google Service Accounts registered and authorized with MongoDB Cloud. + items: + $ref: "#/components/schemas/CloudProviderAccessGCPServiceAccount" + type: array type: object CloudProviderContainer: description: Collection of settings that configures the network container for a virtual private connection on Amazon Web Services. @@ -4372,7 +4447,7 @@ components: description: Request body for a cost explorer query. properties: clusters: - description: The list of projects to be included in the Cost Explorer Query. + description: The list of clusters to be included in the Cost Explorer Query. items: example: 32b6e34b3d91647abb20e7b8 pattern: ^([a-f0-9]{24})$ @@ -4418,7 +4493,7 @@ components: CostExplorerQueryResult: type: object CreateAtlasOrganizationApiKey: - description: Details of the programmatic API key to be created. + description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. properties: desc: description: Purpose or explanation provided when someone created this organization API key. @@ -5986,6 +6061,9 @@ components: url: https://www.mongodb.com/docs/atlas/security/set-up-unified-aws-access/ pattern: ^([a-f0-9]{24})$ type: string + requirePrivateNetworking: + description: Indicates whether to do exports over PrivateLink as opposed to public IPs. Defaults to False. + type: boolean roleId: description: Unique 24-hexadecimal digit string that identifies the GCP Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud Storage Bucket. example: 32b6e34b3d91647abb20e7b8 @@ -6044,6 +6122,9 @@ components: example: us-east-1 readOnly: true type: string + requirePrivateNetworking: + description: Indicates whether to use privatelink. User supplied. + type: boolean roleId: description: Unique 24-hexadecimal digit string that identifies the GCP Cloud Provider Access Role that MongoDB Cloud uses to access the Google Cloud Storage Bucket. example: 32b6e34b3d91647abb20e7b8 @@ -8576,6 +8657,28 @@ components: type: object type: object writeOnly: true + Info: + description: Information about the MongoDB Atlas Administration API OpenAPI Specification. + properties: + description: + description: Description of the MongoDB Atlas Administration API. + example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. + type: string + license: + $ref: "#/components/schemas/License" + termsOfService: + description: Terms of Service URL. + example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions + type: string + title: + description: Title of the MongoDB Atlas Administration API. + example: MongoDB Atlas Administration API. + type: string + version: + description: Version of the MongoDB Atlas Administration API. + example: "2.0" + type: string + type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -9532,6 +9635,18 @@ components: description: Human-readable label that identifies the zone in a Global Cluster. Provide this value only if **clusterType** is `GEOSHARDED`. type: string type: object + License: + description: License information of the MongoDB Atlas Administration API. + properties: + name: + description: Name of the license. + example: CC BY-NC-SA 3.0 US + type: string + url: + description: URL of the license. + example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ + type: string + type: object Link: properties: href: @@ -10271,6 +10386,11 @@ components: - type title: Online Archive Schedule type: object + OpenApiInfo: + properties: + info: + $ref: "#/components/schemas/Info" + type: object OrgFederationSettings: description: Details that define how to connect one MongoDB Cloud organization to one federated authentication service. properties: @@ -10369,7 +10489,7 @@ components: readOnly: true type: object OrgServiceAccountRequest: - description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. + description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. properties: description: description: Human readable description for the Service Account. @@ -10776,6 +10896,30 @@ components: readOnly: true title: Outbound Control Plane IP Addresses By Cloud Provider type: object + PaginatedApiVersions: + properties: + links: + description: 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. + externalDocs: + description: Web Linking Specification (RFC 5988) + url: https://datatracker.ietf.org/doc/html/rfc5988 + items: + $ref: "#/components/schemas/Link" + readOnly: true + type: array + results: + description: List of returned documents that MongoDB Cloud provides when completing this request. + items: + $ref: "#/components/schemas/ApiVersion" + readOnly: true + type: array + totalCount: + description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + format: int32 + minimum: 0 + readOnly: true + type: integer + type: object PaginatedClusterDescription20240805: properties: links: @@ -12753,10 +12897,6 @@ components: name: description: Reserved. Will be used by PRIVATE_LINK connection type. type: string - tgwId: - description: Reserved. Will be used by TRANSIT_GATEWAY connection type. - pattern: ^(tgw-)[0-9a-zA-Z]+$ - type: string tgwRouteId: description: Reserved. Will be used by TRANSIT_GATEWAY connection type. example: 32b6e34b3d91647abb20e7b8 @@ -12766,9 +12906,6 @@ components: description: Selected networking type. Either PUBLIC, VPC, PRIVATE_LINK, or TRANSIT_GATEWAY. Defaults to PUBLIC. For VPC, ensure that VPC peering exists and connectivity has been established between Atlas VPC and the VPC where Kafka cluster is hosted for the connection to function properly. TRANSIT_GATEWAY support is coming soon. title: Networking Access Type type: string - vpcCIDR: - description: Reserved. Will be used by TRANSIT_GATEWAY connection type. - type: string type: object StreamsKafkaSecurity: description: Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. @@ -16313,7 +16450,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: ba69c7df4e80ba9785768a9ab33e0d2db52dfb1d + x-xgen-sha: 5a095e77c39be65b79ed44ef05668f27803e5b92 openapi: 3.0.1 paths: /api/atlas/v2: @@ -16341,7 +16478,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSystemStatus --help + source: atlas api root getSystemStatus --help - label: Go lang: go source: | @@ -16412,7 +16549,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurationMatchersFieldNames --help + source: atlas api alertConfigurations listAlertConfigurationMatchersFieldNames --help - label: Go lang: go source: | @@ -16482,7 +16619,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClustersForAllProjects --help + source: atlas api clusters listClustersForAllProjects --help - label: Go lang: go source: | @@ -16552,7 +16689,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listEventTypes --help + source: atlas api events listEventTypes --help - label: Go lang: go source: | @@ -16622,7 +16759,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFederationApp --help + source: atlas api federatedAuthentication deleteFederationApp --help - label: Go lang: go source: | @@ -16696,7 +16833,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listConnectedOrgConfigs --help + source: atlas api federatedAuthentication listConnectedOrgConfigs --help - label: Go lang: go source: | @@ -16774,7 +16911,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeConnectedOrgConfig --help + source: atlas api federatedAuthentication removeConnectedOrgConfig --help - label: Go lang: go source: | @@ -16858,7 +16995,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getConnectedOrgConfig --help + source: atlas api federatedAuthentication getConnectedOrgConfig --help - label: Go lang: go source: | @@ -16953,7 +17090,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateConnectedOrgConfig --help + source: atlas api federatedAuthentication updateConnectedOrgConfig --help - label: Go lang: go source: | @@ -17030,7 +17167,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listRoleMappings --help + source: atlas api federatedAuthentication listRoleMappings --help - label: Go lang: go source: | @@ -17109,7 +17246,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createRoleMapping --help + source: atlas api federatedAuthentication createRoleMapping --help - label: Go lang: go source: | @@ -17192,7 +17329,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteRoleMapping --help + source: atlas api federatedAuthentication deleteRoleMapping --help - label: Go lang: go source: | @@ -17274,7 +17411,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getRoleMapping --help + source: atlas api federatedAuthentication getRoleMapping --help - label: Go lang: go source: | @@ -17361,7 +17498,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateRoleMapping --help + source: atlas api federatedAuthentication updateRoleMapping --help - label: Go lang: go source: | @@ -17457,7 +17594,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listIdentityProviders --help + source: atlas api federatedAuthentication listIdentityProviders --help - label: Go lang: go source: | @@ -17538,7 +17675,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createIdentityProvider --help + source: atlas api federatedAuthentication createIdentityProvider --help - label: Go lang: go source: | @@ -17625,7 +17762,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteIdentityProvider --help + source: atlas api federatedAuthentication deleteIdentityProvider --help - label: Go lang: go source: | @@ -17705,7 +17842,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIdentityProvider --help + source: atlas api federatedAuthentication getIdentityProvider --help - label: Go lang: go source: | @@ -17793,7 +17930,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateIdentityProvider --help + source: atlas api federatedAuthentication updateIdentityProvider --help - label: Go lang: go source: | @@ -17880,7 +18017,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api revokeJwksFromIdentityProvider --help + source: atlas api federatedAuthentication revokeJwksFromIdentityProvider --help - label: Go lang: go source: | @@ -17956,7 +18093,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIdentityProviderMetadata --help + source: atlas api federatedAuthentication getIdentityProviderMetadata --help - label: Go lang: go source: | @@ -18033,7 +18170,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjects --help + source: atlas api projects listProjects --help - label: Go lang: go source: | @@ -18118,7 +18255,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProject --help + source: atlas api projects createProject --help - label: Go lang: go source: | @@ -18194,7 +18331,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProject --help + source: atlas api projects deleteProject --help - label: Go lang: go source: | @@ -18268,7 +18405,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProject --help + source: atlas api projects getProject --help - label: Go lang: go source: | @@ -18346,7 +18483,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProject --help + source: atlas api projects updateProject --help - label: Go lang: go source: | @@ -18433,7 +18570,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addUserToProject --help + source: atlas api projects addUserToProject --help - label: Go lang: go source: | @@ -18517,7 +18654,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectIpAccessLists --help + source: atlas api projectIpAccessList listProjectIpAccessLists --help - label: Go lang: go source: | @@ -18605,7 +18742,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectIpAccessList --help + source: atlas api projectIpAccessList createProjectIpAccessList --help - label: Go lang: go source: | @@ -18693,7 +18830,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectIpAccessList --help + source: atlas api projectIpAccessList deleteProjectIpAccessList --help - label: Go lang: go source: | @@ -18775,7 +18912,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectIpList --help + source: atlas api projectIpAccessList getProjectIpList --help - label: Go lang: go source: | @@ -18857,7 +18994,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectIpAccessListStatus --help + source: atlas api projectIpAccessList getProjectIpAccessListStatus --help - label: Go lang: go source: | @@ -18933,7 +19070,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurations --help + source: atlas api alertConfigurations listAlertConfigurations --help - label: Go lang: go source: | @@ -19014,7 +19151,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAlertConfiguration --help + source: atlas api alertConfigurations createAlertConfiguration --help - label: Go lang: go source: | @@ -19100,7 +19237,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAlertConfiguration --help + source: atlas api alertConfigurations deleteAlertConfiguration --help - label: Go lang: go source: | @@ -19185,7 +19322,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAlertConfiguration --help + source: atlas api alertConfigurations getAlertConfiguration --help - label: Go lang: go source: | @@ -19277,7 +19414,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleAlertConfiguration --help + source: atlas api alertConfigurations toggleAlertConfiguration --help - label: Go lang: go source: | @@ -19378,7 +19515,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAlertConfiguration --help + source: atlas api alertConfigurations updateAlertConfiguration --help - label: Go lang: go source: | @@ -19472,7 +19609,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertsByAlertConfigurationId --help + source: atlas api alerts listAlertsByAlertConfigurationId --help - label: Go lang: go source: | @@ -19555,7 +19692,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlerts --help + source: atlas api alerts listAlerts --help - label: Go lang: go source: | @@ -19640,7 +19777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAlert --help + source: atlas api alerts getAlert --help - label: Go lang: go source: | @@ -19731,7 +19868,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api acknowledgeAlert --help + source: atlas api alerts acknowledgeAlert --help - label: Go lang: go source: | @@ -19827,7 +19964,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurationsByAlertId --help + source: atlas api alertConfigurations listAlertConfigurationsByAlertId --help - label: Go lang: go source: | @@ -19903,7 +20040,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectApiKeys --help + source: atlas api programmaticApiKeys listProjectApiKeys --help - label: Go lang: go source: | @@ -19979,7 +20116,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectApiKey --help + source: atlas api programmaticApiKeys createProjectApiKey --help - label: Go lang: go source: | @@ -20063,7 +20200,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectApiKey --help + source: atlas api programmaticApiKeys removeProjectApiKey --help - label: Go lang: go source: | @@ -20154,7 +20291,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateApiKeyRoles --help + source: atlas api programmaticApiKeys updateApiKeyRoles --help - label: Go lang: go source: | @@ -20244,7 +20381,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectApiKey --help + source: atlas api programmaticApiKeys addProjectApiKey --help - label: Go lang: go source: | @@ -20323,7 +20460,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAuditingConfiguration --help + source: atlas api auditing getAuditingConfiguration --help - label: Go lang: go source: | @@ -20401,7 +20538,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAuditingConfiguration --help + source: atlas api auditing updateAuditingConfiguration --help - label: Go lang: go source: | @@ -20477,7 +20614,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAwsCustomDns --help + source: atlas api awsClustersDns getAwsCustomDns --help - label: Go lang: go source: | @@ -20553,7 +20690,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleAwsCustomDns --help + source: atlas api awsClustersDns toggleAwsCustomDns --help - label: Go lang: go source: | @@ -20633,7 +20770,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listExportBuckets --help + source: atlas api cloudBackups listExportBuckets --help - label: Go lang: go source: | @@ -20690,6 +20827,7 @@ paths: bucketName: export-bucket cloudProvider: AWS iamRoleId: 668c5f0ed436263134491592 + requirePrivateNetworking: false Azure: description: Azure value: @@ -20724,6 +20862,7 @@ paths: - href: https://cloud.mongodb.com/api/atlas rel: self region: us-east-1 + requirePrivateNetworking: true Azure: description: Azure value: @@ -20766,7 +20905,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createExportBucket --help + source: atlas api cloudBackups createExportBucket --help - label: Go lang: go source: | @@ -20848,7 +20987,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteExportBucket --help + source: atlas api cloudBackups deleteExportBucket --help - label: Go lang: go source: | @@ -20919,6 +21058,7 @@ paths: - href: https://cloud.mongodb.com/api/atlas rel: self region: us-east-1 + requirePrivateNetworking: true Azure: description: Azure value: @@ -20959,7 +21099,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getExportBucket --help + source: atlas api cloudBackups getExportBucket --help - label: Go lang: go source: | @@ -21029,7 +21169,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableDataProtectionSettings --help + source: atlas api cloudBackups disableDataProtectionSettings --help - label: Go lang: go source: | @@ -21103,7 +21243,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDataProtectionSettings --help + source: atlas api cloudBackups getDataProtectionSettings --help - label: Go lang: go source: | @@ -21188,7 +21328,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateDataProtectionSettings --help + source: atlas api cloudBackups updateDataProtectionSettings --help - label: Go lang: go source: | @@ -21266,7 +21406,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCloudProviderAccessRoles --help + source: atlas api cloudProviderAccess listCloudProviderAccessRoles --help - label: Go lang: go source: | @@ -21309,7 +21449,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: - description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously. externalDocs: description: Set Up Access to Cloud Providers url: https://www.mongodb.com/docs/atlas/security/cloud-provider-access/ @@ -21345,7 +21485,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCloudProviderAccessRole --help + source: atlas api cloudProviderAccess createCloudProviderAccessRole --help - label: Go lang: go source: | @@ -21432,7 +21572,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deauthorizeCloudProviderAccessRole --help + source: atlas api cloudProviderAccess deauthorizeCloudProviderAccessRole --help - label: Go lang: go source: | @@ -21514,7 +21654,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCloudProviderAccessRole --help + source: atlas api cloudProviderAccess getCloudProviderAccessRole --help - label: Go lang: go source: | @@ -21604,7 +21744,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api authorizeCloudProviderAccessRole --help + source: atlas api cloudProviderAccess authorizeCloudProviderAccessRole --help - label: Go lang: go source: | @@ -21696,7 +21836,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClusters --help + source: atlas api clusters listClusters --help - label: Go lang: go source: | @@ -21866,7 +22006,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCluster --help + source: atlas api clusters createCluster --help - label: Go lang: go source: | @@ -21962,7 +22102,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteCluster --help + source: atlas api clusters deleteCluster --help - label: Go lang: go source: | @@ -22048,7 +22188,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCluster --help + source: atlas api clusters getCluster --help - label: Go lang: go source: | @@ -22136,7 +22276,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateCluster --help + source: atlas api clusters updateCluster --help - label: Go lang: go source: | @@ -22243,7 +22383,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceClusterMeasurements --help - label: Go lang: go source: | @@ -22329,7 +22469,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespacesForCluster --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespacesForCluster --help - label: Go lang: go source: | @@ -22414,7 +22554,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api autoScalingConfiguration --help + source: atlas api clusters autoScalingConfiguration --help - label: Go lang: go source: | @@ -22496,7 +22636,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listBackupExportJobs --help + source: atlas api cloudBackups listBackupExportJobs --help - label: Go lang: go source: | @@ -22583,7 +22723,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createBackupExportJob --help + source: atlas api cloudBackups createBackupExportJob --help - label: Go lang: go source: | @@ -22672,7 +22812,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupExportJob --help + source: atlas api cloudBackups getBackupExportJob --help - label: Go lang: go source: | @@ -22752,7 +22892,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listBackupRestoreJobs --help + source: atlas api cloudBackups listBackupRestoreJobs --help - label: Go lang: go source: | @@ -22842,7 +22982,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createBackupRestoreJob --help + source: atlas api cloudBackups createBackupRestoreJob --help - label: Go lang: go source: | @@ -22932,7 +23072,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cancelBackupRestoreJob --help + source: atlas api cloudBackups cancelBackupRestoreJob --help - label: Go lang: go source: | @@ -23018,7 +23158,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupRestoreJob --help + source: atlas api cloudBackups getBackupRestoreJob --help - label: Go lang: go source: | @@ -23097,7 +23237,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAllBackupSchedules --help + source: atlas api cloudBackups deleteAllBackupSchedules --help - label: Go lang: go source: | @@ -23173,7 +23313,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupSchedule --help + source: atlas api cloudBackups getBackupSchedule --help - label: Go lang: go source: | @@ -23264,7 +23404,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateBackupSchedule --help + source: atlas api cloudBackups updateBackupSchedule --help - label: Go lang: go source: | @@ -23350,7 +23490,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listReplicaSetBackups --help + source: atlas api cloudBackups listReplicaSetBackups --help - label: Go lang: go source: | @@ -23438,7 +23578,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api takeSnapshot --help + source: atlas api cloudBackups takeSnapshot --help - label: Go lang: go source: | @@ -23529,7 +23669,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteReplicaSetBackup --help + source: atlas api cloudBackups deleteReplicaSetBackup --help - label: Go lang: go source: | @@ -23616,7 +23756,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getReplicaSetBackup --help + source: atlas api cloudBackups getReplicaSetBackup --help - label: Go lang: go source: | @@ -23708,7 +23848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateSnapshotRetention --help + source: atlas api cloudBackups updateSnapshotRetention --help - label: Go lang: go source: | @@ -23794,7 +23934,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteShardedClusterBackup --help + source: atlas api cloudBackups deleteShardedClusterBackup --help - label: Go lang: go source: | @@ -23881,7 +24021,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getShardedClusterBackup --help + source: atlas api cloudBackups getShardedClusterBackup --help - label: Go lang: go source: | @@ -23960,7 +24100,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listShardedClusterBackups --help + source: atlas api cloudBackups listShardedClusterBackups --help - label: Go lang: go source: | @@ -24055,7 +24195,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadSharedClusterBackup --help + source: atlas api sharedTierSnapshots downloadSharedClusterBackup --help - label: Go lang: go source: | @@ -24157,7 +24297,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createSharedClusterBackupRestoreJob --help + source: atlas api sharedTierRestoreJobs createSharedClusterBackupRestoreJob --help - label: Go lang: go source: | @@ -24248,7 +24388,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSharedClusterBackupRestoreJobs --help + source: atlas api sharedTierRestoreJobs listSharedClusterBackupRestoreJobs --help - label: Go lang: go source: | @@ -24342,7 +24482,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSharedClusterBackupRestoreJob --help + source: atlas api sharedTierRestoreJobs getSharedClusterBackupRestoreJob --help - label: Go lang: go source: | @@ -24429,7 +24569,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSharedClusterBackups --help + source: atlas api sharedTierSnapshots listSharedClusterBackups --help - label: Go lang: go source: | @@ -24523,7 +24663,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSharedClusterBackup --help + source: atlas api sharedTierSnapshots getSharedClusterBackup --help - label: Go lang: go source: | @@ -24605,7 +24745,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacyBackupCheckpoints --help + source: atlas api legacyBackup listLegacyBackupCheckpoints --help - label: Go lang: go source: | @@ -24694,7 +24834,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacyBackupCheckpoint --help + source: atlas api legacyBackup getLegacyBackupCheckpoint --help - label: Go lang: go source: | @@ -24773,7 +24913,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPinnedNamespaces --help + source: atlas api collectionLevelMetrics getPinnedNamespaces --help - label: Go lang: go source: | @@ -24868,7 +25008,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinNamespacesPatch --help + source: atlas api collectionLevelMetrics pinNamespacesPatch --help - label: Go lang: go source: | @@ -24967,7 +25107,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinNamespacesPut --help + source: atlas api collectionLevelMetrics pinNamespacesPut --help - label: Go lang: go source: | @@ -25060,7 +25200,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api unpinNamespaces --help + source: atlas api collectionLevelMetrics unpinNamespaces --help - label: Go lang: go source: | @@ -25159,7 +25299,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch createAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -25261,7 +25401,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexesDeprecated --help + source: atlas api atlasSearch listAtlasSearchIndexesDeprecated --help - label: Go lang: go source: | @@ -25352,7 +25492,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch deleteAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -25442,7 +25582,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch getAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -25543,7 +25683,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch updateAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -25630,7 +25770,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getManagedNamespace --help + source: atlas api globalClusters getManagedNamespace --help - label: Go lang: go source: | @@ -25710,7 +25850,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAllCustomZoneMappings --help + source: atlas api globalClusters deleteAllCustomZoneMappings --help - label: Go lang: go source: | @@ -25799,7 +25939,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCustomZoneMapping --help + source: atlas api globalClusters createCustomZoneMapping --help - label: Go lang: go source: | @@ -25895,7 +26035,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteManagedNamespace --help + source: atlas api globalClusters deleteManagedNamespace --help - label: Go lang: go source: | @@ -25986,7 +26126,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createManagedNamespace --help + source: atlas api globalClusters createManagedNamespace --help - label: Go lang: go source: | @@ -26144,7 +26284,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createRollingIndex --help + source: atlas api rollingIndex createRollingIndex --help - label: Go lang: go source: | @@ -26231,7 +26371,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOnlineArchives --help + source: atlas api onlineArchive listOnlineArchives --help - label: Go lang: go source: | @@ -26321,7 +26461,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOnlineArchive --help + source: atlas api onlineArchive createOnlineArchive --help - label: Go lang: go source: | @@ -26412,7 +26552,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOnlineArchive --help + source: atlas api onlineArchive deleteOnlineArchive --help - label: Go lang: go source: | @@ -26502,7 +26642,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOnlineArchive --help + source: atlas api onlineArchive getOnlineArchive --help - label: Go lang: go source: | @@ -26599,7 +26739,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOnlineArchive --help + source: atlas api onlineArchive updateOnlineArchive --help - label: Go lang: go source: | @@ -26713,7 +26853,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadOnlineArchiveQueryLogs --help + source: atlas api onlineArchive downloadOnlineArchiveQueryLogs --help - label: Go lang: go source: | @@ -26800,7 +26940,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api endOutageSimulation --help + source: atlas api clusterOutageSimulation endOutageSimulation --help - label: Go lang: go source: | @@ -26888,7 +27028,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOutageSimulation --help + source: atlas api clusterOutageSimulation getOutageSimulation --help - label: Go lang: go source: | @@ -26979,7 +27119,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startOutageSimulation --help + source: atlas api clusterOutageSimulation startOutageSimulation --help - label: Go lang: go source: | @@ -27067,7 +27207,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDropIndexes --help + source: atlas api performanceAdvisor listDropIndexes --help - label: Go lang: go source: | @@ -27148,7 +27288,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSchemaAdvice --help + source: atlas api performanceAdvisor listSchemaAdvice --help - label: Go lang: go source: | @@ -27272,7 +27412,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClusterSuggestedIndexes --help + source: atlas api performanceAdvisor listClusterSuggestedIndexes --help - label: Go lang: go source: | @@ -27356,7 +27496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getClusterAdvancedConfiguration --help + source: atlas api clusters getClusterAdvancedConfiguration --help - label: Go lang: go source: | @@ -27445,7 +27585,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateClusterAdvancedConfiguration --help + source: atlas api clusters updateClusterAdvancedConfiguration --help - label: Go lang: go source: | @@ -27573,7 +27713,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getGroupClusterQueryShapeInsightDetails --help + source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightDetails --help - label: Go lang: go source: | @@ -27740,7 +27880,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getGroupClusterQueryShapeInsightSummaries --help + source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightSummaries --help - label: Go lang: go source: | @@ -27815,7 +27955,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api testFailover --help + source: atlas api clusters testFailover --help - label: Go lang: go source: | @@ -27916,7 +28056,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacyBackupRestoreJobs --help + source: atlas api legacyBackup listLegacyBackupRestoreJobs --help - label: Go lang: go source: | @@ -28005,7 +28145,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createLegacyBackupRestoreJob --help + source: atlas api legacyBackup createLegacyBackupRestoreJob --help - label: Go lang: go source: | @@ -28105,7 +28245,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacyBackupRestoreJob --help + source: atlas api legacyBackup getLegacyBackupRestoreJob --help - label: Go lang: go source: | @@ -28184,7 +28324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchDeployment --help + source: atlas api atlasSearch deleteAtlasSearchDeployment --help - label: Go lang: go source: | @@ -28262,7 +28402,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchDeployment --help + source: atlas api atlasSearch getAtlasSearchDeployment --help - label: Go lang: go source: | @@ -28354,7 +28494,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchDeployment --help + source: atlas api atlasSearch updateAtlasSearchDeployment --help - label: Go lang: go source: | @@ -28445,7 +28585,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchDeployment --help + source: atlas api atlasSearch createAtlasSearchDeployment --help - label: Go lang: go source: | @@ -28541,7 +28681,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexesCluster --help + source: atlas api atlasSearch listAtlasSearchIndexesCluster --help - label: Go lang: go source: | @@ -28631,7 +28771,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchIndex --help + source: atlas api atlasSearch createAtlasSearchIndex --help - label: Go lang: go source: | @@ -28739,7 +28879,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexes --help + source: atlas api atlasSearch listAtlasSearchIndexes --help - label: Go lang: go source: | @@ -28837,7 +28977,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndexByName --help + source: atlas api atlasSearch deleteAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -28936,7 +29076,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndexByName --help + source: atlas api atlasSearch getAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -29047,7 +29187,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndexByName --help + source: atlas api atlasSearch updateAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -29143,7 +29283,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndex --help + source: atlas api atlasSearch deleteAtlasSearchIndex --help - label: Go lang: go source: | @@ -29239,7 +29379,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndex --help + source: atlas api atlasSearch getAtlasSearchIndex --help - label: Go lang: go source: | @@ -29338,7 +29478,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndex --help + source: atlas api atlasSearch updateAtlasSearchIndex --help - label: Go lang: go source: | @@ -29428,7 +29568,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacySnapshotSchedule --help + source: atlas api legacyBackup getLegacySnapshotSchedule --help - label: Go lang: go source: | @@ -29520,7 +29660,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateLegacySnapshotSchedule --help + source: atlas api legacyBackup updateLegacySnapshotSchedule --help - label: Go lang: go source: | @@ -29614,7 +29754,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacySnapshots --help + source: atlas api legacyBackup listLegacySnapshots --help - label: Go lang: go source: | @@ -29702,7 +29842,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLegacySnapshot --help + source: atlas api legacyBackup deleteLegacySnapshot --help - label: Go lang: go source: | @@ -29791,7 +29931,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacySnapshot --help + source: atlas api legacyBackup getLegacySnapshot --help - label: Go lang: go source: | @@ -29885,7 +30025,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateLegacySnapshotRetention --help + source: atlas api legacyBackup updateLegacySnapshotRetention --help - label: Go lang: go source: | @@ -29968,7 +30108,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getClusterStatus --help + source: atlas api clusters getClusterStatus --help - label: Go lang: go source: | @@ -30055,7 +30195,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api grantMongoDbEmployeeAccess --help + source: atlas api clusters grantMongoDbEmployeeAccess --help - label: Go lang: go source: | @@ -30145,7 +30285,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinFeatureCompatibilityVersion --help + source: atlas api clusters pinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -30228,7 +30368,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api revokeMongoDbEmployeeAccess --help + source: atlas api clusters revokeMongoDbEmployeeAccess --help - label: Go lang: go source: | @@ -30313,7 +30453,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api unpinFeatureCompatibilityVersion --help + source: atlas api clusters unpinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -30423,7 +30563,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getHostLogs --help + source: atlas api monitoringAndLogs getHostLogs --help - label: Go lang: go source: | @@ -30513,7 +30653,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCloudProviderRegions --help + source: atlas api clusters listCloudProviderRegions --help - label: Go lang: go source: | @@ -30602,7 +30742,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeSharedCluster --help + source: atlas api clusters upgradeSharedCluster --help - label: Go lang: go source: | @@ -30699,7 +30839,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeSharedClusterToServerless --help + source: atlas api clusters upgradeSharedClusterToServerless --help - label: Go lang: go source: | @@ -30777,7 +30917,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceMetrics --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceMetrics --help - label: Go lang: go source: | @@ -30859,7 +30999,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringContainerByCloudProvider --help + source: atlas api networkPeering listPeeringContainerByCloudProvider --help - label: Go lang: go source: | @@ -30939,7 +31079,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPeeringContainer --help + source: atlas api networkPeering createPeeringContainer --help - label: Go lang: go source: | @@ -31023,7 +31163,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePeeringContainer --help + source: atlas api networkPeering deletePeeringContainer --help - label: Go lang: go source: | @@ -31102,7 +31242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPeeringContainer --help + source: atlas api networkPeering getPeeringContainer --help - label: Go lang: go source: | @@ -31190,7 +31330,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePeeringContainer --help + source: atlas api networkPeering updatePeeringContainer --help - label: Go lang: go source: | @@ -31267,7 +31407,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringContainers --help + source: atlas api networkPeering listPeeringContainers --help - label: Go lang: go source: | @@ -31344,7 +31484,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCustomDatabaseRoles --help + source: atlas api customDatabaseRoles listCustomDatabaseRoles --help - label: Go lang: go source: | @@ -31424,7 +31564,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCustomDatabaseRole --help + source: atlas api customDatabaseRoles createCustomDatabaseRole --help - label: Go lang: go source: | @@ -31506,7 +31646,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteCustomDatabaseRole --help + source: atlas api customDatabaseRoles deleteCustomDatabaseRole --help - label: Go lang: go source: | @@ -31581,7 +31721,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCustomDatabaseRole --help + source: atlas api customDatabaseRoles getCustomDatabaseRole --help - label: Go lang: go source: | @@ -31667,7 +31807,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateCustomDatabaseRole --help + source: atlas api customDatabaseRoles updateCustomDatabaseRole --help - label: Go lang: go source: | @@ -31755,7 +31895,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFederatedDatabases --help + source: atlas api dataFederation listFederatedDatabases --help - label: Go lang: go source: | @@ -31839,7 +31979,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFederatedDatabase --help + source: atlas api dataFederation createFederatedDatabase --help - label: Go lang: go source: | @@ -31917,7 +32057,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFederatedDatabase --help + source: atlas api dataFederation deleteFederatedDatabase --help - label: Go lang: go source: | @@ -31997,7 +32137,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFederatedDatabase --help + source: atlas api dataFederation getFederatedDatabase --help - label: Go lang: go source: | @@ -32087,7 +32227,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateFederatedDatabase --help + source: atlas api dataFederation updateFederatedDatabase --help - label: Go lang: go source: | @@ -32175,7 +32315,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnFederatedDatabaseQueryLimits --help + source: atlas api dataFederation returnFederatedDatabaseQueryLimits --help - label: Go lang: go source: | @@ -32265,7 +32405,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOneDataFederationInstanceQueryLimit --help + source: atlas api dataFederation deleteOneDataFederationInstanceQueryLimit --help - label: Go lang: go source: | @@ -32356,7 +32496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnFederatedDatabaseQueryLimit --help + source: atlas api dataFederation returnFederatedDatabaseQueryLimit --help - label: Go lang: go source: | @@ -32454,7 +32594,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOneDataFederationQueryLimit --help + source: atlas api dataFederation createOneDataFederationQueryLimit --help - label: Go lang: go source: | @@ -32559,7 +32699,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadFederatedDatabaseQueryLogs --help + source: atlas api dataFederation downloadFederatedDatabaseQueryLogs --help - label: Go lang: go source: | @@ -32637,7 +32777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabaseUsers --help + source: atlas api databaseUsers listDatabaseUsers --help - label: Go lang: go source: | @@ -32811,7 +32951,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDatabaseUser --help + source: atlas api databaseUsers createDatabaseUser --help - label: Go lang: go source: | @@ -32913,7 +33053,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteDatabaseUser --help + source: atlas api databaseUsers deleteDatabaseUser --help - label: Go lang: go source: | @@ -33012,7 +33152,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabaseUser --help + source: atlas api databaseUsers getDatabaseUser --help - label: Go lang: go source: | @@ -33122,7 +33262,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateDatabaseUser --help + source: atlas api databaseUsers updateDatabaseUser --help - label: Go lang: go source: | @@ -33207,7 +33347,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabaseUserCertificates --help + source: atlas api x509Authentication listDatabaseUserCertificates --help - label: Go lang: go source: | @@ -33302,7 +33442,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDatabaseUserCertificate --help + source: atlas api x509Authentication createDatabaseUserCertificate --help - label: Go lang: go source: | @@ -33422,7 +33562,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAccessLogsByClusterName --help + source: atlas api accessTracking listAccessLogsByClusterName --help - label: Go lang: go source: | @@ -33535,7 +33675,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAccessLogsByHostname --help + source: atlas api accessTracking listAccessLogsByHostname --help - label: Go lang: go source: | @@ -33611,7 +33751,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRest --help - label: Go lang: go source: | @@ -33703,7 +33843,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement updateEncryptionAtRest --help - label: Go lang: go source: | @@ -33786,7 +33926,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRestPrivateEndpointsForCloudProvider --help - label: Go lang: go source: | @@ -33868,7 +34008,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement createEncryptionAtRestPrivateEndpoint --help - label: Go lang: go source: | @@ -33953,7 +34093,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement requestEncryptionAtRestPrivateEndpointDeletion --help - label: Go lang: go source: | @@ -34040,7 +34180,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRestPrivateEndpoint --help - label: Go lang: go source: | @@ -34175,7 +34315,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectEvents --help + source: atlas api events listProjectEvents --help - label: Go lang: go source: | @@ -34266,7 +34406,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectEvent --help + source: atlas api events getProjectEvent --help - label: Go lang: go source: | @@ -34341,7 +34481,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexClusters --help + source: atlas api flexClusters listFlexClusters --help - label: Go lang: go source: | @@ -34423,7 +34563,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFlexCluster --help + source: atlas api flexClusters createFlexCluster --help - label: Go lang: go source: | @@ -34506,7 +34646,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFlexCluster --help + source: atlas api flexClusters deleteFlexCluster --help - label: Go lang: go source: | @@ -34588,7 +34728,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexCluster --help + source: atlas api flexClusters getFlexCluster --help - label: Go lang: go source: | @@ -34675,7 +34815,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateFlexCluster --help + source: atlas api flexClusters updateFlexCluster --help - label: Go lang: go source: | @@ -34767,7 +34907,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadFlexBackup --help + source: atlas api flexSnapshots downloadFlexBackup --help - label: Go lang: go source: | @@ -34855,7 +34995,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexBackupRestoreJobs --help + source: atlas api flexRestoreJobs listFlexBackupRestoreJobs --help - label: Go lang: go source: | @@ -34942,7 +35082,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFlexBackupRestoreJob --help + source: atlas api flexRestoreJobs createFlexBackupRestoreJob --help - label: Go lang: go source: | @@ -35032,7 +35172,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexBackupRestoreJob --help + source: atlas api flexRestoreJobs getFlexBackupRestoreJob --help - label: Go lang: go source: | @@ -35114,7 +35254,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexBackups --help + source: atlas api flexSnapshots listFlexBackups --help - label: Go lang: go source: | @@ -35201,7 +35341,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexBackup --help + source: atlas api flexSnapshots getFlexBackup --help - label: Go lang: go source: | @@ -35284,7 +35424,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeFlexCluster --help + source: atlas api flexClusters upgradeFlexCluster --help - label: Go lang: go source: | @@ -35363,7 +35503,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listMetricTypes --help + source: atlas api monitoringAndLogs listMetricTypes --help - label: Go lang: go source: | @@ -35459,7 +35599,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIndexMetrics --help + source: atlas api monitoringAndLogs getIndexMetrics --help - label: Go lang: go source: | @@ -35554,7 +35694,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listIndexMetrics --help + source: atlas api monitoringAndLogs listIndexMetrics --help - label: Go lang: go source: | @@ -35645,7 +35785,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getMeasurements --help + source: atlas api monitoringAndLogs getMeasurements --help - label: Go lang: go source: | @@ -35720,7 +35860,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listThirdPartyIntegrations --help + source: atlas api thirdPartyIntegrations listThirdPartyIntegrations --help - label: Go lang: go source: | @@ -35797,7 +35937,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations deleteThirdPartyIntegration --help - label: Go lang: go source: | @@ -35877,7 +36017,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations getThirdPartyIntegration --help - label: Go lang: go source: | @@ -35967,7 +36107,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations createThirdPartyIntegration --help - label: Go lang: go source: | @@ -36061,7 +36201,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations updateThirdPartyIntegration --help - label: Go lang: go source: | @@ -36150,7 +36290,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectInvitations --help + source: atlas api projects listProjectInvitations --help - label: Go lang: go source: | @@ -36230,7 +36370,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectInvitation --help + source: atlas api projects updateProjectInvitation --help - label: Go lang: go source: | @@ -36312,7 +36452,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectInvitation --help + source: atlas api projects createProjectInvitation --help - label: Go lang: go source: | @@ -36393,7 +36533,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectInvitation --help + source: atlas api projects deleteProjectInvitation --help - label: Go lang: go source: | @@ -36473,7 +36613,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectInvitation --help + source: atlas api projects getProjectInvitation --help - label: Go lang: go source: | @@ -36560,7 +36700,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectInvitationById --help + source: atlas api projects updateProjectInvitationById --help - label: Go lang: go source: | @@ -36637,7 +36777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnAllIpAddresses --help + source: atlas api projects returnAllIpAddresses --help - label: Go lang: go source: | @@ -36719,7 +36859,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectLimits --help + source: atlas api projects listProjectLimits --help - label: Go lang: go source: | @@ -36771,7 +36911,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -36783,7 +36923,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -36814,7 +36953,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectLimit --help + source: atlas api projects deleteProjectLimit --help - label: Go lang: go source: | @@ -36865,7 +37004,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -36877,7 +37016,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -36912,7 +37050,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectLimit --help + source: atlas api projects getProjectLimit --help - label: Go lang: go source: | @@ -36966,7 +37104,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -36978,7 +37116,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -37018,7 +37155,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api setProjectLimit --help + source: atlas api projects setProjectLimit --help - label: Go lang: go source: | @@ -37115,7 +37252,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPushMigration --help + source: atlas api cloudMigrationService createPushMigration --help - label: Go lang: go source: | @@ -37190,7 +37327,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPushMigration --help + source: atlas api cloudMigrationService getPushMigration --help - label: Go lang: go source: | @@ -37261,7 +37398,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cutoverMigration --help + source: atlas api cloudMigrationService cutoverMigration --help - label: Go lang: go source: | @@ -37347,7 +37484,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api validateMigration --help + source: atlas api cloudMigrationService validateMigration --help - label: Go lang: go source: | @@ -37433,7 +37570,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getValidationStatus --help + source: atlas api cloudMigrationService getValidationStatus --help - label: Go lang: go source: | @@ -37506,7 +37643,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resetMaintenanceWindow --help + source: atlas api maintenanceWindows resetMaintenanceWindow --help - label: Go lang: go source: | @@ -37580,7 +37717,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getMaintenanceWindow --help + source: atlas api maintenanceWindows getMaintenanceWindow --help - label: Go lang: go source: | @@ -37656,7 +37793,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateMaintenanceWindow --help + source: atlas api maintenanceWindows updateMaintenanceWindow --help - label: Go lang: go source: | @@ -37730,7 +37867,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleMaintenanceAutoDefer --help + source: atlas api maintenanceWindows toggleMaintenanceAutoDefer --help - label: Go lang: go source: | @@ -37807,7 +37944,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deferMaintenanceWindow --help + source: atlas api maintenanceWindows deferMaintenanceWindow --help - label: Go lang: go source: | @@ -37887,7 +38024,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getManagedSlowMs --help + source: atlas api performanceAdvisor getManagedSlowMs --help - label: Go lang: go source: | @@ -37957,7 +38094,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableSlowOperationThresholding --help + source: atlas api performanceAdvisor disableSlowOperationThresholding --help - label: Go lang: go source: | @@ -38029,7 +38166,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api enableSlowOperationThresholding --help + source: atlas api performanceAdvisor enableSlowOperationThresholding --help - label: Go lang: go source: | @@ -38138,7 +38275,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectLtsVersions --help + source: atlas api projects getProjectLtsVersions --help - label: Go lang: go source: | @@ -38221,7 +38358,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringConnections --help + source: atlas api networkPeering listPeeringConnections --help - label: Go lang: go source: | @@ -38304,7 +38441,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPeeringConnection --help + source: atlas api networkPeering createPeeringConnection --help - label: Go lang: go source: | @@ -38387,7 +38524,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePeeringConnection --help + source: atlas api networkPeering deletePeeringConnection --help - label: Go lang: go source: | @@ -38467,7 +38604,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPeeringConnection --help + source: atlas api networkPeering getPeeringConnection --help - label: Go lang: go source: | @@ -38554,7 +38691,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePeeringConnection --help + source: atlas api networkPeering updatePeeringConnection --help - label: Go lang: go source: | @@ -38639,7 +38776,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelines --help + source: atlas api dataLakePipelines listPipelines --help - label: Go lang: go source: | @@ -38722,7 +38859,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPipeline --help + source: atlas api dataLakePipelines createPipeline --help - label: Go lang: go source: | @@ -38803,7 +38940,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePipeline --help + source: atlas api dataLakePipelines deletePipeline --help - label: Go lang: go source: | @@ -38885,7 +39022,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPipeline --help + source: atlas api dataLakePipelines getPipeline --help - label: Go lang: go source: | @@ -38974,7 +39111,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePipeline --help + source: atlas api dataLakePipelines updatePipeline --help - label: Go lang: go source: | @@ -39066,7 +39203,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineSchedules --help + source: atlas api dataLakePipelines listPipelineSchedules --help - label: Go lang: go source: | @@ -39159,7 +39296,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineSnapshots --help + source: atlas api dataLakePipelines listPipelineSnapshots --help - label: Go lang: go source: | @@ -39240,7 +39377,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pausePipeline --help + source: atlas api dataLakePipelines pausePipeline --help - label: Go lang: go source: | @@ -39327,7 +39464,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resumePipeline --help + source: atlas api dataLakePipelines resumePipeline --help - label: Go lang: go source: | @@ -39425,7 +39562,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineRuns --help + source: atlas api dataLakePipelines listPipelineRuns --help - label: Go lang: go source: | @@ -39514,7 +39651,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePipelineRunDataset --help + source: atlas api dataLakePipelines deletePipelineRunDataset --help - label: Go lang: go source: | @@ -39604,7 +39741,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPipelineRun --help + source: atlas api dataLakePipelines getPipelineRun --help - label: Go lang: go source: | @@ -39692,7 +39829,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api triggerSnapshotIngestion --help + source: atlas api dataLakePipelines triggerSnapshotIngestion --help - label: Go lang: go source: | @@ -39788,7 +39925,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPrivateEndpointServices --help + source: atlas api privateEndpointServices listPrivateEndpointServices --help - label: Go lang: go source: | @@ -39874,7 +40011,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateEndpointService --help + source: atlas api privateEndpointServices deletePrivateEndpointService --help - label: Go lang: go source: | @@ -39963,7 +40100,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateEndpointService --help + source: atlas api privateEndpointServices getPrivateEndpointService --help - label: Go lang: go source: | @@ -40062,7 +40199,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateEndpoint --help + source: atlas api privateEndpointServices createPrivateEndpoint --help - label: Go lang: go source: | @@ -40159,7 +40296,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateEndpoint --help + source: atlas api privateEndpointServices deletePrivateEndpoint --help - label: Go lang: go source: | @@ -40255,7 +40392,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateEndpoint --help + source: atlas api privateEndpointServices getPrivateEndpoint --help - label: Go lang: go source: | @@ -40337,7 +40474,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateEndpointService --help + source: atlas api privateEndpointServices createPrivateEndpointService --help - label: Go lang: go source: | @@ -40411,7 +40548,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getRegionalizedPrivateEndpointSetting --help + source: atlas api privateEndpointServices getRegionalizedPrivateEndpointSetting --help - label: Go lang: go source: | @@ -40492,7 +40629,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleRegionalizedPrivateEndpointSetting --help + source: atlas api privateEndpointServices toggleRegionalizedPrivateEndpointSetting --help - label: Go lang: go source: | @@ -40589,7 +40726,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessPrivateEndpoints --help + source: atlas api serverlessPrivateEndpoints listServerlessPrivateEndpoints --help - label: Go lang: go source: | @@ -40682,7 +40819,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints createServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -40773,7 +40910,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints deleteServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -40863,7 +41000,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints getServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -40958,7 +41095,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints updateServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -41038,7 +41175,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help + source: atlas api networkPeering verifyConnectViaPeeringOnlyModeForOneProject --help - label: Go lang: go source: | @@ -41123,7 +41260,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disablePeering --help + source: atlas api networkPeering disablePeering --help - label: Go lang: go source: | @@ -41205,7 +41342,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDataFederationPrivateEndpoints --help + source: atlas api dataFederation listDataFederationPrivateEndpoints --help - label: Go lang: go source: | @@ -41302,7 +41439,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDataFederationPrivateEndpoint --help + source: atlas api dataFederation createDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -41381,7 +41518,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteDataFederationPrivateEndpoint --help + source: atlas api dataFederation deleteDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -41459,7 +41596,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDataFederationPrivateEndpoint --help + source: atlas api dataFederation getDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -41532,7 +41669,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasProcesses --help + source: atlas api monitoringAndLogs listAtlasProcesses --help - label: Go lang: go source: | @@ -41612,7 +41749,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasProcess --help + source: atlas api monitoringAndLogs getAtlasProcess --help - label: Go lang: go source: | @@ -41699,7 +41836,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceHostMeasurements --help - label: Go lang: go source: | @@ -41773,7 +41910,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespacesForHost --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespacesForHost --help - label: Go lang: go source: | @@ -41860,7 +41997,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabases --help + source: atlas api monitoringAndLogs listDatabases --help - label: Go lang: go source: | @@ -41946,7 +42083,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabase --help + source: atlas api monitoringAndLogs getDatabase --help - label: Go lang: go source: | @@ -42048,7 +42185,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabaseMeasurements --help + source: atlas api monitoringAndLogs getDatabaseMeasurements --help - label: Go lang: go source: | @@ -42129,7 +42266,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDiskPartitions --help + source: atlas api monitoringAndLogs listDiskPartitions --help - label: Go lang: go source: | @@ -42215,7 +42352,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDiskMeasurements --help + source: atlas api monitoringAndLogs listDiskMeasurements --help - label: Go lang: go source: | @@ -42324,7 +42461,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDiskMeasurements --help + source: atlas api monitoringAndLogs getDiskMeasurements --help - label: Go lang: go source: | @@ -42428,7 +42565,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getHostMeasurements --help + source: atlas api monitoringAndLogs getHostMeasurements --help - label: Go lang: go source: | @@ -42530,7 +42667,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSlowQueryNamespaces --help + source: atlas api performanceAdvisor listSlowQueryNamespaces --help - label: Go lang: go source: | @@ -42667,7 +42804,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSlowQueries --help + source: atlas api performanceAdvisor listSlowQueries --help - label: Go lang: go source: | @@ -42793,7 +42930,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSuggestedIndexes --help + source: atlas api performanceAdvisor listSuggestedIndexes --help - label: Go lang: go source: | @@ -42863,7 +43000,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePushBasedLogConfiguration --help + source: atlas api pushBasedLogExport deletePushBasedLogConfiguration --help - label: Go lang: go source: | @@ -42935,7 +43072,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPushBasedLogConfiguration --help + source: atlas api pushBasedLogExport getPushBasedLogConfiguration --help - label: Go lang: go source: | @@ -43015,7 +43152,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePushBasedLogConfiguration --help + source: atlas api pushBasedLogExport updatePushBasedLogConfiguration --help - label: Go lang: go source: | @@ -43096,7 +43233,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPushBasedLogConfiguration --help + source: atlas api pushBasedLogExport createPushBasedLogConfiguration --help - label: Go lang: go source: | @@ -43181,7 +43318,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api loadSampleDataset --help + source: atlas api clusters loadSampleDataset --help - label: Go lang: go source: | @@ -43267,7 +43404,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSampleDatasetLoadStatus --help + source: atlas api clusters getSampleDatasetLoadStatus --help - label: Go lang: go source: | @@ -43348,7 +43485,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessInstances --help + source: atlas api serverlessInstances listServerlessInstances --help - label: Go lang: go source: | @@ -43436,7 +43573,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessInstance --help + source: atlas api serverlessInstances createServerlessInstance --help - label: Go lang: go source: | @@ -43528,7 +43665,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessBackupRestoreJobs --help + source: atlas api cloudBackups listServerlessBackupRestoreJobs --help - label: Go lang: go source: | @@ -43621,7 +43758,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessBackupRestoreJob --help + source: atlas api cloudBackups createServerlessBackupRestoreJob --help - label: Go lang: go source: | @@ -43719,7 +43856,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessBackupRestoreJob --help + source: atlas api cloudBackups getServerlessBackupRestoreJob --help - label: Go lang: go source: | @@ -43807,7 +43944,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessBackups --help + source: atlas api cloudBackups listServerlessBackups --help - label: Go lang: go source: | @@ -43902,7 +44039,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessBackup --help + source: atlas api cloudBackups getServerlessBackup --help - label: Go lang: go source: | @@ -43984,7 +44121,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessAutoIndexing --help + source: atlas api performanceAdvisor getServerlessAutoIndexing --help - label: Go lang: go source: | @@ -44072,7 +44209,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api setServerlessAutoIndexing --help + source: atlas api performanceAdvisor setServerlessAutoIndexing --help - label: Go lang: go source: | @@ -44166,7 +44303,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServerlessInstance --help + source: atlas api serverlessInstances deleteServerlessInstance --help - label: Go lang: go source: | @@ -44254,7 +44391,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessInstance --help + source: atlas api serverlessInstances getServerlessInstance --help - label: Go lang: go source: | @@ -44347,7 +44484,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServerlessInstance --help + source: atlas api serverlessInstances updateServerlessInstance --help - label: Go lang: go source: | @@ -44423,7 +44560,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectServiceAccounts --help + source: atlas api serviceAccounts listProjectServiceAccounts --help - label: Go lang: go source: | @@ -44502,7 +44639,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccount --help + source: atlas api serviceAccounts createProjectServiceAccount --help - label: Go lang: go source: | @@ -44583,7 +44720,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccount --help + source: atlas api serviceAccounts deleteProjectServiceAccount --help - label: Go lang: go source: | @@ -44662,7 +44799,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectServiceAccount --help + source: atlas api serviceAccounts getProjectServiceAccount --help - label: Go lang: go source: | @@ -44748,7 +44885,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectServiceAccount --help + source: atlas api serviceAccounts updateProjectServiceAccount --help - label: Go lang: go source: | @@ -44833,7 +44970,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectServiceAccountAccessList --help + source: atlas api serviceAccounts listProjectServiceAccountAccessList --help - label: Go lang: go source: | @@ -44928,7 +45065,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccountAccessList --help + source: atlas api serviceAccounts createProjectServiceAccountAccessList --help - label: Go lang: go source: | @@ -45018,7 +45155,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteProjectServiceAccountAccessListEntry --help - label: Go lang: go source: | @@ -45105,7 +45242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccountSecret --help + source: atlas api serviceAccounts createProjectServiceAccountSecret --help - label: Go lang: go source: | @@ -45191,7 +45328,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccountSecret --help + source: atlas api serviceAccounts deleteProjectServiceAccountSecret --help - label: Go lang: go source: | @@ -45277,7 +45414,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectServiceAccount --help + source: atlas api serviceAccounts addProjectServiceAccount --help - label: Go lang: go source: | @@ -45353,7 +45490,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectSettings --help + source: atlas api projects getProjectSettings --help - label: Go lang: go source: | @@ -45429,7 +45566,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectSettings --help + source: atlas api projects updateProjectSettings --help - label: Go lang: go source: | @@ -45505,7 +45642,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamInstances --help + source: atlas api streams listStreamInstances --help - label: Go lang: go source: | @@ -45585,7 +45722,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamInstance --help + source: atlas api streams createStreamInstance --help - label: Go lang: go source: | @@ -45665,7 +45802,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamInstance --help + source: atlas api streams deleteStreamInstance --help - label: Go lang: go source: | @@ -45751,7 +45888,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamInstance --help + source: atlas api streams getStreamInstance --help - label: Go lang: go source: | @@ -45837,7 +45974,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateStreamInstance --help + source: atlas api streams updateStreamInstance --help - label: Go lang: go source: | @@ -45941,7 +46078,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadStreamTenantAuditLogs --help + source: atlas api streams downloadStreamTenantAuditLogs --help - label: Go lang: go source: | @@ -46024,7 +46161,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamConnections --help + source: atlas api streams listStreamConnections --help - label: Go lang: go source: | @@ -46112,7 +46249,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamConnection --help + source: atlas api streams createStreamConnection --help - label: Go lang: go source: | @@ -46200,7 +46337,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamConnection --help + source: atlas api streams deleteStreamConnection --help - label: Go lang: go source: | @@ -46285,7 +46422,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamConnection --help + source: atlas api streams getStreamConnection --help - label: Go lang: go source: | @@ -46379,7 +46516,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateStreamConnection --help + source: atlas api streams updateStreamConnection --help - label: Go lang: go source: | @@ -46472,7 +46609,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamProcessor --help + source: atlas api streams createStreamProcessor --help - label: Go lang: go source: | @@ -46556,7 +46693,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamProcessor --help + source: atlas api streams deleteStreamProcessor --help - label: Go lang: go source: | @@ -46641,7 +46778,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamProcessor --help + source: atlas api streams getStreamProcessor --help - label: Go lang: go source: | @@ -46731,7 +46868,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api modifyStreamProcessor --help + source: atlas api streams modifyStreamProcessor --help - label: Go lang: go source: | @@ -46815,7 +46952,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startStreamProcessor --help + source: atlas api streams startStreamProcessor --help - label: Go lang: go source: | @@ -46906,7 +47043,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startStreamProcessorWith --help + source: atlas api streams startStreamProcessorWith --help - label: Go lang: go source: | @@ -46990,7 +47127,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api stopStreamProcessor --help + source: atlas api streams stopStreamProcessor --help - label: Go lang: go source: | @@ -47078,7 +47215,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamProcessors --help + source: atlas api streams listStreamProcessors --help - label: Go lang: go source: | @@ -47160,7 +47297,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAccountDetails --help + source: atlas api streams getAccountDetails --help - label: Go lang: go source: | @@ -47233,7 +47370,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getActiveVpcPeeringConnections --help + source: atlas api streams getActiveVpcPeeringConnections --help - label: Go lang: go source: | @@ -47305,7 +47442,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPrivateLinkConnections --help + source: atlas api streams listPrivateLinkConnections --help - label: Go lang: go source: | @@ -47387,7 +47524,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateLinkConnection --help + source: atlas api streams createPrivateLinkConnection --help - label: Go lang: go source: | @@ -47467,7 +47604,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateLinkConnection --help + source: atlas api streams deletePrivateLinkConnection --help - label: Go lang: go source: | @@ -47544,7 +47681,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateLinkConnection --help + source: atlas api streams getPrivateLinkConnection --help - label: Go lang: go source: | @@ -47622,7 +47759,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getVpcPeeringConnections --help + source: atlas api streams getVpcPeeringConnections --help - label: Go lang: go source: | @@ -47696,7 +47833,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteVpcPeeringConnection --help + source: atlas api streams deleteVpcPeeringConnection --help - label: Go lang: go source: | @@ -47777,7 +47914,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api acceptVpcPeeringConnection --help + source: atlas api streams acceptVpcPeeringConnection --help - label: Go lang: go source: | @@ -47855,7 +47992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api rejectVpcPeeringConnection --help + source: atlas api streams rejectVpcPeeringConnection --help - label: Go lang: go source: | @@ -47938,7 +48075,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamInstanceWithSampleConnections --help + source: atlas api streams createStreamInstanceWithSampleConnections --help - label: Go lang: go source: | @@ -48017,7 +48154,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectTeams --help + source: atlas api teams listProjectTeams --help - label: Go lang: go source: | @@ -48100,7 +48237,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addAllTeamsToProject --help + source: atlas api teams addAllTeamsToProject --help - label: Go lang: go source: | @@ -48187,7 +48324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectTeam --help + source: atlas api teams removeProjectTeam --help - label: Go lang: go source: | @@ -48270,7 +48407,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectTeam --help + source: atlas api teams getProjectTeam --help - label: Go lang: go source: | @@ -48360,7 +48497,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateTeamRoles --help + source: atlas api teams updateTeamRoles --help - label: Go lang: go source: | @@ -48437,7 +48574,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLdapConfiguration --help + source: atlas api ldapConfiguration getLdapConfiguration --help - label: Go lang: go source: | @@ -48518,7 +48655,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api saveLdapConfiguration --help + source: atlas api ldapConfiguration saveLdapConfiguration --help - label: Go lang: go source: | @@ -48595,7 +48732,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableCustomerManagedX509 --help + source: atlas api x509Authentication disableCustomerManagedX509 --help - label: Go lang: go source: | @@ -48668,7 +48805,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLdapConfiguration --help + source: atlas api ldapConfiguration deleteLdapConfiguration --help - label: Go lang: go source: | @@ -48747,7 +48884,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api verifyLdapConfiguration --help + source: atlas api ldapConfiguration verifyLdapConfiguration --help - label: Go lang: go source: | @@ -48830,7 +48967,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLdapConfigurationStatus --help + source: atlas api ldapConfiguration getLdapConfigurationStatus --help - label: Go lang: go source: | @@ -48938,7 +49075,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectUsers --help + source: atlas api mongoDbCloudUsers listProjectUsers --help - label: Go lang: go source: | @@ -49022,7 +49159,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectUser --help + source: atlas api mongoDbCloudUsers addProjectUser --help - label: Go lang: go source: | @@ -49116,7 +49253,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectUser --help + source: atlas api mongoDbCloudUsers removeProjectUser --help - label: Go lang: go source: | @@ -49202,7 +49339,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectUser --help + source: atlas api mongoDbCloudUsers getProjectUser --help - label: Go lang: go source: | @@ -49287,7 +49424,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectRoles --help + source: atlas api projects updateProjectRoles --help - label: Go lang: go source: | @@ -49386,7 +49523,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectRole --help + source: atlas api mongoDbCloudUsers addProjectRole --help - label: Go lang: go source: | @@ -49484,7 +49621,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectRole --help + source: atlas api mongoDbCloudUsers removeProjectRole --help - label: Go lang: go source: | @@ -49565,7 +49702,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api migrateProjectToAnotherOrg --help + source: atlas api projects migrateProjectToAnotherOrg --help - label: Go lang: go source: | @@ -49650,7 +49787,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectByName --help + source: atlas api projects getProjectByName --help - label: Go lang: go source: | @@ -49692,6 +49829,75 @@ paths: --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName + /api/atlas/v2/openapi/info: + get: + description: "This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}" + operationId: getOpenApiInfo + parameters: [] + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: "#/components/schemas/OpenApiInfo" + x-xgen-version: 2024-08-05 + description: OK + "401": + $ref: "#/components/responses/unauthorized" + "403": + $ref: "#/components/responses/forbidden" + "500": + $ref: "#/components/responses/internalServerError" + summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi getOpenApiInfo --help + - label: Go + lang: go + source: | + import ( + "os" + "context" + "log" + sdk "go.mongodb.org/atlas-sdk/v20250312001/admin" + ) + + func main() { + ctx := context.Background() + clientID := os.Getenv("MONGODB_ATLAS_CLIENT_ID") + clientSecret := os.Getenv("MONGODB_ATLAS_CLIENT_SECRET") + + // See https://dochub.mongodb.org/core/atlas-go-sdk-oauth + client, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret)) + + if err != nil { + log.Fatalf("Error: %v", err) + } + + params = &sdk.GetOpenApiInfoApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + GetOpenApiInfoWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --header "Authorization: Bearer ${ACCESS_TOKEN}" \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/openapi/info?pretty=true" + - label: curl (Digest) + lang: cURL + source: |- + curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/openapi/info?pretty=true" + x-xgen-method-verb-override: + customMethod: "False" + verb: get /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -49731,7 +49937,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizations --help + source: atlas api organizations listOrganizations --help - label: Go lang: go source: | @@ -49815,7 +50021,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganization --help + source: atlas api organizations createOrganization --help - label: Go lang: go source: | @@ -49898,7 +50104,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrganization --help + source: atlas api organizations deleteOrganization --help - label: Go lang: go source: | @@ -49973,7 +50179,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganization --help + source: atlas api organizations getOrganization --help - label: Go lang: go source: | @@ -50053,7 +50259,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganization --help + source: atlas api organizations updateOrganization --help - label: Go lang: go source: | @@ -50133,7 +50339,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listApiKeys --help + source: atlas api programmaticApiKeys listApiKeys --help - label: Go lang: go source: | @@ -50212,7 +50418,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createApiKey --help + source: atlas api programmaticApiKeys createApiKey --help - label: Go lang: go source: | @@ -50294,7 +50500,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteApiKey --help + source: atlas api programmaticApiKeys deleteApiKey --help - label: Go lang: go source: | @@ -50375,7 +50581,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getApiKey --help + source: atlas api programmaticApiKeys getApiKey --help - label: Go lang: go source: | @@ -50463,7 +50669,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateApiKey --help + source: atlas api programmaticApiKeys updateApiKey --help - label: Go lang: go source: | @@ -50550,7 +50756,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listApiKeyAccessListsEntries --help + source: atlas api programmaticApiKeys listApiKeyAccessListsEntries --help - label: Go lang: go source: | @@ -50642,7 +50848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createApiKeyAccessList --help + source: atlas api programmaticApiKeys createApiKeyAccessList --help - label: Go lang: go source: | @@ -50734,7 +50940,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys deleteApiKeyAccessListEntry --help - label: Go lang: go source: | @@ -50824,7 +51030,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getApiKeyAccessList --help + source: atlas api programmaticApiKeys getApiKeyAccessList --help - label: Go lang: go source: | @@ -50903,7 +51109,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCostExplorerQueryProcess --help + source: atlas api invoices createCostExplorerQueryProcess --help - label: Go lang: go source: | @@ -51004,7 +51210,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCostExplorerQueryProcess --help + source: atlas api invoices getCostExplorerQueryProcess --help - label: Go lang: go source: | @@ -51118,7 +51324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationEvents --help + source: atlas api events listOrganizationEvents --help - label: Go lang: go source: | @@ -51209,7 +51415,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationEvent --help + source: atlas api events getOrganizationEvent --help - label: Go lang: go source: | @@ -51283,7 +51489,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFederationSettings --help + source: atlas api federatedAuthentication getFederationSettings --help - label: Go lang: go source: | @@ -51375,7 +51581,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationProjects --help + source: atlas api organizations listOrganizationProjects --help - label: Go lang: go source: | @@ -51468,7 +51674,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationInvitations --help + source: atlas api organizations listOrganizationInvitations --help - label: Go lang: go source: | @@ -51554,7 +51760,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationInvitation --help + source: atlas api organizations updateOrganizationInvitation --help - label: Go lang: go source: | @@ -51644,7 +51850,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganizationInvitation --help + source: atlas api organizations createOrganizationInvitation --help - label: Go lang: go source: | @@ -51732,7 +51938,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrganizationInvitation --help + source: atlas api organizations deleteOrganizationInvitation --help - label: Go lang: go source: | @@ -51820,7 +52026,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationInvitation --help + source: atlas api organizations getOrganizationInvitation --help - label: Go lang: go source: | @@ -51913,7 +52119,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationInvitationById --help + source: atlas api organizations updateOrganizationInvitationById --help - label: Go lang: go source: | @@ -52036,7 +52242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listInvoices --help + source: atlas api invoices listInvoices --help - label: Go lang: go source: | @@ -52128,7 +52334,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getInvoice --help + source: atlas api invoices getInvoice --help - label: Go lang: go source: | @@ -52214,7 +52420,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadInvoiceCsv --help + source: atlas api invoices downloadInvoiceCsv --help - label: Go lang: go source: | @@ -52302,7 +52508,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryLineItemsFromSingleInvoice --help + source: atlas api invoices queryLineItemsFromSingleInvoice --help - label: Go lang: go source: | @@ -52372,7 +52578,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPendingInvoices --help + source: atlas api invoices listPendingInvoices --help - label: Go lang: go source: | @@ -52448,7 +52654,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSourceProjects --help + source: atlas api cloudMigrationService listSourceProjects --help - label: Go lang: go source: | @@ -52518,7 +52724,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLinkToken --help + source: atlas api cloudMigrationService deleteLinkToken --help - label: Go lang: go source: | @@ -52596,7 +52802,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createLinkToken --help + source: atlas api cloudMigrationService createLinkToken --help - label: Go lang: go source: | @@ -52682,7 +52888,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getResourcesNonCompliant --help + source: atlas api resourcePolicies getResourcesNonCompliant --help - label: Go lang: go source: | @@ -52765,7 +52971,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrgResourcePolicies --help + source: atlas api resourcePolicies listOrgResourcePolicies --help - label: Go lang: go source: | @@ -52852,7 +53058,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrgResourcePolicy --help + source: atlas api resourcePolicies createOrgResourcePolicy --help - label: Go lang: go source: | @@ -52939,7 +53145,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrgResourcePolicy --help + source: atlas api resourcePolicies deleteOrgResourcePolicy --help - label: Go lang: go source: | @@ -53025,7 +53231,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrgResourcePolicy --help + source: atlas api resourcePolicies getOrgResourcePolicy --help - label: Go lang: go source: | @@ -53122,7 +53328,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrgResourcePolicy --help + source: atlas api resourcePolicies updateOrgResourcePolicy --help - label: Go lang: go source: | @@ -53214,7 +53420,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api validateAtlasResourcePolicy --help + source: atlas api resourcePolicies validateAtlasResourcePolicy --help - label: Go lang: go source: | @@ -53290,7 +53496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccounts --help + source: atlas api serviceAccounts listServiceAccounts --help - label: Go lang: go source: | @@ -53368,7 +53574,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccount --help + source: atlas api serviceAccounts createServiceAccount --help - label: Go lang: go source: | @@ -53448,7 +53654,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccount --help + source: atlas api serviceAccounts deleteServiceAccount --help - label: Go lang: go source: | @@ -53527,7 +53733,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServiceAccount --help + source: atlas api serviceAccounts getServiceAccount --help - label: Go lang: go source: | @@ -53613,7 +53819,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServiceAccount --help + source: atlas api serviceAccounts updateServiceAccount --help - label: Go lang: go source: | @@ -53698,7 +53904,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccountAccessList --help + source: atlas api serviceAccounts listServiceAccountAccessList --help - label: Go lang: go source: | @@ -53793,7 +53999,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccountAccessList --help + source: atlas api serviceAccounts createServiceAccountAccessList --help - label: Go lang: go source: | @@ -53883,7 +54089,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteServiceAccountAccessListEntry --help - label: Go lang: go source: | @@ -53969,7 +54175,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccountProjects --help + source: atlas api serviceAccounts listServiceAccountProjects --help - label: Go lang: go source: | @@ -54056,7 +54262,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccountSecret --help + source: atlas api serviceAccounts createServiceAccountSecret --help - label: Go lang: go source: | @@ -54142,7 +54348,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccountSecret --help + source: atlas api serviceAccounts deleteServiceAccountSecret --help - label: Go lang: go source: | @@ -54214,7 +54420,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationSettings --help + source: atlas api organizations getOrganizationSettings --help - label: Go lang: go source: | @@ -54294,7 +54500,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationSettings --help + source: atlas api organizations updateOrganizationSettings --help - label: Go lang: go source: | @@ -54376,7 +54582,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationTeams --help + source: atlas api teams listOrganizationTeams --help - label: Go lang: go source: | @@ -54459,7 +54665,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createTeam --help + source: atlas api teams createTeam --help - label: Go lang: go source: | @@ -54543,7 +54749,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteTeam --help + source: atlas api teams deleteTeam --help - label: Go lang: go source: | @@ -54624,7 +54830,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getTeamById --help + source: atlas api teams getTeamById --help - label: Go lang: go source: | @@ -54714,7 +54920,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api renameTeam --help + source: atlas api teams renameTeam --help - label: Go lang: go source: | @@ -54830,7 +55036,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listTeamUsers --help + source: atlas api mongoDbCloudUsers listTeamUsers --help - label: Go lang: go source: | @@ -54926,7 +55132,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addTeamUser --help + source: atlas api teams addTeamUser --help - label: Go lang: go source: | @@ -55025,7 +55231,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeTeamUser --help + source: atlas api teams removeTeamUser --help - label: Go lang: go source: | @@ -55121,7 +55327,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addUserToTeam --help + source: atlas api mongoDbCloudUsers addUserToTeam --help - label: Go lang: go source: | @@ -55217,7 +55423,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeUserFromTeam --help + source: atlas api mongoDbCloudUsers removeUserFromTeam --help - label: Go lang: go source: | @@ -55302,7 +55508,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getTeamByName --help + source: atlas api teams getTeamByName --help - label: Go lang: go source: | @@ -55397,7 +55603,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationUsers --help + source: atlas api mongoDbCloudUsers listOrganizationUsers --help - label: Go lang: go source: | @@ -55480,7 +55686,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganizationUser --help + source: atlas api mongoDbCloudUsers createOrganizationUser --help - label: Go lang: go source: | @@ -55571,7 +55777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeOrganizationUser --help + source: atlas api mongoDbCloudUsers removeOrganizationUser --help - label: Go lang: go source: | @@ -55657,7 +55863,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationUser --help + source: atlas api mongoDbCloudUsers getOrganizationUser --help - label: Go lang: go source: | @@ -55750,7 +55956,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationUser --help + source: atlas api mongoDbCloudUsers updateOrganizationUser --help - label: Go lang: go source: | @@ -55839,7 +56045,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationRoles --help + source: atlas api organizations updateOrganizationRoles --help - label: Go lang: go source: | @@ -55940,7 +56146,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addOrganizationRole --help + source: atlas api mongoDbCloudUsers addOrganizationRole --help - label: Go lang: go source: | @@ -56038,7 +56244,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeOrganizationRole --help + source: atlas api mongoDbCloudUsers removeOrganizationRole --help - label: Go lang: go source: | @@ -56110,7 +56316,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnAllControlPlaneIpAddresses --help + source: atlas api root returnAllControlPlaneIpAddresses --help - label: Go lang: go source: | @@ -56152,6 +56358,79 @@ paths: --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: getApiVersions + parameters: + - $ref: "#/components/parameters/itemsPerPage" + - $ref: "#/components/parameters/pageNum" + - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). + in: query + name: env + schema: + type: string + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: "#/components/schemas/PaginatedApiVersions" + x-xgen-version: 2024-08-05 + application/vnd.atlas.2024-08-05+yaml: + schema: + $ref: "#/components/schemas/PaginatedApiVersions" + x-xgen-version: 2024-08-05 + description: OK + "500": + $ref: "#/components/responses/internalServerError" + summary: Provides a list of versions for a given environment. + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi getApiVersions --help + - label: Go + lang: go + source: | + import ( + "os" + "context" + "log" + sdk "go.mongodb.org/atlas-sdk/v20250312001/admin" + ) + + func main() { + ctx := context.Background() + clientID := os.Getenv("MONGODB_ATLAS_CLIENT_ID") + clientSecret := os.Getenv("MONGODB_ATLAS_CLIENT_SECRET") + + // See https://dochub.mongodb.org/core/atlas-go-sdk-oauth + client, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret)) + + if err != nil { + log.Fatalf("Error: %v", err) + } + + params = &sdk.GetApiVersionsApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + GetApiVersionsWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --header "Authorization: Bearer ${ACCESS_TOKEN}" \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/openapi/versions?pretty=true" + - label: curl (Digest) + lang: cURL + source: |- + curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/openapi/versions?pretty=true" /api/atlas/v2/users: post: deprecated: true @@ -56192,7 +56471,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createUser --help + source: atlas api mongoDbCloudUsers createUser --help - label: Go lang: go source: | @@ -56279,7 +56558,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getUser --help + source: atlas api mongoDbCloudUsers getUser --help - label: Go lang: go source: | @@ -56359,7 +56638,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getUserByUsername --help + source: atlas api mongoDbCloudUsers getUserByUsername --help - label: Go lang: go source: | @@ -56477,6 +56756,8 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive + - description: Returns information about the MongoDB Atlas Specification. + name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. diff --git a/openapi/atlas-api.yaml b/openapi/atlas-api.yaml index d20fbb6ee..d88900445 100644 --- a/openapi/atlas-api.yaml +++ b/openapi/atlas-api.yaml @@ -2889,6 +2889,12 @@ components: - id title: API User Events type: object + ApiVersion: + properties: + version: + description: Object representing a version of the Atlas Admin API. + type: string + type: object AppServiceAlertConfigViewForNdsGroup: description: App Services metric alert configuration allows to select which app service conditions and events trigger alerts and how users are notified. properties: @@ -7793,6 +7799,15 @@ components: pattern: ^([a-f0-9]{24})$ readOnly: true type: string + status: + description: Provision status of the service account. + enum: + - IN_PROGRESS + - COMPLETE + - FAILED + - NOT_INITIATED + readOnly: true + type: string type: object description: Details that describe the features linked to the GCP Service Account. required: @@ -7921,6 +7936,11 @@ components: items: $ref: '#/components/schemas/CloudProviderAccessAzureServicePrincipal' type: array + gcpServiceAccounts: + description: List that contains the Google Service Accounts registered and authorized with MongoDB Cloud. + items: + $ref: '#/components/schemas/CloudProviderAccessGCPServiceAccount' + type: array type: object CloudProviderAzureAutoScaling: description: Range of instance sizes to which your cluster can scale. @@ -10085,7 +10105,7 @@ components: description: Request body for a cost explorer query. properties: clusters: - description: The list of projects to be included in the Cost Explorer Query. + description: The list of clusters to be included in the Cost Explorer Query. items: example: 32b6e34b3d91647abb20e7b8 pattern: ^([a-f0-9]{24})$ @@ -10255,7 +10275,7 @@ components: title: AWS type: object CreateAtlasOrganizationApiKey: - description: Details of the programmatic API key to be created. + description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. properties: desc: description: Purpose or explanation provided when someone created this organization API key. @@ -10982,7 +11002,6 @@ components: mapping: atlas.project.deployment.clusters: '#/components/schemas/DefaultLimit' atlas.project.deployment.nodesPerPrivateLinkRegion: '#/components/schemas/DefaultLimit' - atlas.project.deployment.salesSoldM0s: '#/components/schemas/DefaultLimit' atlas.project.deployment.serverlessMTMs: '#/components/schemas/DefaultLimit' atlas.project.security.databaseAccess.customRoles: '#/components/schemas/DefaultLimit' atlas.project.security.databaseAccess.users: '#/components/schemas/DefaultLimit' @@ -14626,6 +14645,9 @@ components: url: https://www.mongodb.com/docs/atlas/security/set-up-unified-aws-access/ pattern: ^([a-f0-9]{24})$ type: string + requirePrivateNetworking: + description: Indicates whether to do exports over PrivateLink as opposed to public IPs. Defaults to False. + type: boolean type: object required: - bucketName @@ -14674,6 +14696,9 @@ components: example: us-east-1 readOnly: true type: string + requirePrivateNetworking: + description: Indicates whether to use privatelink. User supplied. + type: boolean required: - _id - bucketName @@ -22699,6 +22724,28 @@ components: type: object type: object writeOnly: true + Info: + description: Information about the MongoDB Atlas Administration API OpenAPI Specification. + properties: + description: + description: Description of the MongoDB Atlas Administration API. + example: The MongoDB Atlas Administration API allows developers to manage all components in MongoDB Atlas. + type: string + license: + $ref: '#/components/schemas/License' + termsOfService: + description: Terms of Service URL. + example: https://www.mongodb.com/mongodb-management-service-terms-and-conditions + type: string + title: + description: Title of the MongoDB Atlas Administration API. + example: MongoDB Atlas Administration API. + type: string + version: + description: Version of the MongoDB Atlas Administration API. + example: "2.0" + type: string + type: object IngestionPipelineRun: description: Run details of a Data Lake Pipeline. properties: @@ -24337,6 +24384,18 @@ components: - eventTypeName - notifications type: object + License: + description: License information of the MongoDB Atlas Administration API. + properties: + name: + description: Name of the license. + example: CC BY-NC-SA 3.0 US + type: string + url: + description: URL of the license. + example: https://creativecommons.org/licenses/by-nc-sa/3.0/us/ + type: string + type: object Link: properties: href: @@ -27890,6 +27949,11 @@ components: required: - metricName type: object + OpenApiInfo: + properties: + info: + $ref: '#/components/schemas/Info' + type: object OperationThrottlingRejectedOperationsRawMetricThresholdView: properties: metricName: @@ -28604,7 +28668,7 @@ components: readOnly: true type: object OrgServiceAccountRequest: - description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. + description: Organization Service Account that Atlas creates for this organization. If omitted, Atlas doesn't create an organization Service Account for this organization. If specified, this object requires all body parameters. Note that API Keys cannot be specified in the same request. properties: description: description: Human readable description for the Service Account. @@ -29609,6 +29673,30 @@ components: readOnly: true type: integer type: object + PaginatedApiVersions: + properties: + links: + description: 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. + externalDocs: + description: Web Linking Specification (RFC 5988) + url: https://datatracker.ietf.org/doc/html/rfc5988 + items: + $ref: '#/components/schemas/Link' + readOnly: true + type: array + results: + description: List of returned documents that MongoDB Cloud provides when completing this request. + items: + $ref: '#/components/schemas/ApiVersion' + readOnly: true + type: array + totalCount: + description: Total number of documents available. MongoDB Cloud omits this value if `includeCount` is set to `false`. The total number is an estimate and may not be exact. + format: int32 + minimum: 0 + readOnly: true + type: integer + type: object PaginatedAtlasGroupView: properties: links: @@ -35818,10 +35906,6 @@ components: name: description: Reserved. Will be used by PRIVATE_LINK connection type. type: string - tgwId: - description: Reserved. Will be used by TRANSIT_GATEWAY connection type. - pattern: ^(tgw-)[0-9a-zA-Z]+$ - type: string tgwRouteId: description: Reserved. Will be used by TRANSIT_GATEWAY connection type. example: 32b6e34b3d91647abb20e7b8 @@ -35836,9 +35920,6 @@ components: - TRANSIT_GATEWAY title: Networking Access Type type: string - vpcCIDR: - description: Reserved. Will be used by TRANSIT_GATEWAY connection type. - type: string type: object StreamsKafkaSecurity: description: Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. @@ -39504,7 +39585,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: ba69c7df4e80ba9785768a9ab33e0d2db52dfb1d + x-xgen-sha: 5a095e77c39be65b79ed44ef05668f27803e5b92 openapi: 3.0.1 paths: /api/atlas/v2: @@ -39534,7 +39615,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSystemStatus --help + source: atlas api root getSystemStatus --help - label: Go lang: go source: | @@ -39607,7 +39688,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurationMatchersFieldNames --help + source: atlas api alertConfigurations listAlertConfigurationMatchersFieldNames --help - label: Go lang: go source: | @@ -39679,7 +39760,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClustersForAllProjects --help + source: atlas api clusters listClustersForAllProjects --help - label: Go lang: go source: | @@ -39751,7 +39832,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listEventTypes --help + source: atlas api events listEventTypes --help - label: Go lang: go source: | @@ -39821,7 +39902,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFederationApp --help + source: atlas api federatedAuthentication deleteFederationApp --help - label: Go lang: go source: | @@ -39896,7 +39977,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listConnectedOrgConfigs --help + source: atlas api federatedAuthentication listConnectedOrgConfigs --help - label: Go lang: go source: | @@ -39975,7 +40056,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeConnectedOrgConfig --help + source: atlas api federatedAuthentication removeConnectedOrgConfig --help - label: Go lang: go source: | @@ -40060,7 +40141,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getConnectedOrgConfig --help + source: atlas api federatedAuthentication getConnectedOrgConfig --help - label: Go lang: go source: | @@ -40147,7 +40228,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateConnectedOrgConfig --help + source: atlas api federatedAuthentication updateConnectedOrgConfig --help - label: Go lang: go source: | @@ -40225,7 +40306,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listRoleMappings --help + source: atlas api federatedAuthentication listRoleMappings --help - label: Go lang: go source: | @@ -40305,7 +40386,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createRoleMapping --help + source: atlas api federatedAuthentication createRoleMapping --help - label: Go lang: go source: | @@ -40389,7 +40470,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteRoleMapping --help + source: atlas api federatedAuthentication deleteRoleMapping --help - label: Go lang: go source: | @@ -40472,7 +40553,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getRoleMapping --help + source: atlas api federatedAuthentication getRoleMapping --help - label: Go lang: go source: | @@ -40560,7 +40641,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateRoleMapping --help + source: atlas api federatedAuthentication updateRoleMapping --help - label: Go lang: go source: | @@ -40663,7 +40744,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listIdentityProviders --help + source: atlas api federatedAuthentication listIdentityProviders --help - label: Go lang: go source: | @@ -40745,7 +40826,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createIdentityProvider --help + source: atlas api federatedAuthentication createIdentityProvider --help - label: Go lang: go source: | @@ -40830,7 +40911,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteIdentityProvider --help + source: atlas api federatedAuthentication deleteIdentityProvider --help - label: Go lang: go source: | @@ -40911,7 +40992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIdentityProvider --help + source: atlas api federatedAuthentication getIdentityProvider --help - label: Go lang: go source: | @@ -41000,7 +41081,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateIdentityProvider --help + source: atlas api federatedAuthentication updateIdentityProvider --help - label: Go lang: go source: | @@ -41085,7 +41166,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api revokeJwksFromIdentityProvider --help + source: atlas api federatedAuthentication revokeJwksFromIdentityProvider --help - label: Go lang: go source: | @@ -41161,7 +41242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIdentityProviderMetadata --help + source: atlas api federatedAuthentication getIdentityProviderMetadata --help - label: Go lang: go source: | @@ -41240,7 +41321,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjects --help + source: atlas api projects listProjects --help - label: Go lang: go source: | @@ -41327,7 +41408,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProject --help + source: atlas api projects createProject --help - label: Go lang: go source: | @@ -41405,7 +41486,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProject --help + source: atlas api projects deleteProject --help - label: Go lang: go source: | @@ -41481,7 +41562,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProject --help + source: atlas api projects getProject --help - label: Go lang: go source: | @@ -41561,7 +41642,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProject --help + source: atlas api projects updateProject --help - label: Go lang: go source: | @@ -41650,7 +41731,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addUserToProject --help + source: atlas api projects addUserToProject --help - label: Go lang: go source: | @@ -41736,7 +41817,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectIpAccessLists --help + source: atlas api projectIpAccessList listProjectIpAccessLists --help - label: Go lang: go source: | @@ -41826,7 +41907,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectIpAccessList --help + source: atlas api projectIpAccessList createProjectIpAccessList --help - label: Go lang: go source: | @@ -41916,7 +41997,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectIpAccessList --help + source: atlas api projectIpAccessList deleteProjectIpAccessList --help - label: Go lang: go source: | @@ -42000,7 +42081,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectIpList --help + source: atlas api projectIpAccessList getProjectIpList --help - label: Go lang: go source: | @@ -42084,7 +42165,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectIpAccessListStatus --help + source: atlas api projectIpAccessList getProjectIpAccessListStatus --help - label: Go lang: go source: | @@ -42162,7 +42243,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurations --help + source: atlas api alertConfigurations listAlertConfigurations --help - label: Go lang: go source: | @@ -42245,7 +42326,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAlertConfiguration --help + source: atlas api alertConfigurations createAlertConfiguration --help - label: Go lang: go source: | @@ -42333,7 +42414,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAlertConfiguration --help + source: atlas api alertConfigurations deleteAlertConfiguration --help - label: Go lang: go source: | @@ -42420,7 +42501,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAlertConfiguration --help + source: atlas api alertConfigurations getAlertConfiguration --help - label: Go lang: go source: | @@ -42514,7 +42595,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleAlertConfiguration --help + source: atlas api alertConfigurations toggleAlertConfiguration --help - label: Go lang: go source: | @@ -42617,7 +42698,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAlertConfiguration --help + source: atlas api alertConfigurations updateAlertConfiguration --help - label: Go lang: go source: | @@ -42713,7 +42794,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertsByAlertConfigurationId --help + source: atlas api alerts listAlertsByAlertConfigurationId --help - label: Go lang: go source: | @@ -42802,7 +42883,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlerts --help + source: atlas api alerts listAlerts --help - label: Go lang: go source: | @@ -42889,7 +42970,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAlert --help + source: atlas api alerts getAlert --help - label: Go lang: go source: | @@ -42982,7 +43063,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api acknowledgeAlert --help + source: atlas api alerts acknowledgeAlert --help - label: Go lang: go source: | @@ -43080,7 +43161,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAlertConfigurationsByAlertId --help + source: atlas api alertConfigurations listAlertConfigurationsByAlertId --help - label: Go lang: go source: | @@ -43158,7 +43239,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectApiKeys --help + source: atlas api programmaticApiKeys listProjectApiKeys --help - label: Go lang: go source: | @@ -43236,7 +43317,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectApiKey --help + source: atlas api programmaticApiKeys createProjectApiKey --help - label: Go lang: go source: | @@ -43322,7 +43403,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectApiKey --help + source: atlas api programmaticApiKeys removeProjectApiKey --help - label: Go lang: go source: | @@ -43415,7 +43496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateApiKeyRoles --help + source: atlas api programmaticApiKeys updateApiKeyRoles --help - label: Go lang: go source: | @@ -43507,7 +43588,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectApiKey --help + source: atlas api programmaticApiKeys addProjectApiKey --help - label: Go lang: go source: | @@ -43588,7 +43669,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAuditingConfiguration --help + source: atlas api auditing getAuditingConfiguration --help - label: Go lang: go source: | @@ -43668,7 +43749,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAuditingConfiguration --help + source: atlas api auditing updateAuditingConfiguration --help - label: Go lang: go source: | @@ -43746,7 +43827,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAwsCustomDns --help + source: atlas api awsClustersDns getAwsCustomDns --help - label: Go lang: go source: | @@ -43824,7 +43905,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleAwsCustomDns --help + source: atlas api awsClustersDns toggleAwsCustomDns --help - label: Go lang: go source: | @@ -43906,7 +43987,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listExportBuckets --help + source: atlas api cloudBackups listExportBuckets --help - label: Go lang: go source: | @@ -43965,6 +44046,7 @@ paths: bucketName: export-bucket cloudProvider: AWS iamRoleId: 668c5f0ed436263134491592 + requirePrivateNetworking: false Azure: description: Azure value: @@ -43999,6 +44081,7 @@ paths: - href: https://cloud.mongodb.com/api/atlas rel: self region: us-east-1 + requirePrivateNetworking: true Azure: description: Azure value: @@ -44041,7 +44124,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createExportBucket --help + source: atlas api cloudBackups createExportBucket --help - label: Go lang: go source: | @@ -44124,7 +44207,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteExportBucket --help + source: atlas api cloudBackups deleteExportBucket --help - label: Go lang: go source: | @@ -44196,6 +44279,7 @@ paths: - href: https://cloud.mongodb.com/api/atlas rel: self region: us-east-1 + requirePrivateNetworking: true Azure: description: Azure value: @@ -44236,7 +44320,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getExportBucket --help + source: atlas api cloudBackups getExportBucket --help - label: Go lang: go source: | @@ -44308,7 +44392,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableDataProtectionSettings --help + source: atlas api cloudBackups disableDataProtectionSettings --help - label: Go lang: go source: | @@ -44384,7 +44468,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDataProtectionSettings --help + source: atlas api cloudBackups getDataProtectionSettings --help - label: Go lang: go source: | @@ -44471,7 +44555,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateDataProtectionSettings --help + source: atlas api cloudBackups updateDataProtectionSettings --help - label: Go lang: go source: | @@ -44551,7 +44635,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCloudProviderAccessRoles --help + source: atlas api cloudProviderAccess listCloudProviderAccessRoles --help - label: Go lang: go source: | @@ -44594,7 +44678,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/cloudProviderAccess?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Cloud-Provider-Access/operation/listCloudProviderAccessRoles post: - description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: Creates one access role for the specified cloud provider. Some MongoDB Cloud features use these cloud provider access roles for authentication. To use this resource, the requesting Service Account or API Key must have the Project Owner role. For the GCP provider, if the project folder is not yet provisioned, Atlas will now create the role asynchronously. An intermediate role with status `IN_PROGRESS` will be returned, and the final service account will be provisioned. Once the GCP project is set up, subsequent requests will create the service account synchronously. externalDocs: description: Set Up Access to Cloud Providers url: https://www.mongodb.com/docs/atlas/security/cloud-provider-access/ @@ -44632,7 +44716,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCloudProviderAccessRole --help + source: atlas api cloudProviderAccess createCloudProviderAccessRole --help - label: Go lang: go source: | @@ -44725,7 +44809,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deauthorizeCloudProviderAccessRole --help + source: atlas api cloudProviderAccess deauthorizeCloudProviderAccessRole --help - label: Go lang: go source: | @@ -44809,7 +44893,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCloudProviderAccessRole --help + source: atlas api cloudProviderAccess getCloudProviderAccessRole --help - label: Go lang: go source: | @@ -44901,7 +44985,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api authorizeCloudProviderAccessRole --help + source: atlas api cloudProviderAccess authorizeCloudProviderAccessRole --help - label: Go lang: go source: | @@ -44995,7 +45079,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClusters --help + source: atlas api clusters listClusters --help - label: Go lang: go source: | @@ -45167,7 +45251,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCluster --help + source: atlas api clusters createCluster --help - label: Go lang: go source: | @@ -45265,7 +45349,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteCluster --help + source: atlas api clusters deleteCluster --help - label: Go lang: go source: | @@ -45353,7 +45437,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCluster --help + source: atlas api clusters getCluster --help - label: Go lang: go source: | @@ -45443,7 +45527,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateCluster --help + source: atlas api clusters updateCluster --help - label: Go lang: go source: | @@ -45580,7 +45664,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceClusterMeasurements --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceClusterMeasurements --help - label: Go lang: go source: | @@ -45671,7 +45755,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespacesForCluster --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespacesForCluster --help - label: Go lang: go source: | @@ -45758,7 +45842,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api autoScalingConfiguration --help + source: atlas api clusters autoScalingConfiguration --help - label: Go lang: go source: | @@ -45842,7 +45926,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listBackupExportJobs --help + source: atlas api cloudBackups listBackupExportJobs --help - label: Go lang: go source: | @@ -45930,7 +46014,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createBackupExportJob --help + source: atlas api cloudBackups createBackupExportJob --help - label: Go lang: go source: | @@ -46020,7 +46104,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupExportJob --help + source: atlas api cloudBackups getBackupExportJob --help - label: Go lang: go source: | @@ -46102,7 +46186,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listBackupRestoreJobs --help + source: atlas api cloudBackups listBackupRestoreJobs --help - label: Go lang: go source: | @@ -46194,7 +46278,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createBackupRestoreJob --help + source: atlas api cloudBackups createBackupRestoreJob --help - label: Go lang: go source: | @@ -46286,7 +46370,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cancelBackupRestoreJob --help + source: atlas api cloudBackups cancelBackupRestoreJob --help - label: Go lang: go source: | @@ -46374,7 +46458,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupRestoreJob --help + source: atlas api cloudBackups getBackupRestoreJob --help - label: Go lang: go source: | @@ -46454,7 +46538,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAllBackupSchedules --help + source: atlas api cloudBackups deleteAllBackupSchedules --help - label: Go lang: go source: | @@ -46532,7 +46616,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getBackupSchedule --help + source: atlas api cloudBackups getBackupSchedule --help - label: Go lang: go source: | @@ -46625,7 +46709,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateBackupSchedule --help + source: atlas api cloudBackups updateBackupSchedule --help - label: Go lang: go source: | @@ -46713,7 +46797,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listReplicaSetBackups --help + source: atlas api cloudBackups listReplicaSetBackups --help - label: Go lang: go source: | @@ -46803,7 +46887,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api takeSnapshot --help + source: atlas api cloudBackups takeSnapshot --help - label: Go lang: go source: | @@ -46896,7 +46980,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteReplicaSetBackup --help + source: atlas api cloudBackups deleteReplicaSetBackup --help - label: Go lang: go source: | @@ -46985,7 +47069,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getReplicaSetBackup --help + source: atlas api cloudBackups getReplicaSetBackup --help - label: Go lang: go source: | @@ -47079,7 +47163,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateSnapshotRetention --help + source: atlas api cloudBackups updateSnapshotRetention --help - label: Go lang: go source: | @@ -47167,7 +47251,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteShardedClusterBackup --help + source: atlas api cloudBackups deleteShardedClusterBackup --help - label: Go lang: go source: | @@ -47256,7 +47340,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getShardedClusterBackup --help + source: atlas api cloudBackups getShardedClusterBackup --help - label: Go lang: go source: | @@ -47337,7 +47421,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listShardedClusterBackups --help + source: atlas api cloudBackups listShardedClusterBackups --help - label: Go lang: go source: | @@ -47434,7 +47518,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadSharedClusterBackup --help + source: atlas api sharedTierSnapshots downloadSharedClusterBackup --help - label: Go lang: go source: | @@ -47538,7 +47622,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createSharedClusterBackupRestoreJob --help + source: atlas api sharedTierRestoreJobs createSharedClusterBackupRestoreJob --help - label: Go lang: go source: | @@ -47631,7 +47715,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSharedClusterBackupRestoreJobs --help + source: atlas api sharedTierRestoreJobs listSharedClusterBackupRestoreJobs --help - label: Go lang: go source: | @@ -47727,7 +47811,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSharedClusterBackupRestoreJob --help + source: atlas api sharedTierRestoreJobs getSharedClusterBackupRestoreJob --help - label: Go lang: go source: | @@ -47816,7 +47900,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSharedClusterBackups --help + source: atlas api sharedTierSnapshots listSharedClusterBackups --help - label: Go lang: go source: | @@ -47912,7 +47996,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSharedClusterBackup --help + source: atlas api sharedTierSnapshots getSharedClusterBackup --help - label: Go lang: go source: | @@ -47996,7 +48080,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacyBackupCheckpoints --help + source: atlas api legacyBackup listLegacyBackupCheckpoints --help - label: Go lang: go source: | @@ -48087,7 +48171,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacyBackupCheckpoint --help + source: atlas api legacyBackup getLegacyBackupCheckpoint --help - label: Go lang: go source: | @@ -48167,7 +48251,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPinnedNamespaces --help + source: atlas api collectionLevelMetrics getPinnedNamespaces --help - label: Go lang: go source: | @@ -48263,7 +48347,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinNamespacesPatch --help + source: atlas api collectionLevelMetrics pinNamespacesPatch --help - label: Go lang: go source: | @@ -48363,7 +48447,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinNamespacesPut --help + source: atlas api collectionLevelMetrics pinNamespacesPut --help - label: Go lang: go source: | @@ -48457,7 +48541,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api unpinNamespaces --help + source: atlas api collectionLevelMetrics unpinNamespaces --help - label: Go lang: go source: | @@ -48558,7 +48642,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch createAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -48662,7 +48746,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexesDeprecated --help + source: atlas api atlasSearch listAtlasSearchIndexesDeprecated --help - label: Go lang: go source: | @@ -48755,7 +48839,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch deleteAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -48847,7 +48931,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch getAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -48950,7 +49034,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndexDeprecated --help + source: atlas api atlasSearch updateAtlasSearchIndexDeprecated --help - label: Go lang: go source: | @@ -49039,7 +49123,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getManagedNamespace --help + source: atlas api globalClusters getManagedNamespace --help - label: Go lang: go source: | @@ -49121,7 +49205,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAllCustomZoneMappings --help + source: atlas api globalClusters deleteAllCustomZoneMappings --help - label: Go lang: go source: | @@ -49212,7 +49296,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCustomZoneMapping --help + source: atlas api globalClusters createCustomZoneMapping --help - label: Go lang: go source: | @@ -49310,7 +49394,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteManagedNamespace --help + source: atlas api globalClusters deleteManagedNamespace --help - label: Go lang: go source: | @@ -49403,7 +49487,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createManagedNamespace --help + source: atlas api globalClusters createManagedNamespace --help - label: Go lang: go source: | @@ -49563,7 +49647,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createRollingIndex --help + source: atlas api rollingIndex createRollingIndex --help - label: Go lang: go source: | @@ -49652,7 +49736,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOnlineArchives --help + source: atlas api onlineArchive listOnlineArchives --help - label: Go lang: go source: | @@ -49744,7 +49828,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOnlineArchive --help + source: atlas api onlineArchive createOnlineArchive --help - label: Go lang: go source: | @@ -49837,7 +49921,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOnlineArchive --help + source: atlas api onlineArchive deleteOnlineArchive --help - label: Go lang: go source: | @@ -49929,7 +50013,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOnlineArchive --help + source: atlas api onlineArchive getOnlineArchive --help - label: Go lang: go source: | @@ -50028,7 +50112,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOnlineArchive --help + source: atlas api onlineArchive updateOnlineArchive --help - label: Go lang: go source: | @@ -50143,7 +50227,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadOnlineArchiveQueryLogs --help + source: atlas api onlineArchive downloadOnlineArchiveQueryLogs --help - label: Go lang: go source: | @@ -50232,7 +50316,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api endOutageSimulation --help + source: atlas api clusterOutageSimulation endOutageSimulation --help - label: Go lang: go source: | @@ -50322,7 +50406,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOutageSimulation --help + source: atlas api clusterOutageSimulation getOutageSimulation --help - label: Go lang: go source: | @@ -50415,7 +50499,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startOutageSimulation --help + source: atlas api clusterOutageSimulation startOutageSimulation --help - label: Go lang: go source: | @@ -50503,7 +50587,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDropIndexes --help + source: atlas api performanceAdvisor listDropIndexes --help - label: Go lang: go source: | @@ -50584,7 +50668,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSchemaAdvice --help + source: atlas api performanceAdvisor listSchemaAdvice --help - label: Go lang: go source: | @@ -50708,7 +50792,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listClusterSuggestedIndexes --help + source: atlas api performanceAdvisor listClusterSuggestedIndexes --help - label: Go lang: go source: | @@ -50794,7 +50878,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getClusterAdvancedConfiguration --help + source: atlas api clusters getClusterAdvancedConfiguration --help - label: Go lang: go source: | @@ -50885,7 +50969,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateClusterAdvancedConfiguration --help + source: atlas api clusters updateClusterAdvancedConfiguration --help - label: Go lang: go source: | @@ -51015,7 +51099,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getGroupClusterQueryShapeInsightDetails --help + source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightDetails --help - label: Go lang: go source: | @@ -51203,7 +51287,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getGroupClusterQueryShapeInsightSummaries --help + source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightSummaries --help - label: Go lang: go source: | @@ -51280,7 +51364,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api testFailover --help + source: atlas api clusters testFailover --help - label: Go lang: go source: | @@ -51383,7 +51467,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacyBackupRestoreJobs --help + source: atlas api legacyBackup listLegacyBackupRestoreJobs --help - label: Go lang: go source: | @@ -51474,7 +51558,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createLegacyBackupRestoreJob --help + source: atlas api legacyBackup createLegacyBackupRestoreJob --help - label: Go lang: go source: | @@ -51576,7 +51660,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacyBackupRestoreJob --help + source: atlas api legacyBackup getLegacyBackupRestoreJob --help - label: Go lang: go source: | @@ -51657,7 +51741,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchDeployment --help + source: atlas api atlasSearch deleteAtlasSearchDeployment --help - label: Go lang: go source: | @@ -51737,7 +51821,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchDeployment --help + source: atlas api atlasSearch getAtlasSearchDeployment --help - label: Go lang: go source: | @@ -51831,7 +51915,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchDeployment --help + source: atlas api atlasSearch updateAtlasSearchDeployment --help - label: Go lang: go source: | @@ -51924,7 +52008,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchDeployment --help + source: atlas api atlasSearch createAtlasSearchDeployment --help - label: Go lang: go source: | @@ -52022,7 +52106,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexesCluster --help + source: atlas api atlasSearch listAtlasSearchIndexesCluster --help - label: Go lang: go source: | @@ -52114,7 +52198,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createAtlasSearchIndex --help + source: atlas api atlasSearch createAtlasSearchIndex --help - label: Go lang: go source: | @@ -52224,7 +52308,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasSearchIndexes --help + source: atlas api atlasSearch listAtlasSearchIndexes --help - label: Go lang: go source: | @@ -52324,7 +52408,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndexByName --help + source: atlas api atlasSearch deleteAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -52425,7 +52509,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndexByName --help + source: atlas api atlasSearch getAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -52538,7 +52622,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndexByName --help + source: atlas api atlasSearch updateAtlasSearchIndexByName --help - label: Go lang: go source: | @@ -52636,7 +52720,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteAtlasSearchIndex --help + source: atlas api atlasSearch deleteAtlasSearchIndex --help - label: Go lang: go source: | @@ -52734,7 +52818,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasSearchIndex --help + source: atlas api atlasSearch getAtlasSearchIndex --help - label: Go lang: go source: | @@ -52835,7 +52919,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateAtlasSearchIndex --help + source: atlas api atlasSearch updateAtlasSearchIndex --help - label: Go lang: go source: | @@ -52927,7 +53011,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacySnapshotSchedule --help + source: atlas api legacyBackup getLegacySnapshotSchedule --help - label: Go lang: go source: | @@ -53021,7 +53105,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateLegacySnapshotSchedule --help + source: atlas api legacyBackup updateLegacySnapshotSchedule --help - label: Go lang: go source: | @@ -53121,7 +53205,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listLegacySnapshots --help + source: atlas api legacyBackup listLegacySnapshots --help - label: Go lang: go source: | @@ -53211,7 +53295,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLegacySnapshot --help + source: atlas api legacyBackup deleteLegacySnapshot --help - label: Go lang: go source: | @@ -53302,7 +53386,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLegacySnapshot --help + source: atlas api legacyBackup getLegacySnapshot --help - label: Go lang: go source: | @@ -53398,7 +53482,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateLegacySnapshotRetention --help + source: atlas api legacyBackup updateLegacySnapshotRetention --help - label: Go lang: go source: | @@ -53483,7 +53567,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getClusterStatus --help + source: atlas api clusters getClusterStatus --help - label: Go lang: go source: | @@ -53572,7 +53656,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api grantMongoDbEmployeeAccess --help + source: atlas api clusters grantMongoDbEmployeeAccess --help - label: Go lang: go source: | @@ -53664,7 +53748,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pinFeatureCompatibilityVersion --help + source: atlas api clusters pinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -53749,7 +53833,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api revokeMongoDbEmployeeAccess --help + source: atlas api clusters revokeMongoDbEmployeeAccess --help - label: Go lang: go source: | @@ -53836,7 +53920,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api unpinFeatureCompatibilityVersion --help + source: atlas api clusters unpinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -53952,7 +54036,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getHostLogs --help + source: atlas api monitoringAndLogs getHostLogs --help - label: Go lang: go source: | @@ -54044,7 +54128,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCloudProviderRegions --help + source: atlas api clusters listCloudProviderRegions --help - label: Go lang: go source: | @@ -54132,7 +54216,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeSharedCluster --help + source: atlas api clusters upgradeSharedCluster --help - label: Go lang: go source: | @@ -54231,7 +54315,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeSharedClusterToServerless --help + source: atlas api clusters upgradeSharedClusterToServerless --help - label: Go lang: go source: | @@ -54310,7 +54394,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceMetrics --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceMetrics --help - label: Go lang: go source: | @@ -54398,7 +54482,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringContainerByCloudProvider --help + source: atlas api networkPeering listPeeringContainerByCloudProvider --help - label: Go lang: go source: | @@ -54480,7 +54564,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPeeringContainer --help + source: atlas api networkPeering createPeeringContainer --help - label: Go lang: go source: | @@ -54566,7 +54650,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePeeringContainer --help + source: atlas api networkPeering deletePeeringContainer --help - label: Go lang: go source: | @@ -54647,7 +54731,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPeeringContainer --help + source: atlas api networkPeering getPeeringContainer --help - label: Go lang: go source: | @@ -54737,7 +54821,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePeeringContainer --help + source: atlas api networkPeering updatePeeringContainer --help - label: Go lang: go source: | @@ -54816,7 +54900,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringContainers --help + source: atlas api networkPeering listPeeringContainers --help - label: Go lang: go source: | @@ -54895,7 +54979,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listCustomDatabaseRoles --help + source: atlas api customDatabaseRoles listCustomDatabaseRoles --help - label: Go lang: go source: | @@ -54977,7 +55061,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCustomDatabaseRole --help + source: atlas api customDatabaseRoles createCustomDatabaseRole --help - label: Go lang: go source: | @@ -55061,7 +55145,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteCustomDatabaseRole --help + source: atlas api customDatabaseRoles deleteCustomDatabaseRole --help - label: Go lang: go source: | @@ -55138,7 +55222,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCustomDatabaseRole --help + source: atlas api customDatabaseRoles getCustomDatabaseRole --help - label: Go lang: go source: | @@ -55226,7 +55310,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateCustomDatabaseRole --help + source: atlas api customDatabaseRoles updateCustomDatabaseRole --help - label: Go lang: go source: | @@ -55319,7 +55403,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFederatedDatabases --help + source: atlas api dataFederation listFederatedDatabases --help - label: Go lang: go source: | @@ -55405,7 +55489,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFederatedDatabase --help + source: atlas api dataFederation createFederatedDatabase --help - label: Go lang: go source: | @@ -55485,7 +55569,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFederatedDatabase --help + source: atlas api dataFederation deleteFederatedDatabase --help - label: Go lang: go source: | @@ -55566,7 +55650,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFederatedDatabase --help + source: atlas api dataFederation getFederatedDatabase --help - label: Go lang: go source: | @@ -55658,7 +55742,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateFederatedDatabase --help + source: atlas api dataFederation updateFederatedDatabase --help - label: Go lang: go source: | @@ -55748,7 +55832,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnFederatedDatabaseQueryLimits --help + source: atlas api dataFederation returnFederatedDatabaseQueryLimits --help - label: Go lang: go source: | @@ -55844,7 +55928,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOneDataFederationInstanceQueryLimit --help + source: atlas api dataFederation deleteOneDataFederationInstanceQueryLimit --help - label: Go lang: go source: | @@ -55942,7 +56026,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnFederatedDatabaseQueryLimit --help + source: atlas api dataFederation returnFederatedDatabaseQueryLimit --help - label: Go lang: go source: | @@ -56046,7 +56130,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOneDataFederationQueryLimit --help + source: atlas api dataFederation createOneDataFederationQueryLimit --help - label: Go lang: go source: | @@ -56151,7 +56235,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadFederatedDatabaseQueryLogs --help + source: atlas api dataFederation downloadFederatedDatabaseQueryLogs --help - label: Go lang: go source: | @@ -56231,7 +56315,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabaseUsers --help + source: atlas api databaseUsers listDatabaseUsers --help - label: Go lang: go source: | @@ -56407,7 +56491,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDatabaseUser --help + source: atlas api databaseUsers createDatabaseUser --help - label: Go lang: go source: | @@ -56511,7 +56595,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteDatabaseUser --help + source: atlas api databaseUsers deleteDatabaseUser --help - label: Go lang: go source: | @@ -56612,7 +56696,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabaseUser --help + source: atlas api databaseUsers getDatabaseUser --help - label: Go lang: go source: | @@ -56724,7 +56808,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateDatabaseUser --help + source: atlas api databaseUsers updateDatabaseUser --help - label: Go lang: go source: | @@ -56811,7 +56895,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabaseUserCertificates --help + source: atlas api x509Authentication listDatabaseUserCertificates --help - label: Go lang: go source: | @@ -56908,7 +56992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDatabaseUserCertificate --help + source: atlas api x509Authentication createDatabaseUserCertificate --help - label: Go lang: go source: | @@ -57030,7 +57114,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAccessLogsByClusterName --help + source: atlas api accessTracking listAccessLogsByClusterName --help - label: Go lang: go source: | @@ -57145,7 +57229,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAccessLogsByHostname --help + source: atlas api accessTracking listAccessLogsByHostname --help - label: Go lang: go source: | @@ -57223,7 +57307,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRest --help - label: Go lang: go source: | @@ -57317,7 +57401,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement updateEncryptionAtRest --help - label: Go lang: go source: | @@ -57405,7 +57489,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpointsForCloudProvider --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRestPrivateEndpointsForCloudProvider --help - label: Go lang: go source: | @@ -57492,7 +57576,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement createEncryptionAtRestPrivateEndpoint --help - label: Go lang: go source: | @@ -57582,7 +57666,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api requestEncryptionAtRestPrivateEndpointDeletion --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement requestEncryptionAtRestPrivateEndpointDeletion --help - label: Go lang: go source: | @@ -57674,7 +57758,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRestPrivateEndpoint --help - label: Go lang: go source: | @@ -57811,7 +57895,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectEvents --help + source: atlas api events listProjectEvents --help - label: Go lang: go source: | @@ -57904,7 +57988,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectEvent --help + source: atlas api events getProjectEvent --help - label: Go lang: go source: | @@ -57981,7 +58065,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexClusters --help + source: atlas api flexClusters listFlexClusters --help - label: Go lang: go source: | @@ -58065,7 +58149,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFlexCluster --help + source: atlas api flexClusters createFlexCluster --help - label: Go lang: go source: | @@ -58150,7 +58234,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteFlexCluster --help + source: atlas api flexClusters deleteFlexCluster --help - label: Go lang: go source: | @@ -58234,7 +58318,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexCluster --help + source: atlas api flexClusters getFlexCluster --help - label: Go lang: go source: | @@ -58323,7 +58407,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateFlexCluster --help + source: atlas api flexClusters updateFlexCluster --help - label: Go lang: go source: | @@ -58417,7 +58501,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadFlexBackup --help + source: atlas api flexSnapshots downloadFlexBackup --help - label: Go lang: go source: | @@ -58507,7 +58591,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexBackupRestoreJobs --help + source: atlas api flexRestoreJobs listFlexBackupRestoreJobs --help - label: Go lang: go source: | @@ -58596,7 +58680,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createFlexBackupRestoreJob --help + source: atlas api flexRestoreJobs createFlexBackupRestoreJob --help - label: Go lang: go source: | @@ -58688,7 +58772,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexBackupRestoreJob --help + source: atlas api flexRestoreJobs getFlexBackupRestoreJob --help - label: Go lang: go source: | @@ -58772,7 +58856,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listFlexBackups --help + source: atlas api flexSnapshots listFlexBackups --help - label: Go lang: go source: | @@ -58860,7 +58944,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFlexBackup --help + source: atlas api flexSnapshots getFlexBackup --help - label: Go lang: go source: | @@ -58945,7 +59029,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api upgradeFlexCluster --help + source: atlas api flexClusters upgradeFlexCluster --help - label: Go lang: go source: | @@ -59025,7 +59109,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listMetricTypes --help + source: atlas api monitoringAndLogs listMetricTypes --help - label: Go lang: go source: | @@ -59133,7 +59217,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getIndexMetrics --help + source: atlas api monitoringAndLogs getIndexMetrics --help - label: Go lang: go source: | @@ -59240,7 +59324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listIndexMetrics --help + source: atlas api monitoringAndLogs listIndexMetrics --help - label: Go lang: go source: | @@ -59344,7 +59428,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getMeasurements --help + source: atlas api monitoringAndLogs getMeasurements --help - label: Go lang: go source: | @@ -59421,7 +59505,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listThirdPartyIntegrations --help + source: atlas api thirdPartyIntegrations listThirdPartyIntegrations --help - label: Go lang: go source: | @@ -59511,7 +59595,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations deleteThirdPartyIntegration --help - label: Go lang: go source: | @@ -59604,7 +59688,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations getThirdPartyIntegration --help - label: Go lang: go source: | @@ -59707,7 +59791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations createThirdPartyIntegration --help - label: Go lang: go source: | @@ -59814,7 +59898,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateThirdPartyIntegration --help + source: atlas api thirdPartyIntegrations updateThirdPartyIntegration --help - label: Go lang: go source: | @@ -59905,7 +59989,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectInvitations --help + source: atlas api projects listProjectInvitations --help - label: Go lang: go source: | @@ -59987,7 +60071,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectInvitation --help + source: atlas api projects updateProjectInvitation --help - label: Go lang: go source: | @@ -60071,7 +60155,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectInvitation --help + source: atlas api projects createProjectInvitation --help - label: Go lang: go source: | @@ -60153,7 +60237,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectInvitation --help + source: atlas api projects deleteProjectInvitation --help - label: Go lang: go source: | @@ -60235,7 +60319,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectInvitation --help + source: atlas api projects getProjectInvitation --help - label: Go lang: go source: | @@ -60323,7 +60407,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectInvitationById --help + source: atlas api projects updateProjectInvitationById --help - label: Go lang: go source: | @@ -60402,7 +60486,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnAllIpAddresses --help + source: atlas api projects returnAllIpAddresses --help - label: Go lang: go source: | @@ -60486,7 +60570,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectLimits --help + source: atlas api projects listProjectLimits --help - label: Go lang: go source: | @@ -60538,7 +60622,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -60550,7 +60634,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -60569,7 +60652,6 @@ paths: - dataFederation.bytesProcessed.monthly - atlas.project.deployment.privateServiceConnectionsPerRegionGroup - atlas.project.deployment.privateServiceConnectionsSubnetMask - - atlas.project.deployment.salesSoldM0s type: string - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' @@ -60598,7 +60680,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectLimit --help + source: atlas api projects deleteProjectLimit --help - label: Go lang: go source: | @@ -60649,7 +60731,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -60661,7 +60743,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -60680,7 +60761,6 @@ paths: - dataFederation.bytesProcessed.monthly - atlas.project.deployment.privateServiceConnectionsPerRegionGroup - atlas.project.deployment.privateServiceConnectionsSubnetMask - - atlas.project.deployment.salesSoldM0s type: string - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' @@ -60713,7 +60793,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectLimit --help + source: atlas api projects getProjectLimit --help - label: Go lang: go source: | @@ -60767,7 +60847,7 @@ paths: | Limit Name | Description | Default | API Override Limit | | --- | --- | --- | --- | - | atlas.project.deployment.clusters | Limit on the number of clusters in this project if the org is not sales-sold (If org is sales-sold, the limit is 100) | 25 | 90 | + | atlas.project.deployment.clusters | Limit on the number of clusters in this project | 25 | 100 | | atlas.project.deployment.nodesPerPrivateLinkRegion | Limit on the number of nodes per Private Link region in this project | 50 | 90 | | atlas.project.security.databaseAccess.customRoles | Limit on the number of custom roles in this project | 100 | 1400 | | atlas.project.security.databaseAccess.users | Limit on the number of database users in this project | 100 | 900 | @@ -60779,7 +60859,6 @@ paths: | dataFederation.bytesProcessed.monthly | Limit on the number of bytes processed across all Data Federation tenants for the current month | N/A | N/A | | atlas.project.deployment.privateServiceConnectionsPerRegionGroup | Number of Private Service Connections per Region Group | 50 | 100| | atlas.project.deployment.privateServiceConnectionsSubnetMask | Subnet mask for GCP PSC Networks. Has lower limit of 20. | 27 | 27| - | atlas.project.deployment.salesSoldM0s | Limit on the number of M0 clusters in this project if the org is sales-sold | 100 | 100 | in: path name: limitName required: true @@ -60798,7 +60877,6 @@ paths: - dataFederation.bytesProcessed.monthly - atlas.project.deployment.privateServiceConnectionsPerRegionGroup - atlas.project.deployment.privateServiceConnectionsSubnetMask - - atlas.project.deployment.salesSoldM0s type: string - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' @@ -60836,7 +60914,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api setProjectLimit --help + source: atlas api projects setProjectLimit --help - label: Go lang: go source: | @@ -60935,7 +61013,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPushMigration --help + source: atlas api cloudMigrationService createPushMigration --help - label: Go lang: go source: | @@ -61012,7 +61090,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPushMigration --help + source: atlas api cloudMigrationService getPushMigration --help - label: Go lang: go source: | @@ -61085,7 +61163,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cutoverMigration --help + source: atlas api cloudMigrationService cutoverMigration --help - label: Go lang: go source: | @@ -61173,7 +61251,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api validateMigration --help + source: atlas api cloudMigrationService validateMigration --help - label: Go lang: go source: | @@ -61260,7 +61338,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getValidationStatus --help + source: atlas api cloudMigrationService getValidationStatus --help - label: Go lang: go source: | @@ -61334,7 +61412,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resetMaintenanceWindow --help + source: atlas api maintenanceWindows resetMaintenanceWindow --help - label: Go lang: go source: | @@ -61410,7 +61488,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getMaintenanceWindow --help + source: atlas api maintenanceWindows getMaintenanceWindow --help - label: Go lang: go source: | @@ -61487,7 +61565,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateMaintenanceWindow --help + source: atlas api maintenanceWindows updateMaintenanceWindow --help - label: Go lang: go source: | @@ -61562,7 +61640,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleMaintenanceAutoDefer --help + source: atlas api maintenanceWindows toggleMaintenanceAutoDefer --help - label: Go lang: go source: | @@ -61640,7 +61718,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deferMaintenanceWindow --help + source: atlas api maintenanceWindows deferMaintenanceWindow --help - label: Go lang: go source: | @@ -61722,7 +61800,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getManagedSlowMs --help + source: atlas api performanceAdvisor getManagedSlowMs --help - label: Go lang: go source: | @@ -61794,7 +61872,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableSlowOperationThresholding --help + source: atlas api performanceAdvisor disableSlowOperationThresholding --help - label: Go lang: go source: | @@ -61868,7 +61946,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api enableSlowOperationThresholding --help + source: atlas api performanceAdvisor enableSlowOperationThresholding --help - label: Go lang: go source: | @@ -61986,7 +62064,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectLtsVersions --help + source: atlas api projects getProjectLtsVersions --help - label: Go lang: go source: | @@ -62075,7 +62153,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPeeringConnections --help + source: atlas api networkPeering listPeeringConnections --help - label: Go lang: go source: | @@ -62160,7 +62238,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPeeringConnection --help + source: atlas api networkPeering createPeeringConnection --help - label: Go lang: go source: | @@ -62245,7 +62323,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePeeringConnection --help + source: atlas api networkPeering deletePeeringConnection --help - label: Go lang: go source: | @@ -62327,7 +62405,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPeeringConnection --help + source: atlas api networkPeering getPeeringConnection --help - label: Go lang: go source: | @@ -62416,7 +62494,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePeeringConnection --help + source: atlas api networkPeering updatePeeringConnection --help - label: Go lang: go source: | @@ -62502,7 +62580,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelines --help + source: atlas api dataLakePipelines listPipelines --help - label: Go lang: go source: | @@ -62586,7 +62664,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPipeline --help + source: atlas api dataLakePipelines createPipeline --help - label: Go lang: go source: | @@ -62668,7 +62746,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePipeline --help + source: atlas api dataLakePipelines deletePipeline --help - label: Go lang: go source: | @@ -62752,7 +62830,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPipeline --help + source: atlas api dataLakePipelines getPipeline --help - label: Go lang: go source: | @@ -62842,7 +62920,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePipeline --help + source: atlas api dataLakePipelines updatePipeline --help - label: Go lang: go source: | @@ -62936,7 +63014,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineSchedules --help + source: atlas api dataLakePipelines listPipelineSchedules --help - label: Go lang: go source: | @@ -63031,7 +63109,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineSnapshots --help + source: atlas api dataLakePipelines listPipelineSnapshots --help - label: Go lang: go source: | @@ -63114,7 +63192,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pausePipeline --help + source: atlas api dataLakePipelines pausePipeline --help - label: Go lang: go source: | @@ -63203,7 +63281,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resumePipeline --help + source: atlas api dataLakePipelines resumePipeline --help - label: Go lang: go source: | @@ -63303,7 +63381,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPipelineRuns --help + source: atlas api dataLakePipelines listPipelineRuns --help - label: Go lang: go source: | @@ -63394,7 +63472,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePipelineRunDataset --help + source: atlas api dataLakePipelines deletePipelineRunDataset --help - label: Go lang: go source: | @@ -63486,7 +63564,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPipelineRun --help + source: atlas api dataLakePipelines getPipelineRun --help - label: Go lang: go source: | @@ -63576,7 +63654,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api triggerSnapshotIngestion --help + source: atlas api dataLakePipelines triggerSnapshotIngestion --help - label: Go lang: go source: | @@ -63678,7 +63756,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPrivateEndpointServices --help + source: atlas api privateEndpointServices listPrivateEndpointServices --help - label: Go lang: go source: | @@ -63770,7 +63848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateEndpointService --help + source: atlas api privateEndpointServices deletePrivateEndpointService --help - label: Go lang: go source: | @@ -63865,7 +63943,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateEndpointService --help + source: atlas api privateEndpointServices getPrivateEndpointService --help - label: Go lang: go source: | @@ -63970,7 +64048,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateEndpoint --help + source: atlas api privateEndpointServices createPrivateEndpoint --help - label: Go lang: go source: | @@ -64073,7 +64151,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateEndpoint --help + source: atlas api privateEndpointServices deletePrivateEndpoint --help - label: Go lang: go source: | @@ -64175,7 +64253,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateEndpoint --help + source: atlas api privateEndpointServices getPrivateEndpoint --help - label: Go lang: go source: | @@ -64259,7 +64337,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateEndpointService --help + source: atlas api privateEndpointServices createPrivateEndpointService --help - label: Go lang: go source: | @@ -64335,7 +64413,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getRegionalizedPrivateEndpointSetting --help + source: atlas api privateEndpointServices getRegionalizedPrivateEndpointSetting --help - label: Go lang: go source: | @@ -64418,7 +64496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api toggleRegionalizedPrivateEndpointSetting --help + source: atlas api privateEndpointServices toggleRegionalizedPrivateEndpointSetting --help - label: Go lang: go source: | @@ -64516,7 +64594,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessPrivateEndpoints --help + source: atlas api serverlessPrivateEndpoints listServerlessPrivateEndpoints --help - label: Go lang: go source: | @@ -64610,7 +64688,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints createServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -64702,7 +64780,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints deleteServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -64793,7 +64871,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints getServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -64889,7 +64967,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServerlessPrivateEndpoint --help + source: atlas api serverlessPrivateEndpoints updateServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -64971,7 +65049,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api verifyConnectViaPeeringOnlyModeForOneProject --help + source: atlas api networkPeering verifyConnectViaPeeringOnlyModeForOneProject --help - label: Go lang: go source: | @@ -65058,7 +65136,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disablePeering --help + source: atlas api networkPeering disablePeering --help - label: Go lang: go source: | @@ -65142,7 +65220,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDataFederationPrivateEndpoints --help + source: atlas api dataFederation listDataFederationPrivateEndpoints --help - label: Go lang: go source: | @@ -65241,7 +65319,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createDataFederationPrivateEndpoint --help + source: atlas api dataFederation createDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -65322,7 +65400,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteDataFederationPrivateEndpoint --help + source: atlas api dataFederation deleteDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -65402,7 +65480,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDataFederationPrivateEndpoint --help + source: atlas api dataFederation getDataFederationPrivateEndpoint --help - label: Go lang: go source: | @@ -65477,7 +65555,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listAtlasProcesses --help + source: atlas api monitoringAndLogs listAtlasProcesses --help - label: Go lang: go source: | @@ -65559,7 +65637,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAtlasProcess --help + source: atlas api monitoringAndLogs getAtlasProcess --help - label: Go lang: go source: | @@ -65672,7 +65750,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespaceHostMeasurements --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespaceHostMeasurements --help - label: Go lang: go source: | @@ -65747,7 +65825,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCollStatsLatencyNamespacesForHost --help + source: atlas api collectionLevelMetrics getCollStatsLatencyNamespacesForHost --help - label: Go lang: go source: | @@ -65836,7 +65914,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDatabases --help + source: atlas api monitoringAndLogs listDatabases --help - label: Go lang: go source: | @@ -65924,7 +66002,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabase --help + source: atlas api monitoringAndLogs getDatabase --help - label: Go lang: go source: | @@ -66038,7 +66116,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDatabaseMeasurements --help + source: atlas api monitoringAndLogs getDatabaseMeasurements --help - label: Go lang: go source: | @@ -66121,7 +66199,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDiskPartitions --help + source: atlas api monitoringAndLogs listDiskPartitions --help - label: Go lang: go source: | @@ -66208,7 +66286,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listDiskMeasurements --help + source: atlas api monitoringAndLogs listDiskMeasurements --help - label: Go lang: go source: | @@ -66341,7 +66419,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getDiskMeasurements --help + source: atlas api monitoringAndLogs getDiskMeasurements --help - label: Go lang: go source: | @@ -66587,7 +66665,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getHostMeasurements --help + source: atlas api monitoringAndLogs getHostMeasurements --help - label: Go lang: go source: | @@ -66691,7 +66769,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSlowQueryNamespaces --help + source: atlas api performanceAdvisor listSlowQueryNamespaces --help - label: Go lang: go source: | @@ -66830,7 +66908,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSlowQueries --help + source: atlas api performanceAdvisor listSlowQueries --help - label: Go lang: go source: | @@ -66958,7 +67036,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSuggestedIndexes --help + source: atlas api performanceAdvisor listSuggestedIndexes --help - label: Go lang: go source: | @@ -67030,7 +67108,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePushBasedLogConfiguration --help + source: atlas api pushBasedLogExport deletePushBasedLogConfiguration --help - label: Go lang: go source: | @@ -67104,7 +67182,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPushBasedLogConfiguration --help + source: atlas api pushBasedLogExport getPushBasedLogConfiguration --help - label: Go lang: go source: | @@ -67186,7 +67264,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updatePushBasedLogConfiguration --help + source: atlas api pushBasedLogExport updatePushBasedLogConfiguration --help - label: Go lang: go source: | @@ -67269,7 +67347,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPushBasedLogConfiguration --help + source: atlas api pushBasedLogExport createPushBasedLogConfiguration --help - label: Go lang: go source: | @@ -67355,7 +67433,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api loadSampleDataset --help + source: atlas api clusters loadSampleDataset --help - label: Go lang: go source: | @@ -67442,7 +67520,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getSampleDatasetLoadStatus --help + source: atlas api clusters getSampleDatasetLoadStatus --help - label: Go lang: go source: | @@ -67525,7 +67603,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessInstances --help + source: atlas api serverlessInstances listServerlessInstances --help - label: Go lang: go source: | @@ -67615,7 +67693,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessInstance --help + source: atlas api serverlessInstances createServerlessInstance --help - label: Go lang: go source: | @@ -67709,7 +67787,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessBackupRestoreJobs --help + source: atlas api cloudBackups listServerlessBackupRestoreJobs --help - label: Go lang: go source: | @@ -67804,7 +67882,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServerlessBackupRestoreJob --help + source: atlas api cloudBackups createServerlessBackupRestoreJob --help - label: Go lang: go source: | @@ -67904,7 +67982,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessBackupRestoreJob --help + source: atlas api cloudBackups getServerlessBackupRestoreJob --help - label: Go lang: go source: | @@ -67994,7 +68072,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServerlessBackups --help + source: atlas api cloudBackups listServerlessBackups --help - label: Go lang: go source: | @@ -68090,7 +68168,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessBackup --help + source: atlas api cloudBackups getServerlessBackup --help - label: Go lang: go source: | @@ -68174,7 +68252,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessAutoIndexing --help + source: atlas api performanceAdvisor getServerlessAutoIndexing --help - label: Go lang: go source: | @@ -68263,7 +68341,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api setServerlessAutoIndexing --help + source: atlas api performanceAdvisor setServerlessAutoIndexing --help - label: Go lang: go source: | @@ -68359,7 +68437,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServerlessInstance --help + source: atlas api serverlessInstances deleteServerlessInstance --help - label: Go lang: go source: | @@ -68449,7 +68527,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServerlessInstance --help + source: atlas api serverlessInstances getServerlessInstance --help - label: Go lang: go source: | @@ -68544,7 +68622,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServerlessInstance --help + source: atlas api serverlessInstances updateServerlessInstance --help - label: Go lang: go source: | @@ -68622,7 +68700,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectServiceAccounts --help + source: atlas api serviceAccounts listProjectServiceAccounts --help - label: Go lang: go source: | @@ -68703,7 +68781,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccount --help + source: atlas api serviceAccounts createProjectServiceAccount --help - label: Go lang: go source: | @@ -68786,7 +68864,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccount --help + source: atlas api serviceAccounts deleteProjectServiceAccount --help - label: Go lang: go source: | @@ -68867,7 +68945,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectServiceAccount --help + source: atlas api serviceAccounts getProjectServiceAccount --help - label: Go lang: go source: | @@ -68955,7 +69033,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectServiceAccount --help + source: atlas api serviceAccounts updateProjectServiceAccount --help - label: Go lang: go source: | @@ -69042,7 +69120,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectServiceAccountAccessList --help + source: atlas api serviceAccounts listProjectServiceAccountAccessList --help - label: Go lang: go source: | @@ -69139,7 +69217,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccountAccessList --help + source: atlas api serviceAccounts createProjectServiceAccountAccessList --help - label: Go lang: go source: | @@ -69231,7 +69309,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteProjectServiceAccountAccessListEntry --help - label: Go lang: go source: | @@ -69320,7 +69398,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createProjectServiceAccountSecret --help + source: atlas api serviceAccounts createProjectServiceAccountSecret --help - label: Go lang: go source: | @@ -69408,7 +69486,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteProjectServiceAccountSecret --help + source: atlas api serviceAccounts deleteProjectServiceAccountSecret --help - label: Go lang: go source: | @@ -69496,7 +69574,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectServiceAccount --help + source: atlas api serviceAccounts addProjectServiceAccount --help - label: Go lang: go source: | @@ -69574,7 +69652,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectSettings --help + source: atlas api projects getProjectSettings --help - label: Go lang: go source: | @@ -69652,7 +69730,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectSettings --help + source: atlas api projects updateProjectSettings --help - label: Go lang: go source: | @@ -69730,7 +69808,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamInstances --help + source: atlas api streams listStreamInstances --help - label: Go lang: go source: | @@ -69812,7 +69890,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamInstance --help + source: atlas api streams createStreamInstance --help - label: Go lang: go source: | @@ -69894,7 +69972,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamInstance --help + source: atlas api streams deleteStreamInstance --help - label: Go lang: go source: | @@ -69981,7 +70059,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamInstance --help + source: atlas api streams getStreamInstance --help - label: Go lang: go source: | @@ -70069,7 +70147,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateStreamInstance --help + source: atlas api streams updateStreamInstance --help - label: Go lang: go source: | @@ -70174,7 +70252,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadStreamTenantAuditLogs --help + source: atlas api streams downloadStreamTenantAuditLogs --help - label: Go lang: go source: | @@ -70259,7 +70337,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamConnections --help + source: atlas api streams listStreamConnections --help - label: Go lang: go source: | @@ -70349,7 +70427,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamConnection --help + source: atlas api streams createStreamConnection --help - label: Go lang: go source: | @@ -70439,7 +70517,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamConnection --help + source: atlas api streams deleteStreamConnection --help - label: Go lang: go source: | @@ -70525,7 +70603,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamConnection --help + source: atlas api streams getStreamConnection --help - label: Go lang: go source: | @@ -70621,7 +70699,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateStreamConnection --help + source: atlas api streams updateStreamConnection --help - label: Go lang: go source: | @@ -70716,7 +70794,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamProcessor --help + source: atlas api streams createStreamProcessor --help - label: Go lang: go source: | @@ -70802,7 +70880,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteStreamProcessor --help + source: atlas api streams deleteStreamProcessor --help - label: Go lang: go source: | @@ -70889,7 +70967,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getStreamProcessor --help + source: atlas api streams getStreamProcessor --help - label: Go lang: go source: | @@ -70981,7 +71059,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api modifyStreamProcessor --help + source: atlas api streams modifyStreamProcessor --help - label: Go lang: go source: | @@ -71067,7 +71145,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startStreamProcessor --help + source: atlas api streams startStreamProcessor --help - label: Go lang: go source: | @@ -71160,7 +71238,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api startStreamProcessorWith --help + source: atlas api streams startStreamProcessorWith --help - label: Go lang: go source: | @@ -71246,7 +71324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api stopStreamProcessor --help + source: atlas api streams stopStreamProcessor --help - label: Go lang: go source: | @@ -71336,7 +71414,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listStreamProcessors --help + source: atlas api streams listStreamProcessors --help - label: Go lang: go source: | @@ -71419,7 +71497,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getAccountDetails --help + source: atlas api streams getAccountDetails --help - label: Go lang: go source: | @@ -71494,7 +71572,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getActiveVpcPeeringConnections --help + source: atlas api streams getActiveVpcPeeringConnections --help - label: Go lang: go source: | @@ -71568,7 +71646,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPrivateLinkConnections --help + source: atlas api streams listPrivateLinkConnections --help - label: Go lang: go source: | @@ -71652,7 +71730,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createPrivateLinkConnection --help + source: atlas api streams createPrivateLinkConnection --help - label: Go lang: go source: | @@ -71734,7 +71812,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deletePrivateLinkConnection --help + source: atlas api streams deletePrivateLinkConnection --help - label: Go lang: go source: | @@ -71812,7 +71890,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getPrivateLinkConnection --help + source: atlas api streams getPrivateLinkConnection --help - label: Go lang: go source: | @@ -71892,7 +71970,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getVpcPeeringConnections --help + source: atlas api streams getVpcPeeringConnections --help - label: Go lang: go source: | @@ -71967,7 +72045,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteVpcPeeringConnection --help + source: atlas api streams deleteVpcPeeringConnection --help - label: Go lang: go source: | @@ -72049,7 +72127,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api acceptVpcPeeringConnection --help + source: atlas api streams acceptVpcPeeringConnection --help - label: Go lang: go source: | @@ -72128,7 +72206,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api rejectVpcPeeringConnection --help + source: atlas api streams rejectVpcPeeringConnection --help - label: Go lang: go source: | @@ -72213,7 +72291,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createStreamInstanceWithSampleConnections --help + source: atlas api streams createStreamInstanceWithSampleConnections --help - label: Go lang: go source: | @@ -72294,7 +72372,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectTeams --help + source: atlas api teams listProjectTeams --help - label: Go lang: go source: | @@ -72379,7 +72457,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addAllTeamsToProject --help + source: atlas api teams addAllTeamsToProject --help - label: Go lang: go source: | @@ -72467,7 +72545,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectTeam --help + source: atlas api teams removeProjectTeam --help - label: Go lang: go source: | @@ -72552,7 +72630,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectTeam --help + source: atlas api teams getProjectTeam --help - label: Go lang: go source: | @@ -72644,7 +72722,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateTeamRoles --help + source: atlas api teams updateTeamRoles --help - label: Go lang: go source: | @@ -72723,7 +72801,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLdapConfiguration --help + source: atlas api ldapConfiguration getLdapConfiguration --help - label: Go lang: go source: | @@ -72806,7 +72884,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api saveLdapConfiguration --help + source: atlas api ldapConfiguration saveLdapConfiguration --help - label: Go lang: go source: | @@ -72884,7 +72962,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api disableCustomerManagedX509 --help + source: atlas api x509Authentication disableCustomerManagedX509 --help - label: Go lang: go source: | @@ -72959,7 +73037,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLdapConfiguration --help + source: atlas api ldapConfiguration deleteLdapConfiguration --help - label: Go lang: go source: | @@ -73040,7 +73118,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api verifyLdapConfiguration --help + source: atlas api ldapConfiguration verifyLdapConfiguration --help - label: Go lang: go source: | @@ -73125,7 +73203,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getLdapConfigurationStatus --help + source: atlas api ldapConfiguration getLdapConfigurationStatus --help - label: Go lang: go source: | @@ -73235,7 +73313,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listProjectUsers --help + source: atlas api mongoDbCloudUsers listProjectUsers --help - label: Go lang: go source: | @@ -73317,7 +73395,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectUser --help + source: atlas api mongoDbCloudUsers addProjectUser --help - label: Go lang: go source: | @@ -73413,7 +73491,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectUser --help + source: atlas api mongoDbCloudUsers removeProjectUser --help - label: Go lang: go source: | @@ -73501,7 +73579,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectUser --help + source: atlas api mongoDbCloudUsers getProjectUser --help - label: Go lang: go source: | @@ -73588,7 +73666,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateProjectRoles --help + source: atlas api projects updateProjectRoles --help - label: Go lang: go source: | @@ -73689,7 +73767,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addProjectRole --help + source: atlas api mongoDbCloudUsers addProjectRole --help - label: Go lang: go source: | @@ -73789,7 +73867,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeProjectRole --help + source: atlas api mongoDbCloudUsers removeProjectRole --help - label: Go lang: go source: | @@ -73871,7 +73949,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api migrateProjectToAnotherOrg --help + source: atlas api projects migrateProjectToAnotherOrg --help - label: Go lang: go source: | @@ -73958,7 +74036,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getProjectByName --help + source: atlas api projects getProjectByName --help - label: Go lang: go source: | @@ -74000,6 +74078,76 @@ paths: --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/byName/{groupName}?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getProjectByName + /api/atlas/v2/openapi/info: + get: + description: 'This resource returns general information about the MongoDB Atlas Administration API OpenAPI Specification. Deprecated versions: v2-{2024-05-30}' + operationId: getOpenApiInfo + parameters: + - $ref: '#/components/parameters/pretty' + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/OpenApiInfo' + x-xgen-version: "2024-08-05" + description: OK + "401": + $ref: '#/components/responses/unauthorized' + "403": + $ref: '#/components/responses/forbidden' + "500": + $ref: '#/components/responses/internalServerError' + summary: Return general information about the MongoDB Atlas Administration API OpenAPI Specification. + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi getOpenApiInfo --help + - label: Go + lang: go + source: | + import ( + "os" + "context" + "log" + sdk "go.mongodb.org/atlas-sdk/v20250312001/admin" + ) + + func main() { + ctx := context.Background() + clientID := os.Getenv("MONGODB_ATLAS_CLIENT_ID") + clientSecret := os.Getenv("MONGODB_ATLAS_CLIENT_SECRET") + + // See https://dochub.mongodb.org/core/atlas-go-sdk-oauth + client, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret)) + + if err != nil { + log.Fatalf("Error: %v", err) + } + + params = &sdk.GetOpenApiInfoApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + GetOpenApiInfoWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --header "Authorization: Bearer ${ACCESS_TOKEN}" \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/openapi/info?pretty=true" + - label: curl (Digest) + lang: cURL + source: |- + curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/openapi/info?pretty=true" + x-xgen-method-verb-override: + customMethod: "False" + verb: get /api/atlas/v2/orgs: get: description: Returns all organizations to which the requesting Service Account or API Key has access. To use this resource, the requesting Service Account or API Key must have the Organization Member role. @@ -74041,7 +74189,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizations --help + source: atlas api organizations listOrganizations --help - label: Go lang: go source: | @@ -74127,7 +74275,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganization --help + source: atlas api organizations createOrganization --help - label: Go lang: go source: | @@ -74211,7 +74359,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrganization --help + source: atlas api organizations deleteOrganization --help - label: Go lang: go source: | @@ -74288,7 +74436,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganization --help + source: atlas api organizations getOrganization --help - label: Go lang: go source: | @@ -74370,7 +74518,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganization --help + source: atlas api organizations updateOrganization --help - label: Go lang: go source: | @@ -74452,7 +74600,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listApiKeys --help + source: atlas api programmaticApiKeys listApiKeys --help - label: Go lang: go source: | @@ -74533,7 +74681,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createApiKey --help + source: atlas api programmaticApiKeys createApiKey --help - label: Go lang: go source: | @@ -74617,7 +74765,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteApiKey --help + source: atlas api programmaticApiKeys deleteApiKey --help - label: Go lang: go source: | @@ -74700,7 +74848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getApiKey --help + source: atlas api programmaticApiKeys getApiKey --help - label: Go lang: go source: | @@ -74790,7 +74938,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateApiKey --help + source: atlas api programmaticApiKeys updateApiKey --help - label: Go lang: go source: | @@ -74879,7 +75027,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listApiKeyAccessListsEntries --help + source: atlas api programmaticApiKeys listApiKeyAccessListsEntries --help - label: Go lang: go source: | @@ -74973,7 +75121,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createApiKeyAccessList --help + source: atlas api programmaticApiKeys createApiKeyAccessList --help - label: Go lang: go source: | @@ -75067,7 +75215,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys deleteApiKeyAccessListEntry --help - label: Go lang: go source: | @@ -75159,7 +75307,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getApiKeyAccessList --help + source: atlas api programmaticApiKeys getApiKeyAccessList --help - label: Go lang: go source: | @@ -75239,7 +75387,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createCostExplorerQueryProcess --help + source: atlas api invoices createCostExplorerQueryProcess --help - label: Go lang: go source: | @@ -75341,7 +75489,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getCostExplorerQueryProcess --help + source: atlas api invoices getCostExplorerQueryProcess --help - label: Go lang: go source: | @@ -75457,7 +75605,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationEvents --help + source: atlas api events listOrganizationEvents --help - label: Go lang: go source: | @@ -75550,7 +75698,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationEvent --help + source: atlas api events getOrganizationEvent --help - label: Go lang: go source: | @@ -75626,7 +75774,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getFederationSettings --help + source: atlas api federatedAuthentication getFederationSettings --help - label: Go lang: go source: | @@ -75720,7 +75868,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationProjects --help + source: atlas api organizations listOrganizationProjects --help - label: Go lang: go source: | @@ -75815,7 +75963,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationInvitations --help + source: atlas api organizations listOrganizationInvitations --help - label: Go lang: go source: | @@ -75903,7 +76051,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationInvitation --help + source: atlas api organizations updateOrganizationInvitation --help - label: Go lang: go source: | @@ -75995,7 +76143,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganizationInvitation --help + source: atlas api organizations createOrganizationInvitation --help - label: Go lang: go source: | @@ -76085,7 +76233,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrganizationInvitation --help + source: atlas api organizations deleteOrganizationInvitation --help - label: Go lang: go source: | @@ -76174,7 +76322,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationInvitation --help + source: atlas api organizations getOrganizationInvitation --help - label: Go lang: go source: | @@ -76269,7 +76417,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationInvitationById --help + source: atlas api organizations updateOrganizationInvitationById --help - label: Go lang: go source: | @@ -76409,7 +76557,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listInvoices --help + source: atlas api invoices listInvoices --help - label: Go lang: go source: | @@ -76503,7 +76651,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getInvoice --help + source: atlas api invoices getInvoice --help - label: Go lang: go source: | @@ -76591,7 +76739,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api downloadInvoiceCsv --help + source: atlas api invoices downloadInvoiceCsv --help - label: Go lang: go source: | @@ -76680,7 +76828,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryLineItemsFromSingleInvoice --help + source: atlas api invoices queryLineItemsFromSingleInvoice --help - label: Go lang: go source: | @@ -76752,7 +76900,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listPendingInvoices --help + source: atlas api invoices listPendingInvoices --help - label: Go lang: go source: | @@ -76830,7 +76978,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listSourceProjects --help + source: atlas api cloudMigrationService listSourceProjects --help - label: Go lang: go source: | @@ -76901,7 +77049,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteLinkToken --help + source: atlas api cloudMigrationService deleteLinkToken --help - label: Go lang: go source: | @@ -76981,7 +77129,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createLinkToken --help + source: atlas api cloudMigrationService createLinkToken --help - label: Go lang: go source: | @@ -77069,7 +77217,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getResourcesNonCompliant --help + source: atlas api resourcePolicies getResourcesNonCompliant --help - label: Go lang: go source: | @@ -77154,7 +77302,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrgResourcePolicies --help + source: atlas api resourcePolicies listOrgResourcePolicies --help - label: Go lang: go source: | @@ -77243,7 +77391,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrgResourcePolicy --help + source: atlas api resourcePolicies createOrgResourcePolicy --help - label: Go lang: go source: | @@ -77332,7 +77480,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteOrgResourcePolicy --help + source: atlas api resourcePolicies deleteOrgResourcePolicy --help - label: Go lang: go source: | @@ -77420,7 +77568,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrgResourcePolicy --help + source: atlas api resourcePolicies getOrgResourcePolicy --help - label: Go lang: go source: | @@ -77519,7 +77667,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrgResourcePolicy --help + source: atlas api resourcePolicies updateOrgResourcePolicy --help - label: Go lang: go source: | @@ -77613,7 +77761,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api validateAtlasResourcePolicy --help + source: atlas api resourcePolicies validateAtlasResourcePolicy --help - label: Go lang: go source: | @@ -77691,7 +77839,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccounts --help + source: atlas api serviceAccounts listServiceAccounts --help - label: Go lang: go source: | @@ -77771,7 +77919,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccount --help + source: atlas api serviceAccounts createServiceAccount --help - label: Go lang: go source: | @@ -77853,7 +78001,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccount --help + source: atlas api serviceAccounts deleteServiceAccount --help - label: Go lang: go source: | @@ -77934,7 +78082,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getServiceAccount --help + source: atlas api serviceAccounts getServiceAccount --help - label: Go lang: go source: | @@ -78022,7 +78170,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateServiceAccount --help + source: atlas api serviceAccounts updateServiceAccount --help - label: Go lang: go source: | @@ -78109,7 +78257,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccountAccessList --help + source: atlas api serviceAccounts listServiceAccountAccessList --help - label: Go lang: go source: | @@ -78206,7 +78354,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccountAccessList --help + source: atlas api serviceAccounts createServiceAccountAccessList --help - label: Go lang: go source: | @@ -78298,7 +78446,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteServiceAccountAccessListEntry --help - label: Go lang: go source: | @@ -78386,7 +78534,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listServiceAccountProjects --help + source: atlas api serviceAccounts listServiceAccountProjects --help - label: Go lang: go source: | @@ -78475,7 +78623,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createServiceAccountSecret --help + source: atlas api serviceAccounts createServiceAccountSecret --help - label: Go lang: go source: | @@ -78563,7 +78711,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteServiceAccountSecret --help + source: atlas api serviceAccounts deleteServiceAccountSecret --help - label: Go lang: go source: | @@ -78637,7 +78785,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationSettings --help + source: atlas api organizations getOrganizationSettings --help - label: Go lang: go source: | @@ -78719,7 +78867,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationSettings --help + source: atlas api organizations updateOrganizationSettings --help - label: Go lang: go source: | @@ -78803,7 +78951,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationTeams --help + source: atlas api teams listOrganizationTeams --help - label: Go lang: go source: | @@ -78888,7 +79036,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createTeam --help + source: atlas api teams createTeam --help - label: Go lang: go source: | @@ -78974,7 +79122,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api deleteTeam --help + source: atlas api teams deleteTeam --help - label: Go lang: go source: | @@ -79057,7 +79205,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getTeamById --help + source: atlas api teams getTeamById --help - label: Go lang: go source: | @@ -79149,7 +79297,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api renameTeam --help + source: atlas api teams renameTeam --help - label: Go lang: go source: | @@ -79267,7 +79415,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listTeamUsers --help + source: atlas api mongoDbCloudUsers listTeamUsers --help - label: Go lang: go source: | @@ -79365,7 +79513,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addTeamUser --help + source: atlas api teams addTeamUser --help - label: Go lang: go source: | @@ -79466,7 +79614,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeTeamUser --help + source: atlas api teams removeTeamUser --help - label: Go lang: go source: | @@ -79564,7 +79712,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addUserToTeam --help + source: atlas api mongoDbCloudUsers addUserToTeam --help - label: Go lang: go source: | @@ -79662,7 +79810,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeUserFromTeam --help + source: atlas api mongoDbCloudUsers removeUserFromTeam --help - label: Go lang: go source: | @@ -79749,7 +79897,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getTeamByName --help + source: atlas api teams getTeamByName --help - label: Go lang: go source: | @@ -79846,7 +79994,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api listOrganizationUsers --help + source: atlas api mongoDbCloudUsers listOrganizationUsers --help - label: Go lang: go source: | @@ -79931,7 +80079,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createOrganizationUser --help + source: atlas api mongoDbCloudUsers createOrganizationUser --help - label: Go lang: go source: | @@ -80024,7 +80172,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeOrganizationUser --help + source: atlas api mongoDbCloudUsers removeOrganizationUser --help - label: Go lang: go source: | @@ -80112,7 +80260,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getOrganizationUser --help + source: atlas api mongoDbCloudUsers getOrganizationUser --help - label: Go lang: go source: | @@ -80207,7 +80355,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationUser --help + source: atlas api mongoDbCloudUsers updateOrganizationUser --help - label: Go lang: go source: | @@ -80298,7 +80446,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api updateOrganizationRoles --help + source: atlas api organizations updateOrganizationRoles --help - label: Go lang: go source: | @@ -80401,7 +80549,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api addOrganizationRole --help + source: atlas api mongoDbCloudUsers addOrganizationRole --help - label: Go lang: go source: | @@ -80501,7 +80649,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api removeOrganizationRole --help + source: atlas api mongoDbCloudUsers removeOrganizationRole --help - label: Go lang: go source: | @@ -80574,7 +80722,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api returnAllControlPlaneIpAddresses --help + source: atlas api root returnAllControlPlaneIpAddresses --help - label: Go lang: go source: | @@ -80616,6 +80764,86 @@ paths: --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/controlPlaneIPAddresses?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Root/operation/returnAllControlPlaneIpAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: getApiVersions + parameters: + - $ref: '#/components/parameters/envelope' + - $ref: '#/components/parameters/itemsPerPage' + - $ref: '#/components/parameters/pageNum' + - $ref: '#/components/parameters/pretty' + - description: The environment to get the versions from. If not provided, it returnsthe versions for the given MongoDB URL. (E.g. prod for cloud.mongodb.com). + in: query + name: env + schema: + enum: + - dev + - qa + - prod + - stage + type: string + responses: + "200": + content: + application/vnd.atlas.2024-08-05+json: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + application/vnd.atlas.2024-08-05+yaml: + schema: + $ref: '#/components/schemas/PaginatedApiVersions' + x-xgen-version: "2024-08-05" + description: OK + "500": + $ref: '#/components/responses/internalServerError' + summary: Provides a list of versions for a given environment. + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi getApiVersions --help + - label: Go + lang: go + source: | + import ( + "os" + "context" + "log" + sdk "go.mongodb.org/atlas-sdk/v20250312001/admin" + ) + + func main() { + ctx := context.Background() + clientID := os.Getenv("MONGODB_ATLAS_CLIENT_ID") + clientSecret := os.Getenv("MONGODB_ATLAS_CLIENT_SECRET") + + // See https://dochub.mongodb.org/core/atlas-go-sdk-oauth + client, err := sdk.NewClient(sdk.UseOAuthAuth(clientID, clientSecret)) + + if err != nil { + log.Fatalf("Error: %v", err) + } + + params = &sdk.GetApiVersionsApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + GetApiVersionsWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --header "Authorization: Bearer ${ACCESS_TOKEN}" \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/openapi/versions?pretty=true" + - label: curl (Digest) + lang: cURL + source: |- + curl --user "${PUBLIC_KEY}:${PRIVATE_KEY}" \ + --digest \ + --header "Accept: application/vnd.atlas.2025-03-12+json" \ + -X GET "https://cloud.mongodb.com/api/atlas/v2/unauth/openapi/versions?pretty=true" /api/atlas/v2/users: post: deprecated: true @@ -80658,7 +80886,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api createUser --help + source: atlas api mongoDbCloudUsers createUser --help - label: Go lang: go source: | @@ -80747,7 +80975,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getUser --help + source: atlas api mongoDbCloudUsers getUser --help - label: Go lang: go source: | @@ -80829,7 +81057,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api getUserByUsername --help + source: atlas api mongoDbCloudUsers getUserByUsername --help - label: Go lang: go source: | @@ -80947,6 +81175,8 @@ tags: name: Network Peering - description: Returns, adds, edits, or removes an online archive. name: Online Archive + - description: Returns information about the MongoDB Atlas Specification. + name: OpenAPI - description: Returns, adds, and edits organizational units in MongoDB Cloud. name: Organizations - description: Returns suggested indexes and slow query data for a database deployment. Also enables or disables MongoDB Cloud-managed slow operation thresholds. To view field values in a sample query, you must have the Project Data Access Read Only role or higher. Otherwise, MongoDB Cloud returns redacted data rather than the field values. diff --git a/test/example_client_test.go b/test/example_client_test.go index 2ea963cc7..917271429 100644 --- a/test/example_client_test.go +++ b/test/example_client_test.go @@ -3,7 +3,7 @@ package test import ( "fmt" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) func ExampleNewClient() { diff --git a/test/utils_test.go b/test/utils_test.go index 4b78d1221..b82641136 100644 --- a/test/utils_test.go +++ b/test/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) type testCase[T comparable] struct { diff --git a/tools/config/go-templates/api_doc.mustache b/tools/config/go-templates/api_doc.mustache index 40694fc11..320722f45 100644 --- a/tools/config/go-templates/api_doc.mustache +++ b/tools/config/go-templates/api_doc.mustache @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20250312006/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) func main() { diff --git a/tools/config/go-templates/atlas_client.mustache b/tools/config/go-templates/atlas_client.mustache index a51c3eeea..1c1b2af41 100644 --- a/tools/config/go-templates/atlas_client.mustache +++ b/tools/config/go-templates/atlas_client.mustache @@ -1,4 +1,4 @@ -{{! X-XGEN-CUSTOM }}package {{packageName}} // import "go.mongodb.org/atlas-sdk/v20250312006/admin" +{{! X-XGEN-CUSTOM }}package {{packageName}} // import "github.com/mongodb/atlas-sdk-go/admin" import ( "errors" @@ -6,9 +6,9 @@ import ( "strings" "github.com/mongodb-forks/digest" - "go.mongodb.org/atlas-sdk/v20250312006/auth" - "go.mongodb.org/atlas-sdk/v20250312006/auth/clientcredentials" - "go.mongodb.org/atlas-sdk/v20250312006/internal/core" + "github.com/mongodb/atlas-sdk-go/auth" + "github.com/mongodb/atlas-sdk-go/auth/clientcredentials" + "github.com/mongodb/atlas-sdk-go/internal/core" ) const (