diff --git a/.mockery.yaml b/.mockery.yaml index fc8d2a778..02cb53dca 100644 --- a/.mockery.yaml +++ b/.mockery.yaml @@ -6,6 +6,6 @@ filename: "{{ .InterfaceName | snakecase }}.go" mockname: "{{.InterfaceName}}" packages: - go.mongodb.org/atlas-sdk/v20250312008/admin: + github.com/mongodb/atlas-sdk-go/admin: config: include-regex: ".*Api" diff --git a/admin/api_clusters.go b/admin/api_clusters.go index 16529cd9d..d7d6408e0 100644 --- a/admin/api_clusters.go +++ b/admin/api_clusters.go @@ -649,11 +649,13 @@ type CreateClusterApiRequest struct { ApiService ClustersApi groupId string clusterDescription20240805 *ClusterDescription20240805 + useEffectiveInstanceFields *bool } type CreateClusterApiParams struct { GroupId string ClusterDescription20240805 *ClusterDescription20240805 + UseEffectiveInstanceFields *bool } func (a *ClustersApiService) CreateClusterWithParams(ctx context.Context, args *CreateClusterApiParams) CreateClusterApiRequest { @@ -662,9 +664,16 @@ func (a *ClustersApiService) CreateClusterWithParams(ctx context.Context, args * ctx: ctx, groupId: args.GroupId, clusterDescription20240805: args.ClusterDescription20240805, + useEffectiveInstanceFields: args.UseEffectiveInstanceFields, } } +// Controls how hardware specification fields are returned in the response after cluster creation. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. +func (r CreateClusterApiRequest) UseEffectiveInstanceFields(useEffectiveInstanceFields bool) CreateClusterApiRequest { + r.useEffectiveInstanceFields = &useEffectiveInstanceFields + return r +} + func (r CreateClusterApiRequest) Execute() (*ClusterDescription20240805, *http.Response, error) { return r.ApiService.CreateClusterExecute(r) } @@ -735,6 +744,9 @@ func (a *ClustersApiService) CreateClusterExecute(r CreateClusterApiRequest) (*C if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + if r.useEffectiveInstanceFields != nil { + parameterAddToHeaderOrQuery(localVarHeaderParams, "Use-Effective-Instance-Fields", r.useEffectiveInstanceFields, "") + } // body params localVarPostBody = r.clusterDescription20240805 req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) @@ -890,26 +902,35 @@ func (a *ClustersApiService) DeleteClusterExecute(r DeleteClusterApiRequest) (*h } type GetClusterApiRequest struct { - ctx context.Context - ApiService ClustersApi - groupId string - clusterName string + ctx context.Context + ApiService ClustersApi + groupId string + clusterName string + useEffectiveInstanceFields *bool } type GetClusterApiParams struct { - GroupId string - ClusterName string + GroupId string + ClusterName string + UseEffectiveInstanceFields *bool } func (a *ClustersApiService) GetClusterWithParams(ctx context.Context, args *GetClusterApiParams) GetClusterApiRequest { return GetClusterApiRequest{ - ApiService: a, - ctx: ctx, - groupId: args.GroupId, - clusterName: args.ClusterName, + ApiService: a, + ctx: ctx, + groupId: args.GroupId, + clusterName: args.ClusterName, + useEffectiveInstanceFields: args.UseEffectiveInstanceFields, } } +// Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. +func (r GetClusterApiRequest) UseEffectiveInstanceFields(useEffectiveInstanceFields bool) GetClusterApiRequest { + r.useEffectiveInstanceFields = &useEffectiveInstanceFields + return r +} + func (r GetClusterApiRequest) Execute() (*ClusterDescription20240805, *http.Response, error) { return r.ApiService.GetClusterExecute(r) } @@ -982,6 +1003,9 @@ func (a *ClustersApiService) GetClusterExecute(r GetClusterApiRequest) (*Cluster if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + if r.useEffectiveInstanceFields != nil { + parameterAddToHeaderOrQuery(localVarHeaderParams, "Use-Effective-Instance-Fields", r.useEffectiveInstanceFields, "") + } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -1849,6 +1873,7 @@ type ListClustersApiRequest struct { itemsPerPage *int pageNum *int includeDeletedWithRetainedBackups *bool + useEffectiveInstanceFields *bool } type ListClustersApiParams struct { @@ -1857,6 +1882,7 @@ type ListClustersApiParams struct { ItemsPerPage *int PageNum *int IncludeDeletedWithRetainedBackups *bool + UseEffectiveInstanceFields *bool } func (a *ClustersApiService) ListClustersWithParams(ctx context.Context, args *ListClustersApiParams) ListClustersApiRequest { @@ -1868,6 +1894,7 @@ func (a *ClustersApiService) ListClustersWithParams(ctx context.Context, args *L itemsPerPage: args.ItemsPerPage, pageNum: args.PageNum, includeDeletedWithRetainedBackups: args.IncludeDeletedWithRetainedBackups, + useEffectiveInstanceFields: args.UseEffectiveInstanceFields, } } @@ -1895,6 +1922,12 @@ func (r ListClustersApiRequest) IncludeDeletedWithRetainedBackups(includeDeleted return r } +// Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. +func (r ListClustersApiRequest) UseEffectiveInstanceFields(useEffectiveInstanceFields bool) ListClustersApiRequest { + r.useEffectiveInstanceFields = &useEffectiveInstanceFields + return r +} + func (r ListClustersApiRequest) Execute() (*PaginatedClusterDescription20240805, *http.Response, error) { return r.ApiService.ListClustersExecute(r) } @@ -1989,6 +2022,9 @@ func (a *ClustersApiService) ListClustersExecute(r ListClustersApiRequest) (*Pag if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + if r.useEffectiveInstanceFields != nil { + parameterAddToHeaderOrQuery(localVarHeaderParams, "Use-Effective-Instance-Fields", r.useEffectiveInstanceFields, "") + } req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) if err != nil { return localVarReturnValue, nil, err @@ -2580,12 +2616,14 @@ type UpdateClusterApiRequest struct { groupId string clusterName string clusterDescription20240805 *ClusterDescription20240805 + useEffectiveInstanceFields *bool } type UpdateClusterApiParams struct { GroupId string ClusterName string ClusterDescription20240805 *ClusterDescription20240805 + UseEffectiveInstanceFields *bool } func (a *ClustersApiService) UpdateClusterWithParams(ctx context.Context, args *UpdateClusterApiParams) UpdateClusterApiRequest { @@ -2595,9 +2633,16 @@ func (a *ClustersApiService) UpdateClusterWithParams(ctx context.Context, args * groupId: args.GroupId, clusterName: args.ClusterName, clusterDescription20240805: args.ClusterDescription20240805, + useEffectiveInstanceFields: args.UseEffectiveInstanceFields, } } +// Controls how hardware specification fields are returned in the response after cluster updates. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Note: When using this header with autoscaling enabled, MongoDB ignores replicationSpecs changes during updates. To intentionally override the replicationSpecs, disable this header. +func (r UpdateClusterApiRequest) UseEffectiveInstanceFields(useEffectiveInstanceFields bool) UpdateClusterApiRequest { + r.useEffectiveInstanceFields = &useEffectiveInstanceFields + return r +} + func (r UpdateClusterApiRequest) Execute() (*ClusterDescription20240805, *http.Response, error) { return r.ApiService.UpdateClusterExecute(r) } @@ -2672,6 +2717,9 @@ func (a *ClustersApiService) UpdateClusterExecute(r UpdateClusterApiRequest) (*C if localVarHTTPHeaderAccept != "" { localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept } + if r.useEffectiveInstanceFields != nil { + parameterAddToHeaderOrQuery(localVarHeaderParams, "Use-Effective-Instance-Fields", r.useEffectiveInstanceFields, "") + } // body params localVarPostBody = r.clusterDescription20240805 req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, formFiles) diff --git a/admin/api_open_api.go b/admin/api_open_api.go new file mode 100644 index 000000000..941a9da2a --- /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 { + + /* + GetOpenapiInfo Return General Information on 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 on 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) + + /* + ListOpenapiVersions Return All Versions for One 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 ListOpenapiVersionsApiRequest + */ + ListOpenapiVersions(ctx context.Context) ListOpenapiVersionsApiRequest + /* + ListOpenapiVersions Return All Versions for One Environment + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ListOpenapiVersionsApiParams - Parameters for the request + @return ListOpenapiVersionsApiRequest + */ + ListOpenapiVersionsWithParams(ctx context.Context, args *ListOpenapiVersionsApiParams) ListOpenapiVersionsApiRequest + + // Method available only for mocking purposes + ListOpenapiVersionsExecute(r ListOpenapiVersionsApiRequest) (*PaginatedApiVersions, *http.Response, error) +} + +// OpenAPIApiService OpenAPIApi service +type OpenAPIApiService service + +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 on 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 +} + +type ListOpenapiVersionsApiRequest struct { + ctx context.Context + ApiService OpenAPIApi + itemsPerPage *int + pageNum *int + env *string +} + +type ListOpenapiVersionsApiParams struct { + ItemsPerPage *int + PageNum *int + Env *string +} + +func (a *OpenAPIApiService) ListOpenapiVersionsWithParams(ctx context.Context, args *ListOpenapiVersionsApiParams) ListOpenapiVersionsApiRequest { + return ListOpenapiVersionsApiRequest{ + ApiService: a, + ctx: ctx, + itemsPerPage: args.ItemsPerPage, + pageNum: args.PageNum, + env: args.Env, + } +} + +// Number of items that the response returns per page. +func (r ListOpenapiVersionsApiRequest) ItemsPerPage(itemsPerPage int) ListOpenapiVersionsApiRequest { + r.itemsPerPage = &itemsPerPage + return r +} + +// Number of the page that displays the current set of the total objects that the response returns. +func (r ListOpenapiVersionsApiRequest) PageNum(pageNum int) ListOpenapiVersionsApiRequest { + 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 ListOpenapiVersionsApiRequest) Env(env string) ListOpenapiVersionsApiRequest { + r.env = &env + return r +} + +func (r ListOpenapiVersionsApiRequest) Execute() (*PaginatedApiVersions, *http.Response, error) { + return r.ApiService.ListOpenapiVersionsExecute(r) +} + +/* +ListOpenapiVersions Return All Versions for One 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 ListOpenapiVersionsApiRequest +*/ +func (a *OpenAPIApiService) ListOpenapiVersions(ctx context.Context) ListOpenapiVersionsApiRequest { + return ListOpenapiVersionsApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// ListOpenapiVersionsExecute executes the request +// +// @return PaginatedApiVersions +func (a *OpenAPIApiService) ListOpenapiVersionsExecute(r ListOpenapiVersionsApiRequest) (*PaginatedApiVersions, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody any + formFiles []formFile + localVarReturnValue *PaginatedApiVersions + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "OpenAPIApiService.ListOpenapiVersions") + 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 +} diff --git a/admin/api_projects.go b/admin/api_projects.go index 8f651a363..52a9c3c95 100644 --- a/admin/api_projects.go +++ b/admin/api_projects.go @@ -117,7 +117,7 @@ type ProjectsApi interface { /* DeleteGroupInvite Remove One Invitation from One Project - Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Note: deleting a project invitation does not delete an organization invitation even if they were created together. @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. @@ -1099,7 +1099,7 @@ func (r DeleteGroupInviteApiRequest) Execute() (*http.Response, error) { /* DeleteGroupInvite Remove One Invitation from One Project -Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. +Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Note: deleting a project invitation does not delete an organization invitation even if they were created together. @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_streams.go b/admin/api_streams.go index 9b345022f..67990d18e 100644 --- a/admin/api_streams.go +++ b/admin/api_streams.go @@ -64,12 +64,12 @@ type StreamsApi interface { /* CreateStreamConnection Create One Stream Connection - Creates one connection for a stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. + Creates one connection for a stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param streamsConnection Details to create one connection for a streams instance in the specified project. + @param tenantName Label that identifies the stream workspace. + @param streamsConnection Details to create one connection for a streams workspace in the specified project. @return CreateStreamConnectionApiRequest */ CreateStreamConnection(ctx context.Context, groupId string, tenantName string, streamsConnection *StreamsConnection) CreateStreamConnectionApiRequest @@ -89,11 +89,11 @@ type StreamsApi interface { /* CreateStreamProcessor Create One Stream Processor - Create one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Create one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @param streamsProcessor Details to create an Atlas Streams Processor. @return CreateStreamProcessorApiRequest */ @@ -112,18 +112,18 @@ type StreamsApi interface { CreateStreamProcessorExecute(r CreateStreamProcessorApiRequest) (*StreamsProcessor, *http.Response, error) /* - CreateStreamWorkspace Create One Stream Instance + CreateStreamWorkspace Create One Stream Workspace - Creates one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + Creates one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param streamsTenant Details to create one streams instance in the specified project. + @param streamsTenant Details to create one streams workspace in the specified project. @return CreateStreamWorkspaceApiRequest */ CreateStreamWorkspace(ctx context.Context, groupId string, streamsTenant *StreamsTenant) CreateStreamWorkspaceApiRequest /* - CreateStreamWorkspace Create One Stream Instance + CreateStreamWorkspace Create One Stream Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -162,12 +162,12 @@ type StreamsApi interface { /* DeleteStreamConnection Delete One Stream Connection - Delete one connection of the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Delete one connection of the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param connectionName Human-readable label that identifies the stream connection. + @param tenantName Label that identifies the stream workspace. + @param connectionName Label that identifies the stream connection. @return DeleteStreamConnectionApiRequest */ DeleteStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string) DeleteStreamConnectionApiRequest @@ -187,12 +187,12 @@ type StreamsApi interface { /* DeleteStreamProcessor Delete One Stream Processor - Delete a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Delete a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return DeleteStreamProcessorApiRequest */ DeleteStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) DeleteStreamProcessorApiRequest @@ -210,18 +210,18 @@ type StreamsApi interface { DeleteStreamProcessorExecute(r DeleteStreamProcessorApiRequest) (*http.Response, error) /* - DeleteStreamWorkspace Delete One Stream Instance + DeleteStreamWorkspace Delete One Stream Workspace - Delete one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + Delete one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to delete. + @param tenantName Label that identifies the stream workspace to delete. @return DeleteStreamWorkspaceApiRequest */ DeleteStreamWorkspace(ctx context.Context, groupId string, tenantName string) DeleteStreamWorkspaceApiRequest /* - DeleteStreamWorkspace Delete One Stream Instance + DeleteStreamWorkspace Delete One Stream Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -258,18 +258,18 @@ type StreamsApi interface { DeleteVpcPeeringConnectionExecute(r DeleteVpcPeeringConnectionApiRequest) (*http.Response, error) /* - DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Instance + DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Workspace - Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip". + Downloads the audit logs for the specified Atlas Streams Processing workspace. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip". @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return DownloadAuditLogsApiRequest */ DownloadAuditLogs(ctx context.Context, groupId string, tenantName string) DownloadAuditLogsApiRequest /* - DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Instance + DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -331,12 +331,12 @@ type StreamsApi interface { /* GetStreamConnection Return One Stream Connection - Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. + Returns the details of one stream connection within the specified stream workspace. 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 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 tenantName Human-readable label that identifies the stream instance to return. - @param connectionName Human-readable label that identifies the stream connection to return. + @param tenantName Label that identifies the stream workspace to return. + @param connectionName Label that identifies the stream connection to return. @return GetStreamConnectionApiRequest */ GetStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string) GetStreamConnectionApiRequest @@ -356,12 +356,12 @@ type StreamsApi interface { /* GetStreamProcessor Return One Stream Processor - Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Get one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return GetStreamProcessorApiRequest */ GetStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) GetStreamProcessorApiRequest @@ -379,18 +379,18 @@ type StreamsApi interface { GetStreamProcessorExecute(r GetStreamProcessorApiRequest) (*StreamsProcessorWithStats, *http.Response, error) /* - GetStreamProcessors Return All Stream Processors in One Stream Instance + GetStreamProcessors Return All Stream Processors in One Stream Workspace - Returns all Stream Processors within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Returns all Stream Processors within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return GetStreamProcessorsApiRequest */ GetStreamProcessors(ctx context.Context, groupId string, tenantName string) GetStreamProcessorsApiRequest /* - GetStreamProcessors Return All Stream Processors in One Stream Instance + GetStreamProcessors Return All Stream Processors in One Stream Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -403,18 +403,18 @@ type StreamsApi interface { GetStreamProcessorsExecute(r GetStreamProcessorsApiRequest) (*PaginatedApiStreamsStreamProcessorWithStats, *http.Response, error) /* - GetStreamWorkspace Return One Stream Instance + GetStreamWorkspace Return One Stream Workspace - Returns the details of one stream instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + Returns the details of one stream workspace within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to return. + @param tenantName Label that identifies the stream workspace to return. @return GetStreamWorkspaceApiRequest */ GetStreamWorkspace(ctx context.Context, groupId string, tenantName string) GetStreamWorkspaceApiRequest /* - GetStreamWorkspace Return One Stream Instance + GetStreamWorkspace Return One Stream Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -473,18 +473,18 @@ type StreamsApi interface { ListPrivateLinkConnectionsExecute(r ListPrivateLinkConnectionsApiRequest) (*PaginatedApiStreamsPrivateLink, *http.Response, error) /* - ListStreamConnections Return All Connections of the Stream Instances + ListStreamConnections Return All Connections of the Stream Workspaces - Returns all connections of the stream instance for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + Returns all connections of the stream workspace for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return ListStreamConnectionsApiRequest */ ListStreamConnections(ctx context.Context, groupId string, tenantName string) ListStreamConnectionsApiRequest /* - ListStreamConnections Return All Connections of the Stream Instances + ListStreamConnections Return All Connections of the Stream Workspaces @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -497,9 +497,9 @@ type StreamsApi interface { ListStreamConnectionsExecute(r ListStreamConnectionsApiRequest) (*PaginatedApiStreamsConnection, *http.Response, error) /* - ListStreamWorkspaces Return All Stream Instances in One Project + ListStreamWorkspaces Return All Stream Workspaces in One Project - Returns all stream instances for the specified project. + Returns all stream workspaces for the specified project. @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. @@ -507,7 +507,7 @@ type StreamsApi interface { */ ListStreamWorkspaces(ctx context.Context, groupId string) ListStreamWorkspacesApiRequest /* - ListStreamWorkspaces Return All Stream Instances in One Project + ListStreamWorkspaces Return All Stream Workspaces in One Project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -569,12 +569,12 @@ type StreamsApi interface { /* StartStreamProcessor Start One Stream Processor - Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return StartStreamProcessorApiRequest */ StartStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) StartStreamProcessorApiRequest @@ -594,12 +594,12 @@ type StreamsApi interface { /* StartStreamProcessorWith Start One Stream Processor With Options - Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @param streamsStartStreamProcessorWith Options for starting a stream processor. @return StartStreamProcessorWithApiRequest */ @@ -620,12 +620,12 @@ type StreamsApi interface { /* StopStreamProcessor Stop One Stream Processor - Stop a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Stop a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return StopStreamProcessorApiRequest */ StopStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) StopStreamProcessorApiRequest @@ -645,13 +645,13 @@ type StreamsApi interface { /* UpdateStreamConnection Update One Stream Connection - Update one connection for the specified stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Update one connection for the specified stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param connectionName Human-readable label that identifies the stream connection. - @param streamsConnection Details to update one connection for a streams instance in the specified project. + @param tenantName Label that identifies the stream workspace. + @param connectionName Label that identifies the stream connection. + @param streamsConnection Details to update one connection for a streams workspace in the specified project. @return UpdateStreamConnectionApiRequest */ UpdateStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string, streamsConnection *StreamsConnection) UpdateStreamConnectionApiRequest @@ -671,12 +671,12 @@ type StreamsApi interface { /* UpdateStreamProcessor Update One Stream Processor - Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + Modify one existing Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @param streamsModifyStreamProcessor Modifications to apply to the stream processor. @return UpdateStreamProcessorApiRequest */ @@ -695,19 +695,19 @@ type StreamsApi interface { UpdateStreamProcessorExecute(r UpdateStreamProcessorApiRequest) (*StreamsProcessorWithStats, *http.Response, error) /* - UpdateStreamWorkspace Update One Stream Instance + UpdateStreamWorkspace Update One Stream Workspace - Update one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + Update one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to update. - @param streamsDataProcessRegion Details of the new data process region to update in the streams instance. + @param tenantName Label that identifies the stream workspace to update. + @param streamsDataProcessRegion Details of the new data process region to update in the streams workspace. @return UpdateStreamWorkspaceApiRequest */ UpdateStreamWorkspace(ctx context.Context, groupId string, tenantName string, streamsDataProcessRegion *StreamsDataProcessRegion) UpdateStreamWorkspaceApiRequest /* - UpdateStreamWorkspace Update One Stream Instance + UpdateStreamWorkspace Update One Stream Workspace @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -720,18 +720,18 @@ type StreamsApi interface { UpdateStreamWorkspaceExecute(r UpdateStreamWorkspaceApiRequest) (*StreamsTenant, *http.Response, error) /* - WithStreamSampleConnections Create One Stream Instance with Sample Connections + WithStreamSampleConnections Create One Stream Workspace with Sample Connections - Creates one stream instance in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + Creates one stream workspace in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param body Details to create one streams instance in the specified project. + @param body Details to create one streams workspace in the specified project. @return WithStreamSampleConnectionsApiRequest */ WithStreamSampleConnections(ctx context.Context, groupId string, body *any) WithStreamSampleConnectionsApiRequest /* - WithStreamSampleConnections Create One Stream Instance with Sample Connections + WithStreamSampleConnections Create One Stream Workspace with Sample Connections @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -1016,11 +1016,11 @@ func (r CreateStreamConnectionApiRequest) Execute() (*StreamsConnection, *http.R /* CreateStreamConnection Create One Stream Connection -Creates one connection for a stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. +Creates one connection for a stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return CreateStreamConnectionApiRequest */ func (a *StreamsApiService) CreateStreamConnection(ctx context.Context, groupId string, tenantName string, streamsConnection *StreamsConnection) CreateStreamConnectionApiRequest { @@ -1148,11 +1148,11 @@ func (r CreateStreamProcessorApiRequest) Execute() (*StreamsProcessor, *http.Res /* CreateStreamProcessor Create One Stream Processor -Create one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Create one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return CreateStreamProcessorApiRequest */ func (a *StreamsApiService) CreateStreamProcessor(ctx context.Context, groupId string, tenantName string, streamsProcessor *StreamsProcessor) CreateStreamProcessorApiRequest { @@ -1275,9 +1275,9 @@ func (r CreateStreamWorkspaceApiRequest) Execute() (*StreamsTenant, *http.Respon } /* -CreateStreamWorkspace Create One Stream Instance +CreateStreamWorkspace Create One Stream Workspace -Creates one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. +Creates one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. @@ -1509,12 +1509,12 @@ func (r DeleteStreamConnectionApiRequest) Execute() (*http.Response, error) { /* DeleteStreamConnection Delete One Stream Connection -Delete one connection of the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Delete one connection of the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param connectionName Human-readable label that identifies the stream connection. + @param tenantName Label that identifies the stream workspace. + @param connectionName Label that identifies the stream connection. @return DeleteStreamConnectionApiRequest */ func (a *StreamsApiService) DeleteStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string) DeleteStreamConnectionApiRequest { @@ -1624,12 +1624,12 @@ func (r DeleteStreamProcessorApiRequest) Execute() (*http.Response, error) { /* DeleteStreamProcessor Delete One Stream Processor -Delete a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Delete a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return DeleteStreamProcessorApiRequest */ func (a *StreamsApiService) DeleteStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) DeleteStreamProcessorApiRequest { @@ -1734,13 +1734,13 @@ func (r DeleteStreamWorkspaceApiRequest) Execute() (*http.Response, error) { } /* -DeleteStreamWorkspace Delete One Stream Instance +DeleteStreamWorkspace Delete One Stream Workspace -Delete one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. +Delete one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to delete. + @param tenantName Label that identifies the stream workspace to delete. @return DeleteStreamWorkspaceApiRequest */ func (a *StreamsApiService) DeleteStreamWorkspace(ctx context.Context, groupId string, tenantName string) DeleteStreamWorkspaceApiRequest { @@ -1964,13 +1964,13 @@ func (r DownloadAuditLogsApiRequest) Execute() (io.ReadCloser, *http.Response, e } /* -DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Instance +DownloadAuditLogs Download Audit Logs for One Atlas Stream Processing Workspace -Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip". +Downloads the audit logs for the specified Atlas Streams Processing workspace. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip". @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return DownloadAuditLogsApiRequest */ func (a *StreamsApiService) DownloadAuditLogs(ctx context.Context, groupId string, tenantName string) DownloadAuditLogsApiRequest { @@ -2361,12 +2361,12 @@ func (r GetStreamConnectionApiRequest) Execute() (*StreamsConnection, *http.Resp /* GetStreamConnection Return One Stream Connection -Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. +Returns the details of one stream connection within the specified stream workspace. 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 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 tenantName Human-readable label that identifies the stream instance to return. - @param connectionName Human-readable label that identifies the stream connection to return. + @param tenantName Label that identifies the stream workspace to return. + @param connectionName Label that identifies the stream connection to return. @return GetStreamConnectionApiRequest */ func (a *StreamsApiService) GetStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string) GetStreamConnectionApiRequest { @@ -2493,12 +2493,12 @@ func (r GetStreamProcessorApiRequest) Execute() (*StreamsProcessorWithStats, *ht /* GetStreamProcessor Return One Stream Processor -Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Get one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return GetStreamProcessorApiRequest */ func (a *StreamsApiService) GetStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) GetStreamProcessorApiRequest { @@ -2647,13 +2647,13 @@ func (r GetStreamProcessorsApiRequest) Execute() (*PaginatedApiStreamsStreamProc } /* -GetStreamProcessors Return All Stream Processors in One Stream Instance +GetStreamProcessors Return All Stream Processors in One Stream Workspace -Returns all Stream Processors within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Returns all Stream Processors within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return GetStreamProcessorsApiRequest */ func (a *StreamsApiService) GetStreamProcessors(ctx context.Context, groupId string, tenantName string) GetStreamProcessorsApiRequest { @@ -2789,7 +2789,7 @@ func (a *StreamsApiService) GetStreamWorkspaceWithParams(ctx context.Context, ar } } -// Flag to indicate whether connections information should be included in the stream instance. +// Flag to indicate whether connections information should be included in the stream workspace. func (r GetStreamWorkspaceApiRequest) IncludeConnections(includeConnections bool) GetStreamWorkspaceApiRequest { r.includeConnections = &includeConnections return r @@ -2800,13 +2800,13 @@ func (r GetStreamWorkspaceApiRequest) Execute() (*StreamsTenant, *http.Response, } /* -GetStreamWorkspace Return One Stream Instance +GetStreamWorkspace Return One Stream Workspace -Returns the details of one stream instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. +Returns the details of one stream workspace within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to return. + @param tenantName Label that identifies the stream workspace to return. @return GetStreamWorkspaceApiRequest */ func (a *StreamsApiService) GetStreamWorkspace(ctx context.Context, groupId string, tenantName string) GetStreamWorkspaceApiRequest { @@ -3219,13 +3219,13 @@ func (r ListStreamConnectionsApiRequest) Execute() (*PaginatedApiStreamsConnecti } /* -ListStreamConnections Return All Connections of the Stream Instances +ListStreamConnections Return All Connections of the Stream Workspaces -Returns all connections of the stream instance for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. +Returns all connections of the stream workspace for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. + @param tenantName Label that identifies the stream workspace. @return ListStreamConnectionsApiRequest */ func (a *StreamsApiService) ListStreamConnections(ctx context.Context, groupId string, tenantName string) ListStreamConnectionsApiRequest { @@ -3371,9 +3371,9 @@ func (r ListStreamWorkspacesApiRequest) Execute() (*PaginatedApiStreamsTenant, * } /* -ListStreamWorkspaces Return All Stream Instances in One Project +ListStreamWorkspaces Return All Stream Workspaces in One Project -Returns all stream instances for the specified project. +Returns all stream workspaces for the specified project. @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. @@ -3755,12 +3755,12 @@ func (r StartStreamProcessorApiRequest) Execute() (*http.Response, error) { /* StartStreamProcessor Start One Stream Processor -Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return StartStreamProcessorApiRequest */ func (a *StreamsApiService) StartStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) StartStreamProcessorApiRequest { @@ -3873,12 +3873,12 @@ func (r StartStreamProcessorWithApiRequest) Execute() (*http.Response, error) { /* StartStreamProcessorWith Start One Stream Processor With Options -Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return StartStreamProcessorWithApiRequest */ func (a *StreamsApiService) StartStreamProcessorWith(ctx context.Context, groupId string, tenantName string, processorName string, streamsStartStreamProcessorWith *StreamsStartStreamProcessorWith) StartStreamProcessorWithApiRequest { @@ -3991,12 +3991,12 @@ func (r StopStreamProcessorApiRequest) Execute() (*http.Response, error) { /* StopStreamProcessor Stop One Stream Processor -Stop a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Stop a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return StopStreamProcessorApiRequest */ func (a *StreamsApiService) StopStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string) StopStreamProcessorApiRequest { @@ -4109,12 +4109,12 @@ func (r UpdateStreamConnectionApiRequest) Execute() (*StreamsConnection, *http.R /* UpdateStreamConnection Update One Stream Connection -Update one connection for the specified stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Update one connection for the specified stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param connectionName Human-readable label that identifies the stream connection. + @param tenantName Label that identifies the stream workspace. + @param connectionName Label that identifies the stream connection. @return UpdateStreamConnectionApiRequest */ func (a *StreamsApiService) UpdateStreamConnection(ctx context.Context, groupId string, tenantName string, connectionName string, streamsConnection *StreamsConnection) UpdateStreamConnectionApiRequest { @@ -4250,12 +4250,12 @@ func (r UpdateStreamProcessorApiRequest) Execute() (*StreamsProcessorWithStats, /* UpdateStreamProcessor Update One Stream Processor -Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. +Modify one existing Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance. - @param processorName Human-readable label that identifies the stream processor. + @param tenantName Label that identifies the stream workspace. + @param processorName Label that identifies the stream processor. @return UpdateStreamProcessorApiRequest */ func (a *StreamsApiService) UpdateStreamProcessor(ctx context.Context, groupId string, tenantName string, processorName string, streamsModifyStreamProcessor *StreamsModifyStreamProcessor) UpdateStreamProcessorApiRequest { @@ -4386,13 +4386,13 @@ func (r UpdateStreamWorkspaceApiRequest) Execute() (*StreamsTenant, *http.Respon } /* -UpdateStreamWorkspace Update One Stream Instance +UpdateStreamWorkspace Update One Stream Workspace -Update one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. +Update one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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. - @param tenantName Human-readable label that identifies the stream instance to update. + @param tenantName Label that identifies the stream workspace to update. @return UpdateStreamWorkspaceApiRequest */ func (a *StreamsApiService) UpdateStreamWorkspace(ctx context.Context, groupId string, tenantName string, streamsDataProcessRegion *StreamsDataProcessRegion) UpdateStreamWorkspaceApiRequest { @@ -4515,9 +4515,9 @@ func (r WithStreamSampleConnectionsApiRequest) Execute() (*StreamsTenant, *http. } /* -WithStreamSampleConnections Create One Stream Instance with Sample Connections +WithStreamSampleConnections Create One Stream Workspace with Sample Connections -Creates one stream instance in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. +Creates one stream workspace in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. @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_teams.go b/admin/api_teams.go index 22f77fdcc..f6a611b2d 100644 --- a/admin/api_teams.go +++ b/admin/api_teams.go @@ -13,18 +13,18 @@ import ( type TeamsApi interface { /* - AddGroupTeams Add One Team to One Project + AddGroupTeams Add Multiple Teams to One Project - Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + Adds multiple teams to the specified project. All members of a team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. 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 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 teamRole Team to add to the specified project. + @param teamRole Teams and their roles to be added to the specified project. @return AddGroupTeamsApiRequest */ AddGroupTeams(ctx context.Context, groupId string, teamRole *[]TeamRole) AddGroupTeamsApiRequest /* - AddGroupTeams Add One Team to One Project + AddGroupTeams Add Multiple Teams to One Project @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @@ -368,9 +368,9 @@ func (r AddGroupTeamsApiRequest) Execute() (*PaginatedTeamRole, *http.Response, } /* -AddGroupTeams Add One Team to One Project +AddGroupTeams Add Multiple Teams to One Project -Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. +Adds multiple teams to the specified project. All members of a team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. 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 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_third_party_integrations.go b/admin/api_third_party_integrations.go index e03978674..013fa35f4 100644 --- a/admin/api_third_party_integrations.go +++ b/admin/api_third_party_integrations.go @@ -15,7 +15,7 @@ type ThirdPartyIntegrationsApi interface { /* CreateGroupIntegration Create One Third-Party Service Integration - Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -40,7 +40,7 @@ type ThirdPartyIntegrationsApi interface { /* DeleteGroupIntegration Remove One Third-Party Service Integration - Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Deleting log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -64,7 +64,7 @@ type ThirdPartyIntegrationsApi interface { /* GetGroupIntegration Return One Third-Party Service Integration - Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Viewing log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @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. @@ -111,7 +111,7 @@ type ThirdPartyIntegrationsApi interface { /* UpdateGroupIntegration Update One Third-Party Service Integration - Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -195,7 +195,7 @@ func (r CreateGroupIntegrationApiRequest) Execute() (*PaginatedIntegration, *htt /* CreateGroupIntegration Create One Third-Party Service Integration -Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. +Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -345,7 +345,7 @@ func (r DeleteGroupIntegrationApiRequest) Execute() (*http.Response, error) { /* DeleteGroupIntegration Remove One Third-Party Service Integration -Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. +Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Deleting log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -451,7 +451,7 @@ func (r GetGroupIntegrationApiRequest) Execute() (*ThirdPartyIntegration, *http. /* GetGroupIntegration Return One Third-Party Service Integration -Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. +Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Viewing log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @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. @@ -766,7 +766,7 @@ func (r UpdateGroupIntegrationApiRequest) Execute() (*PaginatedIntegration, *htt /* UpdateGroupIntegration Update One Third-Party Service Integration -Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. +Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param integrationType Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. diff --git a/admin/atlas_client.go b/admin/atlas_client.go index c71762386..d15277975 100644 --- a/admin/atlas_client.go +++ b/admin/atlas_client.go @@ -1,4 +1,4 @@ -package admin // import "go.mongodb.org/atlas-sdk/v20250312008/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/v20250312008/auth" - "go.mongodb.org/atlas-sdk/v20250312008/auth/clientcredentials" - "go.mongodb.org/atlas-sdk/v20250312008/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_advanced_compute_auto_scaling.go b/admin/model_advanced_compute_auto_scaling.go index 385cedfa0..8d38e1cbf 100644 --- a/admin/model_advanced_compute_auto_scaling.go +++ b/admin/model_advanced_compute_auto_scaling.go @@ -12,8 +12,6 @@ type AdvancedComputeAutoScaling struct { // Instance size boundary to which your cluster can automatically scale. // Read only field. MinInstanceSize *string `json:"minInstanceSize,omitempty"` - // Flag that indicates whether predictive instance size auto-scaling is enabled. - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** to be `true` in order to enable this feature. - Set to `false` to disable predictive instance size auto-scaling. - PredictiveEnabled *bool `json:"predictiveEnabled,omitempty"` // Flag that indicates whether the instance size may scale down via reactive auto-scaling. MongoDB Cloud requires this parameter if **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. ScaleDownEnabled *bool `json:"scaleDownEnabled,omitempty"` } @@ -134,39 +132,6 @@ func (o *AdvancedComputeAutoScaling) SetMinInstanceSize(v string) { o.MinInstanceSize = &v } -// GetPredictiveEnabled returns the PredictiveEnabled field value if set, zero value otherwise -func (o *AdvancedComputeAutoScaling) GetPredictiveEnabled() bool { - if o == nil || IsNil(o.PredictiveEnabled) { - var ret bool - return ret - } - return *o.PredictiveEnabled -} - -// GetPredictiveEnabledOk returns a tuple with the PredictiveEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *AdvancedComputeAutoScaling) GetPredictiveEnabledOk() (*bool, bool) { - if o == nil || IsNil(o.PredictiveEnabled) { - return nil, false - } - - return o.PredictiveEnabled, true -} - -// HasPredictiveEnabled returns a boolean if a field has been set. -func (o *AdvancedComputeAutoScaling) HasPredictiveEnabled() bool { - if o != nil && !IsNil(o.PredictiveEnabled) { - return true - } - - return false -} - -// SetPredictiveEnabled gets a reference to the given bool and assigns it to the PredictiveEnabled field. -func (o *AdvancedComputeAutoScaling) SetPredictiveEnabled(v bool) { - o.PredictiveEnabled = &v -} - // GetScaleDownEnabled returns the ScaleDownEnabled field value if set, zero value otherwise func (o *AdvancedComputeAutoScaling) GetScaleDownEnabled() bool { if o == nil || IsNil(o.ScaleDownEnabled) { diff --git a/admin/model_alert_view_for_nds_group.go b/admin/model_alert_view_for_nds_group.go index 8ef9baae7..c6f395092 100644 --- a/admin/model_alert_view_for_nds_group.go +++ b/admin/model_alert_view_for_nds_group.go @@ -67,7 +67,7 @@ type AlertViewForNdsGroup struct { // Unique 24-hexadecimal character string that identifies the parent cluster to which this alert applies. The parent cluster contains the sharded nodes. MongoDB Cloud returns this parameter only for alerts of events impacting sharded clusters. // Read only field. ParentClusterId *string `json:"parentClusterId,omitempty"` - // The name of the Stream Processing Instance to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Instances. + // The name of the Stream Processing Workspace to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Workspaces. // Read only field. InstanceName *string `json:"instanceName,omitempty"` // The error message associated with the Stream Processor to which this alert applies. 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_database_user.go b/admin/model_cloud_database_user.go index 384f6c7f2..b337157d5 100644 --- a/admin/model_cloud_database_user.go +++ b/admin/model_cloud_database_user.go @@ -33,7 +33,7 @@ type CloudDatabaseUser struct { Password *string `json:"password,omitempty"` // List that provides the pairings of one role with one applicable database. Roles *[]DatabaseUserRole `json:"roles,omitempty"` - // List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project. + // List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces in the project. Scopes *[]UserScope `json:"scopes,omitempty"` // Human-readable label that represents the user that authenticates to MongoDB. The format of this label depends on the method of authentication: | Authentication Method | Parameter Needed | Parameter Value | username Format | |---|---|---|---| | AWS IAM | awsIAMType | ROLE | ARN | | AWS IAM | awsIAMType | USER | ARN | | x.509 | x509Type | CUSTOMER | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name | | x.509 | x509Type | MANAGED | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name | | LDAP | ldapAuthType | USER | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name | | LDAP | ldapAuthType | GROUP | [RFC 2253](https://tools.ietf.org/html/2253) Distinguished Name | | OIDC Workforce | oidcAuthType | IDP_GROUP | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP group name | | OIDC Workload | oidcAuthType | USER | Atlas OIDC IdP ID (found in federation settings), followed by a '/', followed by the IdP user name | | SCRAM-SHA | awsIAMType, x509Type, ldapAuthType, oidcAuthType | NONE | Alphanumeric string | Username string `json:"username"` diff --git a/admin/model_cluster_compute_auto_scaling.go b/admin/model_cluster_compute_auto_scaling.go index 9211c87d2..21209c1f4 100644 --- a/admin/model_cluster_compute_auto_scaling.go +++ b/admin/model_cluster_compute_auto_scaling.go @@ -6,8 +6,6 @@ package admin type ClusterComputeAutoScaling struct { // Flag that indicates whether instance size reactive auto-scaling is enabled. - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for **providerSettings.autoScaling.compute.maxInstanceSize**. - Set to `false` to disable instance size reactive auto-scaling. Enabled *bool `json:"enabled,omitempty"` - // Flag that indicates whether predictive instance size auto-scaling is enabled. - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **autoScaling.compute.enabled** is `true` in order to enable this feature. - Set to `false` to disable predictive instance size auto-scaling. - PredictiveEnabled *bool `json:"predictiveEnabled,omitempty"` // Flag that indicates whether the cluster tier can scale down via reactive auto-scaling. This is required if **autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **providerSettings.autoScaling.compute.minInstanceSize**. ScaleDownEnabled *bool `json:"scaleDownEnabled,omitempty"` } @@ -20,8 +18,6 @@ func NewClusterComputeAutoScaling() *ClusterComputeAutoScaling { this := ClusterComputeAutoScaling{} var enabled bool = false this.Enabled = &enabled - var predictiveEnabled bool = false - this.PredictiveEnabled = &predictiveEnabled var scaleDownEnabled bool = false this.ScaleDownEnabled = &scaleDownEnabled return &this @@ -34,8 +30,6 @@ func NewClusterComputeAutoScalingWithDefaults() *ClusterComputeAutoScaling { this := ClusterComputeAutoScaling{} var enabled bool = false this.Enabled = &enabled - var predictiveEnabled bool = false - this.PredictiveEnabled = &predictiveEnabled var scaleDownEnabled bool = false this.ScaleDownEnabled = &scaleDownEnabled return &this @@ -74,39 +68,6 @@ func (o *ClusterComputeAutoScaling) SetEnabled(v bool) { o.Enabled = &v } -// GetPredictiveEnabled returns the PredictiveEnabled field value if set, zero value otherwise -func (o *ClusterComputeAutoScaling) GetPredictiveEnabled() bool { - if o == nil || IsNil(o.PredictiveEnabled) { - var ret bool - return ret - } - return *o.PredictiveEnabled -} - -// GetPredictiveEnabledOk returns a tuple with the PredictiveEnabled field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ClusterComputeAutoScaling) GetPredictiveEnabledOk() (*bool, bool) { - if o == nil || IsNil(o.PredictiveEnabled) { - return nil, false - } - - return o.PredictiveEnabled, true -} - -// HasPredictiveEnabled returns a boolean if a field has been set. -func (o *ClusterComputeAutoScaling) HasPredictiveEnabled() bool { - if o != nil && !IsNil(o.PredictiveEnabled) { - return true - } - - return false -} - -// SetPredictiveEnabled gets a reference to the given bool and assigns it to the PredictiveEnabled field. -func (o *ClusterComputeAutoScaling) SetPredictiveEnabled(v bool) { - o.PredictiveEnabled = &v -} - // GetScaleDownEnabled returns the ScaleDownEnabled field value if set, zero value otherwise func (o *ClusterComputeAutoScaling) GetScaleDownEnabled() bool { if o == nil || IsNil(o.ScaleDownEnabled) { diff --git a/admin/model_event_view_for_nds_group.go b/admin/model_event_view_for_nds_group.go index 8d9f1457f..a5484f85c 100644 --- a/admin/model_event_view_for_nds_group.go +++ b/admin/model_event_view_for_nds_group.go @@ -113,7 +113,7 @@ type EventViewForNdsGroup struct { ResourceId *string `json:"resourceId,omitempty"` // Unique identifier of resource type. ResourceType *string `json:"resourceType,omitempty"` - // Name of the stream processing instance associated with the event. + // Name of the stream processing workspace associated with the event. // Read only field. InstanceName *string `json:"instanceName,omitempty"` // Error message linked to the stream processor associated with the event. 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_organization_settings.go b/admin/model_organization_settings.go index ac3938272..cc108a44b 100644 --- a/admin/model_organization_settings.go +++ b/admin/model_organization_settings.go @@ -17,7 +17,7 @@ type OrganizationSettings struct { RestrictEmployeeAccess *bool `json:"restrictEmployeeAccess,omitempty"` // String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals. An empty string is valid and clears the existing security contact (if any). SecurityContact *string `json:"securityContact,omitempty"` - // Flag that indicates whether a group's Atlas Stream Processing instances in this organization can create connections to other group's clusters in the same organization. + // Flag that indicates whether a group's Atlas Stream Processing workspaces in this organization can create connections to other group's clusters in the same organization. StreamsCrossGroupEnabled *bool `json:"streamsCrossGroupEnabled,omitempty"` } 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_stream_config.go b/admin/model_stream_config.go index 0e8ebdeb8..c18a54d68 100644 --- a/admin/model_stream_config.go +++ b/admin/model_stream_config.go @@ -2,14 +2,14 @@ package admin -// StreamConfig Configuration options for an Atlas Stream Processing Instance. +// StreamConfig Configuration options for an Atlas Stream Processing Workspace. type StreamConfig 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"` - // Max tier size for the Stream Instance. Configures Memory / VCPU allowances. This field is not supported yet. + // Max tier size for the Stream Workspace. Configures Memory / VCPU allowances. MaxTierSize *string `json:"maxTierSize,omitempty"` - // Selected tier for the Stream Instance. Configures Memory / VCPU allowances. + // Selected tier for the Stream Workspace. Configures Memory / VCPU allowances. Tier *string `json:"tier,omitempty"` } diff --git a/admin/model_streams_matcher.go b/admin/model_streams_matcher.go index bee373c5d..7294cd81f 100644 --- a/admin/model_streams_matcher.go +++ b/admin/model_streams_matcher.go @@ -2,7 +2,7 @@ package admin -// StreamsMatcher Rules to apply when comparing a stream processing instance or stream processor against this alert configuration. +// StreamsMatcher Rules to apply when comparing a stream processing workspace or stream processor against this alert configuration. type StreamsMatcher struct { // Name of the parameter in the target object that MongoDB Cloud checks. The parameter must match all rules for MongoDB Cloud to check for alert configurations. FieldName string `json:"fieldName"` diff --git a/admin/model_streams_private_link_connection.go b/admin/model_streams_private_link_connection.go index b9bc362f9..236ae3632 100644 --- a/admin/model_streams_private_link_connection.go +++ b/admin/model_streams_private_link_connection.go @@ -18,6 +18,8 @@ type StreamsPrivateLinkConnection struct { // Error message if the state is FAILED. // Read only field. ErrorMessage *string `json:"errorMessage,omitempty"` + // List of GCP Private Service Connect connection IDs. + GcpConnectionIds *[]string `json:"gcpConnectionIds,omitempty"` // Service Attachment URIs of each availability zone for the GCP Confluent cluster. GcpServiceAttachmentUris *[]string `json:"gcpServiceAttachmentUris,omitempty"` // Interface endpoint ID that is created from the service endpoint ID provided. @@ -261,6 +263,39 @@ func (o *StreamsPrivateLinkConnection) SetErrorMessage(v string) { o.ErrorMessage = &v } +// GetGcpConnectionIds returns the GcpConnectionIds field value if set, zero value otherwise +func (o *StreamsPrivateLinkConnection) GetGcpConnectionIds() []string { + if o == nil || IsNil(o.GcpConnectionIds) { + var ret []string + return ret + } + return *o.GcpConnectionIds +} + +// GetGcpConnectionIdsOk returns a tuple with the GcpConnectionIds field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StreamsPrivateLinkConnection) GetGcpConnectionIdsOk() (*[]string, bool) { + if o == nil || IsNil(o.GcpConnectionIds) { + return nil, false + } + + return o.GcpConnectionIds, true +} + +// HasGcpConnectionIds returns a boolean if a field has been set. +func (o *StreamsPrivateLinkConnection) HasGcpConnectionIds() bool { + if o != nil && !IsNil(o.GcpConnectionIds) { + return true + } + + return false +} + +// SetGcpConnectionIds gets a reference to the given []string and assigns it to the GcpConnectionIds field. +func (o *StreamsPrivateLinkConnection) SetGcpConnectionIds(v []string) { + o.GcpConnectionIds = &v +} + // GetGcpServiceAttachmentUris returns the GcpServiceAttachmentUris field value if set, zero value otherwise func (o *StreamsPrivateLinkConnection) GetGcpServiceAttachmentUris() []string { if o == nil || IsNil(o.GcpServiceAttachmentUris) { diff --git a/admin/model_streams_tenant.go b/admin/model_streams_tenant.go index 693ed2b56..e67fe253d 100644 --- a/admin/model_streams_tenant.go +++ b/admin/model_streams_tenant.go @@ -7,20 +7,20 @@ type StreamsTenant struct { // Unique 24-hexadecimal character string that identifies the project. // Read only field. Id *string `json:"_id,omitempty"` - // List of connections configured in the stream instance. + // List of connections configured in the stream workspace. // Read only field. Connections *[]StreamsConnection `json:"connections,omitempty"` DataProcessRegion *StreamsDataProcessRegion `json:"dataProcessRegion,omitempty"` // Unique 24-hexadecimal character string that identifies the project. // Read only field. GroupId *string `json:"groupId,omitempty"` - // List that contains the hostnames assigned to the stream instance. + // List that contains the hostnames assigned to the stream workspace. // Read only field. Hostnames *[]string `json:"hostnames,omitempty"` // 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"` - // Human-readable label that identifies the stream instance. + // Label that identifies the stream workspace. Name *string `json:"name,omitempty"` SampleConnections *StreamsSampleConnections `json:"sampleConnections,omitempty"` StreamConfig *StreamConfig `json:"streamConfig,omitempty"` diff --git a/admin/model_team_role.go b/admin/model_team_role.go index 5f61b4f3b..169afe1de 100644 --- a/admin/model_team_role.go +++ b/admin/model_team_role.go @@ -8,17 +8,19 @@ type TeamRole struct { // Read only field. Links *[]Link `json:"links,omitempty"` // One or more project-level roles to assign to the team. - RoleNames *[]string `json:"roleNames,omitempty"` + RoleNames []string `json:"roleNames"` // Unique 24-hexadecimal character string that identifies the team. - TeamId *string `json:"teamId,omitempty"` + TeamId string `json:"teamId"` } // NewTeamRole instantiates a new TeamRole 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 NewTeamRole() *TeamRole { +func NewTeamRole(roleNames []string, teamId string) *TeamRole { this := TeamRole{} + this.RoleNames = roleNames + this.TeamId = teamId return &this } @@ -63,68 +65,50 @@ func (o *TeamRole) SetLinks(v []Link) { o.Links = &v } -// GetRoleNames returns the RoleNames field value if set, zero value otherwise +// GetRoleNames returns the RoleNames field value func (o *TeamRole) GetRoleNames() []string { - if o == nil || IsNil(o.RoleNames) { + if o == nil { var ret []string return ret } - return *o.RoleNames + + return o.RoleNames } -// GetRoleNamesOk returns a tuple with the RoleNames field value if set, nil otherwise +// GetRoleNamesOk returns a tuple with the RoleNames field value // and a boolean to check if the value has been set. func (o *TeamRole) GetRoleNamesOk() (*[]string, bool) { - if o == nil || IsNil(o.RoleNames) { + if o == nil { return nil, false } - - return o.RoleNames, true -} - -// HasRoleNames returns a boolean if a field has been set. -func (o *TeamRole) HasRoleNames() bool { - if o != nil && !IsNil(o.RoleNames) { - return true - } - - return false + return &o.RoleNames, true } -// SetRoleNames gets a reference to the given []string and assigns it to the RoleNames field. +// SetRoleNames sets field value func (o *TeamRole) SetRoleNames(v []string) { - o.RoleNames = &v + o.RoleNames = v } -// GetTeamId returns the TeamId field value if set, zero value otherwise +// GetTeamId returns the TeamId field value func (o *TeamRole) GetTeamId() string { - if o == nil || IsNil(o.TeamId) { + if o == nil { var ret string return ret } - return *o.TeamId + + return o.TeamId } -// GetTeamIdOk returns a tuple with the TeamId field value if set, nil otherwise +// GetTeamIdOk returns a tuple with the TeamId field value // and a boolean to check if the value has been set. func (o *TeamRole) GetTeamIdOk() (*string, bool) { - if o == nil || IsNil(o.TeamId) { + if o == nil { return nil, false } - - return o.TeamId, true -} - -// HasTeamId returns a boolean if a field has been set. -func (o *TeamRole) HasTeamId() bool { - if o != nil && !IsNil(o.TeamId) { - return true - } - - return false + return &o.TeamId, true } -// SetTeamId gets a reference to the given string and assigns it to the TeamId field. +// SetTeamId sets field value func (o *TeamRole) SetTeamId(v string) { - o.TeamId = &v + o.TeamId = v } diff --git a/admin/model_third_party_integration.go b/admin/model_third_party_integration.go index 8d72e0e80..dbcb8ff6a 100644 --- a/admin/model_third_party_integration.go +++ b/admin/model_third_party_integration.go @@ -55,6 +55,16 @@ type ThirdPartyIntegration struct { Username *string `json:"username,omitempty"` // Endpoint web address of the Microsoft Teams webhook to which MongoDB Cloud sends notifications. **NOTE**: When you view or edit the alert for a Microsoft Teams notification, the URL appears partially redacted. MicrosoftTeamsWebhookUrl *string `json:"microsoftTeamsWebhookUrl,omitempty"` + // Human-readable label that identifies the S3 bucket name for storing log files. + BucketName *string `json:"bucketName,omitempty"` + // Unique 24-hexadecimal digit string that identifies the AWS IAM role that MongoDB Cloud uses to access your S3 bucket. + IamRoleId *string `json:"iamRoleId,omitempty"` + // AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings. + KmsKey *string `json:"kmsKey,omitempty"` + // Array of log types to export to S3. + LogTypes *[]string `json:"logTypes,omitempty"` + // S3 directory path prefix where the log files will be stored. MongoDB Cloud will add further sub-directories based on the log type. + PrefixPath *string `json:"prefixPath,omitempty"` } // NewThirdPartyIntegration instantiates a new ThirdPartyIntegration object @@ -922,3 +932,168 @@ func (o *ThirdPartyIntegration) HasMicrosoftTeamsWebhookUrl() bool { func (o *ThirdPartyIntegration) SetMicrosoftTeamsWebhookUrl(v string) { o.MicrosoftTeamsWebhookUrl = &v } + +// GetBucketName returns the BucketName field value if set, zero value otherwise +func (o *ThirdPartyIntegration) GetBucketName() string { + if o == nil || IsNil(o.BucketName) { + var ret string + return ret + } + return *o.BucketName +} + +// GetBucketNameOk returns a tuple with the BucketName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ThirdPartyIntegration) GetBucketNameOk() (*string, bool) { + if o == nil || IsNil(o.BucketName) { + return nil, false + } + + return o.BucketName, true +} + +// HasBucketName returns a boolean if a field has been set. +func (o *ThirdPartyIntegration) HasBucketName() bool { + if o != nil && !IsNil(o.BucketName) { + return true + } + + return false +} + +// SetBucketName gets a reference to the given string and assigns it to the BucketName field. +func (o *ThirdPartyIntegration) SetBucketName(v string) { + o.BucketName = &v +} + +// GetIamRoleId returns the IamRoleId field value if set, zero value otherwise +func (o *ThirdPartyIntegration) GetIamRoleId() string { + if o == nil || IsNil(o.IamRoleId) { + var ret string + return ret + } + return *o.IamRoleId +} + +// GetIamRoleIdOk returns a tuple with the IamRoleId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ThirdPartyIntegration) GetIamRoleIdOk() (*string, bool) { + if o == nil || IsNil(o.IamRoleId) { + return nil, false + } + + return o.IamRoleId, true +} + +// HasIamRoleId returns a boolean if a field has been set. +func (o *ThirdPartyIntegration) HasIamRoleId() bool { + if o != nil && !IsNil(o.IamRoleId) { + return true + } + + return false +} + +// SetIamRoleId gets a reference to the given string and assigns it to the IamRoleId field. +func (o *ThirdPartyIntegration) SetIamRoleId(v string) { + o.IamRoleId = &v +} + +// GetKmsKey returns the KmsKey field value if set, zero value otherwise +func (o *ThirdPartyIntegration) GetKmsKey() string { + if o == nil || IsNil(o.KmsKey) { + var ret string + return ret + } + return *o.KmsKey +} + +// GetKmsKeyOk returns a tuple with the KmsKey field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ThirdPartyIntegration) GetKmsKeyOk() (*string, bool) { + if o == nil || IsNil(o.KmsKey) { + return nil, false + } + + return o.KmsKey, true +} + +// HasKmsKey returns a boolean if a field has been set. +func (o *ThirdPartyIntegration) HasKmsKey() bool { + if o != nil && !IsNil(o.KmsKey) { + return true + } + + return false +} + +// SetKmsKey gets a reference to the given string and assigns it to the KmsKey field. +func (o *ThirdPartyIntegration) SetKmsKey(v string) { + o.KmsKey = &v +} + +// GetLogTypes returns the LogTypes field value if set, zero value otherwise +func (o *ThirdPartyIntegration) GetLogTypes() []string { + if o == nil || IsNil(o.LogTypes) { + var ret []string + return ret + } + return *o.LogTypes +} + +// GetLogTypesOk returns a tuple with the LogTypes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ThirdPartyIntegration) GetLogTypesOk() (*[]string, bool) { + if o == nil || IsNil(o.LogTypes) { + return nil, false + } + + return o.LogTypes, true +} + +// HasLogTypes returns a boolean if a field has been set. +func (o *ThirdPartyIntegration) HasLogTypes() bool { + if o != nil && !IsNil(o.LogTypes) { + return true + } + + return false +} + +// SetLogTypes gets a reference to the given []string and assigns it to the LogTypes field. +func (o *ThirdPartyIntegration) SetLogTypes(v []string) { + o.LogTypes = &v +} + +// GetPrefixPath returns the PrefixPath field value if set, zero value otherwise +func (o *ThirdPartyIntegration) GetPrefixPath() string { + if o == nil || IsNil(o.PrefixPath) { + var ret string + return ret + } + return *o.PrefixPath +} + +// GetPrefixPathOk returns a tuple with the PrefixPath field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ThirdPartyIntegration) GetPrefixPathOk() (*string, bool) { + if o == nil || IsNil(o.PrefixPath) { + return nil, false + } + + return o.PrefixPath, true +} + +// HasPrefixPath returns a boolean if a field has been set. +func (o *ThirdPartyIntegration) HasPrefixPath() bool { + if o != nil && !IsNil(o.PrefixPath) { + return true + } + + return false +} + +// SetPrefixPath gets a reference to the given string and assigns it to the PrefixPath field. +func (o *ThirdPartyIntegration) SetPrefixPath(v string) { + o.PrefixPath = &v +} diff --git a/auth/clientcredentials/clientcredentials.go b/auth/clientcredentials/clientcredentials.go index b03cd2b90..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/v20250312008/auth" - "go.mongodb.org/atlas-sdk/v20250312008/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 a407164e8..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/v20250312008/auth" ) // mockOAuthRevokeEndpoint creates a mock OAuth revoke endpoint, diff --git a/auth/code/device_flow.go b/auth/code/device_flow.go index 8a2aee655..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/v20250312008/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 ca3a9fd24..170214993 100644 --- a/auth/code/oauth.go +++ b/auth/code/oauth.go @@ -26,7 +26,7 @@ import ( "runtime" "strings" - "go.mongodb.org/atlas-sdk/v20250312008/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 a07fa784a..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/v20250312008/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 81fa3155e..094fa1d3c 100644 --- a/examples/aws_cluster/aws.go +++ b/examples/aws_cluster/aws.go @@ -10,8 +10,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 cb4de7039..cef32a155 100644 --- a/examples/basic/basic.go +++ b/examples/basic/basic.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 819bd0eb5..3636ba59c 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/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 a55d741af..1f337d74c 100644 --- a/examples/download/downloadLogs.go +++ b/examples/download/downloadLogs.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 80224d2c1..7c6a28ad7 100644 --- a/examples/errors.go +++ b/examples/errors.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "go.mongodb.org/atlas-sdk/v20250312008/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 2294a8992..a661f73db 100644 --- a/examples/go.mod +++ b/examples/go.mod @@ -1,15 +1,16 @@ -module go.mongodb.org/atlas-sdk/v20250312008/examples +module github.com/mongodb/atlas-sdk-go/examples go 1.24.0 -replace go.mongodb.org/atlas-sdk/v20250312008 => ../ +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/v20250312008 v20250312008.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 ce63974ec..f5e41b040 100644 --- a/examples/invoice/invoice.go +++ b/examples/invoice/invoice.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 82551ab2d..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/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/mockadmin" ) func myFunctionCallingListClusters(clusterAPI admin.ClustersApi) (int, error) { diff --git a/examples/regions/regions.go b/examples/regions/regions.go index 623348562..6e5312862 100644 --- a/examples/regions/regions.go +++ b/examples/regions/regions.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 01670f401..a7c47aae4 100644 --- a/examples/retry/retry.go +++ b/examples/retry/retry.go @@ -8,7 +8,7 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20250312008/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 de37ee602..00c6746d5 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/v20250312008/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 f6c2cc445..0d455d36a 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/v20250312008/auth" "log" "os" "strings" - "go.mongodb.org/atlas-sdk/v20250312008/admin" - "go.mongodb.org/atlas-sdk/v20250312008/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 f5722f74b..f6600852e 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.mongodb.org/atlas-sdk/v20250312008 +module github.com/mongodb/atlas-sdk-go go 1.24.0 diff --git a/mockadmin/access_tracking_api.go b/mockadmin/access_tracking_api.go index d6f4d5301..b607fb1c0 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/v20250312008/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 846c8b838..bbbb8aa16 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/v20250312008/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 7b77403b3..2b6fd76e8 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/v20250312008/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 905ae677f..1b82d684a 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/v20250312008/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 996b6fa2a..cbaa8bb66 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/v20250312008/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 4ddd29702..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/v20250312008/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 74ad1725f..17cac8390 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/v20250312008/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 6971de471..e6a00d866 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/v20250312008/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 1b8eddfbb..6ff204d10 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/v20250312008/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 ea9efb3da..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/v20250312008/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 2fdec93b4..1c47e8255 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/v20250312008/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 0cf67a4a2..a51913f55 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/v20250312008/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 dfe6ac487..dd570ec10 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/v20250312008/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 24ffe5390..6463e3d2c 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/v20250312008/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 1a15cf2cb..0bc343662 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/v20250312008/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 e1120504e..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/v20250312008/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 7c5e9515c..3a2511fe9 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/v20250312008/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 558932d3a..036821df7 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/v20250312008/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 0f93b3181..4acc142ea 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/v20250312008/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 0ebc3d7a9..c5f2a6de4 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/v20250312008/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 9a84724b4..8d48fc411 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/v20250312008/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 60e9faf71..4aac95f44 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/v20250312008/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 5e5a35db4..35e6e4fbc 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/v20250312008/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 76790d173..686d455ce 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/v20250312008/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 a9bbaa303..eed25a1f9 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/v20250312008/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 fdf255fa8..adadf462e 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/v20250312008/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 18e82179b..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/v20250312008/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 63b5aaa18..46833965e 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/v20250312008/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 7ebfc9f2d..3792e5c12 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/v20250312008/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 866cdf3a9..6c175cdd5 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/v20250312008/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 dce2bd305..1af5301de 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/v20250312008/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..f18aca9a7 --- /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} +} + +// 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 +} + +// ListOpenapiVersions provides a mock function with given fields: ctx +func (_m *OpenAPIApi) ListOpenapiVersions(ctx context.Context) admin.ListOpenapiVersionsApiRequest { + ret := _m.Called(ctx) + + if len(ret) == 0 { + panic("no return value specified for ListOpenapiVersions") + } + + var r0 admin.ListOpenapiVersionsApiRequest + if rf, ok := ret.Get(0).(func(context.Context) admin.ListOpenapiVersionsApiRequest); ok { + r0 = rf(ctx) + } else { + r0 = ret.Get(0).(admin.ListOpenapiVersionsApiRequest) + } + + return r0 +} + +// OpenAPIApi_ListOpenapiVersions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpenapiVersions' +type OpenAPIApi_ListOpenapiVersions_Call struct { + *mock.Call +} + +// ListOpenapiVersions is a helper method to define mock.On call +// - ctx context.Context +func (_e *OpenAPIApi_Expecter) ListOpenapiVersions(ctx any) *OpenAPIApi_ListOpenapiVersions_Call { + return &OpenAPIApi_ListOpenapiVersions_Call{Call: _e.mock.On("ListOpenapiVersions", ctx)} +} + +func (_c *OpenAPIApi_ListOpenapiVersions_Call) Run(run func(ctx context.Context)) *OpenAPIApi_ListOpenapiVersions_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context)) + }) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersions_Call) Return(_a0 admin.ListOpenapiVersionsApiRequest) *OpenAPIApi_ListOpenapiVersions_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersions_Call) RunAndReturn(run func(context.Context) admin.ListOpenapiVersionsApiRequest) *OpenAPIApi_ListOpenapiVersions_Call { + _c.Call.Return(run) + return _c +} + +// ListOpenapiVersionsExecute provides a mock function with given fields: r +func (_m *OpenAPIApi) ListOpenapiVersionsExecute(r admin.ListOpenapiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error) { + ret := _m.Called(r) + + if len(ret) == 0 { + panic("no return value specified for ListOpenapiVersionsExecute") + } + + var r0 *admin.PaginatedApiVersions + var r1 *http.Response + var r2 error + if rf, ok := ret.Get(0).(func(admin.ListOpenapiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error)); ok { + return rf(r) + } + if rf, ok := ret.Get(0).(func(admin.ListOpenapiVersionsApiRequest) *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.ListOpenapiVersionsApiRequest) *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.ListOpenapiVersionsApiRequest) error); ok { + r2 = rf(r) + } else { + r2 = ret.Error(2) + } + + return r0, r1, r2 +} + +// OpenAPIApi_ListOpenapiVersionsExecute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpenapiVersionsExecute' +type OpenAPIApi_ListOpenapiVersionsExecute_Call struct { + *mock.Call +} + +// ListOpenapiVersionsExecute is a helper method to define mock.On call +// - r admin.ListOpenapiVersionsApiRequest +func (_e *OpenAPIApi_Expecter) ListOpenapiVersionsExecute(r any) *OpenAPIApi_ListOpenapiVersionsExecute_Call { + return &OpenAPIApi_ListOpenapiVersionsExecute_Call{Call: _e.mock.On("ListOpenapiVersionsExecute", r)} +} + +func (_c *OpenAPIApi_ListOpenapiVersionsExecute_Call) Run(run func(r admin.ListOpenapiVersionsApiRequest)) *OpenAPIApi_ListOpenapiVersionsExecute_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(admin.ListOpenapiVersionsApiRequest)) + }) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersionsExecute_Call) Return(_a0 *admin.PaginatedApiVersions, _a1 *http.Response, _a2 error) *OpenAPIApi_ListOpenapiVersionsExecute_Call { + _c.Call.Return(_a0, _a1, _a2) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersionsExecute_Call) RunAndReturn(run func(admin.ListOpenapiVersionsApiRequest) (*admin.PaginatedApiVersions, *http.Response, error)) *OpenAPIApi_ListOpenapiVersionsExecute_Call { + _c.Call.Return(run) + return _c +} + +// ListOpenapiVersionsWithParams provides a mock function with given fields: ctx, args +func (_m *OpenAPIApi) ListOpenapiVersionsWithParams(ctx context.Context, args *admin.ListOpenapiVersionsApiParams) admin.ListOpenapiVersionsApiRequest { + ret := _m.Called(ctx, args) + + if len(ret) == 0 { + panic("no return value specified for ListOpenapiVersionsWithParams") + } + + var r0 admin.ListOpenapiVersionsApiRequest + if rf, ok := ret.Get(0).(func(context.Context, *admin.ListOpenapiVersionsApiParams) admin.ListOpenapiVersionsApiRequest); ok { + r0 = rf(ctx, args) + } else { + r0 = ret.Get(0).(admin.ListOpenapiVersionsApiRequest) + } + + return r0 +} + +// OpenAPIApi_ListOpenapiVersionsWithParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ListOpenapiVersionsWithParams' +type OpenAPIApi_ListOpenapiVersionsWithParams_Call struct { + *mock.Call +} + +// ListOpenapiVersionsWithParams is a helper method to define mock.On call +// - ctx context.Context +// - args *admin.ListOpenapiVersionsApiParams +func (_e *OpenAPIApi_Expecter) ListOpenapiVersionsWithParams(ctx any, args any) *OpenAPIApi_ListOpenapiVersionsWithParams_Call { + return &OpenAPIApi_ListOpenapiVersionsWithParams_Call{Call: _e.mock.On("ListOpenapiVersionsWithParams", ctx, args)} +} + +func (_c *OpenAPIApi_ListOpenapiVersionsWithParams_Call) Run(run func(ctx context.Context, args *admin.ListOpenapiVersionsApiParams)) *OpenAPIApi_ListOpenapiVersionsWithParams_Call { + _c.Call.Run(func(args mock.Arguments) { + run(args[0].(context.Context), args[1].(*admin.ListOpenapiVersionsApiParams)) + }) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersionsWithParams_Call) Return(_a0 admin.ListOpenapiVersionsApiRequest) *OpenAPIApi_ListOpenapiVersionsWithParams_Call { + _c.Call.Return(_a0) + return _c +} + +func (_c *OpenAPIApi_ListOpenapiVersionsWithParams_Call) RunAndReturn(run func(context.Context, *admin.ListOpenapiVersionsApiParams) admin.ListOpenapiVersionsApiRequest) *OpenAPIApi_ListOpenapiVersionsWithParams_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 cacf34428..48e6fbe3f 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/v20250312008/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 19b4899b6..8eb0026e5 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/v20250312008/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 4164ddaac..8271bcfb3 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/v20250312008/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 bc99a68d7..ee042dd59 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/v20250312008/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 befb0cafa..40ecc6b1d 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/v20250312008/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 ef4c5f0a8..0034aeaf8 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/v20250312008/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 5934f336b..c12b2eeaa 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/v20250312008/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 912dd1b4d..f0370062c 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/v20250312008/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 ac2c878ec..ab1282e31 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/v20250312008/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 666838815..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/v20250312008/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 70302b2f3..3851a9806 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/v20250312008/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 1a7567d80..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/v20250312008/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 50f0448ad..627e63ca2 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/v20250312008/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 99bd14e3f..851dcd714 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/v20250312008/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 e028e20a0..f80cecc1f 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/v20250312008/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 7d27a04cb..d5ca6f4cf 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/v20250312008/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 d97f78c85..3a2c2ad8d 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/v20250312008/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 1381e50c9..3fc921a29 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/v20250312008/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 0ddac6d66..fa2426443 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/v20250312008/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 7bb09b8a8..ec92c2310 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/v20250312008/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 9edc7db70..54c307604 100644 --- a/openapi/atlas-api-transformed.yaml +++ b/openapi/atlas-api-transformed.yaml @@ -448,13 +448,6 @@ components: $ref: "#/components/schemas/BaseCloudProviderInstanceSize" minInstanceSize: $ref: "#/components/schemas/BaseCloudProviderInstanceSize" - predictiveEnabled: - description: |- - Flag that indicates whether predictive instance size auto-scaling is enabled. - - - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** to be `true` in order to enable this feature. - - Set to `false` to disable predictive instance size auto-scaling. - type: boolean scaleDownEnabled: description: Flag that indicates whether the instance size may scale down via reactive auto-scaling. MongoDB Cloud requires this parameter if **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. type: boolean @@ -617,7 +610,7 @@ components: readOnly: true type: string instanceName: - description: The name of the Stream Processing Instance to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Instances. + description: The name of the Stream Processing Workspace to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Workspaces. example: foobar readOnly: true type: string @@ -1101,6 +1094,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: @@ -2845,7 +2844,7 @@ components: $ref: "#/components/schemas/DatabaseUserRole" type: array scopes: - description: List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project. + description: List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces in the project. items: $ref: "#/components/schemas/UserScope" type: array @@ -3599,14 +3598,6 @@ components: - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for **providerSettings.autoScaling.compute.maxInstanceSize**. - Set to `false` to disable instance size reactive auto-scaling. type: boolean - predictiveEnabled: - default: false - description: |- - Flag that indicates whether predictive instance size auto-scaling is enabled. - - - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **autoScaling.compute.enabled** is `true` in order to enable this feature. - - Set to `false` to disable predictive instance size auto-scaling. - type: boolean scaleDownEnabled: default: false description: Flag that indicates whether the cluster tier can scale down via reactive auto-scaling. This is required if **autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **providerSettings.autoScaling.compute.minInstanceSize**. @@ -6783,7 +6774,7 @@ components: example: cluster type: string instanceName: - description: Name of the stream processing instance associated with the event. + description: Name of the stream processing workspace associated with the event. example: foobar readOnly: true type: string @@ -8704,6 +8695,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: @@ -9660,6 +9673,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: @@ -10399,6 +10424,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: @@ -10861,7 +10891,7 @@ components: description: String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals. An empty string is valid and clears the existing security contact (if any). type: string streamsCrossGroupEnabled: - description: Flag that indicates whether a group's Atlas Stream Processing instances in this organization can create connections to other group's clusters in the same organization. + description: Flag that indicates whether a group's Atlas Stream Processing workspaces in this organization can create connections to other group's clusters in the same organization. type: boolean type: object OutboundControlPlaneCloudProviderIPAddresses: @@ -10906,6 +10936,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: @@ -12680,7 +12734,7 @@ components: readOnly: true type: object StreamConfig: - description: Configuration options for an Atlas Stream Processing Instance. + description: Configuration options for an Atlas Stream Processing Workspace. 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. @@ -12692,12 +12746,12 @@ components: readOnly: true type: array maxTierSize: - description: Max tier size for the Stream Instance. Configures Memory / VCPU allowances. This field is not supported yet. - title: Stream Instance Max Tier Size + description: Max tier size for the Stream Workspace. Configures Memory / VCPU allowances. + title: Stream Workspace Max Tier Size type: string tier: - description: Selected tier for the Stream Instance. Configures Memory / VCPU allowances. - title: Stream Instance Tier + description: Selected tier for the Stream Workspace. Configures Memory / VCPU allowances. + title: Stream Workspace Tier type: string type: object StreamProcessorEventTypeViewAlertableWithThreshold: @@ -12967,7 +13021,7 @@ components: type: string type: object StreamsMatcher: - description: Rules to apply when comparing a stream processing instance or stream processor against this alert configuration. + description: Rules to apply when comparing a stream processing workspace or stream processor against this alert configuration. properties: fieldName: $ref: "#/components/schemas/StreamsMatcherField" @@ -13081,6 +13135,13 @@ components: description: Error message if the state is FAILED. readOnly: true type: string + gcpConnectionIds: + description: List of GCP Private Service Connect connection IDs. + items: + type: string + maxItems: 3 + type: array + uniqueItems: true gcpServiceAttachmentUris: description: Service Attachment URIs of each availability zone for the GCP Confluent cluster. items: @@ -13264,7 +13325,7 @@ components: readOnly: true type: string connections: - description: List of connections configured in the stream instance. + description: List of connections configured in the stream workspace. items: $ref: "#/components/schemas/StreamsConnection" readOnly: true @@ -13278,9 +13339,9 @@ components: readOnly: true type: string hostnames: - description: List that contains the hostnames assigned to the stream instance. + description: List that contains the hostnames assigned to the stream workspace. items: - description: Unique hostname assigned to the stream instance. + description: Unique hostname assigned to the stream workspace. readOnly: true type: string readOnly: true @@ -13295,7 +13356,7 @@ components: readOnly: true type: array name: - description: Human-readable label that identifies the stream instance. + description: Label that identifies the stream workspace. type: string sampleConnections: $ref: "#/components/schemas/StreamsSampleConnections" @@ -13448,6 +13509,9 @@ components: example: 32b6e34b3d91647abb20e7b8 pattern: ^([a-f0-9]{24})$ type: string + required: + - roleNames + - teamId type: object TeamUpdate: properties: @@ -13689,6 +13753,33 @@ components: **NOTE**: When you view or edit the alert for a Microsoft Teams notification, the URL appears partially redacted. example: https://webhook.com/**** type: string + bucketName: + description: Human-readable label that identifies the S3 bucket name for storing log files. + example: my-log-bucket + type: string + iamRoleId: + description: Unique 24-hexadecimal digit string that identifies the AWS IAM role that MongoDB Cloud uses to access your S3 bucket. + example: 507f1f77bcf86cd799439011 + type: string + kmsKey: + description: AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings. + example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + type: string + logTypes: + description: Array of log types to export to S3. + example: + - MONGOD + - MONGOS + - MONGOD_AUDIT + - MONGOS_AUDIT + items: + type: string + maxItems: 10 + type: array + prefixPath: + description: S3 directory path prefix where the log files will be stored. MongoDB Cloud will add further sub-directories based on the log type. + example: mongo-logs/ + type: string title: Third-Party Integration type: object TimeMetricUnits: @@ -16514,7 +16605,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: 66be7c90474eeed9de9cf2be16ecc9dc984f082c + x-xgen-sha: e9293bfb55fad2bafd264cfbf781b4b847138c8d openapi: 3.0.1 paths: /api/atlas/v2: @@ -16616,7 +16707,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations listAlertConfigMatcherFieldNames --help + source: atlas api alertConfigurations listMatcherFieldNames --help - label: Go lang: go source: | @@ -16903,7 +16994,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingConnectedOrgConfigs --help + source: atlas api federatedAuthentication listConnectedOrgConfigs --help - label: Go lang: go source: | @@ -16981,7 +17072,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication removeFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication removeConnectedOrgConfig --help - label: Go lang: go source: | @@ -17065,7 +17156,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication getConnectedOrgConfig --help - label: Go lang: go source: | @@ -17160,7 +17251,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication updateConnectedOrgConfig --help - label: Go lang: go source: | @@ -17237,7 +17328,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingConnectedOrgConfigRoleMappings --help + source: atlas api federatedAuthentication listRoleMappings --help - label: Go lang: go source: | @@ -17316,7 +17407,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication createFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication createRoleMapping --help - label: Go lang: go source: | @@ -17399,7 +17490,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication deleteFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication deleteRoleMapping --help - label: Go lang: go source: | @@ -17481,7 +17572,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication getRoleMapping --help - label: Go lang: go source: | @@ -17568,7 +17659,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication updateRoleMapping --help - label: Go lang: go source: | @@ -17664,7 +17755,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingIdentityProviders --help + source: atlas api federatedAuthentication listIdentityProviders --help - label: Go lang: go source: | @@ -17745,7 +17836,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication createFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication createIdentityProvider --help - label: Go lang: go source: | @@ -17832,7 +17923,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication deleteFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication deleteIdentityProvider --help - label: Go lang: go source: | @@ -17912,7 +18003,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication getIdentityProvider --help - label: Go lang: go source: | @@ -18000,7 +18091,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication updateIdentityProvider --help - label: Go lang: go source: | @@ -18087,7 +18178,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication revokeFederationSettingIdentityProviderJwks --help + source: atlas api federatedAuthentication revokeIdentityProviderJwks --help - label: Go lang: go source: | @@ -18163,7 +18254,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingIdentityProviderMetadata --help + source: atlas api federatedAuthentication getIdentityProviderMetadata --help - label: Go lang: go source: | @@ -18639,7 +18730,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects addGroupAccessUser --help + source: atlas api projects addGroupUser --help - label: Go lang: go source: | @@ -18684,7 +18775,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addGroupAccessUser x-xgen-method-verb-override: customMethod: "True" @@ -18723,7 +18814,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList listGroupAccessListEntries --help + source: atlas api projectIpAccessList listAccessListEntries --help - label: Go lang: go source: | @@ -18814,7 +18905,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList createGroupAccessListEntry --help + source: atlas api projectIpAccessList createAccessListEntry --help - label: Go lang: go source: | @@ -18905,7 +18996,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList deleteGroupAccessListEntry --help + source: atlas api projectIpAccessList deleteAccessListEntry --help - label: Go lang: go source: | @@ -18990,7 +19081,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList getGroupAccessListEntry --help + source: atlas api projectIpAccessList getAccessListEntry --help - label: Go lang: go source: | @@ -19075,7 +19166,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList getGroupAccessListStatus --help + source: atlas api projectIpAccessList getAccessListStatus --help - label: Go lang: go source: | @@ -19151,7 +19242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations listGroupAlertConfigs --help + source: atlas api alertConfigurations listAlertConfigs --help - label: Go lang: go source: | @@ -19232,7 +19323,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations createGroupAlertConfig --help + source: atlas api alertConfigurations createAlertConfig --help - label: Go lang: go source: | @@ -19318,7 +19409,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations deleteGroupAlertConfig --help + source: atlas api alertConfigurations deleteAlertConfig --help - label: Go lang: go source: | @@ -19403,7 +19494,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations getGroupAlertConfig --help + source: atlas api alertConfigurations getAlertConfig --help - label: Go lang: go source: | @@ -19495,7 +19586,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations toggleGroupAlertConfig --help + source: atlas api alertConfigurations toggleAlertConfig --help - label: Go lang: go source: | @@ -19596,7 +19687,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations updateGroupAlertConfig --help + source: atlas api alertConfigurations updateAlertConfig --help - label: Go lang: go source: | @@ -19690,7 +19781,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts getGroupAlertConfigAlerts --help + source: atlas api alerts getAlertConfigAlerts --help - label: Go lang: go source: | @@ -19773,7 +19864,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts listGroupAlerts --help + source: atlas api alerts listAlerts --help - label: Go lang: go source: | @@ -19858,7 +19949,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts getGroupAlert --help + source: atlas api alerts getAlert --help - label: Go lang: go source: | @@ -19949,7 +20040,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts acknowledgeGroupAlert --help + source: atlas api alerts acknowledgeAlert --help - label: Go lang: go source: | @@ -20045,7 +20136,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations getGroupAlertAlertConfigs --help + source: atlas api alertConfigurations getAlertConfigs --help - label: Go lang: go source: | @@ -20372,7 +20463,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys updateGroupApiKeyRoles --help + source: atlas api programmaticApiKeys updateApiKeyRoles --help - label: Go lang: go source: | @@ -20437,6 +20528,7 @@ paths: content: application/vnd.atlas.2023-01-01+json: schema: + description: Explanatory text that describes this API key, the list of roles to grant this API key, or both. items: $ref: "#/components/schemas/UserAccessRoleAssignment" type: array @@ -20619,7 +20711,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api auditing updateGroupAuditLog --help + source: atlas api auditing updateAuditLog --help - label: Go lang: go source: | @@ -20695,7 +20787,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api awsClustersDns getGroupAwsCustomDns --help + source: atlas api awsClustersDns getAwsCustomDns --help - label: Go lang: go source: | @@ -20771,7 +20863,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api awsClustersDns toggleGroupAwsCustomDns --help + source: atlas api awsClustersDns toggleAwsCustomDns --help - label: Go lang: go source: | @@ -20851,7 +20943,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupBackupExportBuckets --help + source: atlas api cloudBackups listExportBuckets --help - label: Go lang: go source: | @@ -20986,7 +21078,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupBackupExportBucket --help + source: atlas api cloudBackups createExportBucket --help - label: Go lang: go source: | @@ -21068,7 +21160,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupBackupExportBucket --help + source: atlas api cloudBackups deleteExportBucket --help - label: Go lang: go source: | @@ -21180,7 +21272,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupBackupExportBucket --help + source: atlas api cloudBackups getExportBucket --help - label: Go lang: go source: | @@ -21250,7 +21342,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups disableGroupBackupCompliancePolicy --help + source: atlas api cloudBackups disableCompliancePolicy --help - label: Go lang: go source: | @@ -21324,7 +21416,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupBackupCompliancePolicy --help + source: atlas api cloudBackups getCompliancePolicy --help - label: Go lang: go source: | @@ -21409,7 +21501,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupBackupCompliancePolicy --help + source: atlas api cloudBackups updateCompliancePolicy --help - label: Go lang: go source: | @@ -21487,7 +21579,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess listGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess listCloudProviderAccess --help - label: Go lang: go source: | @@ -21566,7 +21658,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess createGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess createCloudProviderAccess --help - label: Go lang: go source: | @@ -21653,7 +21745,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess deauthorizeGroupCloudProviderAccessRole --help + source: atlas api cloudProviderAccess deauthorizeProviderAccessRole --help - label: Go lang: go source: | @@ -21735,7 +21827,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess getGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess getCloudProviderAccess --help - label: Go lang: go source: | @@ -21825,7 +21917,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess authorizeGroupCloudProviderAccessRole --help + source: atlas api cloudProviderAccess authorizeProviderAccessRole --help - label: Go lang: go source: | @@ -21895,6 +21987,12 @@ paths: schema: default: false type: boolean + - description: Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean responses: "200": content: @@ -21917,7 +22015,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters listGroupClusters --help + source: atlas api clusters listClusters --help - label: Go lang: go source: | @@ -21970,6 +22068,12 @@ paths: operationId: createCluster parameters: - $ref: "#/components/parameters/groupId" + - description: Controls how hardware specification fields are returned in the response after cluster creation. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean requestBody: content: application/vnd.atlas.2024-10-23+json: @@ -22087,7 +22191,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters createGroupCluster --help + source: atlas api clusters createCluster --help - label: Go lang: go source: | @@ -22183,7 +22287,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters deleteGroupCluster --help + source: atlas api clusters deleteCluster --help - label: Go lang: go source: | @@ -22243,6 +22347,12 @@ paths: schema: pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string + - description: Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean responses: "200": content: @@ -22269,7 +22379,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupCluster --help + source: atlas api clusters getCluster --help - label: Go lang: go source: | @@ -22323,6 +22433,12 @@ paths: schema: pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string + - description: "Controls how hardware specification fields are returned in the response after cluster updates. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Note: When using this header with autoscaling enabled, MongoDB ignores replicationSpecs changes during updates. To intentionally override the replicationSpecs, disable this header." + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean requestBody: content: application/vnd.atlas.2024-10-23+json: @@ -22357,7 +22473,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters updateGroupCluster --help + source: atlas api clusters updateCluster --help - label: Go lang: go source: | @@ -22464,7 +22580,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupClusterCollStatMeasurements --help + source: atlas api collectionLevelMetrics listCollStatMeasurements --help - label: Go lang: go source: | @@ -22550,7 +22666,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics getGroupClusterCollStatNamespaces --help + source: atlas api collectionLevelMetrics getClusterNamespaces --help - label: Go lang: go source: | @@ -22635,7 +22751,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters autoGroupClusterScalingConfiguration --help + source: atlas api clusters autoScalingConfiguration --help - label: Go lang: go source: | @@ -22717,7 +22833,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupExports --help + source: atlas api cloudBackups listBackupExports --help - label: Go lang: go source: | @@ -22804,7 +22920,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupClusterBackupExport --help + source: atlas api cloudBackups createBackupExport --help - label: Go lang: go source: | @@ -22893,7 +23009,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupExport --help + source: atlas api cloudBackups getBackupExport --help - label: Go lang: go source: | @@ -22973,7 +23089,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupRestoreJobs --help + source: atlas api cloudBackups listBackupRestoreJobs --help - label: Go lang: go source: | @@ -23063,7 +23179,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups createBackupRestoreJob --help - label: Go lang: go source: | @@ -23153,7 +23269,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups cancelGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups cancelBackupRestoreJob --help - label: Go lang: go source: | @@ -23239,7 +23355,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups getBackupRestoreJob --help - label: Go lang: go source: | @@ -23318,7 +23434,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSchedule --help + source: atlas api cloudBackups deleteClusterBackupSchedule --help - label: Go lang: go source: | @@ -23394,7 +23510,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSchedule --help + source: atlas api cloudBackups getBackupSchedule --help - label: Go lang: go source: | @@ -23485,7 +23601,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupClusterBackupSchedule --help + source: atlas api cloudBackups updateBackupSchedule --help - label: Go lang: go source: | @@ -23571,7 +23687,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupSnapshots --help + source: atlas api cloudBackups listBackupSnapshots --help - label: Go lang: go source: | @@ -23659,7 +23775,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups takeGroupClusterBackupSnapshots --help + source: atlas api cloudBackups takeSnapshots --help - label: Go lang: go source: | @@ -23750,7 +23866,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSnapshot --help + source: atlas api cloudBackups deleteClusterBackupSnapshot --help - label: Go lang: go source: | @@ -23837,7 +23953,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSnapshot --help + source: atlas api cloudBackups getClusterBackupSnapshot --help - label: Go lang: go source: | @@ -23929,7 +24045,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupClusterBackupSnapshot --help + source: atlas api cloudBackups updateBackupSnapshot --help - label: Go lang: go source: | @@ -24015,7 +24131,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSnapshotShardedCluster --help + source: atlas api cloudBackups deleteBackupShardedCluster --help - label: Go lang: go source: | @@ -24102,7 +24218,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSnapshotShardedCluster --help + source: atlas api cloudBackups getBackupShardedCluster --help - label: Go lang: go source: | @@ -24181,7 +24297,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupSnapshotShardedClusters --help + source: atlas api cloudBackups listBackupShardedClusters --help - label: Go lang: go source: | @@ -24276,7 +24392,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots downloadGroupClusterBackupTenant --help + source: atlas api sharedTierSnapshots downloadClusterBackupTenant --help - label: Go lang: go source: | @@ -24378,7 +24494,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs createGroupClusterBackupTenantRestore --help + source: atlas api sharedTierRestoreJobs createBackupTenantRestore --help - label: Go lang: go source: | @@ -24469,7 +24585,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs listGroupClusterBackupTenantRestores --help + source: atlas api sharedTierRestoreJobs listBackupTenantRestores --help - label: Go lang: go source: | @@ -24563,7 +24679,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs getGroupClusterBackupTenantRestore --help + source: atlas api sharedTierRestoreJobs getBackupTenantRestore --help - label: Go lang: go source: | @@ -24650,7 +24766,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots listGroupClusterBackupTenantSnapshots --help + source: atlas api sharedTierSnapshots listClusterBackupSnapshots --help - label: Go lang: go source: | @@ -24744,7 +24860,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots getGroupClusterBackupTenantSnapshot --help + source: atlas api sharedTierSnapshots getBackupTenantSnapshot --help - label: Go lang: go source: | @@ -24826,7 +24942,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterBackupCheckpoints --help + source: atlas api legacyBackup listClusterBackupCheckpoints --help - label: Go lang: go source: | @@ -24915,7 +25031,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterBackupCheckpoint --help + source: atlas api legacyBackup getClusterBackupCheckpoint --help - label: Go lang: go source: | @@ -24994,7 +25110,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics listPinnedNamespaces --help - label: Go lang: go source: | @@ -25089,7 +25205,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics updateGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics updatePinnedNamespaces --help - label: Go lang: go source: | @@ -25188,7 +25304,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics pinGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics pinNamespaces --help - label: Go lang: go source: | @@ -25281,7 +25397,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics unpinGroupClusterCollStatUnpinNamespaces --help + source: atlas api collectionLevelMetrics unpinNamespaces --help - label: Go lang: go source: | @@ -25380,7 +25496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterFtsIndex --help + source: atlas api atlasSearch createClusterFtsIndex --help - label: Go lang: go source: | @@ -25461,6 +25577,7 @@ paths: content: application/vnd.atlas.2023-01-01+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: "#/components/schemas/ClusterSearchIndex" type: array @@ -25482,7 +25599,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterFtsIndex --help + source: atlas api atlasSearch listClusterFtsIndex --help - label: Go lang: go source: | @@ -25576,7 +25693,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterFtsIndex --help + source: atlas api atlasSearch deleteClusterFtsIndex --help - label: Go lang: go source: | @@ -25666,7 +25783,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterFtsIndex --help + source: atlas api atlasSearch getClusterFtsIndex --help - label: Go lang: go source: | @@ -25767,7 +25884,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterFtsIndex --help + source: atlas api atlasSearch updateClusterFtsIndex --help - label: Go lang: go source: | @@ -25854,7 +25971,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters getGroupClusterGlobalWrites --help + source: atlas api globalClusters getClusterGlobalWrites --help - label: Go lang: go source: | @@ -25934,7 +26051,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters deleteGroupClusterGlobalWriteCustomZoneMapping --help + source: atlas api globalClusters deleteCustomZoneMapping --help - label: Go lang: go source: | @@ -26023,7 +26140,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters createGroupClusterGlobalWriteCustomZoneMapping --help + source: atlas api globalClusters createCustomZoneMapping --help - label: Go lang: go source: | @@ -26119,7 +26236,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters deleteGroupClusterGlobalWriteManagedNamespaces --help + source: atlas api globalClusters deleteManagedNamespaces --help - label: Go lang: go source: | @@ -26210,7 +26327,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters createGroupClusterGlobalWriteManagedNamespace --help + source: atlas api globalClusters createManagedNamespace --help - label: Go lang: go source: | @@ -26368,7 +26485,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api rollingIndex createGroupClusterIndexRollingIndex --help + source: atlas api rollingIndex createRollingIndex --help - label: Go lang: go source: | @@ -26460,7 +26577,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive listGroupClusterOnlineArchives --help + source: atlas api onlineArchive listOnlineArchives --help - label: Go lang: go source: | @@ -26550,7 +26667,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive createGroupClusterOnlineArchive --help + source: atlas api onlineArchive createOnlineArchive --help - label: Go lang: go source: | @@ -26641,7 +26758,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive deleteGroupClusterOnlineArchive --help + source: atlas api onlineArchive deleteOnlineArchive --help - label: Go lang: go source: | @@ -26731,7 +26848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive getGroupClusterOnlineArchive --help + source: atlas api onlineArchive getOnlineArchive --help - label: Go lang: go source: | @@ -26828,7 +26945,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive updateGroupClusterOnlineArchive --help + source: atlas api onlineArchive updateOnlineArchive --help - label: Go lang: go source: | @@ -26942,7 +27059,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive downloadGroupClusterOnlineArchiveQueryLogs --help + source: atlas api onlineArchive downloadQueryLogs --help - label: Go lang: go source: | @@ -27029,7 +27146,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation endGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation endOutageSimulation --help - label: Go lang: go source: | @@ -27117,7 +27234,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation getGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation getOutageSimulation --help - label: Go lang: go source: | @@ -27208,7 +27325,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation startGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation startOutageSimulation --help - label: Go lang: go source: | @@ -27296,7 +27413,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorDropIndexSuggestions --help + source: atlas api performanceAdvisor listDropIndexSuggestions --help - label: Go lang: go source: | @@ -27377,7 +27494,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorSchemaAdvice --help + source: atlas api performanceAdvisor listSchemaAdvice --help - label: Go lang: go source: | @@ -27501,7 +27618,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorSuggestedIndexes --help + source: atlas api performanceAdvisor listClusterSuggestedIndexes --help - label: Go lang: go source: | @@ -27585,7 +27702,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupClusterProcessArgs --help + source: atlas api clusters getProcessArgs --help - label: Go lang: go source: | @@ -27674,7 +27791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters updateGroupClusterProcessArgs --help + source: atlas api clusters updateProcessArgs --help - label: Go lang: go source: | @@ -27802,7 +27919,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightDetails --help + source: atlas api queryShapeInsights getQueryShapeDetails --help - label: Go lang: go source: | @@ -27969,7 +28086,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryShapeInsights listGroupClusterQueryShapeInsightSummaries --help + source: atlas api queryShapeInsights listQueryShapeSummaries --help - label: Go lang: go source: | @@ -28044,7 +28161,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters restartGroupClusterPrimaries --help + source: atlas api clusters restartPrimaries --help - label: Go lang: go source: | @@ -28145,7 +28262,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterRestoreJobs --help + source: atlas api legacyBackup listClusterRestoreJobs --help - label: Go lang: go source: | @@ -28234,7 +28351,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup createGroupClusterRestoreJob --help + source: atlas api legacyBackup createClusterRestoreJob --help - label: Go lang: go source: | @@ -28334,7 +28451,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterRestoreJob --help + source: atlas api legacyBackup getClusterRestoreJob --help - label: Go lang: go source: | @@ -28413,7 +28530,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchDeployment --help + source: atlas api atlasSearch deleteClusterSearchDeployment --help - label: Go lang: go source: | @@ -28491,7 +28608,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchDeployment --help + source: atlas api atlasSearch getClusterSearchDeployment --help - label: Go lang: go source: | @@ -28583,7 +28700,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchDeployment --help + source: atlas api atlasSearch updateClusterSearchDeployment --help - label: Go lang: go source: | @@ -28674,7 +28791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterSearchDeployment --help + source: atlas api atlasSearch createClusterSearchDeployment --help - label: Go lang: go source: | @@ -28741,6 +28858,7 @@ paths: content: application/vnd.atlas.2024-05-30+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: "#/components/schemas/SearchIndexResponse" type: array @@ -28770,7 +28888,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterSearchIndexes --help + source: atlas api atlasSearch listClusterSearchIndexes --help - label: Go lang: go source: | @@ -28860,7 +28978,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterSearchIndex --help + source: atlas api atlasSearch createClusterSearchIndex --help - label: Go lang: go source: | @@ -28939,6 +29057,7 @@ paths: content: application/vnd.atlas.2024-05-30+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: "#/components/schemas/SearchIndexResponse" type: array @@ -28968,7 +29087,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterSearchIndex --help + source: atlas api atlasSearch listSearchIndex --help - label: Go lang: go source: | @@ -29069,7 +29188,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchIndexByName --help + source: atlas api atlasSearch deleteIndexByName --help - label: Go lang: go source: | @@ -29171,7 +29290,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchIndexByName --help + source: atlas api atlasSearch getIndexByName --help - label: Go lang: go source: | @@ -29282,7 +29401,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchIndexByName --help + source: atlas api atlasSearch updateIndexByName --help - label: Go lang: go source: | @@ -29378,7 +29497,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchIndex --help + source: atlas api atlasSearch deleteClusterSearchIndex --help - label: Go lang: go source: | @@ -29474,7 +29593,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchIndex --help + source: atlas api atlasSearch getClusterSearchIndex --help - label: Go lang: go source: | @@ -29573,7 +29692,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchIndex --help + source: atlas api atlasSearch updateClusterSearchIndex --help - label: Go lang: go source: | @@ -29663,7 +29782,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterSnapshotSchedule --help + source: atlas api legacyBackup getClusterSnapshotSchedule --help - label: Go lang: go source: | @@ -29755,7 +29874,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup updateGroupClusterSnapshotSchedule --help + source: atlas api legacyBackup updateClusterSnapshotSchedule --help - label: Go lang: go source: | @@ -29849,7 +29968,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterSnapshots --help + source: atlas api legacyBackup listClusterSnapshots --help - label: Go lang: go source: | @@ -29937,7 +30056,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup deleteGroupClusterSnapshot --help + source: atlas api legacyBackup deleteClusterSnapshot --help - label: Go lang: go source: | @@ -30026,7 +30145,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterSnapshot --help + source: atlas api legacyBackup getClusterSnapshot --help - label: Go lang: go source: | @@ -30120,7 +30239,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup updateGroupClusterSnapshot --help + source: atlas api legacyBackup updateClusterSnapshot --help - label: Go lang: go source: | @@ -30203,7 +30322,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupClusterStatus --help + source: atlas api clusters getClusterStatus --help - label: Go lang: go source: | @@ -30290,7 +30409,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters grantGroupClusterMongoDbEmployeeAccess --help + source: atlas api clusters grantMongoEmployeeAccess --help - label: Go lang: go source: | @@ -30380,7 +30499,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters pinGroupClusterFeatureCompatibilityVersion --help + source: atlas api clusters pinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -30463,7 +30582,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters revokeGroupClusterMongoDbEmployeeAccess --help + source: atlas api clusters revokeMongoEmployeeAccess --help - label: Go lang: go source: | @@ -30548,7 +30667,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters unpinGroupClusterFeatureCompatibilityVersion --help + source: atlas api clusters unpinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -30658,7 +30777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs downloadGroupClusterLog --help + source: atlas api monitoringAndLogs downloadClusterLog --help - label: Go lang: go source: | @@ -30748,7 +30867,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters listGroupClusterProviderRegions --help + source: atlas api clusters listClusterProviderRegions --help - label: Go lang: go source: | @@ -30837,7 +30956,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters upgradeGroupClusterTenantUpgrade --help + source: atlas api clusters upgradeTenantUpgrade --help - label: Go lang: go source: | @@ -30934,7 +31053,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters upgradeGroupClusterTenantUpgradeToServerless --help + source: atlas api clusters upgradeClusterToServerless --help - label: Go lang: go source: | @@ -31012,7 +31131,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupCollStatMetrics --help + source: atlas api collectionLevelMetrics listCollStatMetrics --help - label: Go lang: go source: | @@ -31579,7 +31698,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles listGroupCustomDbRoleRoles --help + source: atlas api customDatabaseRoles listCustomDbRoles --help - label: Go lang: go source: | @@ -31659,7 +31778,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles createGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles createCustomDbRole --help - label: Go lang: go source: | @@ -31741,7 +31860,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles deleteGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles deleteCustomDbRole --help - label: Go lang: go source: | @@ -31816,7 +31935,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles getGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles getCustomDbRole --help - label: Go lang: go source: | @@ -31902,7 +32021,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles updateGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles updateCustomDbRole --help - label: Go lang: go source: | @@ -31990,7 +32109,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupDataFederation --help + source: atlas api dataFederation listDataFederation --help - label: Go lang: go source: | @@ -32074,7 +32193,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation createGroupDataFederation --help + source: atlas api dataFederation createDataFederation --help - label: Go lang: go source: | @@ -32152,7 +32271,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupDataFederation --help + source: atlas api dataFederation deleteDataFederation --help - label: Go lang: go source: | @@ -32232,7 +32351,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupDataFederation --help + source: atlas api dataFederation getDataFederation --help - label: Go lang: go source: | @@ -32322,7 +32441,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation updateGroupDataFederation --help + source: atlas api dataFederation updateDataFederation --help - label: Go lang: go source: | @@ -32410,7 +32529,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupDataFederationLimits --help + source: atlas api dataFederation listDataFederationLimits --help - label: Go lang: go source: | @@ -32500,7 +32619,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupDataFederationLimit --help + source: atlas api dataFederation deleteDataFederationLimit --help - label: Go lang: go source: | @@ -32591,7 +32710,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupDataFederationLimit --help + source: atlas api dataFederation getDataFederationLimit --help - label: Go lang: go source: | @@ -32689,7 +32808,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation setGroupDataFederationLimit --help + source: atlas api dataFederation setDataFederationLimit --help - label: Go lang: go source: | @@ -32794,7 +32913,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation downloadGroupDataFederationQueryLogs --help + source: atlas api dataFederation downloadFederationQueryLogs --help - label: Go lang: go source: | @@ -32872,7 +32991,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers listGroupDatabaseUsers --help + source: atlas api databaseUsers listDatabaseUsers --help - label: Go lang: go source: | @@ -33046,7 +33165,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers createGroupDatabaseUser --help + source: atlas api databaseUsers createDatabaseUser --help - label: Go lang: go source: | @@ -33148,7 +33267,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers deleteGroupDatabaseUser --help + source: atlas api databaseUsers deleteDatabaseUser --help - label: Go lang: go source: | @@ -33247,7 +33366,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers getGroupDatabaseUser --help + source: atlas api databaseUsers getDatabaseUser --help - label: Go lang: go source: | @@ -33357,7 +33476,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers updateGroupDatabaseUser --help + source: atlas api databaseUsers updateDatabaseUser --help - label: Go lang: go source: | @@ -33442,7 +33561,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication listGroupDatabaseUserCerts --help + source: atlas api x509Authentication listDatabaseUserCerts --help - label: Go lang: go source: | @@ -33537,7 +33656,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication createGroupDatabaseUserCert --help + source: atlas api x509Authentication createDatabaseUserCert --help - label: Go lang: go source: | @@ -33657,7 +33776,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api accessTracking getGroupDbAccessHistoryCluster --help + source: atlas api accessTracking getAccessHistoryCluster --help - label: Go lang: go source: | @@ -33770,7 +33889,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api accessTracking getGroupDbAccessHistoryProcess --help + source: atlas api accessTracking getAccessHistoryProcess --help - label: Go lang: go source: | @@ -33846,7 +33965,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement getGroupEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRest --help - label: Go lang: go source: | @@ -33938,7 +34057,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement updateGroupEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement updateEncryptionAtRest --help - label: Go lang: go source: | @@ -34021,7 +34140,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement listGroupEncryptionAtRestPrivateEndpoints --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement listRestPrivateEndpoints --help - label: Go lang: go source: | @@ -34103,7 +34222,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement createGroupEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement createRestPrivateEndpoint --help - label: Go lang: go source: | @@ -34188,7 +34307,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement requestGroupEncryptionAtRestPrivateEndpointDeletion --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement requestPrivateEndpointDeletion --help - label: Go lang: go source: | @@ -34275,7 +34394,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement getGroupEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getRestPrivateEndpoint --help - label: Go lang: go source: | @@ -34576,7 +34695,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters listGroupFlexClusters --help + source: atlas api flexClusters listFlexClusters --help - label: Go lang: go source: | @@ -34658,7 +34777,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters createGroupFlexCluster --help + source: atlas api flexClusters createFlexCluster --help - label: Go lang: go source: | @@ -34741,7 +34860,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters deleteGroupFlexCluster --help + source: atlas api flexClusters deleteFlexCluster --help - label: Go lang: go source: | @@ -34823,7 +34942,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters getGroupFlexCluster --help + source: atlas api flexClusters getFlexCluster --help - label: Go lang: go source: | @@ -34910,7 +35029,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters updateGroupFlexCluster --help + source: atlas api flexClusters updateFlexCluster --help - label: Go lang: go source: | @@ -35002,7 +35121,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots downloadGroupFlexClusterBackup --help + source: atlas api flexSnapshots downloadFlexBackup --help - label: Go lang: go source: | @@ -35090,7 +35209,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs listGroupFlexClusterBackupRestoreJobs --help + source: atlas api flexRestoreJobs listFlexRestoreJobs --help - label: Go lang: go source: | @@ -35177,7 +35296,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs createGroupFlexClusterBackupRestoreJob --help + source: atlas api flexRestoreJobs createFlexRestoreJob --help - label: Go lang: go source: | @@ -35267,7 +35386,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs getGroupFlexClusterBackupRestoreJob --help + source: atlas api flexRestoreJobs getFlexRestoreJob --help - label: Go lang: go source: | @@ -35349,7 +35468,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots listGroupFlexClusterBackupSnapshots --help + source: atlas api flexSnapshots listFlexBackupSnapshots --help - label: Go lang: go source: | @@ -35436,7 +35555,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots getGroupFlexClusterBackupSnapshot --help + source: atlas api flexSnapshots getFlexBackupSnapshot --help - label: Go lang: go source: | @@ -35519,7 +35638,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters tenantGroupFlexClusterUpgrade --help + source: atlas api flexClusters tenantUpgrade --help - label: Go lang: go source: | @@ -35598,7 +35717,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetrics --help + source: atlas api monitoringAndLogs listHostFtsMetrics --help - label: Go lang: go source: | @@ -35694,7 +35813,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupHostFtsMetricIndexMeasurements --help + source: atlas api monitoringAndLogs getIndexMeasurements --help - label: Go lang: go source: | @@ -35789,7 +35908,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetricIndexMeasurements --help + source: atlas api monitoringAndLogs listIndexMeasurements --help - label: Go lang: go source: | @@ -35883,7 +36002,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetricMeasurements --help + source: atlas api monitoringAndLogs listMeasurements --help - label: Go lang: go source: | @@ -36002,7 +36121,7 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listGroupIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: - description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Deleting log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: deleteGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -36078,7 +36197,7 @@ paths: -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteGroupIntegration get: - description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Viewing log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: getGroupIntegration parameters: - $ref: "#/components/parameters/groupId" @@ -36159,7 +36278,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getGroupIntegration post: - description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: createGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -36253,7 +36372,7 @@ paths: -d '{ }' x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createGroupIntegration put: - description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: updateGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -36430,7 +36549,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listGroupInvites patch: deprecated: true @@ -36514,7 +36633,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupInvites post: deprecated: true @@ -36596,12 +36715,12 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createGroupInvite /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: deprecated: true - description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: "Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Note: deleting a project invitation does not delete an organization invitation even if they were created together." operationId: deleteGroupInvite parameters: - $ref: "#/components/parameters/groupId" @@ -36673,7 +36792,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteGroupInvite get: deprecated: true @@ -36753,7 +36872,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getGroupInvite patch: deprecated: true @@ -36799,7 +36918,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects updateGroupInviteById --help + source: atlas api projects updateInviteById --help - label: Go lang: go source: | @@ -36844,7 +36963,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupInviteById x-xgen-method-verb-override: customMethod: false @@ -37500,7 +37619,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService cutoverGroupLiveMigration --help + source: atlas api cloudMigrationService cutoverMigration --help - label: Go lang: go source: | @@ -37586,7 +37705,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService validateGroupLiveMigrations --help + source: atlas api cloudMigrationService validateLiveMigrations --help - label: Go lang: go source: | @@ -37672,7 +37791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService getGroupLiveMigrationValidateStatus --help + source: atlas api cloudMigrationService getMigrationValidateStatus --help - label: Go lang: go source: | @@ -37745,7 +37864,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows resetGroupMaintenanceWindow --help + source: atlas api maintenanceWindows resetMaintenanceWindow --help - label: Go lang: go source: | @@ -37819,7 +37938,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows getGroupMaintenanceWindow --help + source: atlas api maintenanceWindows getMaintenanceWindow --help - label: Go lang: go source: | @@ -37895,7 +38014,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows updateGroupMaintenanceWindow --help + source: atlas api maintenanceWindows updateMaintenanceWindow --help - label: Go lang: go source: | @@ -37969,7 +38088,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows toggleGroupMaintenanceWindowAutoDefer --help + source: atlas api maintenanceWindows toggleMaintenanceAutoDefer --help - label: Go lang: go source: | @@ -38046,7 +38165,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows deferGroupMaintenanceWindow --help + source: atlas api maintenanceWindows deferMaintenanceWindow --help - label: Go lang: go source: | @@ -38126,7 +38245,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor getGroupManagedSlowMs --help + source: atlas api performanceAdvisor getManagedSlowMs --help - label: Go lang: go source: | @@ -38196,7 +38315,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor disableGroupManagedSlowMs --help + source: atlas api performanceAdvisor disableManagedSlowMs --help - label: Go lang: go source: | @@ -38268,7 +38387,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor enableGroupManagedSlowMs --help + source: atlas api performanceAdvisor enableManagedSlowMs --help - label: Go lang: go source: | @@ -38377,7 +38496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects getGroupMongoDbVersions --help + source: atlas api projects getMongoDbVersions --help - label: Go lang: go source: | @@ -38878,7 +38997,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines listGroupPipelines --help + source: atlas api dataLakePipelines listPipelines --help - label: Go lang: go source: | @@ -38961,7 +39080,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines createGroupPipeline --help + source: atlas api dataLakePipelines createPipeline --help - label: Go lang: go source: | @@ -39042,7 +39161,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines deleteGroupPipeline --help + source: atlas api dataLakePipelines deletePipeline --help - label: Go lang: go source: | @@ -39124,7 +39243,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipeline --help + source: atlas api dataLakePipelines getPipeline --help - label: Go lang: go source: | @@ -39213,7 +39332,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines updateGroupPipeline --help + source: atlas api dataLakePipelines updatePipeline --help - label: Go lang: go source: | @@ -39305,7 +39424,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineAvailableSchedules --help + source: atlas api dataLakePipelines getAvailablePipelineSchedules --help - label: Go lang: go source: | @@ -39398,7 +39517,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineAvailableSnapshots --help + source: atlas api dataLakePipelines getAvailablePipelineSnapshots --help - label: Go lang: go source: | @@ -39479,7 +39598,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines pauseGroupPipeline --help + source: atlas api dataLakePipelines pausePipeline --help - label: Go lang: go source: | @@ -39566,7 +39685,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines resumeGroupPipeline --help + source: atlas api dataLakePipelines resumePipeline --help - label: Go lang: go source: | @@ -39664,7 +39783,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines listGroupPipelineRuns --help + source: atlas api dataLakePipelines listPipelineRuns --help - label: Go lang: go source: | @@ -39753,7 +39872,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines deleteGroupPipelineRun --help + source: atlas api dataLakePipelines deletePipelineRun --help - label: Go lang: go source: | @@ -39843,7 +39962,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineRun --help + source: atlas api dataLakePipelines getPipelineRun --help - label: Go lang: go source: | @@ -39931,7 +40050,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines triggerGroupPipeline --help + source: atlas api dataLakePipelines triggerPipeline --help - label: Go lang: go source: | @@ -40027,7 +40146,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices listGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices listPrivateEndpointService --help - label: Go lang: go source: | @@ -40113,7 +40232,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices deleteGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices deletePrivateEndpointService --help - label: Go lang: go source: | @@ -40202,7 +40321,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices getPrivateEndpointService --help - label: Go lang: go source: | @@ -40301,7 +40420,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices createGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices createPrivateEndpoint --help - label: Go lang: go source: | @@ -40398,7 +40517,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices deleteGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices deletePrivateEndpoint --help - label: Go lang: go source: | @@ -40494,7 +40613,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices getPrivateEndpoint --help - label: Go lang: go source: | @@ -40576,7 +40695,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices createGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices createPrivateEndpointService --help - label: Go lang: go source: | @@ -40650,7 +40769,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointRegionalMode --help + source: atlas api privateEndpointServices getRegionalEndpointMode --help - label: Go lang: go source: | @@ -40731,7 +40850,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices toggleGroupPrivateEndpointRegionalMode --help + source: atlas api privateEndpointServices toggleRegionalEndpointMode --help - label: Go lang: go source: | @@ -40828,7 +40947,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints listGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints listServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -40921,7 +41040,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints createGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints createServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -41012,7 +41131,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints deleteGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints deleteServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -41102,7 +41221,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints getGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints getServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -41197,7 +41316,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints updateGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints updateServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -41277,7 +41396,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api networkPeering verifyGroupPrivateIpMode --help + source: atlas api networkPeering verifyPrivateIpMode --help - label: Go lang: go source: | @@ -41362,7 +41481,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api networkPeering disableGroupPrivateIpModePeering --help + source: atlas api networkPeering disablePeering --help - label: Go lang: go source: | @@ -41444,7 +41563,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupPrivateNetworkSettingEndpointIds --help + source: atlas api dataFederation listPrivateEndpointIds --help - label: Go lang: go source: | @@ -41541,7 +41660,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation createGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation createPrivateEndpointId --help - label: Go lang: go source: | @@ -41620,7 +41739,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation deletePrivateEndpointId --help - label: Go lang: go source: | @@ -41698,7 +41817,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation getPrivateEndpointId --help - label: Go lang: go source: | @@ -41938,7 +42057,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupProcessCollStatMeasurements --help + source: atlas api collectionLevelMetrics listProcessMeasurements --help - label: Go lang: go source: | @@ -42012,7 +42131,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics getGroupProcessCollStatNamespaces --help + source: atlas api collectionLevelMetrics getProcessNamespaces --help - label: Go lang: go source: | @@ -42099,7 +42218,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupProcessDatabases --help + source: atlas api monitoringAndLogs listDatabases --help - label: Go lang: go source: | @@ -42185,7 +42304,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDatabase --help + source: atlas api monitoringAndLogs getDatabase --help - label: Go lang: go source: | @@ -42287,7 +42406,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDatabaseMeasurements --help + source: atlas api monitoringAndLogs getDatabaseMeasurements --help - label: Go lang: go source: | @@ -42368,7 +42487,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupProcessDisks --help + source: atlas api monitoringAndLogs listProcessDisks --help - label: Go lang: go source: | @@ -42454,7 +42573,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDisk --help + source: atlas api monitoringAndLogs getProcessDisk --help - label: Go lang: go source: | @@ -42563,7 +42682,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDiskMeasurements --help + source: atlas api monitoringAndLogs getProcessDiskMeasurements --help - label: Go lang: go source: | @@ -42667,7 +42786,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessMeasurements --help + source: atlas api monitoringAndLogs getProcessMeasurements --help - label: Go lang: go source: | @@ -42769,7 +42888,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorNamespaces --help + source: atlas api performanceAdvisor listPerformanceAdvisorNamespaces --help - label: Go lang: go source: | @@ -42906,7 +43025,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorSlowQueryLogs --help + source: atlas api performanceAdvisor listSlowQueryLogs --help - label: Go lang: go source: | @@ -43032,7 +43151,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorSuggestedIndexes --help + source: atlas api performanceAdvisor listSuggestedIndexes --help - label: Go lang: go source: | @@ -43102,7 +43221,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport deleteGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport deleteLogExport --help - label: Go lang: go source: | @@ -43174,7 +43293,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport getGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport getLogExport --help - label: Go lang: go source: | @@ -43254,7 +43373,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport updateGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport updateLogExport --help - label: Go lang: go source: | @@ -43335,7 +43454,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport createGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport createLogExport --help - label: Go lang: go source: | @@ -43420,7 +43539,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters requestGroupSampleDatasetLoad --help + source: atlas api clusters requestSampleDatasetLoad --help - label: Go lang: go source: | @@ -43506,7 +43625,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupSampleDatasetLoad --help + source: atlas api clusters getSampleDatasetLoad --help - label: Go lang: go source: | @@ -43587,7 +43706,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances listGroupServerlessInstances --help + source: atlas api serverlessInstances listServerlessInstances --help - label: Go lang: go source: | @@ -43678,7 +43797,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances createGroupServerlessInstance --help + source: atlas api serverlessInstances createServerlessInstance --help - label: Go lang: go source: | @@ -43773,7 +43892,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupServerlessBackupRestoreJobs --help + source: atlas api cloudBackups listServerlessRestoreJobs --help - label: Go lang: go source: | @@ -43866,7 +43985,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupServerlessBackupRestoreJob --help + source: atlas api cloudBackups createServerlessRestoreJob --help - label: Go lang: go source: | @@ -43964,7 +44083,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupServerlessBackupRestoreJob --help + source: atlas api cloudBackups getServerlessRestoreJob --help - label: Go lang: go source: | @@ -44052,7 +44171,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupServerlessBackupSnapshots --help + source: atlas api cloudBackups listServerlessBackupSnapshots --help - label: Go lang: go source: | @@ -44147,7 +44266,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupServerlessBackupSnapshot --help + source: atlas api cloudBackups getServerlessBackupSnapshot --help - label: Go lang: go source: | @@ -44229,7 +44348,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor getGroupServerlessPerformanceAdvisorAutoIndexing --help + source: atlas api performanceAdvisor getServerlessAutoIndexing --help - label: Go lang: go source: | @@ -44317,7 +44436,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor setGroupServerlessPerformanceAdvisorAutoIndexing --help + source: atlas api performanceAdvisor setServerlessAutoIndexing --help - label: Go lang: go source: | @@ -44411,7 +44530,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances deleteGroupServerlessInstance --help + source: atlas api serverlessInstances deleteServerlessInstance --help - label: Go lang: go source: | @@ -44502,7 +44621,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances getGroupServerlessInstance --help + source: atlas api serverlessInstances getServerlessInstance --help - label: Go lang: go source: | @@ -44598,7 +44717,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances updateGroupServerlessInstance --help + source: atlas api serverlessInstances updateServerlessInstance --help - label: Go lang: go source: | @@ -45087,7 +45206,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts listGroupServiceAccountAccessList --help + source: atlas api serviceAccounts listAccessList --help - label: Go lang: go source: | @@ -45182,7 +45301,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createGroupServiceAccountAccessList --help + source: atlas api serviceAccounts createAccessList --help - label: Go lang: go source: | @@ -45272,7 +45391,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteGroupServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteGroupAccessEntry --help - label: Go lang: go source: | @@ -45362,7 +45481,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createGroupServiceAccountSecret --help + source: atlas api serviceAccounts createGroupSecret --help - label: Go lang: go source: | @@ -45448,7 +45567,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteGroupServiceAccountSecret --help + source: atlas api serviceAccounts deleteGroupSecret --help - label: Go lang: go source: | @@ -45734,7 +45853,7 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupSettings /api/atlas/v2/groups/{groupId}/streams: get: - description: Returns all stream instances for the specified project. + description: Returns all stream workspaces for the specified project. operationId: listStreamWorkspaces parameters: - $ref: "#/components/parameters/groupId" @@ -45756,13 +45875,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Return All Stream Instances in One Project + summary: Return All Stream Workspaces in One Project tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamWorkspaces --help + source: atlas api streams listStreamWorkspaces --help - label: Go lang: go source: | @@ -45810,7 +45929,7 @@ paths: customMethod: false verb: listWorkspaces post: - description: Creates one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Creates one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createStreamWorkspace parameters: - $ref: "#/components/parameters/groupId" @@ -45819,7 +45938,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: "#/components/schemas/StreamsTenant" - description: Details to create one streams instance in the specified project. + description: Details to create one streams workspace in the specified project. required: true responses: "200": @@ -45839,13 +45958,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Create One Stream Instance + summary: Create One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamWorkspace --help + source: atlas api streams createStreamWorkspace --help - label: Go lang: go source: | @@ -45898,11 +46017,11 @@ paths: verb: createWorkspace /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: - description: Delete one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Delete one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: deleteStreamWorkspace parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance to delete. + - description: Label that identifies the stream workspace to delete. in: path name: tenantName required: true @@ -45922,13 +46041,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Delete One Stream Instance + summary: Delete One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamWorkspace --help + source: atlas api streams deleteStreamWorkspace --help - label: Go lang: go source: | @@ -45976,17 +46095,17 @@ paths: customMethod: false verb: deleteWorkspace get: - description: Returns the details of one stream instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + description: Returns the details of one stream workspace within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getStreamWorkspace parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance to return. + - description: Label that identifies the stream workspace to return. in: path name: tenantName required: true schema: type: string - - description: Flag to indicate whether connections information should be included in the stream instance. + - description: Flag to indicate whether connections information should be included in the stream workspace. in: query name: includeConnections schema: @@ -46011,13 +46130,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Return One Stream Instance + summary: Return One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamWorkspace --help + source: atlas api streams getStreamWorkspace --help - label: Go lang: go source: | @@ -46065,11 +46184,11 @@ paths: customMethod: false verb: getWorkspace patch: - description: Update one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Update one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateStreamWorkspace parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance to update. + - description: Label that identifies the stream workspace to update. in: path name: tenantName required: true @@ -46080,7 +46199,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: "#/components/schemas/StreamsDataProcessRegion" - description: Details of the new data process region to update in the streams instance. + description: Details of the new data process region to update in the streams workspace. required: true responses: "200": @@ -46100,13 +46219,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Update One Stream Instance + summary: Update One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamWorkspace --help + source: atlas api streams updateStreamWorkspace --help - label: Go lang: go source: | @@ -46159,7 +46278,7 @@ paths: verb: updateWorkspace /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: - description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".' + description: 'Downloads the audit logs for the specified Atlas Streams Processing workspace. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".' operationId: downloadAuditLogs parameters: - $ref: "#/components/parameters/groupId" @@ -46179,7 +46298,7 @@ paths: format: int64 pattern: "1199145600" type: integer - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -46207,13 +46326,13 @@ paths: $ref: "#/components/responses/conflict" "500": $ref: "#/components/responses/internalServerError" - summary: Download Audit Logs for One Atlas Stream Processing Instance + summary: Download Audit Logs for One Atlas Stream Processing Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams downloadGroupStreamAuditLogs --help + source: atlas api streams downloadAuditLogs --help - label: Go lang: go source: | @@ -46262,13 +46381,13 @@ paths: verb: download /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: - description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + description: Returns all connections of the stream workspace for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: listStreamConnections parameters: - $ref: "#/components/parameters/groupId" - $ref: "#/components/parameters/itemsPerPage" - $ref: "#/components/parameters/pageNum" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -46290,13 +46409,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Return All Connections of the Stream Instances + summary: Return All Connections of the Stream Workspaces tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamConnections --help + source: atlas api streams listStreamConnections --help - label: Go lang: go source: | @@ -46341,11 +46460,11 @@ paths: 2023-09-11: The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listGroupStreamConnections post: - description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. + description: Creates one connection for a stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createStreamConnection parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -46356,7 +46475,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: "#/components/schemas/StreamsConnection" - description: Details to create one connection for a streams instance in the specified project. + description: Details to create one connection for a streams workspace in the specified project. required: true responses: "200": @@ -46384,7 +46503,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamConnection --help + source: atlas api streams createStreamConnection --help - label: Go lang: go source: | @@ -46434,17 +46553,17 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createGroupStreamConnection /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: - description: Delete one connection of the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Delete one connection of the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: deleteStreamConnection parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection. + - description: Label that identifies the stream connection. in: path name: connectionName required: true @@ -46472,7 +46591,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamConnection --help + source: atlas api streams deleteStreamConnection --help - label: Go lang: go source: | @@ -46517,17 +46636,17 @@ paths: 2023-09-11: The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteGroupStreamConnection get: - description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. + description: Returns the details of one stream connection within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. operationId: getStreamConnection parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance to return. + - description: Label that identifies the stream workspace to return. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection to return. + - description: Label that identifies the stream connection to return. in: path name: connectionName required: true @@ -46540,7 +46659,7 @@ paths: schema: $ref: "#/components/schemas/StreamsConnection" x-xgen-IPA-exception: - xgen-IPA-104-get-method-returns-response-suffixed-object: API predates IPA validation. + xgen-IPA-104-get-method-returns-response-suffixed-object: Exception OK as they are present in existing resource, fixing would require major refactoring. x-xgen-version: 2023-02-01 description: OK "401": @@ -46557,7 +46676,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamConnection --help + source: atlas api streams getStreamConnection --help - label: Go lang: go source: | @@ -46602,17 +46721,17 @@ paths: 2023-09-11: The MongoDB Atlas Streams Processing API is now exposed as part of private preview, but is subject to change until GA. x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getGroupStreamConnection patch: - description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Update one connection for the specified stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamConnection parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection. + - description: Label that identifies the stream connection. in: path name: connectionName required: true @@ -46623,7 +46742,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: "#/components/schemas/StreamsConnection" - description: Details to update one connection for a streams instance in the specified project. + description: Details to update one connection for a streams workspace in the specified project. required: true responses: "200": @@ -46651,7 +46770,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamConnection --help + source: atlas api streams updateStreamConnection --help - label: Go lang: go source: | @@ -46701,11 +46820,11 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateGroupStreamConnection /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: - description: Create one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Create one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: createStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -46744,7 +46863,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamProcessor --help + source: atlas api streams createStreamProcessor --help - label: Go lang: go source: | @@ -46792,17 +46911,17 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/createGroupStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: - description: Delete a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Delete a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: deleteStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -46828,7 +46947,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamProcessor --help + source: atlas api streams deleteStreamProcessor --help - label: Go lang: go source: | @@ -46871,17 +46990,17 @@ paths: -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteGroupStreamProcessor get: - description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Get one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -46913,7 +47032,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamProcessor --help + source: atlas api streams getStreamProcessor --help - label: Go lang: go source: | @@ -46956,17 +47075,17 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getGroupStreamProcessor patch: - description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Modify one existing Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -47003,7 +47122,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamProcessor --help + source: atlas api streams updateStreamProcessor --help - label: Go lang: go source: | @@ -47051,17 +47170,17 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/updateGroupStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: - description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: startStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -47087,7 +47206,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams startGroupStreamProcessor --help + source: atlas api streams startStreamProcessor --help - label: Go lang: go source: | @@ -47135,17 +47254,17 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startGroupStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith: post: - description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: startStreamProcessorWith parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -47178,7 +47297,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams startGroupStreamProcessorWith --help + source: atlas api streams startStreamProcessorWith --help - label: Go lang: go source: | @@ -47226,17 +47345,17 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/startGroupStreamProcessorWith /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: - description: Stop a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Stop a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: stopStreamProcessor parameters: - $ref: "#/components/parameters/groupId" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -47262,7 +47381,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams stopGroupStreamProcessor --help + source: atlas api streams stopStreamProcessor --help - label: Go lang: go source: | @@ -47310,14 +47429,14 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/stopGroupStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: - description: Returns all Stream Processors within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Returns all Stream Processors within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getStreamProcessors parameters: - $ref: "#/components/parameters/groupId" - $ref: "#/components/parameters/itemsPerPage" - $ref: "#/components/parameters/pageNum" - $ref: "#/components/parameters/includeCount" - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -47344,13 +47463,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Return All Stream Processors in One Stream Instance + summary: Return All Stream Processors in One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamProcessors --help + source: atlas api streams getStreamProcessors --help - label: Go lang: go source: | @@ -47432,7 +47551,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamAccountDetails --help + source: atlas api streams getAccountDetails --help - label: Go lang: go source: | @@ -47505,7 +47624,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamActiveVpcPeeringConnections --help + source: atlas api streams listActivePeeringConnections --help - label: Go lang: go source: | @@ -47577,7 +47696,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamPrivateLinkConnections --help + source: atlas api streams listPrivateLinkConnections --help - label: Go lang: go source: | @@ -47659,7 +47778,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamPrivateLinkConnection --help + source: atlas api streams createPrivateLinkConnection --help - label: Go lang: go source: | @@ -47739,7 +47858,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamPrivateLinkConnection --help + source: atlas api streams deletePrivateLinkConnection --help - label: Go lang: go source: | @@ -47816,7 +47935,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamPrivateLinkConnection --help + source: atlas api streams getPrivateLinkConnection --help - label: Go lang: go source: | @@ -47894,7 +48013,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamVpcPeeringConnections --help + source: atlas api streams listVpcPeeringConnections --help - label: Go lang: go source: | @@ -47968,7 +48087,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamVpcPeeringConnection --help + source: atlas api streams deleteVpcPeeringConnection --help - label: Go lang: go source: | @@ -48049,7 +48168,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams acceptGroupStreamVpcPeeringConnection --help + source: atlas api streams acceptVpcPeeringConnection --help - label: Go lang: go source: | @@ -48127,7 +48246,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams rejectGroupStreamVpcPeeringConnection --help + source: atlas api streams rejectVpcPeeringConnection --help - label: Go lang: go source: | @@ -48175,7 +48294,7 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/rejectGroupStreamVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: - description: Creates one stream instance in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Creates one stream workspace in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: withStreamSampleConnections parameters: - $ref: "#/components/parameters/groupId" @@ -48184,7 +48303,7 @@ paths: application/vnd.atlas.2024-08-05+json: schema: $ref: "#/components/schemas/TenantWithSampleConnections" - description: Details to create one streams instance in the specified project. + description: Details to create one streams workspace in the specified project. required: true responses: "200": @@ -48204,13 +48323,13 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Create One Stream Instance with Sample Connections + summary: Create One Stream Workspace with Sample Connections tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams withGroupStreamSampleConnections --help + source: atlas api streams withStreamSampleConnections --help - label: Go lang: go source: | @@ -48332,7 +48451,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listGroupTeams post: - description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: Adds multiple teams to the specified project. All members of a team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. externalDocs: description: Manage Organization Teams url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams @@ -48346,7 +48465,7 @@ paths: items: $ref: "#/components/schemas/TeamRole" type: array - description: Team to add to the specified project. + description: Teams and their roles to be added to the specified project. required: true responses: "200": @@ -48366,7 +48485,7 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" - summary: Add One Team to One Project + summary: Add Multiple Teams to One Project tags: - Teams x-codeSamples: @@ -48709,7 +48828,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration getGroupUserSecurity --help + source: atlas api ldapConfiguration getUserSecurity --help - label: Go lang: go source: | @@ -48790,7 +48909,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration updateGroupUserSecurity --help + source: atlas api ldapConfiguration updateUserSecurity --help - label: Go lang: go source: | @@ -48867,7 +48986,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication disableGroupUserSecurityCustomerX509 --help + source: atlas api x509Authentication disableSecurityCustomerX509 --help - label: Go lang: go source: | @@ -48940,7 +49059,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration deleteGroupUserSecurityLdapUserToDnMapping --help + source: atlas api ldapConfiguration deleteLdapUserMapping --help - label: Go lang: go source: | @@ -49019,7 +49138,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration verifyGroupUserSecurityLdap --help + source: atlas api ldapConfiguration verifyUserSecurityLdap --help - label: Go lang: go source: | @@ -49102,7 +49221,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration getGroupUserSecurityLdapVerify --help + source: atlas api ldapConfiguration getUserSecurityVerify --help - label: Go lang: go source: | @@ -49604,7 +49723,7 @@ paths: --header "Content-Type: application/json" \ -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupUserRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: post: @@ -49964,6 +50083,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/getGroupByName + /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 on 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 --include --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 --include \ + --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. @@ -50822,7 +51010,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys listOrgApiKeyAccessListEntries --help + source: atlas api programmaticApiKeys listOrgAccessEntries --help - label: Go lang: go source: | @@ -50917,7 +51105,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys createOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys createOrgAccessEntry --help - label: Go lang: go source: | @@ -51012,7 +51200,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys deleteOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys deleteAccessEntry --help - label: Go lang: go source: | @@ -51102,7 +51290,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys getOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys getOrgAccessEntry --help - label: Go lang: go source: | @@ -51184,7 +51372,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices createOrgBillingCostExplorerUsageProcess --help + source: atlas api invoices createCostExplorerProcess --help - label: Go lang: go source: | @@ -51288,7 +51476,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgBillingCostExplorerUsage --help + source: atlas api invoices getCostExplorerUsage --help - label: Go lang: go source: | @@ -51567,7 +51755,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getOrgFederationSettings --help + source: atlas api federatedAuthentication getFederationSettings --help - label: Go lang: go source: | @@ -51792,7 +51980,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrgInvites patch: deprecated: true @@ -51882,7 +52070,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgInvites post: deprecated: true @@ -51972,7 +52160,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrgInvite /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: @@ -52056,7 +52244,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrgInvite get: deprecated: true @@ -52144,7 +52332,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrgInvite patch: deprecated: true @@ -52241,7 +52429,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgInviteById x-xgen-method-verb-override: customMethod: false @@ -52322,7 +52510,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices listOrgInvoices --help + source: atlas api invoices listInvoices --help - label: Go lang: go source: | @@ -52414,7 +52602,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgInvoice --help + source: atlas api invoices getInvoice --help - label: Go lang: go source: | @@ -52500,7 +52688,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgInvoiceCsv --help + source: atlas api invoices getInvoiceCsv --help - label: Go lang: go source: | @@ -52588,7 +52776,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices searchOrgInvoiceLineItems --help + source: atlas api invoices searchInvoiceLineItems --help - label: Go lang: go source: | @@ -52658,7 +52846,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices listOrgInvoicePending --help + source: atlas api invoices listInvoicePending --help - label: Go lang: go source: | @@ -52734,7 +52922,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService listOrgLiveMigrationAvailableProjects --help + source: atlas api cloudMigrationService listAvailableProjects --help - label: Go lang: go source: | @@ -52804,7 +52992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService deleteOrgLiveMigrationLinkTokens --help + source: atlas api cloudMigrationService deleteLinkTokens --help - label: Go lang: go source: | @@ -52882,7 +53070,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService createOrgLiveMigrationLinkToken --help + source: atlas api cloudMigrationService createLinkToken --help - label: Go lang: go source: | @@ -52968,7 +53156,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resourcePolicies getOrgNonCompliantResources --help + source: atlas api resourcePolicies getNonCompliantResources --help - label: Go lang: go source: | @@ -53500,7 +53688,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resourcePolicies validateOrgResourcePolicies --help + source: atlas api resourcePolicies validateResourcePolicies --help - label: Go lang: go source: | @@ -53984,7 +54172,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts listOrgServiceAccountAccessList --help + source: atlas api serviceAccounts listOrgAccessList --help - label: Go lang: go source: | @@ -54079,7 +54267,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createOrgServiceAccountAccessList --help + source: atlas api serviceAccounts createOrgAccessList --help - label: Go lang: go source: | @@ -54169,7 +54357,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteOrgServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteOrgAccessEntry --help - label: Go lang: go source: | @@ -54255,7 +54443,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts getOrgServiceAccountGroups --help + source: atlas api serviceAccounts getServiceAccountGroups --help - label: Go lang: go source: | @@ -54342,7 +54530,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createOrgServiceAccountSecret --help + source: atlas api serviceAccounts createOrgSecret --help - label: Go lang: go source: | @@ -54428,7 +54616,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteOrgServiceAccountSecret --help + source: atlas api serviceAccounts deleteOrgSecret --help - label: Go lang: go source: | @@ -55116,7 +55304,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers listOrgTeamUsers --help + source: atlas api mongoDbCloudUsers listTeamUsers --help - label: Go lang: go source: | @@ -55212,7 +55400,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams addOrgTeamUsers --help + source: atlas api teams addTeamUsers --help - label: Go lang: go source: | @@ -55257,7 +55445,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addOrgTeamUsers x-xgen-method-verb-override: customMethod: "True" @@ -55311,7 +55499,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams removeOrgTeamUserFromTeam --help + source: atlas api teams removeUserFromTeam --help - label: Go lang: go source: | @@ -55352,7 +55540,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeOrgTeamUserFromTeam x-xgen-method-verb-override: customMethod: "True" @@ -55588,7 +55776,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams getOrgTeamByName --help + source: atlas api teams getTeamByName --help - label: Go lang: go source: | @@ -56170,7 +56358,7 @@ paths: --header "Content-Type: application/json" \ -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgUserRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: post: @@ -56226,7 +56414,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers addOrgUserRole --help + source: atlas api mongoDbCloudUsers addOrgRole --help - label: Go lang: go source: | @@ -56324,7 +56512,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers removeOrgUserRole --help + source: atlas api mongoDbCloudUsers removeOrgRole --help - label: Go lang: go source: | @@ -56396,7 +56584,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api root listControlPlaneIpAddresses --help + source: atlas api root listControlPlaneAddresses --help - label: Go lang: go source: | @@ -56438,6 +56626,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/listControlPlaneIpAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: listOpenapiVersions + 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: Return All Versions for One Environment + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi listOpenapiVersions --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.ListOpenapiVersionsApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + ListOpenapiVersionsWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --include --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 --include \ + --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 @@ -56523,7 +56784,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/users" \ -d '{ }' - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: get: @@ -56606,6 +56867,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -56686,7 +56948,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - x-sunset: 2026-07-31 + x-sunset: 2026-09-15 x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByName security: - ServiceAccounts: [] @@ -56763,6 +57025,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. @@ -56799,7 +57063,7 @@ tags: name: Shared-Tier Restore Jobs - description: Returns and requests to download shared-tier database deployment snapshots. name: Shared-Tier Snapshots - - description: Returns, adds, edits, and removes Streams Instances. This resource requires your project ID. + - description: Returns, adds, edits, and removes Streams Workspaces. This resource requires your project ID. name: Streams - description: Returns, adds, edits, or removes teams. name: Teams diff --git a/openapi/atlas-api.yaml b/openapi/atlas-api.yaml index 515c74d55..d3f16753e 100644 --- a/openapi/atlas-api.yaml +++ b/openapi/atlas-api.yaml @@ -340,9 +340,13 @@ components: - EU_CENTRAL_2 - SA_EAST_1 - AP_EAST_1 + - AP_EAST_2 - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -358,8 +362,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL - US_GOV_WEST_1 @@ -439,6 +441,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -446,6 +449,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -458,8 +464,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL externalDocs: @@ -809,6 +813,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -816,6 +821,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -828,8 +836,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -954,6 +960,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -961,6 +968,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -973,8 +983,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -1224,13 +1232,6 @@ components: $ref: '#/components/schemas/BaseCloudProviderInstanceSize' minInstanceSize: $ref: '#/components/schemas/BaseCloudProviderInstanceSize' - predictiveEnabled: - description: |- - Flag that indicates whether predictive instance size auto-scaling is enabled. - - - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** to be `true` in order to enable this feature. - - Set to `false` to disable predictive instance size auto-scaling. - type: boolean scaleDownEnabled: description: Flag that indicates whether the instance size may scale down via reactive auto-scaling. MongoDB Cloud requires this parameter if **replicationSpecs[n].regionConfigs[m].autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **replicationSpecs[n].regionConfigs[m].autoScaling.compute.minInstanceSize**. type: boolean @@ -1643,6 +1644,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -2910,6 +2913,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: @@ -3368,6 +3377,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -4534,6 +4545,9 @@ components: - SPAIN_CENTRAL - MEXICO_CENTRAL - NEW_ZEALAND_NORTH + - INDONESIA_CENTRAL + - MALAYSIA_WEST + - CHILE_CENTRAL type: string vnetName: description: Unique string that identifies the Azure VNet in which MongoDB Cloud clusters in this network peering container exist. The response returns **null** if no clusters exist in this network peering container. @@ -5005,6 +5019,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -5012,6 +5027,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -5024,8 +5042,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -6250,6 +6266,7 @@ components: - GCP_USAGE_REPORTED - VERCEL_USAGE_REPORTED - BECAME_PAYING_ORG + - BECAME_LINKED_ORG - NEW_LINKED_ORG - UNLINKED_ORG - ORG_LINKED_TO_PAYING_ORG @@ -6279,6 +6296,8 @@ components: - PENDING_DEAL_APPLIED - PENDING_DEAL_ACTIVATION_FAILED - EVERGREEN_PRIORITY_MODIFIED + - CROSS_ORG_OPERATION_TICKET_TRACKING + - ADMIN_OVERRIDE_PAYMENT_METHOD_DELETED example: CHARGE_SUCCEEDED title: Billing Event Types type: string @@ -7311,7 +7330,7 @@ components: $ref: '#/components/schemas/DatabaseUserRole' type: array scopes: - description: List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Instances in the project. + description: List that contains clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces that this database user can access. If omitted, MongoDB Cloud grants the database user access to all the clusters, MongoDB Atlas Data Lakes, and MongoDB Atlas Streams Workspaces in the project. items: $ref: '#/components/schemas/UserScope' type: array @@ -8120,6 +8139,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -8127,6 +8147,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -8139,8 +8162,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -8318,6 +8339,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -8325,6 +8347,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -8337,8 +8362,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -8726,14 +8749,6 @@ components: - Set to `true` to enable instance size reactive auto-scaling. If enabled, you must specify a value for **providerSettings.autoScaling.compute.maxInstanceSize**. - Set to `false` to disable instance size reactive auto-scaling. type: boolean - predictiveEnabled: - default: false - description: |- - Flag that indicates whether predictive instance size auto-scaling is enabled. - - - Set to `true` to enable predictive instance size auto-scaling. MongoDB Cloud requires **autoScaling.compute.enabled** is `true` in order to enable this feature. - - Set to `false` to disable predictive instance size auto-scaling. - type: boolean scaleDownEnabled: default: false description: Flag that indicates whether the cluster tier can scale down via reactive auto-scaling. This is required if **autoScaling.compute.enabled** is `true`. If you enable this option, specify a value for **providerSettings.autoScaling.compute.minInstanceSize**. @@ -9995,6 +10010,77 @@ components: required: - metricName type: object + ConfluentSaslInheritAuthentication: + allOf: + - $ref: '#/components/schemas/ConfluentSchemaRegistryAuthentication' + description: SASL_INHERIT authentication configuration from Kafka for Confluent Schema Registry. Username and password are inherited from the Kafka connection. + required: + - type + type: object + ConfluentSchemaRegistryAuthentication: + description: Authentication configuration for Confluent Schema Registry. + discriminator: + mapping: + SASL_INHERIT: '#/components/schemas/ConfluentSaslInheritAuthentication' + USER_INFO: '#/components/schemas/ConfluentUserInfoAuthentication' + propertyName: type + oneOf: + - $ref: '#/components/schemas/ConfluentUserInfoAuthentication' + - $ref: '#/components/schemas/ConfluentSaslInheritAuthentication' + properties: + type: + description: Authentication type discriminator. Specifies the authentication mechanism for Confluent Schema Registry. + enum: + - USER_INFO + - SASL_INHERIT + type: string + required: + - type + type: object + ConfluentSchemaRegistryConnectionPrivatePreview: + allOf: + - $ref: '#/components/schemas/StreamsConnectionPrivatePreview' + - properties: + authentication: + $ref: '#/components/schemas/ConfluentSchemaRegistryAuthentication' + provider: + description: The Schema Registry provider. + enum: + - CONFLUENT + type: string + schemaRegistryUrls: + description: List of Schema Registry URLs. + items: + description: Schema Registry URL. + format: uri + type: string + maxItems: 10 + type: array + uniqueItems: true + type: object + - $ref: '#/components/schemas/StreamsSchemaRegistryConnectionPrivatePreview' + description: The configuration for Confluent Schema Registry connections. + required: + - provider + type: object + ConfluentUserInfoAuthentication: + allOf: + - $ref: '#/components/schemas/ConfluentSchemaRegistryAuthentication' + - properties: + password: + description: Password for USER_INFO authentication. Required. + type: string + writeOnly: true + username: + description: Username for USER_INFO authentication. Required. + type: string + type: object + description: Direct authentication with username and password for Confluent Schema Registry. + required: + - password + - type + - username + type: object ConnectedOrgConfig: properties: dataAccessIdentityProviderIds: @@ -12963,11 +13049,17 @@ components: - CPS_EXPORT_SUCCESSFUL - CPS_RESTORE_FAILED - CPS_EXPORT_FAILED + - CPS_COLLECTION_RESTORE_SUCCESSFUL + - CPS_COLLECTION_RESTORE_FAILED + - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS + - CPS_COLLECTION_RESTORE_CANCELED - CPS_AUTO_EXPORT_FAILED - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - CPS_OPLOG_CAUGHT_UP title: Cps Backup Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values all related to CPS backup events. - enum: - CPS_DATA_PROTECTION_ENABLE_REQUESTED - CPS_DATA_PROTECTION_ENABLED @@ -12982,6 +13074,7 @@ components: - FTS_INDEX_DELETION_FAILED - FTS_INDEX_BUILD_COMPLETE - FTS_INDEX_BUILD_FAILED + - FTS_INDEX_STALE - FTS_INDEXES_RESTORE_FAILED - FTS_INDEXES_SYNONYM_MAPPING_INVALID title: FTS Index Audit Types @@ -13012,6 +13105,7 @@ components: - MAINTENANCE_IN_ADVANCED - MAINTENANCE_AUTO_DEFERRED - MAINTENANCE_STARTED + - MAINTENANCE_COMPLETED - MAINTENANCE_NO_LONGER_NEEDED title: NDS Maintenance Window Audit Types type: string @@ -13052,6 +13146,7 @@ components: - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE + - CLUSTER_AUTO_SHARDING_INITIATED title: NDS Auto Scaling Audit Types type: string - enum: @@ -13170,12 +13265,18 @@ components: - CPS_EXPORT_SUCCESSFUL - CPS_RESTORE_FAILED - CPS_EXPORT_FAILED + - CPS_COLLECTION_RESTORE_SUCCESSFUL + - CPS_COLLECTION_RESTORE_FAILED + - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS + - CPS_COLLECTION_RESTORE_CANCELED - CPS_AUTO_EXPORT_FAILED - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - CPS_OPLOG_BEHIND - CPS_OPLOG_CAUGHT_UP title: Cps Backup Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values all related to CPS backup events. - enum: - AWS_ENCRYPTION_KEY_NEEDS_ROTATION - AZURE_ENCRYPTION_KEY_NEEDS_ROTATION @@ -13189,6 +13290,7 @@ components: - FTS_INDEX_DELETION_FAILED - FTS_INDEX_BUILD_COMPLETE - FTS_INDEX_BUILD_FAILED + - FTS_INDEX_STALE - FTS_INDEXES_RESTORE_FAILED - FTS_INDEXES_SYNONYM_MAPPING_INVALID title: FTS Index Audit Types @@ -13219,6 +13321,7 @@ components: - MAINTENANCE_IN_ADVANCED - MAINTENANCE_AUTO_DEFERRED - MAINTENANCE_STARTED + - MAINTENANCE_COMPLETED - MAINTENANCE_NO_LONGER_NEEDED title: NDS Maintenance Window Audit Types type: string @@ -13273,6 +13376,7 @@ components: - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE + - CLUSTER_AUTO_SHARDING_INITIATED title: NDS Auto Scaling Audit Types type: string - enum: @@ -13438,12 +13542,18 @@ components: - CPS_EXPORT_SUCCESSFUL - CPS_RESTORE_FAILED - CPS_EXPORT_FAILED + - CPS_COLLECTION_RESTORE_SUCCESSFUL + - CPS_COLLECTION_RESTORE_FAILED + - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS + - CPS_COLLECTION_RESTORE_CANCELED - CPS_AUTO_EXPORT_FAILED - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - CPS_OPLOG_BEHIND - CPS_OPLOG_CAUGHT_UP title: Cps Backup Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values all related to CPS backup events. - enum: - CPS_DATA_PROTECTION_ENABLE_REQUESTED - CPS_DATA_PROTECTION_ENABLED @@ -13563,6 +13673,7 @@ components: - MAINTENANCE_IN_ADVANCED - MAINTENANCE_AUTO_DEFERRED - MAINTENANCE_STARTED + - MAINTENANCE_COMPLETED - MAINTENANCE_NO_LONGER_NEEDED title: NDS Maintenance Window Audit Types type: string @@ -13843,6 +13954,7 @@ components: title: Mlab Migration Audit Types type: string - enum: + - AWS_PAYMENT_PAID - AWS_SELF_SERVE_ACCOUNT_LINKED - AWS_SELF_SERVE_ACCOUNT_LINK_PENDING - AWS_SELF_SERVE_ACCOUNT_CANCELLED @@ -13865,6 +13977,8 @@ components: - VERCEL_INVOICE_REFUNDED title: Partner Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA validation. - enum: - SUPPORT_EMAILS_SENT_SUCCESSFULLY - SUPPORT_EMAILS_SENT_FAILURE @@ -15958,6 +16072,7 @@ components: - EU_CENTRAL_1 - EU_CENTRAL_2 - AP_EAST_1 + - AP_EAST_2 - AP_NORTHEAST_1 - AP_NORTHEAST_2 - AP_NORTHEAST_3 @@ -15965,6 +16080,9 @@ components: - AP_SOUTHEAST_2 - AP_SOUTHEAST_3 - AP_SOUTHEAST_4 + - AP_SOUTHEAST_5 + - AP_SOUTHEAST_6 + - AP_SOUTHEAST_7 - AP_SOUTH_1 - AP_SOUTH_2 - SA_EAST_1 @@ -15977,8 +16095,6 @@ components: - EU_SOUTH_2 - IL_CENTRAL_1 - CA_WEST_1 - - AP_SOUTHEAST_5 - - AP_SOUTHEAST_7 - MX_CENTRAL_1 - GLOBAL title: AWS Regions @@ -16354,12 +16470,18 @@ components: - CPS_EXPORT_SUCCESSFUL - CPS_RESTORE_FAILED - CPS_EXPORT_FAILED + - CPS_COLLECTION_RESTORE_SUCCESSFUL + - CPS_COLLECTION_RESTORE_FAILED + - CPS_COLLECTION_RESTORE_PARTIAL_SUCCESS + - CPS_COLLECTION_RESTORE_CANCELED - CPS_AUTO_EXPORT_FAILED - CPS_SNAPSHOT_DOWNLOAD_REQUEST_FAILED - CPS_OPLOG_BEHIND - CPS_OPLOG_CAUGHT_UP title: Cps Backup Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema values all related to CPS backup events. - enum: - DATA_EXPLORER - DATA_EXPLORER_CRUD_ATTEMPT @@ -16424,6 +16546,7 @@ components: - FTS_INDEX_UPDATED - FTS_INDEX_DELETED - FTS_INDEX_CLEANED_UP + - FTS_INDEX_STALE - FTS_INDEXES_RESTORED - FTS_INDEXES_RESTORE_FAILED - FTS_INDEXES_SYNONYM_MAPPING_INVALID @@ -16492,6 +16615,8 @@ components: - HOST_MONGOT_APPROACHING_STOP_REPLICATION - HOST_SEARCH_NODE_UNBLOCKED - HOST_SEARCH_NODE_INDEX_FAILED + - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN + - HOST_EXTERNAL_LOG_SINK_EXPORT_RESUMED - HOST_ENOUGH_DISK_SPACE - HOST_NOT_ENOUGH_DISK_SPACE - SSH_KEY_NDS_HOST_ACCESS_REQUESTED @@ -16547,6 +16672,7 @@ components: - CLUSTER_IMPORT_EXPIRED - CLUSTER_IMPORT_CUTOVER - CLUSTER_IMPORT_COMPLETED + - CLUSTER_IMPORT_FAILED - CLUSTER_IMPORT_RESTART_REQUESTED - PROJECT_LIVE_IMPORT_OVERRIDES_ADDED - PROJECT_LIVE_IMPORT_OVERRIDES_UPDATED @@ -16560,6 +16686,7 @@ components: - CLUSTER_INSTANCE_REPLACED - CLUSTER_INSTANCE_REPLACE_CLEARED - CLUSTER_INSTANCE_VM_RESTART_CLEARED + - CLUSTER_INSTANCE_VM_REBOOT_CLEARED - CLUSTER_INSTANCE_CONFIG_UPDATED - CLUSTER_INSTANCE_AGENT_API_KEY_ROTATED - CLUSTER_INSTANCE_SSL_ROTATED @@ -16592,6 +16719,8 @@ components: - PLAN_STARTED - PLAN_COMPLETED - PLAN_ABANDONED + - PLAN_DECLINED + - PLAN_APPROVED - PLAN_FAILURE_COUNT_RESET - PLAN_ASAP_REQUESTED - INDEPENDENT_SHARD_SCALING_AVAILABLE @@ -16748,6 +16877,7 @@ components: - STREAM_TENANT_CONNECTION_DELETED - STREAM_TENANT_CONNECTION_CREATED - STREAM_TENANT_CONNECTION_VIEWED + - STREAM_TENANT_OPERATIONAL_LOGS - STREAM_TENANT_AUDIT_LOGS - STREAM_TENANT_AUDIT_LOGS_DELETED - QUEUED_ADMIN_ACTION_CREATED @@ -16774,6 +16904,13 @@ components: - PROXY_PROTOCOL_FOR_PRIVATE_LINK_MODE_UPDATED - MONGOTUNE_WRITE_BLOCK_POLICY_ELIGIBLE - MONGOTUNE_WRITE_BLOCK_POLICY_INELIGIBLE + - PREDICTIVE_AUTOSCALING_ENABLED + - PREDICTIVE_AUTOSCALING_DISABLED + - DEPUTY_SETTINGS_UPDATED + - SHADOW_CLUSTER_CREATE_EXPOSURE + - SHADOW_CLUSTER_DELETE_EXPOSURE + - SHADOW_CLUSTER_RECORDING_STATUS_UPDATE + - SHADOW_CLUSTER_REPLAY_STATUS_UPDATE title: NDS Audit Types type: string x-xgen-IPA-exception: @@ -16809,12 +16946,14 @@ components: - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE + - CLUSTER_AUTO_SHARDING_INITIATED title: NDS Auto Scaling Audit Types type: string - enum: - MAINTENANCE_IN_ADVANCED - MAINTENANCE_AUTO_DEFERRED - MAINTENANCE_STARTED + - MAINTENANCE_COMPLETED - MAINTENANCE_NO_LONGER_NEEDED title: NDS Maintenance Window Audit Types type: string @@ -17107,6 +17246,7 @@ components: - GCP_USAGE_REPORTED - VERCEL_USAGE_REPORTED - BECAME_PAYING_ORG + - BECAME_LINKED_ORG - NEW_LINKED_ORG - UNLINKED_ORG - ORG_LINKED_TO_PAYING_ORG @@ -17136,6 +17276,8 @@ components: - PENDING_DEAL_APPLIED - PENDING_DEAL_ACTIVATION_FAILED - EVERGREEN_PRIORITY_MODIFIED + - CROSS_ORG_OPERATION_TICKET_TRACKING + - ADMIN_OVERRIDE_PAYMENT_METHOD_DELETED title: Billing Event Types type: string x-xgen-IPA-exception: @@ -17196,6 +17338,8 @@ components: type: string - enum: - ORG_LIMIT_UPDATED + - SHADOW_CLUSTER_ORG_OPT_IN + - SHADOW_CLUSTER_ORG_OPT_OUT title: NDS Audit Types type: string - enum: @@ -17263,11 +17407,14 @@ components: - SANDBOX_DISABLED_FOR_ORG - SANDBOX_CONFIG_DELETED - SANDBOX_TEMPLATE_UPDATED + - ORGANIZATION_VOYAGE_SETTINGS_CREATED + - ORGANIZATION_VOYAGE_SETTINGS_DELETED title: Org Event Types type: string x-xgen-IPA-exception: xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA validation. - enum: + - AWS_PAYMENT_PAID - AWS_SELF_SERVE_ACCOUNT_LINKED - AWS_SELF_SERVE_ACCOUNT_LINK_PENDING - AWS_SELF_SERVE_ACCOUNT_CANCELLED @@ -17290,6 +17437,8 @@ components: - VERCEL_INVOICE_REFUNDED title: Partner Event Types type: string + x-xgen-IPA-exception: + xgen-IPA-123-allowable-enum-values-should-not-exceed-20: Schema predates IPA validation. - enum: - SUPPORT_EMAILS_SENT_SUCCESSFULLY - SUPPORT_EMAILS_SENT_FAILURE @@ -17443,6 +17592,7 @@ components: - FTS_INDEX_UPDATED - FTS_INDEX_DELETED - FTS_INDEX_CLEANED_UP + - FTS_INDEX_STALE - FTS_INDEXES_RESTORED - FTS_INDEXES_RESTORE_FAILED - FTS_INDEXES_SYNONYM_MAPPING_INVALID @@ -18815,6 +18965,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -21374,6 +21526,8 @@ components: - HOST_MONGOT_APPROACHING_STOP_REPLICATION - HOST_SEARCH_NODE_UNBLOCKED - HOST_SEARCH_NODE_INDEX_FAILED + - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN + - HOST_EXTERNAL_LOG_SINK_EXPORT_RESUMED - HOST_ENOUGH_DISK_SPACE - HOST_NOT_ENOUGH_DISK_SPACE - SSH_KEY_NDS_HOST_ACCESS_REQUESTED @@ -21403,6 +21557,7 @@ components: - HOST_MONGOT_STOP_REPLICATION - HOST_MONGOT_APPROACHING_STOP_REPLICATION - HOST_SEARCH_NODE_INDEX_FAILED + - HOST_EXTERNAL_LOG_SINK_EXPORT_DOWN - HOST_NOT_ENOUGH_DISK_SPACE - SSH_KEY_NDS_HOST_ACCESS_REQUESTED - SSH_KEY_NDS_HOST_ACCESS_REFRESHED @@ -22586,6 +22741,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -22634,6 +22791,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -22916,6 +23075,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: @@ -23465,14 +23646,24 @@ components: - REALM_APP_DATA_TRANSFER_FREE_TIER - REALM_APP_DATA_TRANSFER - GCP_SNAPSHOT_COPY_DISK + - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP2 + - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP5 - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP10 - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP30 - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP50 + - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP2 + - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP5 - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP10 - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP30 - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP50 - ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER + - ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER_SAME_REGION + - ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER_DIFFERENT_REGION + - ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER_INTERNET - ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER + - ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER_INTERNET + - ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER_SAME_CONTINENT + - ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER_DIFFERENT_CONTINENT - ATLAS_AWS_STREAM_PROCESSING_VPC_PEERING - ATLAS_AZURE_STREAM_PROCESSING_PRIVATELINK - ATLAS_AWS_STREAM_PROCESSING_PRIVATELINK @@ -23506,10 +23697,15 @@ components: - ATLAS_FLEX_GCP_LEGACY_300_USAGE_HOURS - ATLAS_FLEX_GCP_LEGACY_400_USAGE_HOURS - ATLAS_FLEX_GCP_LEGACY_500_USAGE_HOURS + - ATLAS_GCP_STREAM_PROCESSING_INSTANCE_SP2 + - ATLAS_GCP_STREAM_PROCESSING_INSTANCE_SP5 - ATLAS_GCP_STREAM_PROCESSING_INSTANCE_SP10 - ATLAS_GCP_STREAM_PROCESSING_INSTANCE_SP30 - ATLAS_GCP_STREAM_PROCESSING_INSTANCE_SP50 - ATLAS_GCP_STREAM_PROCESSING_DATA_TRANSFER + - ATLAS_GCP_STREAM_PROCESSING_DATA_TRANSFER_SAME_REGION + - ATLAS_GCP_STREAM_PROCESSING_DATA_TRANSFER_DIFFERENT_REGION + - ATLAS_GCP_STREAM_PROCESSING_DATA_TRANSFER_INTERNET - ATLAS_GCP_STREAM_PROCESSING_PRIVATELINK readOnly: true type: string @@ -24561,6 +24757,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: @@ -26375,6 +26583,7 @@ components: - CLUSTER_IMPORT_EXPIRED - CLUSTER_IMPORT_CUTOVER - CLUSTER_IMPORT_COMPLETED + - CLUSTER_IMPORT_FAILED - CLUSTER_IMPORT_RESTART_REQUESTED - PROJECT_LIVE_IMPORT_OVERRIDES_ADDED - PROJECT_LIVE_IMPORT_OVERRIDES_UPDATED @@ -26388,6 +26597,7 @@ components: - CLUSTER_INSTANCE_REPLACED - CLUSTER_INSTANCE_REPLACE_CLEARED - CLUSTER_INSTANCE_VM_RESTART_CLEARED + - CLUSTER_INSTANCE_VM_REBOOT_CLEARED - CLUSTER_INSTANCE_CONFIG_UPDATED - CLUSTER_INSTANCE_AGENT_API_KEY_ROTATED - CLUSTER_INSTANCE_SSL_ROTATED @@ -26420,6 +26630,8 @@ components: - PLAN_STARTED - PLAN_COMPLETED - PLAN_ABANDONED + - PLAN_DECLINED + - PLAN_APPROVED - PLAN_FAILURE_COUNT_RESET - PLAN_ASAP_REQUESTED - INDEPENDENT_SHARD_SCALING_AVAILABLE @@ -26576,6 +26788,7 @@ components: - STREAM_TENANT_CONNECTION_DELETED - STREAM_TENANT_CONNECTION_CREATED - STREAM_TENANT_CONNECTION_VIEWED + - STREAM_TENANT_OPERATIONAL_LOGS - STREAM_TENANT_AUDIT_LOGS - STREAM_TENANT_AUDIT_LOGS_DELETED - QUEUED_ADMIN_ACTION_CREATED @@ -26602,6 +26815,13 @@ components: - PROXY_PROTOCOL_FOR_PRIVATE_LINK_MODE_UPDATED - MONGOTUNE_WRITE_BLOCK_POLICY_ELIGIBLE - MONGOTUNE_WRITE_BLOCK_POLICY_INELIGIBLE + - PREDICTIVE_AUTOSCALING_ENABLED + - PREDICTIVE_AUTOSCALING_DISABLED + - DEPUTY_SETTINGS_UPDATED + - SHADOW_CLUSTER_CREATE_EXPOSURE + - SHADOW_CLUSTER_DELETE_EXPOSURE + - SHADOW_CLUSTER_RECORDING_STATUS_UPDATE + - SHADOW_CLUSTER_REPLAY_STATUS_UPDATE example: CLUSTER_CREATED title: NDS Audit Types type: string @@ -26609,6 +26829,8 @@ components: description: Unique identifier of event type. enum: - ORG_LIMIT_UPDATED + - SHADOW_CLUSTER_ORG_OPT_IN + - SHADOW_CLUSTER_ORG_OPT_OUT example: ORG_LIMIT_UPDATED title: NDS Audit Types type: string @@ -26818,6 +27040,7 @@ components: - PREDICTIVE_COMPUTE_AUTO_SCALE_INITIATED_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_MAX_INSTANCE_SIZE_FAIL_BASE - PREDICTIVE_COMPUTE_AUTO_SCALE_OPLOG_FAIL_BASE + - CLUSTER_AUTO_SHARDING_INITIATED example: COMPUTE_AUTO_SCALE_INITIATED title: NDS Auto Scaling Audit Types type: string @@ -28134,6 +28357,11 @@ components: required: - metricName type: object + OpenApiInfo: + properties: + info: + $ref: '#/components/schemas/Info' + type: object OperationThrottlingRejectedOperationsRawMetricThresholdView: properties: metricName: @@ -28537,6 +28765,8 @@ components: - SANDBOX_DISABLED_FOR_ORG - SANDBOX_CONFIG_DELETED - SANDBOX_TEMPLATE_UPDATED + - ORGANIZATION_VOYAGE_SETTINGS_CREATED + - ORGANIZATION_VOYAGE_SETTINGS_DELETED example: ORG_CREATED title: Org Event Types type: string @@ -29250,7 +29480,7 @@ components: description: String that specifies a single email address for the specified organization to receive security-related notifications. Specifying a security contact does not grant them authorization or access to Atlas for security decisions or approvals. An empty string is valid and clears the existing security contact (if any). type: string streamsCrossGroupEnabled: - description: Flag that indicates whether a group's Atlas Stream Processing instances in this organization can create connections to other group's clusters in the same organization. + description: Flag that indicates whether a group's Atlas Stream Processing workspaces in this organization can create connections to other group's clusters in the same organization. type: boolean type: object OutboundControlPlaneCloudProviderIPAddresses: @@ -29860,6 +30090,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: @@ -32785,6 +33039,52 @@ components: type: string readOnly: true type: object + S3LogExport: + description: Details to integrate S3 log export with one MongoDB Cloud project. + properties: + bucketName: + description: Human-readable label that identifies the S3 bucket name for storing log files. + example: my-log-bucket + type: string + iamRoleId: + description: Unique 24-hexadecimal digit string that identifies the AWS IAM role that MongoDB Cloud uses to access your S3 bucket. + example: 507f1f77bcf86cd799439011 + type: string + id: + description: Integration id. + nullable: true + type: string + kmsKey: + description: AWS KMS key ID or ARN for server-side encryption (optional). If not provided, uses bucket default encryption settings. + example: arn:aws:kms:us-east-1:123456789012:key/12345678-1234-1234-1234-123456789012 + nullable: true + type: string + logTypes: + description: Array of log types to export to S3. + example: + - MONGOD + - MONGOS + - MONGOD_AUDIT + - MONGOS_AUDIT + items: + type: string + maxItems: 10 + type: array + prefixPath: + description: S3 directory path prefix where the log files will be stored. MongoDB Cloud will add further sub-directories based on the log type. + example: mongo-logs/ + type: string + type: + description: Human-readable label that identifies the service to which you want to integrate with MongoDB Cloud. The value must match the third-party service integration type. + enum: + - S3_LOG_EXPORT + type: string + required: + - bucketName + - iamRoleId + - prefixPath + title: S3 Log Export + type: object SMSNotification: description: SMS notification configuration for MongoDB Cloud to send information when an event triggers an alert condition. properties: @@ -34473,6 +34773,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -35331,7 +35633,7 @@ components: readOnly: true type: object StreamConfig: - description: Configuration options for an Atlas Stream Processing Instance. + description: Configuration options for an Atlas Stream Processing Workspace. nullable: true properties: links: @@ -35344,21 +35646,21 @@ components: readOnly: true type: array maxTierSize: - description: Max tier size for the Stream Instance. Configures Memory / VCPU allowances. This field is not supported yet. + description: Max tier size for the Stream Workspace. Configures Memory / VCPU allowances. enum: - SP50 - SP30 - SP10 - SP5 - SP2 - title: Stream Instance Max Tier Size + title: Stream Workspace Max Tier Size type: string tier: - description: Selected tier for the Stream Instance. Configures Memory / VCPU allowances. + description: Selected tier for the Stream Workspace. Configures Memory / VCPU allowances. enum: - SP30 - SP10 - title: Stream Instance Tier + title: Stream Workspace Tier type: string type: object StreamProcessorAlertConfigViewForNdsGroup: @@ -35478,7 +35780,7 @@ components: readOnly: true type: string instanceName: - description: The name of the Stream Processing Instance to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Instances. + description: The name of the Stream Processing Workspace to which this alert applies. The resource returns this parameter for alerts of events impacting Stream Processing Workspaces. example: foobar readOnly: true type: string @@ -35604,7 +35906,7 @@ components: readOnly: true type: string instanceName: - description: Name of the stream processing instance associated with the event. + description: Name of the stream processing workspace associated with the event. example: foobar readOnly: true type: string @@ -35766,6 +36068,8 @@ components: - days - requests - 1000 requests + - tokens + - pixels - GB seconds - GB hours - GB days @@ -35882,6 +36186,20 @@ components: type: string readOnly: true type: object + StreamsConnectionPrivatePreview: + description: Settings that define a connection to an external data store. + discriminator: + mapping: + SchemaRegistry: '#/components/schemas/StreamsSchemaRegistryConnectionPrivatePreview' + propertyName: type + oneOf: + - $ref: '#/components/schemas/StreamsSchemaRegistryConnectionPrivatePreview' + properties: + type: + type: string + required: + - type + type: object StreamsDLQ: description: Dead letter queue for the stream processor. externalDocs: @@ -35966,7 +36284,7 @@ components: readOnly: true type: string instanceName: - description: Name of the stream processing instance associated with the event. + description: Name of the stream processing workspace associated with the event. example: foobar readOnly: true type: string @@ -36158,7 +36476,7 @@ components: type: string type: object StreamsMatcher: - description: Rules to apply when comparing a stream processing instance or stream processor against this alert configuration. + description: Rules to apply when comparing a stream processing workspace or stream processor against this alert configuration. properties: fieldName: $ref: '#/components/schemas/StreamsMatcherField' @@ -36283,6 +36601,13 @@ components: description: Error message if the state is FAILED. readOnly: true type: string + gcpConnectionIds: + description: List of GCP Private Service Connect connection IDs. + items: + type: string + maxItems: 3 + type: array + uniqueItems: true gcpServiceAttachmentUris: description: Service Attachment URIs of each availability zone for the GCP Confluent cluster. items: @@ -36461,6 +36786,45 @@ components: description: Flag that indicates whether to add a 'sample_stream_solar' connection. type: boolean type: object + StreamsSchemaRegistryConnectionPrivatePreview: + description: The configuration for Schema Registry connections. + discriminator: + mapping: + CONFLUENT: '#/components/schemas/ConfluentSchemaRegistryConnectionPrivatePreview' + propertyName: provider + oneOf: + - $ref: '#/components/schemas/ConfluentSchemaRegistryConnectionPrivatePreview' + 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 + name: + description: Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source. + type: string + provider: + description: The Schema Registry provider. + enum: + - CONFLUENT + type: string + type: + description: Type of the connection. + enum: + - Kafka + - Cluster + - Sample + - Https + - AWSLambda + - AWSKinesisDataStreams + type: string + required: + - provider + type: object StreamsStartStreamProcessorWith: description: A request to start a stream processor. properties: @@ -36490,7 +36854,7 @@ components: readOnly: true type: string connections: - description: List of connections configured in the stream instance. + description: List of connections configured in the stream workspace. items: $ref: '#/components/schemas/StreamsConnection' readOnly: true @@ -36504,9 +36868,9 @@ components: readOnly: true type: string hostnames: - description: List that contains the hostnames assigned to the stream instance. + description: List that contains the hostnames assigned to the stream workspace. items: - description: Unique hostname assigned to the stream instance. + description: Unique hostname assigned to the stream workspace. readOnly: true type: string readOnly: true @@ -36521,7 +36885,7 @@ components: readOnly: true type: array name: - description: Human-readable label that identifies the stream instance. + description: Label that identifies the stream workspace. type: string sampleConnections: $ref: '#/components/schemas/StreamsSampleConnections' @@ -37128,6 +37492,9 @@ components: example: 32b6e34b3d91647abb20e7b8 pattern: ^([a-f0-9]{24})$ type: string + required: + - roleNames + - teamId type: object TeamUpdate: properties: @@ -37611,6 +37978,7 @@ components: OPS_GENIE: '#/components/schemas/OpsGenie' PAGER_DUTY: '#/components/schemas/PagerDuty' PROMETHEUS: '#/components/schemas/Prometheus' + S3_LOG_EXPORT: '#/components/schemas/S3LogExport' SLACK: '#/components/schemas/Slack' VICTOR_OPS: '#/components/schemas/VictorOps' WEBHOOK: '#/components/schemas/Webhook' @@ -37625,6 +37993,7 @@ components: - $ref: '#/components/schemas/Webhook' - $ref: '#/components/schemas/Prometheus' - $ref: '#/components/schemas/MicrosoftTeams' + - $ref: '#/components/schemas/S3LogExport' properties: id: description: Integration id. @@ -37643,6 +38012,7 @@ components: - HIP_CHAT - PROMETHEUS - MICROSOFT_TEAMS + - S3_LOG_EXPORT title: Integration Type type: string title: Third-Party Integration @@ -39825,7 +40195,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: 66be7c90474eeed9de9cf2be16ecc9dc984f082c + x-xgen-sha: e9293bfb55fad2bafd264cfbf781b4b847138c8d openapi: 3.0.1 paths: /api/atlas/v2: @@ -39931,7 +40301,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations listAlertConfigMatcherFieldNames --help + source: atlas api alertConfigurations listMatcherFieldNames --help - label: Go lang: go source: | @@ -40224,7 +40594,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingConnectedOrgConfigs --help + source: atlas api federatedAuthentication listConnectedOrgConfigs --help - label: Go lang: go source: | @@ -40304,7 +40674,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication removeFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication removeConnectedOrgConfig --help - label: Go lang: go source: | @@ -40390,7 +40760,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication getConnectedOrgConfig --help - label: Go lang: go source: | @@ -40478,7 +40848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingConnectedOrgConfig --help + source: atlas api federatedAuthentication updateConnectedOrgConfig --help - label: Go lang: go source: | @@ -40557,7 +40927,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingConnectedOrgConfigRoleMappings --help + source: atlas api federatedAuthentication listRoleMappings --help - label: Go lang: go source: | @@ -40638,7 +41008,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication createFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication createRoleMapping --help - label: Go lang: go source: | @@ -40723,7 +41093,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication deleteFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication deleteRoleMapping --help - label: Go lang: go source: | @@ -40807,7 +41177,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication getRoleMapping --help - label: Go lang: go source: | @@ -40896,7 +41266,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingConnectedOrgConfigRoleMapping --help + source: atlas api federatedAuthentication updateRoleMapping --help - label: Go lang: go source: | @@ -41000,7 +41370,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication listFederationSettingIdentityProviders --help + source: atlas api federatedAuthentication listIdentityProviders --help - label: Go lang: go source: | @@ -41083,7 +41453,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication createFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication createIdentityProvider --help - label: Go lang: go source: | @@ -41169,7 +41539,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication deleteFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication deleteIdentityProvider --help - label: Go lang: go source: | @@ -41251,7 +41621,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication getIdentityProvider --help - label: Go lang: go source: | @@ -41341,7 +41711,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication updateFederationSettingIdentityProvider --help + source: atlas api federatedAuthentication updateIdentityProvider --help - label: Go lang: go source: | @@ -41427,7 +41797,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication revokeFederationSettingIdentityProviderJwks --help + source: atlas api federatedAuthentication revokeIdentityProviderJwks --help - label: Go lang: go source: | @@ -41504,7 +41874,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getFederationSettingIdentityProviderMetadata --help + source: atlas api federatedAuthentication getIdentityProviderMetadata --help - label: Go lang: go source: | @@ -41993,7 +42363,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects addGroupAccessUser --help + source: atlas api projects addGroupUser --help - label: Go lang: go source: | @@ -42038,7 +42408,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/access" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/addGroupAccessUser x-xgen-method-verb-override: customMethod: "True" @@ -42080,7 +42450,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList listGroupAccessListEntries --help + source: atlas api projectIpAccessList listAccessListEntries --help - label: Go lang: go source: | @@ -42174,7 +42544,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList createGroupAccessListEntry --help + source: atlas api projectIpAccessList createAccessListEntry --help - label: Go lang: go source: | @@ -42268,7 +42638,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList deleteGroupAccessListEntry --help + source: atlas api projectIpAccessList deleteAccessListEntry --help - label: Go lang: go source: | @@ -42356,7 +42726,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList getGroupAccessListEntry --help + source: atlas api projectIpAccessList getAccessListEntry --help - label: Go lang: go source: | @@ -42444,7 +42814,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projectIpAccessList getGroupAccessListStatus --help + source: atlas api projectIpAccessList getAccessListStatus --help - label: Go lang: go source: | @@ -42523,7 +42893,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations listGroupAlertConfigs --help + source: atlas api alertConfigurations listAlertConfigs --help - label: Go lang: go source: | @@ -42607,7 +42977,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations createGroupAlertConfig --help + source: atlas api alertConfigurations createAlertConfig --help - label: Go lang: go source: | @@ -42696,7 +43066,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations deleteGroupAlertConfig --help + source: atlas api alertConfigurations deleteAlertConfig --help - label: Go lang: go source: | @@ -42784,7 +43154,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations getGroupAlertConfig --help + source: atlas api alertConfigurations getAlertConfig --help - label: Go lang: go source: | @@ -42879,7 +43249,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations toggleGroupAlertConfig --help + source: atlas api alertConfigurations toggleAlertConfig --help - label: Go lang: go source: | @@ -42983,7 +43353,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations updateGroupAlertConfig --help + source: atlas api alertConfigurations updateAlertConfig --help - label: Go lang: go source: | @@ -43080,7 +43450,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts getGroupAlertConfigAlerts --help + source: atlas api alerts getAlertConfigAlerts --help - label: Go lang: go source: | @@ -43170,7 +43540,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts listGroupAlerts --help + source: atlas api alerts listAlerts --help - label: Go lang: go source: | @@ -43258,7 +43628,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts getGroupAlert --help + source: atlas api alerts getAlert --help - label: Go lang: go source: | @@ -43352,7 +43722,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alerts acknowledgeGroupAlert --help + source: atlas api alerts acknowledgeAlert --help - label: Go lang: go source: | @@ -43451,7 +43821,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api alertConfigurations getGroupAlertAlertConfigs --help + source: atlas api alertConfigurations getAlertConfigs --help - label: Go lang: go source: | @@ -43787,7 +44157,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys updateGroupApiKeyRoles --help + source: atlas api programmaticApiKeys updateApiKeyRoles --help - label: Go lang: go source: | @@ -43855,6 +44225,7 @@ paths: content: application/vnd.atlas.2023-01-01+json: schema: + description: Explanatory text that describes this API key, the list of roles to grant this API key, or both. items: $ref: '#/components/schemas/UserAccessRoleAssignment' type: array @@ -44041,7 +44412,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api auditing updateGroupAuditLog --help + source: atlas api auditing updateAuditLog --help - label: Go lang: go source: | @@ -44120,7 +44491,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api awsClustersDns getGroupAwsCustomDns --help + source: atlas api awsClustersDns getAwsCustomDns --help - label: Go lang: go source: | @@ -44199,7 +44570,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api awsClustersDns toggleGroupAwsCustomDns --help + source: atlas api awsClustersDns toggleAwsCustomDns --help - label: Go lang: go source: | @@ -44282,7 +44653,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupBackupExportBuckets --help + source: atlas api cloudBackups listExportBuckets --help - label: Go lang: go source: | @@ -44420,7 +44791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupBackupExportBucket --help + source: atlas api cloudBackups createExportBucket --help - label: Go lang: go source: | @@ -44504,7 +44875,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupBackupExportBucket --help + source: atlas api cloudBackups deleteExportBucket --help - label: Go lang: go source: | @@ -44618,7 +44989,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupBackupExportBucket --help + source: atlas api cloudBackups getExportBucket --help - label: Go lang: go source: | @@ -44691,7 +45062,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups disableGroupBackupCompliancePolicy --help + source: atlas api cloudBackups disableCompliancePolicy --help - label: Go lang: go source: | @@ -44768,7 +45139,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupBackupCompliancePolicy --help + source: atlas api cloudBackups getCompliancePolicy --help - label: Go lang: go source: | @@ -44856,7 +45227,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupBackupCompliancePolicy --help + source: atlas api cloudBackups updateCompliancePolicy --help - label: Go lang: go source: | @@ -44937,7 +45308,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess listGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess listCloudProviderAccess --help - label: Go lang: go source: | @@ -45019,7 +45390,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess createGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess createCloudProviderAccess --help - label: Go lang: go source: | @@ -45113,7 +45484,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess deauthorizeGroupCloudProviderAccessRole --help + source: atlas api cloudProviderAccess deauthorizeProviderAccessRole --help - label: Go lang: go source: | @@ -45198,7 +45569,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess getGroupCloudProviderAccess --help + source: atlas api cloudProviderAccess getCloudProviderAccess --help - label: Go lang: go source: | @@ -45291,7 +45662,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudProviderAccess authorizeGroupCloudProviderAccessRole --help + source: atlas api cloudProviderAccess authorizeProviderAccessRole --help - label: Go lang: go source: | @@ -45364,6 +45735,12 @@ paths: schema: default: false type: boolean + - description: Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean responses: "200": content: @@ -45386,7 +45763,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters listGroupClusters --help + source: atlas api clusters listClusters --help - label: Go lang: go source: | @@ -45442,6 +45819,12 @@ paths: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' - $ref: '#/components/parameters/pretty' + - description: Controls how hardware specification fields are returned in the response after cluster creation. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean requestBody: content: application/vnd.atlas.2024-10-23+json: @@ -45559,7 +45942,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters createGroupCluster --help + source: atlas api clusters createCluster --help - label: Go lang: go source: | @@ -45658,7 +46041,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters deleteGroupCluster --help + source: atlas api clusters deleteCluster --help - label: Go lang: go source: | @@ -45721,6 +46104,12 @@ paths: schema: pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string + - description: Controls how hardware specification fields are returned in the response. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Primarily used for autoscaling compatibility. + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean responses: "200": content: @@ -45747,7 +46136,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupCluster --help + source: atlas api clusters getCluster --help - label: Go lang: go source: | @@ -45804,6 +46193,12 @@ paths: schema: pattern: ^[a-zA-Z0-9][a-zA-Z0-9-]*$ type: string + - description: 'Controls how hardware specification fields are returned in the response after cluster updates. When set to true, returns the original client-specified values and provides separate effective fields showing current operational values. When false (default), hardware specification fields show current operational values directly. Note: When using this header with autoscaling enabled, MongoDB ignores replicationSpecs changes during updates. To intentionally override the replicationSpecs, disable this header.' + in: header + name: Use-Effective-Instance-Fields + schema: + default: false + type: boolean requestBody: content: application/vnd.atlas.2024-10-23+json: @@ -45838,7 +46233,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters updateGroupCluster --help + source: atlas api clusters updateCluster --help - label: Go lang: go source: | @@ -45976,7 +46371,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupClusterCollStatMeasurements --help + source: atlas api collectionLevelMetrics listCollStatMeasurements --help - label: Go lang: go source: | @@ -46068,7 +46463,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics getGroupClusterCollStatNamespaces --help + source: atlas api collectionLevelMetrics getClusterNamespaces --help - label: Go lang: go source: | @@ -46156,7 +46551,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters autoGroupClusterScalingConfiguration --help + source: atlas api clusters autoScalingConfiguration --help - label: Go lang: go source: | @@ -46241,7 +46636,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupExports --help + source: atlas api cloudBackups listBackupExports --help - label: Go lang: go source: | @@ -46330,7 +46725,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupClusterBackupExport --help + source: atlas api cloudBackups createBackupExport --help - label: Go lang: go source: | @@ -46421,7 +46816,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupExport --help + source: atlas api cloudBackups getBackupExport --help - label: Go lang: go source: | @@ -46504,7 +46899,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupRestoreJobs --help + source: atlas api cloudBackups listBackupRestoreJobs --help - label: Go lang: go source: | @@ -46597,7 +46992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups createBackupRestoreJob --help - label: Go lang: go source: | @@ -46690,7 +47085,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups cancelGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups cancelBackupRestoreJob --help - label: Go lang: go source: | @@ -46779,7 +47174,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupRestoreJob --help + source: atlas api cloudBackups getBackupRestoreJob --help - label: Go lang: go source: | @@ -46860,7 +47255,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSchedule --help + source: atlas api cloudBackups deleteClusterBackupSchedule --help - label: Go lang: go source: | @@ -46939,7 +47334,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSchedule --help + source: atlas api cloudBackups getBackupSchedule --help - label: Go lang: go source: | @@ -47033,7 +47428,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupClusterBackupSchedule --help + source: atlas api cloudBackups updateBackupSchedule --help - label: Go lang: go source: | @@ -47122,7 +47517,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupSnapshots --help + source: atlas api cloudBackups listBackupSnapshots --help - label: Go lang: go source: | @@ -47213,7 +47608,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups takeGroupClusterBackupSnapshots --help + source: atlas api cloudBackups takeSnapshots --help - label: Go lang: go source: | @@ -47307,7 +47702,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSnapshot --help + source: atlas api cloudBackups deleteClusterBackupSnapshot --help - label: Go lang: go source: | @@ -47397,7 +47792,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSnapshot --help + source: atlas api cloudBackups getClusterBackupSnapshot --help - label: Go lang: go source: | @@ -47492,7 +47887,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups updateGroupClusterBackupSnapshot --help + source: atlas api cloudBackups updateBackupSnapshot --help - label: Go lang: go source: | @@ -47581,7 +47976,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups deleteGroupClusterBackupSnapshotShardedCluster --help + source: atlas api cloudBackups deleteBackupShardedCluster --help - label: Go lang: go source: | @@ -47671,7 +48066,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupClusterBackupSnapshotShardedCluster --help + source: atlas api cloudBackups getBackupShardedCluster --help - label: Go lang: go source: | @@ -47753,7 +48148,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupClusterBackupSnapshotShardedClusters --help + source: atlas api cloudBackups listBackupShardedClusters --help - label: Go lang: go source: | @@ -47851,7 +48246,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots downloadGroupClusterBackupTenant --help + source: atlas api sharedTierSnapshots downloadClusterBackupTenant --help - label: Go lang: go source: | @@ -47956,7 +48351,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs createGroupClusterBackupTenantRestore --help + source: atlas api sharedTierRestoreJobs createBackupTenantRestore --help - label: Go lang: go source: | @@ -48050,7 +48445,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs listGroupClusterBackupTenantRestores --help + source: atlas api sharedTierRestoreJobs listBackupTenantRestores --help - label: Go lang: go source: | @@ -48147,7 +48542,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierRestoreJobs getGroupClusterBackupTenantRestore --help + source: atlas api sharedTierRestoreJobs getBackupTenantRestore --help - label: Go lang: go source: | @@ -48237,7 +48632,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots listGroupClusterBackupTenantSnapshots --help + source: atlas api sharedTierSnapshots listClusterBackupSnapshots --help - label: Go lang: go source: | @@ -48334,7 +48729,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api sharedTierSnapshots getGroupClusterBackupTenantSnapshot --help + source: atlas api sharedTierSnapshots getBackupTenantSnapshot --help - label: Go lang: go source: | @@ -48419,7 +48814,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterBackupCheckpoints --help + source: atlas api legacyBackup listClusterBackupCheckpoints --help - label: Go lang: go source: | @@ -48511,7 +48906,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterBackupCheckpoint --help + source: atlas api legacyBackup getClusterBackupCheckpoint --help - label: Go lang: go source: | @@ -48592,7 +48987,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics listPinnedNamespaces --help - label: Go lang: go source: | @@ -48689,7 +49084,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics updateGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics updatePinnedNamespaces --help - label: Go lang: go source: | @@ -48790,7 +49185,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics pinGroupClusterCollStatPinnedNamespaces --help + source: atlas api collectionLevelMetrics pinNamespaces --help - label: Go lang: go source: | @@ -48885,7 +49280,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics unpinGroupClusterCollStatUnpinNamespaces --help + source: atlas api collectionLevelMetrics unpinNamespaces --help - label: Go lang: go source: | @@ -48987,7 +49382,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterFtsIndex --help + source: atlas api atlasSearch createClusterFtsIndex --help - label: Go lang: go source: | @@ -49071,6 +49466,7 @@ paths: content: application/vnd.atlas.2023-01-01+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: '#/components/schemas/ClusterSearchIndex' type: array @@ -49092,7 +49488,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterFtsIndex --help + source: atlas api atlasSearch listClusterFtsIndex --help - label: Go lang: go source: | @@ -49189,7 +49585,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterFtsIndex --help + source: atlas api atlasSearch deleteClusterFtsIndex --help - label: Go lang: go source: | @@ -49282,7 +49678,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterFtsIndex --help + source: atlas api atlasSearch getClusterFtsIndex --help - label: Go lang: go source: | @@ -49386,7 +49782,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterFtsIndex --help + source: atlas api atlasSearch updateClusterFtsIndex --help - label: Go lang: go source: | @@ -49476,7 +49872,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters getGroupClusterGlobalWrites --help + source: atlas api globalClusters getClusterGlobalWrites --help - label: Go lang: go source: | @@ -49559,7 +49955,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters deleteGroupClusterGlobalWriteCustomZoneMapping --help + source: atlas api globalClusters deleteCustomZoneMapping --help - label: Go lang: go source: | @@ -49651,7 +50047,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters createGroupClusterGlobalWriteCustomZoneMapping --help + source: atlas api globalClusters createCustomZoneMapping --help - label: Go lang: go source: | @@ -49750,7 +50146,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters deleteGroupClusterGlobalWriteManagedNamespaces --help + source: atlas api globalClusters deleteManagedNamespaces --help - label: Go lang: go source: | @@ -49844,7 +50240,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api globalClusters createGroupClusterGlobalWriteManagedNamespace --help + source: atlas api globalClusters createManagedNamespace --help - label: Go lang: go source: | @@ -50005,7 +50401,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api rollingIndex createGroupClusterIndexRollingIndex --help + source: atlas api rollingIndex createRollingIndex --help - label: Go lang: go source: | @@ -50100,7 +50496,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive listGroupClusterOnlineArchives --help + source: atlas api onlineArchive listOnlineArchives --help - label: Go lang: go source: | @@ -50193,7 +50589,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive createGroupClusterOnlineArchive --help + source: atlas api onlineArchive createOnlineArchive --help - label: Go lang: go source: | @@ -50287,7 +50683,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive deleteGroupClusterOnlineArchive --help + source: atlas api onlineArchive deleteOnlineArchive --help - label: Go lang: go source: | @@ -50380,7 +50776,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive getGroupClusterOnlineArchive --help + source: atlas api onlineArchive getOnlineArchive --help - label: Go lang: go source: | @@ -50480,7 +50876,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive updateGroupClusterOnlineArchive --help + source: atlas api onlineArchive updateOnlineArchive --help - label: Go lang: go source: | @@ -50596,7 +50992,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api onlineArchive downloadGroupClusterOnlineArchiveQueryLogs --help + source: atlas api onlineArchive downloadQueryLogs --help - label: Go lang: go source: | @@ -50686,7 +51082,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation endGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation endOutageSimulation --help - label: Go lang: go source: | @@ -50777,7 +51173,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation getGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation getOutageSimulation --help - label: Go lang: go source: | @@ -50871,7 +51267,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusterOutageSimulation startGroupClusterOutageSimulation --help + source: atlas api clusterOutageSimulation startOutageSimulation --help - label: Go lang: go source: | @@ -50960,7 +51356,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorDropIndexSuggestions --help + source: atlas api performanceAdvisor listDropIndexSuggestions --help - label: Go lang: go source: | @@ -51042,7 +51438,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorSchemaAdvice --help + source: atlas api performanceAdvisor listSchemaAdvice --help - label: Go lang: go source: | @@ -51167,7 +51563,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupClusterPerformanceAdvisorSuggestedIndexes --help + source: atlas api performanceAdvisor listClusterSuggestedIndexes --help - label: Go lang: go source: | @@ -51254,7 +51650,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupClusterProcessArgs --help + source: atlas api clusters getProcessArgs --help - label: Go lang: go source: | @@ -51346,7 +51742,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters updateGroupClusterProcessArgs --help + source: atlas api clusters updateProcessArgs --help - label: Go lang: go source: | @@ -51477,7 +51873,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryShapeInsights getGroupClusterQueryShapeInsightDetails --help + source: atlas api queryShapeInsights getQueryShapeDetails --help - label: Go lang: go source: | @@ -51666,7 +52062,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api queryShapeInsights listGroupClusterQueryShapeInsightSummaries --help + source: atlas api queryShapeInsights listQueryShapeSummaries --help - label: Go lang: go source: | @@ -51744,7 +52140,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters restartGroupClusterPrimaries --help + source: atlas api clusters restartPrimaries --help - label: Go lang: go source: | @@ -51848,7 +52244,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterRestoreJobs --help + source: atlas api legacyBackup listClusterRestoreJobs --help - label: Go lang: go source: | @@ -51940,7 +52336,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup createGroupClusterRestoreJob --help + source: atlas api legacyBackup createClusterRestoreJob --help - label: Go lang: go source: | @@ -52043,7 +52439,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterRestoreJob --help + source: atlas api legacyBackup getClusterRestoreJob --help - label: Go lang: go source: | @@ -52125,7 +52521,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchDeployment --help + source: atlas api atlasSearch deleteClusterSearchDeployment --help - label: Go lang: go source: | @@ -52206,7 +52602,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchDeployment --help + source: atlas api atlasSearch getClusterSearchDeployment --help - label: Go lang: go source: | @@ -52301,7 +52697,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchDeployment --help + source: atlas api atlasSearch updateClusterSearchDeployment --help - label: Go lang: go source: | @@ -52395,7 +52791,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterSearchDeployment --help + source: atlas api atlasSearch createClusterSearchDeployment --help - label: Go lang: go source: | @@ -52465,6 +52861,7 @@ paths: content: application/vnd.atlas.2024-05-30+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: '#/components/schemas/SearchIndexResponse' type: array @@ -52494,7 +52891,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterSearchIndexes --help + source: atlas api atlasSearch listClusterSearchIndexes --help - label: Go lang: go source: | @@ -52587,7 +52984,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch createGroupClusterSearchIndex --help + source: atlas api atlasSearch createClusterSearchIndex --help - label: Go lang: go source: | @@ -52669,6 +53066,7 @@ paths: content: application/vnd.atlas.2024-05-30+json: schema: + description: List of Atlas Search indexes that MongoDB Cloud returns for this request. items: $ref: '#/components/schemas/SearchIndexResponse' type: array @@ -52698,7 +53096,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch listGroupClusterSearchIndex --help + source: atlas api atlasSearch listSearchIndex --help - label: Go lang: go source: | @@ -52802,7 +53200,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchIndexByName --help + source: atlas api atlasSearch deleteIndexByName --help - label: Go lang: go source: | @@ -52907,7 +53305,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchIndexByName --help + source: atlas api atlasSearch getIndexByName --help - label: Go lang: go source: | @@ -53021,7 +53419,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchIndexByName --help + source: atlas api atlasSearch updateIndexByName --help - label: Go lang: go source: | @@ -53120,7 +53518,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch deleteGroupClusterSearchIndex --help + source: atlas api atlasSearch deleteClusterSearchIndex --help - label: Go lang: go source: | @@ -53219,7 +53617,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch getGroupClusterSearchIndex --help + source: atlas api atlasSearch getClusterSearchIndex --help - label: Go lang: go source: | @@ -53321,7 +53719,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api atlasSearch updateGroupClusterSearchIndex --help + source: atlas api atlasSearch updateClusterSearchIndex --help - label: Go lang: go source: | @@ -53414,7 +53812,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterSnapshotSchedule --help + source: atlas api legacyBackup getClusterSnapshotSchedule --help - label: Go lang: go source: | @@ -53509,7 +53907,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup updateGroupClusterSnapshotSchedule --help + source: atlas api legacyBackup updateClusterSnapshotSchedule --help - label: Go lang: go source: | @@ -53610,7 +54008,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup listGroupClusterSnapshots --help + source: atlas api legacyBackup listClusterSnapshots --help - label: Go lang: go source: | @@ -53701,7 +54099,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup deleteGroupClusterSnapshot --help + source: atlas api legacyBackup deleteClusterSnapshot --help - label: Go lang: go source: | @@ -53793,7 +54191,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup getGroupClusterSnapshot --help + source: atlas api legacyBackup getClusterSnapshot --help - label: Go lang: go source: | @@ -53890,7 +54288,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api legacyBackup updateGroupClusterSnapshot --help + source: atlas api legacyBackup updateClusterSnapshot --help - label: Go lang: go source: | @@ -53976,7 +54374,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupClusterStatus --help + source: atlas api clusters getClusterStatus --help - label: Go lang: go source: | @@ -54066,7 +54464,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters grantGroupClusterMongoDbEmployeeAccess --help + source: atlas api clusters grantMongoEmployeeAccess --help - label: Go lang: go source: | @@ -54159,7 +54557,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters pinGroupClusterFeatureCompatibilityVersion --help + source: atlas api clusters pinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -54245,7 +54643,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters revokeGroupClusterMongoDbEmployeeAccess --help + source: atlas api clusters revokeMongoEmployeeAccess --help - label: Go lang: go source: | @@ -54333,7 +54731,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters unpinGroupClusterFeatureCompatibilityVersion --help + source: atlas api clusters unpinFeatureCompatibilityVersion --help - label: Go lang: go source: | @@ -54450,7 +54848,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs downloadGroupClusterLog --help + source: atlas api monitoringAndLogs downloadClusterLog --help - label: Go lang: go source: | @@ -54543,7 +54941,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters listGroupClusterProviderRegions --help + source: atlas api clusters listClusterProviderRegions --help - label: Go lang: go source: | @@ -54632,7 +55030,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters upgradeGroupClusterTenantUpgrade --help + source: atlas api clusters upgradeTenantUpgrade --help - label: Go lang: go source: | @@ -54732,7 +55130,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters upgradeGroupClusterTenantUpgradeToServerless --help + source: atlas api clusters upgradeClusterToServerless --help - label: Go lang: go source: | @@ -54812,7 +55210,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupCollStatMetrics --help + source: atlas api collectionLevelMetrics listCollStatMetrics --help - label: Go lang: go source: | @@ -55398,7 +55796,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles listGroupCustomDbRoleRoles --help + source: atlas api customDatabaseRoles listCustomDbRoles --help - label: Go lang: go source: | @@ -55481,7 +55879,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles createGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles createCustomDbRole --help - label: Go lang: go source: | @@ -55566,7 +55964,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles deleteGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles deleteCustomDbRole --help - label: Go lang: go source: | @@ -55644,7 +56042,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles getGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles getCustomDbRole --help - label: Go lang: go source: | @@ -55733,7 +56131,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api customDatabaseRoles updateGroupCustomDbRoleRole --help + source: atlas api customDatabaseRoles updateCustomDbRole --help - label: Go lang: go source: | @@ -55827,7 +56225,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupDataFederation --help + source: atlas api dataFederation listDataFederation --help - label: Go lang: go source: | @@ -55914,7 +56312,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation createGroupDataFederation --help + source: atlas api dataFederation createDataFederation --help - label: Go lang: go source: | @@ -55995,7 +56393,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupDataFederation --help + source: atlas api dataFederation deleteDataFederation --help - label: Go lang: go source: | @@ -56077,7 +56475,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupDataFederation --help + source: atlas api dataFederation getDataFederation --help - label: Go lang: go source: | @@ -56170,7 +56568,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation updateGroupDataFederation --help + source: atlas api dataFederation updateDataFederation --help - label: Go lang: go source: | @@ -56261,7 +56659,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupDataFederationLimits --help + source: atlas api dataFederation listDataFederationLimits --help - label: Go lang: go source: | @@ -56358,7 +56756,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupDataFederationLimit --help + source: atlas api dataFederation deleteDataFederationLimit --help - label: Go lang: go source: | @@ -56457,7 +56855,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupDataFederationLimit --help + source: atlas api dataFederation getDataFederationLimit --help - label: Go lang: go source: | @@ -56562,7 +56960,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation setGroupDataFederationLimit --help + source: atlas api dataFederation setDataFederationLimit --help - label: Go lang: go source: | @@ -56668,7 +57066,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation downloadGroupDataFederationQueryLogs --help + source: atlas api dataFederation downloadFederationQueryLogs --help - label: Go lang: go source: | @@ -56749,7 +57147,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers listGroupDatabaseUsers --help + source: atlas api databaseUsers listDatabaseUsers --help - label: Go lang: go source: | @@ -56926,7 +57324,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers createGroupDatabaseUser --help + source: atlas api databaseUsers createDatabaseUser --help - label: Go lang: go source: | @@ -57031,7 +57429,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers deleteGroupDatabaseUser --help + source: atlas api databaseUsers deleteDatabaseUser --help - label: Go lang: go source: | @@ -57133,7 +57531,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers getGroupDatabaseUser --help + source: atlas api databaseUsers getDatabaseUser --help - label: Go lang: go source: | @@ -57246,7 +57644,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api databaseUsers updateGroupDatabaseUser --help + source: atlas api databaseUsers updateDatabaseUser --help - label: Go lang: go source: | @@ -57334,7 +57732,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication listGroupDatabaseUserCerts --help + source: atlas api x509Authentication listDatabaseUserCerts --help - label: Go lang: go source: | @@ -57432,7 +57830,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication createGroupDatabaseUserCert --help + source: atlas api x509Authentication createDatabaseUserCert --help - label: Go lang: go source: | @@ -57555,7 +57953,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api accessTracking getGroupDbAccessHistoryCluster --help + source: atlas api accessTracking getAccessHistoryCluster --help - label: Go lang: go source: | @@ -57671,7 +58069,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api accessTracking getGroupDbAccessHistoryProcess --help + source: atlas api accessTracking getAccessHistoryProcess --help - label: Go lang: go source: | @@ -57750,7 +58148,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement getGroupEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getEncryptionAtRest --help - label: Go lang: go source: | @@ -57845,7 +58243,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement updateGroupEncryptionAtRest --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement updateEncryptionAtRest --help - label: Go lang: go source: | @@ -57934,7 +58332,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement listGroupEncryptionAtRestPrivateEndpoints --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement listRestPrivateEndpoints --help - label: Go lang: go source: | @@ -58022,7 +58420,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement createGroupEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement createRestPrivateEndpoint --help - label: Go lang: go source: | @@ -58113,7 +58511,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement requestGroupEncryptionAtRestPrivateEndpointDeletion --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement requestPrivateEndpointDeletion --help - label: Go lang: go source: | @@ -58206,7 +58604,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api encryptionAtRestUsingCustomerKeyManagement getGroupEncryptionAtRestPrivateEndpoint --help + source: atlas api encryptionAtRestUsingCustomerKeyManagement getRestPrivateEndpoint --help - label: Go lang: go source: | @@ -58514,7 +58912,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters listGroupFlexClusters --help + source: atlas api flexClusters listFlexClusters --help - label: Go lang: go source: | @@ -58599,7 +58997,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters createGroupFlexCluster --help + source: atlas api flexClusters createFlexCluster --help - label: Go lang: go source: | @@ -58685,7 +59083,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters deleteGroupFlexCluster --help + source: atlas api flexClusters deleteFlexCluster --help - label: Go lang: go source: | @@ -58770,7 +59168,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters getGroupFlexCluster --help + source: atlas api flexClusters getFlexCluster --help - label: Go lang: go source: | @@ -58860,7 +59258,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters updateGroupFlexCluster --help + source: atlas api flexClusters updateFlexCluster --help - label: Go lang: go source: | @@ -58955,7 +59353,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots downloadGroupFlexClusterBackup --help + source: atlas api flexSnapshots downloadFlexBackup --help - label: Go lang: go source: | @@ -59046,7 +59444,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs listGroupFlexClusterBackupRestoreJobs --help + source: atlas api flexRestoreJobs listFlexRestoreJobs --help - label: Go lang: go source: | @@ -59136,7 +59534,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs createGroupFlexClusterBackupRestoreJob --help + source: atlas api flexRestoreJobs createFlexRestoreJob --help - label: Go lang: go source: | @@ -59229,7 +59627,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexRestoreJobs getGroupFlexClusterBackupRestoreJob --help + source: atlas api flexRestoreJobs getFlexRestoreJob --help - label: Go lang: go source: | @@ -59314,7 +59712,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots listGroupFlexClusterBackupSnapshots --help + source: atlas api flexSnapshots listFlexBackupSnapshots --help - label: Go lang: go source: | @@ -59403,7 +59801,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexSnapshots getGroupFlexClusterBackupSnapshot --help + source: atlas api flexSnapshots getFlexBackupSnapshot --help - label: Go lang: go source: | @@ -59489,7 +59887,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api flexClusters tenantGroupFlexClusterUpgrade --help + source: atlas api flexClusters tenantUpgrade --help - label: Go lang: go source: | @@ -59570,7 +59968,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetrics --help + source: atlas api monitoringAndLogs listHostFtsMetrics --help - label: Go lang: go source: | @@ -59679,7 +60077,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupHostFtsMetricIndexMeasurements --help + source: atlas api monitoringAndLogs getIndexMeasurements --help - label: Go lang: go source: | @@ -59787,7 +60185,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetricIndexMeasurements --help + source: atlas api monitoringAndLogs listIndexMeasurements --help - label: Go lang: go source: | @@ -59895,7 +60293,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupHostFtsMetricMeasurements --help + source: atlas api monitoringAndLogs listMeasurements --help - label: Go lang: go source: | @@ -60017,7 +60415,7 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/listGroupIntegrations /api/atlas/v2/groups/{groupId}/integrations/{integrationType}: delete: - description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Removes the settings that permit configuring one third-party service integration. These settings apply to all databases managed in one MongoDB Cloud project. If you delete an integration from a project, you remove that integration configuration only for that project. This action doesn't affect any other project or organization's configured `{INTEGRATION-TYPE}` integrations. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Deleting log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: deleteGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -60036,6 +60434,7 @@ paths: - HIP_CHAT - PROMETHEUS - MICROSOFT_TEAMS + - S3_LOG_EXPORT title: Integration Type type: string - $ref: '#/components/parameters/envelope' @@ -60106,7 +60505,7 @@ paths: -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/deleteGroupIntegration get: - description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Returns the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Viewing log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: getGroupIntegration parameters: - $ref: '#/components/parameters/envelope' @@ -60128,6 +60527,7 @@ paths: - HIP_CHAT - PROMETHEUS - MICROSOFT_TEAMS + - S3_LOG_EXPORT title: Integration Type type: string responses: @@ -60200,7 +60600,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/integrations/{integrationType}?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/getGroupIntegration post: - description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Adds the settings for configuring one third-party service integration. These settings apply to all databases managed in the specified MongoDB Cloud project. Each project can have only one configuration per `{INTEGRATION-TYPE}`. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: createGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -60219,6 +60619,7 @@ paths: - HIP_CHAT - PROMETHEUS - MICROSOFT_TEAMS + - S3_LOG_EXPORT title: Integration Type type: string - $ref: '#/components/parameters/envelope' @@ -60307,7 +60708,7 @@ paths: -d '{ }' x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Third-Party-Integrations/operation/createGroupIntegration put: - description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. + description: Updates the settings for configuring integration with one third-party service. These settings apply to all databases managed in one MongoDB Cloud project. To use this resource, the requesting Service Account or API Key must have the Organization Owner or Project Owner role. Enabling log export to S3, Splunk, and Datadog is currently in preview. Please contact your Customer Success Manager (CSM) for access. operationId: updateGroupIntegration parameters: - description: Human-readable label that identifies the service which you want to integrate with MongoDB Cloud. @@ -60326,6 +60727,7 @@ paths: - HIP_CHAT - PROMETHEUS - MICROSOFT_TEAMS + - S3_LOG_EXPORT title: Integration Type type: string - $ref: '#/components/parameters/envelope' @@ -60499,7 +60901,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites?pretty=true" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/listGroupInvites patch: deprecated: true @@ -60585,7 +60987,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupInvites post: deprecated: true @@ -60669,12 +61071,12 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/createGroupInvite /api/atlas/v2/groups/{groupId}/invites/{invitationId}: delete: deprecated: true - description: Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can't cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: 'Cancels one pending invitation sent to the specified MongoDB Cloud user to join a project. You can''t cancel an invitation that the user accepted. To use this resource, the requesting Service Account or API Key must have the Project Owner role. Note: deleting a project invitation does not delete an organization invitation even if they were created together.' operationId: deleteGroupInvite parameters: - $ref: '#/components/parameters/groupId' @@ -60747,7 +61149,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/deleteGroupInvite get: deprecated: true @@ -60829,7 +61231,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}?pretty=true" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/getGroupInvite patch: deprecated: true @@ -60876,7 +61278,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects updateGroupInviteById --help + source: atlas api projects updateInviteById --help - label: Go lang: go source: | @@ -60921,7 +61323,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/invites/{invitationId}" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupInviteById x-xgen-method-verb-override: customMethod: false @@ -61636,7 +62038,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService cutoverGroupLiveMigration --help + source: atlas api cloudMigrationService cutoverMigration --help - label: Go lang: go source: | @@ -61725,7 +62127,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService validateGroupLiveMigrations --help + source: atlas api cloudMigrationService validateLiveMigrations --help - label: Go lang: go source: | @@ -61813,7 +62215,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService getGroupLiveMigrationValidateStatus --help + source: atlas api cloudMigrationService getMigrationValidateStatus --help - label: Go lang: go source: | @@ -61888,7 +62290,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows resetGroupMaintenanceWindow --help + source: atlas api maintenanceWindows resetMaintenanceWindow --help - label: Go lang: go source: | @@ -61965,7 +62367,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows getGroupMaintenanceWindow --help + source: atlas api maintenanceWindows getMaintenanceWindow --help - label: Go lang: go source: | @@ -62043,7 +62445,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows updateGroupMaintenanceWindow --help + source: atlas api maintenanceWindows updateMaintenanceWindow --help - label: Go lang: go source: | @@ -62119,7 +62521,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows toggleGroupMaintenanceWindowAutoDefer --help + source: atlas api maintenanceWindows toggleMaintenanceAutoDefer --help - label: Go lang: go source: | @@ -62198,7 +62600,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api maintenanceWindows deferGroupMaintenanceWindow --help + source: atlas api maintenanceWindows deferMaintenanceWindow --help - label: Go lang: go source: | @@ -62281,7 +62683,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor getGroupManagedSlowMs --help + source: atlas api performanceAdvisor getManagedSlowMs --help - label: Go lang: go source: | @@ -62354,7 +62756,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor disableGroupManagedSlowMs --help + source: atlas api performanceAdvisor disableManagedSlowMs --help - label: Go lang: go source: | @@ -62429,7 +62831,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor enableGroupManagedSlowMs --help + source: atlas api performanceAdvisor enableManagedSlowMs --help - label: Go lang: go source: | @@ -62548,7 +62950,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api projects getGroupMongoDbVersions --help + source: atlas api projects getMongoDbVersions --help - label: Go lang: go source: | @@ -63065,7 +63467,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines listGroupPipelines --help + source: atlas api dataLakePipelines listPipelines --help - label: Go lang: go source: | @@ -63150,7 +63552,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines createGroupPipeline --help + source: atlas api dataLakePipelines createPipeline --help - label: Go lang: go source: | @@ -63233,7 +63635,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines deleteGroupPipeline --help + source: atlas api dataLakePipelines deletePipeline --help - label: Go lang: go source: | @@ -63318,7 +63720,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipeline --help + source: atlas api dataLakePipelines getPipeline --help - label: Go lang: go source: | @@ -63409,7 +63811,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines updateGroupPipeline --help + source: atlas api dataLakePipelines updatePipeline --help - label: Go lang: go source: | @@ -63504,7 +63906,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineAvailableSchedules --help + source: atlas api dataLakePipelines getAvailablePipelineSchedules --help - label: Go lang: go source: | @@ -63600,7 +64002,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineAvailableSnapshots --help + source: atlas api dataLakePipelines getAvailablePipelineSnapshots --help - label: Go lang: go source: | @@ -63684,7 +64086,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines pauseGroupPipeline --help + source: atlas api dataLakePipelines pausePipeline --help - label: Go lang: go source: | @@ -63774,7 +64176,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines resumeGroupPipeline --help + source: atlas api dataLakePipelines resumePipeline --help - label: Go lang: go source: | @@ -63875,7 +64277,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines listGroupPipelineRuns --help + source: atlas api dataLakePipelines listPipelineRuns --help - label: Go lang: go source: | @@ -63967,7 +64369,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines deleteGroupPipelineRun --help + source: atlas api dataLakePipelines deletePipelineRun --help - label: Go lang: go source: | @@ -64060,7 +64462,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines getGroupPipelineRun --help + source: atlas api dataLakePipelines getPipelineRun --help - label: Go lang: go source: | @@ -64151,7 +64553,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataLakePipelines triggerGroupPipeline --help + source: atlas api dataLakePipelines triggerPipeline --help - label: Go lang: go source: | @@ -64254,7 +64656,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices listGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices listPrivateEndpointService --help - label: Go lang: go source: | @@ -64347,7 +64749,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices deleteGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices deletePrivateEndpointService --help - label: Go lang: go source: | @@ -64443,7 +64845,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices getPrivateEndpointService --help - label: Go lang: go source: | @@ -64549,7 +64951,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices createGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices createPrivateEndpoint --help - label: Go lang: go source: | @@ -64653,7 +65055,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices deleteGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices deletePrivateEndpoint --help - label: Go lang: go source: | @@ -64756,7 +65158,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointEndpointServiceEndpoint --help + source: atlas api privateEndpointServices getPrivateEndpoint --help - label: Go lang: go source: | @@ -64841,7 +65243,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices createGroupPrivateEndpointEndpointService --help + source: atlas api privateEndpointServices createPrivateEndpointService --help - label: Go lang: go source: | @@ -64918,7 +65320,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices getGroupPrivateEndpointRegionalMode --help + source: atlas api privateEndpointServices getRegionalEndpointMode --help - label: Go lang: go source: | @@ -65002,7 +65404,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api privateEndpointServices toggleGroupPrivateEndpointRegionalMode --help + source: atlas api privateEndpointServices toggleRegionalEndpointMode --help - label: Go lang: go source: | @@ -65101,7 +65503,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints listGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints listServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -65196,7 +65598,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints createGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints createServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -65289,7 +65691,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints deleteGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints deleteServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -65381,7 +65783,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints getGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints getServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -65478,7 +65880,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessPrivateEndpoints updateGroupPrivateEndpointServerlessInstanceEndpoint --help + source: atlas api serverlessPrivateEndpoints updateServerlessPrivateEndpoint --help - label: Go lang: go source: | @@ -65561,7 +65963,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api networkPeering verifyGroupPrivateIpMode --help + source: atlas api networkPeering verifyPrivateIpMode --help - label: Go lang: go source: | @@ -65649,7 +66051,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api networkPeering disableGroupPrivateIpModePeering --help + source: atlas api networkPeering disablePeering --help - label: Go lang: go source: | @@ -65734,7 +66136,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation listGroupPrivateNetworkSettingEndpointIds --help + source: atlas api dataFederation listPrivateEndpointIds --help - label: Go lang: go source: | @@ -65834,7 +66236,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation createGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation createPrivateEndpointId --help - label: Go lang: go source: | @@ -65916,7 +66318,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation deleteGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation deletePrivateEndpointId --help - label: Go lang: go source: | @@ -65997,7 +66399,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api dataFederation getGroupPrivateNetworkSettingEndpointId --help + source: atlas api dataFederation getPrivateEndpointId --help - label: Go lang: go source: | @@ -66268,7 +66670,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics listGroupProcessCollStatMeasurements --help + source: atlas api collectionLevelMetrics listProcessMeasurements --help - label: Go lang: go source: | @@ -66344,7 +66746,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api collectionLevelMetrics getGroupProcessCollStatNamespaces --help + source: atlas api collectionLevelMetrics getProcessNamespaces --help - label: Go lang: go source: | @@ -66434,7 +66836,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupProcessDatabases --help + source: atlas api monitoringAndLogs listDatabases --help - label: Go lang: go source: | @@ -66523,7 +66925,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDatabase --help + source: atlas api monitoringAndLogs getDatabase --help - label: Go lang: go source: | @@ -66638,7 +67040,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDatabaseMeasurements --help + source: atlas api monitoringAndLogs getDatabaseMeasurements --help - label: Go lang: go source: | @@ -66722,7 +67124,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs listGroupProcessDisks --help + source: atlas api monitoringAndLogs listProcessDisks --help - label: Go lang: go source: | @@ -66810,7 +67212,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDisk --help + source: atlas api monitoringAndLogs getProcessDisk --help - label: Go lang: go source: | @@ -66944,7 +67346,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessDiskMeasurements --help + source: atlas api monitoringAndLogs getProcessDiskMeasurements --help - label: Go lang: go source: | @@ -67191,7 +67593,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api monitoringAndLogs getGroupProcessMeasurements --help + source: atlas api monitoringAndLogs getProcessMeasurements --help - label: Go lang: go source: | @@ -67296,7 +67698,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorNamespaces --help + source: atlas api performanceAdvisor listPerformanceAdvisorNamespaces --help - label: Go lang: go source: | @@ -67436,7 +67838,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorSlowQueryLogs --help + source: atlas api performanceAdvisor listSlowQueryLogs --help - label: Go lang: go source: | @@ -67565,7 +67967,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor listGroupProcessPerformanceAdvisorSuggestedIndexes --help + source: atlas api performanceAdvisor listSuggestedIndexes --help - label: Go lang: go source: | @@ -67638,7 +68040,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport deleteGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport deleteLogExport --help - label: Go lang: go source: | @@ -67713,7 +68115,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport getGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport getLogExport --help - label: Go lang: go source: | @@ -67796,7 +68198,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport updateGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport updateLogExport --help - label: Go lang: go source: | @@ -67880,7 +68282,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api pushBasedLogExport createGroupPushBasedLogExport --help + source: atlas api pushBasedLogExport createLogExport --help - label: Go lang: go source: | @@ -67967,7 +68369,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters requestGroupSampleDatasetLoad --help + source: atlas api clusters requestSampleDatasetLoad --help - label: Go lang: go source: | @@ -68055,7 +68457,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api clusters getGroupSampleDatasetLoad --help + source: atlas api clusters getSampleDatasetLoad --help - label: Go lang: go source: | @@ -68139,7 +68541,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances listGroupServerlessInstances --help + source: atlas api serverlessInstances listServerlessInstances --help - label: Go lang: go source: | @@ -68233,7 +68635,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances createGroupServerlessInstance --help + source: atlas api serverlessInstances createServerlessInstance --help - label: Go lang: go source: | @@ -68331,7 +68733,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupServerlessBackupRestoreJobs --help + source: atlas api cloudBackups listServerlessRestoreJobs --help - label: Go lang: go source: | @@ -68427,7 +68829,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups createGroupServerlessBackupRestoreJob --help + source: atlas api cloudBackups createServerlessRestoreJob --help - label: Go lang: go source: | @@ -68528,7 +68930,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupServerlessBackupRestoreJob --help + source: atlas api cloudBackups getServerlessRestoreJob --help - label: Go lang: go source: | @@ -68619,7 +69021,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups listGroupServerlessBackupSnapshots --help + source: atlas api cloudBackups listServerlessBackupSnapshots --help - label: Go lang: go source: | @@ -68716,7 +69118,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudBackups getGroupServerlessBackupSnapshot --help + source: atlas api cloudBackups getServerlessBackupSnapshot --help - label: Go lang: go source: | @@ -68801,7 +69203,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor getGroupServerlessPerformanceAdvisorAutoIndexing --help + source: atlas api performanceAdvisor getServerlessAutoIndexing --help - label: Go lang: go source: | @@ -68891,7 +69293,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api performanceAdvisor setGroupServerlessPerformanceAdvisorAutoIndexing --help + source: atlas api performanceAdvisor setServerlessAutoIndexing --help - label: Go lang: go source: | @@ -68988,7 +69390,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances deleteGroupServerlessInstance --help + source: atlas api serverlessInstances deleteServerlessInstance --help - label: Go lang: go source: | @@ -69082,7 +69484,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances getGroupServerlessInstance --help + source: atlas api serverlessInstances getServerlessInstance --help - label: Go lang: go source: | @@ -69181,7 +69583,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serverlessInstances updateGroupServerlessInstance --help + source: atlas api serverlessInstances updateServerlessInstance --help - label: Go lang: go source: | @@ -69683,7 +70085,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts listGroupServiceAccountAccessList --help + source: atlas api serviceAccounts listAccessList --help - label: Go lang: go source: | @@ -69781,7 +70183,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createGroupServiceAccountAccessList --help + source: atlas api serviceAccounts createAccessList --help - label: Go lang: go source: | @@ -69874,7 +70276,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteGroupServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteGroupAccessEntry --help - label: Go lang: go source: | @@ -69967,7 +70369,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createGroupServiceAccountSecret --help + source: atlas api serviceAccounts createGroupSecret --help - label: Go lang: go source: | @@ -70056,7 +70458,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteGroupServiceAccountSecret --help + source: atlas api serviceAccounts deleteGroupSecret --help - label: Go lang: go source: | @@ -70349,7 +70751,7 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupSettings /api/atlas/v2/groups/{groupId}/streams: get: - description: Returns all stream instances for the specified project. + description: Returns all stream workspaces for the specified project. operationId: listGroupStreamWorkspaces parameters: - $ref: '#/components/parameters/groupId' @@ -70373,13 +70775,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Return All Stream Instances in One Project + summary: Return All Stream Workspaces in One Project tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamWorkspaces --help + source: atlas api streams listStreamWorkspaces --help - label: Go lang: go source: | @@ -70428,7 +70830,7 @@ paths: verb: listWorkspaces x-xgen-operation-id-override: listStreamWorkspaces post: - description: Creates one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Creates one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: createGroupStreamWorkspace parameters: - $ref: '#/components/parameters/envelope' @@ -70439,7 +70841,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: '#/components/schemas/StreamsTenant' - description: Details to create one streams instance in the specified project. + description: Details to create one streams workspace in the specified project. required: true responses: "200": @@ -70459,13 +70861,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Create One Stream Instance + summary: Create One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamWorkspace --help + source: atlas api streams createStreamWorkspace --help - label: Go lang: go source: | @@ -70519,13 +70921,13 @@ paths: x-xgen-operation-id-override: createStreamWorkspace /api/atlas/v2/groups/{groupId}/streams/{tenantName}: delete: - description: Delete one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Delete one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: deleteGroupStreamWorkspace parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance to delete. + - description: Label that identifies the stream workspace to delete. in: path name: tenantName required: true @@ -70545,13 +70947,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Delete One Stream Instance + summary: Delete One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamWorkspace --help + source: atlas api streams deleteStreamWorkspace --help - label: Go lang: go source: | @@ -70600,18 +71002,18 @@ paths: verb: deleteWorkspace x-xgen-operation-id-override: deleteStreamWorkspace get: - description: Returns the details of one stream instance within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + description: Returns the details of one stream workspace within the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: getGroupStreamWorkspace parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance to return. + - description: Label that identifies the stream workspace to return. in: path name: tenantName required: true schema: type: string - - description: Flag to indicate whether connections information should be included in the stream instance. + - description: Flag to indicate whether connections information should be included in the stream workspace. in: query name: includeConnections schema: @@ -70636,13 +71038,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Return One Stream Instance + summary: Return One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamWorkspace --help + source: atlas api streams getStreamWorkspace --help - label: Go lang: go source: | @@ -70691,13 +71093,13 @@ paths: verb: getWorkspace x-xgen-operation-id-override: getStreamWorkspace patch: - description: Update one stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Update one stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: updateGroupStreamWorkspace parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance to update. + - description: Label that identifies the stream workspace to update. in: path name: tenantName required: true @@ -70708,7 +71110,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: '#/components/schemas/StreamsDataProcessRegion' - description: Details of the new data process region to update in the streams instance. + description: Details of the new data process region to update in the streams workspace. required: true responses: "200": @@ -70728,13 +71130,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Update One Stream Instance + summary: Update One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamWorkspace --help + source: atlas api streams updateStreamWorkspace --help - label: Go lang: go source: | @@ -70788,7 +71190,7 @@ paths: x-xgen-operation-id-override: updateStreamWorkspace /api/atlas/v2/groups/{groupId}/streams/{tenantName}/auditLogs: get: - description: 'Downloads the audit logs for the specified Atlas Streams Processing instance. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".' + description: 'Downloads the audit logs for the specified Atlas Streams Processing workspace. By default, logs cover periods of 30 days. To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. The API does not support direct calls with the json response schema. You must request a gzip response schema using an accept header of the format: "Accept: application/vnd.atlas.YYYY-MM-DD+gzip".' operationId: downloadGroupStreamAuditLogs parameters: - $ref: '#/components/parameters/envelope' @@ -70809,7 +71211,7 @@ paths: format: int64 pattern: "1199145600" type: integer - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -70837,13 +71239,13 @@ paths: $ref: '#/components/responses/conflict' "500": $ref: '#/components/responses/internalServerError' - summary: Download Audit Logs for One Atlas Stream Processing Instance + summary: Download Audit Logs for One Atlas Stream Processing Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams downloadGroupStreamAuditLogs --help + source: atlas api streams downloadAuditLogs --help - label: Go lang: go source: | @@ -70893,7 +71295,7 @@ paths: x-xgen-operation-id-override: downloadAuditLogs /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections: get: - description: Returns all connections of the stream instance for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. + description: Returns all connections of the stream workspace for the specified project.To use this resource, the requesting Service Account or API Key must have the Project Data Access roles, Project Owner role or Project Stream Processing Owner role. operationId: listGroupStreamConnections parameters: - $ref: '#/components/parameters/groupId' @@ -70901,7 +71303,7 @@ paths: - $ref: '#/components/parameters/itemsPerPage' - $ref: '#/components/parameters/pageNum' - $ref: '#/components/parameters/pretty' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -70923,13 +71325,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Return All Connections of the Stream Instances + summary: Return All Connections of the Stream Workspaces tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamConnections --help + source: atlas api streams listStreamConnections --help - label: Go lang: go source: | @@ -70975,13 +71377,13 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/listGroupStreamConnections x-xgen-operation-id-override: listStreamConnections post: - description: Creates one connection for a stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. + description: Creates one connection for a stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner or Project Stream Processing Owner role. operationId: createGroupStreamConnection parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -70992,7 +71394,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: '#/components/schemas/StreamsConnection' - description: Details to create one connection for a streams instance in the specified project. + description: Details to create one connection for a streams workspace in the specified project. required: true responses: "200": @@ -71020,7 +71422,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamConnection --help + source: atlas api streams createStreamConnection --help - label: Go lang: go source: | @@ -71071,19 +71473,19 @@ paths: x-xgen-operation-id-override: createStreamConnection /api/atlas/v2/groups/{groupId}/streams/{tenantName}/connections/{connectionName}: delete: - description: Delete one connection of the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Delete one connection of the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: deleteGroupStreamConnection parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection. + - description: Label that identifies the stream connection. in: path name: connectionName required: true @@ -71111,7 +71513,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamConnection --help + source: atlas api streams deleteStreamConnection --help - label: Go lang: go source: | @@ -71157,18 +71559,18 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteGroupStreamConnection x-xgen-operation-id-override: deleteStreamConnection get: - description: Returns the details of one stream connection within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. + description: Returns the details of one stream connection within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Read Only role. operationId: getGroupStreamConnection parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance to return. + - description: Label that identifies the stream workspace to return. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection to return. + - description: Label that identifies the stream connection to return. in: path name: connectionName required: true @@ -71181,7 +71583,7 @@ paths: schema: $ref: '#/components/schemas/StreamsConnection' x-xgen-IPA-exception: - xgen-IPA-104-get-method-returns-response-suffixed-object: API predates IPA validation. + xgen-IPA-104-get-method-returns-response-suffixed-object: Exception OK as they are present in existing resource, fixing would require major refactoring. x-xgen-version: "2023-02-01" description: OK "401": @@ -71198,7 +71600,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamConnection --help + source: atlas api streams getStreamConnection --help - label: Go lang: go source: | @@ -71244,19 +71646,19 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getGroupStreamConnection x-xgen-operation-id-override: getStreamConnection patch: - description: Update one connection for the specified stream instance in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Update one connection for the specified stream workspace in the specified project. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateGroupStreamConnection parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream connection. + - description: Label that identifies the stream connection. in: path name: connectionName required: true @@ -71267,7 +71669,7 @@ paths: application/vnd.atlas.2023-02-01+json: schema: $ref: '#/components/schemas/StreamsConnection' - description: Details to update one connection for a streams instance in the specified project. + description: Details to update one connection for a streams workspace in the specified project. required: true responses: "200": @@ -71295,7 +71697,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamConnection --help + source: atlas api streams updateStreamConnection --help - label: Go lang: go source: | @@ -71346,13 +71748,13 @@ paths: x-xgen-operation-id-override: updateStreamConnection /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor: post: - description: Create one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Create one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: createGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -71391,7 +71793,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamProcessor --help + source: atlas api streams createStreamProcessor --help - label: Go lang: go source: | @@ -71440,19 +71842,19 @@ paths: x-xgen-operation-id-override: createStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}: delete: - description: Delete a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Delete a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: deleteGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71478,7 +71880,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamProcessor --help + source: atlas api streams deleteStreamProcessor --help - label: Go lang: go source: | @@ -71522,19 +71924,19 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/deleteGroupStreamProcessor x-xgen-operation-id-override: deleteStreamProcessor get: - description: Get one Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Get one Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71566,7 +71968,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamProcessor --help + source: atlas api streams getStreamProcessor --help - label: Go lang: go source: | @@ -71610,19 +72012,19 @@ paths: x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Streams/operation/getGroupStreamProcessor x-xgen-operation-id-override: getStreamProcessor patch: - description: Modify one existing Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Modify one existing Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: updateGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71659,7 +72061,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams updateGroupStreamProcessor --help + source: atlas api streams updateStreamProcessor --help - label: Go lang: go source: | @@ -71708,19 +72110,19 @@ paths: x-xgen-operation-id-override: updateStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:start: post: - description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: startGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71746,7 +72148,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams startGroupStreamProcessor --help + source: atlas api streams startStreamProcessor --help - label: Go lang: go source: | @@ -71795,19 +72197,19 @@ paths: x-xgen-operation-id-override: startStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:startWith: post: - description: Start a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Start a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: startGroupStreamProcessorWith parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71840,7 +72242,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams startGroupStreamProcessorWith --help + source: atlas api streams startStreamProcessorWith --help - label: Go lang: go source: | @@ -71889,19 +72291,19 @@ paths: x-xgen-operation-id-override: startStreamProcessorWith /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processor/{processorName}:stop: post: - description: Stop a Stream Processor within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Stop a Stream Processor within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: stopGroupStreamProcessor parameters: - $ref: '#/components/parameters/envelope' - $ref: '#/components/parameters/pretty' - $ref: '#/components/parameters/groupId' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true schema: type: string - - description: Human-readable label that identifies the stream processor. + - description: Label that identifies the stream processor. in: path name: processorName required: true @@ -71927,7 +72329,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams stopGroupStreamProcessor --help + source: atlas api streams stopStreamProcessor --help - label: Go lang: go source: | @@ -71976,7 +72378,7 @@ paths: x-xgen-operation-id-override: stopStreamProcessor /api/atlas/v2/groups/{groupId}/streams/{tenantName}/processors: get: - description: Returns all Stream Processors within the specified stream instance. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. + description: Returns all Stream Processors within the specified stream workspace. To use this resource, the requesting Service Account or API Key must have the Project Owner role or Project Stream Processing Owner role. operationId: getGroupStreamProcessors parameters: - $ref: '#/components/parameters/envelope' @@ -71985,7 +72387,7 @@ paths: - $ref: '#/components/parameters/itemsPerPage' - $ref: '#/components/parameters/pageNum' - $ref: '#/components/parameters/includeCount' - - description: Human-readable label that identifies the stream instance. + - description: Label that identifies the stream workspace. in: path name: tenantName required: true @@ -72012,13 +72414,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Return All Stream Processors in One Stream Instance + summary: Return All Stream Processors in One Stream Workspace tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamProcessors --help + source: atlas api streams getStreamProcessors --help - label: Go lang: go source: | @@ -72102,7 +72504,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamAccountDetails --help + source: atlas api streams getAccountDetails --help - label: Go lang: go source: | @@ -72178,7 +72580,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamActiveVpcPeeringConnections --help + source: atlas api streams listActivePeeringConnections --help - label: Go lang: go source: | @@ -72253,7 +72655,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamPrivateLinkConnections --help + source: atlas api streams listPrivateLinkConnections --help - label: Go lang: go source: | @@ -72338,7 +72740,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams createGroupStreamPrivateLinkConnection --help + source: atlas api streams createPrivateLinkConnection --help - label: Go lang: go source: | @@ -72421,7 +72823,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamPrivateLinkConnection --help + source: atlas api streams deletePrivateLinkConnection --help - label: Go lang: go source: | @@ -72500,7 +72902,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams getGroupStreamPrivateLinkConnection --help + source: atlas api streams getPrivateLinkConnection --help - label: Go lang: go source: | @@ -72581,7 +72983,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams listGroupStreamVpcPeeringConnections --help + source: atlas api streams listVpcPeeringConnections --help - label: Go lang: go source: | @@ -72657,7 +73059,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams deleteGroupStreamVpcPeeringConnection --help + source: atlas api streams deleteVpcPeeringConnection --help - label: Go lang: go source: | @@ -72740,7 +73142,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams acceptGroupStreamVpcPeeringConnection --help + source: atlas api streams acceptVpcPeeringConnection --help - label: Go lang: go source: | @@ -72820,7 +73222,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams rejectGroupStreamVpcPeeringConnection --help + source: atlas api streams rejectVpcPeeringConnection --help - label: Go lang: go source: | @@ -72869,7 +73271,7 @@ paths: x-xgen-operation-id-override: rejectVpcPeeringConnection /api/atlas/v2/groups/{groupId}/streams:withSampleConnections: post: - description: Creates one stream instance in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. + description: Creates one stream workspace in the specified project with sample connections. To use this resource the requesting Service Account or API Key must have the Project Data Access Admin role, Project Owner role or Project Stream Processing Owner role. operationId: withGroupStreamSampleConnections parameters: - $ref: '#/components/parameters/envelope' @@ -72880,7 +73282,7 @@ paths: application/vnd.atlas.2024-08-05+json: schema: $ref: '#/components/schemas/TenantWithSampleConnections' - description: Details to create one streams instance in the specified project. + description: Details to create one streams workspace in the specified project. required: true responses: "200": @@ -72900,13 +73302,13 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Create One Stream Instance with Sample Connections + summary: Create One Stream Workspace with Sample Connections tags: - Streams x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api streams withGroupStreamSampleConnections --help + source: atlas api streams withStreamSampleConnections --help - label: Go lang: go source: | @@ -73031,7 +73433,7 @@ paths: -X GET "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/teams?pretty=true" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/listGroupTeams post: - description: Adds one team to the specified project. All members of the team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. + description: Adds multiple teams to the specified project. All members of a team share the same project access. MongoDB Cloud limits the number of users to a maximum of 100 teams per project and a maximum of 250 teams per organization. To use this resource, the requesting Service Account or API Key must have the Project Owner role. externalDocs: description: Manage Organization Teams url: https://docs.atlas.mongodb.com/access/manage-teams-in-orgs/#std-label-manage-teams @@ -73047,7 +73449,7 @@ paths: items: $ref: '#/components/schemas/TeamRole' type: array - description: Team to add to the specified project. + description: Teams and their roles to be added to the specified project. required: true responses: "200": @@ -73067,7 +73469,7 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' - summary: Add One Team to One Project + summary: Add Multiple Teams to One Project tags: - Teams x-codeSamples: @@ -73417,7 +73819,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration getGroupUserSecurity --help + source: atlas api ldapConfiguration getUserSecurity --help - label: Go lang: go source: | @@ -73501,7 +73903,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration updateGroupUserSecurity --help + source: atlas api ldapConfiguration updateUserSecurity --help - label: Go lang: go source: | @@ -73580,7 +73982,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api x509Authentication disableGroupUserSecurityCustomerX509 --help + source: atlas api x509Authentication disableSecurityCustomerX509 --help - label: Go lang: go source: | @@ -73656,7 +74058,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration deleteGroupUserSecurityLdapUserToDnMapping --help + source: atlas api ldapConfiguration deleteLdapUserMapping --help - label: Go lang: go source: | @@ -73738,7 +74140,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration verifyGroupUserSecurityLdap --help + source: atlas api ldapConfiguration verifyUserSecurityLdap --help - label: Go lang: go source: | @@ -73824,7 +74226,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api ldapConfiguration getGroupUserSecurityLdapVerify --help + source: atlas api ldapConfiguration getUserSecurityVerify --help - label: Go lang: go source: | @@ -74333,7 +74735,7 @@ paths: --header "Content-Type: application/json" \ -X PUT "https://cloud.mongodb.com/api/atlas/v2/groups/{groupId}/users/{userId}/roles" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Projects/operation/updateGroupUserRoles /api/atlas/v2/groups/{groupId}/users/{userId}:addRole: post: @@ -74700,6 +75102,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/getGroupByName + /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 on 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 --include --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 --include \ + --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. @@ -75579,7 +76051,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys listOrgApiKeyAccessListEntries --help + source: atlas api programmaticApiKeys listOrgAccessEntries --help - label: Go lang: go source: | @@ -75677,7 +76149,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys createOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys createOrgAccessEntry --help - label: Go lang: go source: | @@ -75775,7 +76247,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys deleteOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys deleteAccessEntry --help - label: Go lang: go source: | @@ -75868,7 +76340,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api programmaticApiKeys getOrgApiKeyAccessListEntry --help + source: atlas api programmaticApiKeys getOrgAccessEntry --help - label: Go lang: go source: | @@ -75952,7 +76424,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices createOrgBillingCostExplorerUsageProcess --help + source: atlas api invoices createCostExplorerProcess --help - label: Go lang: go source: | @@ -76058,7 +76530,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgBillingCostExplorerUsage --help + source: atlas api invoices getCostExplorerUsage --help - label: Go lang: go source: | @@ -76344,7 +76816,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api federatedAuthentication getOrgFederationSettings --help + source: atlas api federatedAuthentication getFederationSettings --help - label: Go lang: go source: | @@ -76574,7 +77046,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites?pretty=true" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/listOrgInvites patch: deprecated: true @@ -76666,7 +77138,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgInvites post: deprecated: true @@ -76758,7 +77230,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/createOrgInvite /api/atlas/v2/orgs/{orgId}/invites/{invitationId}: delete: @@ -76844,7 +77316,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/deleteOrgInvite get: deprecated: true @@ -76933,7 +77405,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}?pretty=true" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/getOrgInvite patch: deprecated: true @@ -77032,7 +77504,7 @@ paths: --header "Content-Type: application/json" \ -X PATCH "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/invites/{invitationId}" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgInviteById x-xgen-method-verb-override: customMethod: false @@ -77130,7 +77602,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices listOrgInvoices --help + source: atlas api invoices listInvoices --help - label: Go lang: go source: | @@ -77225,7 +77697,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgInvoice --help + source: atlas api invoices getInvoice --help - label: Go lang: go source: | @@ -77314,7 +77786,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices getOrgInvoiceCsv --help + source: atlas api invoices getInvoiceCsv --help - label: Go lang: go source: | @@ -77404,7 +77876,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices searchOrgInvoiceLineItems --help + source: atlas api invoices searchInvoiceLineItems --help - label: Go lang: go source: | @@ -77477,7 +77949,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api invoices listOrgInvoicePending --help + source: atlas api invoices listInvoicePending --help - label: Go lang: go source: | @@ -77556,7 +78028,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService listOrgLiveMigrationAvailableProjects --help + source: atlas api cloudMigrationService listAvailableProjects --help - label: Go lang: go source: | @@ -77628,7 +78100,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService deleteOrgLiveMigrationLinkTokens --help + source: atlas api cloudMigrationService deleteLinkTokens --help - label: Go lang: go source: | @@ -77709,7 +78181,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api cloudMigrationService createOrgLiveMigrationLinkToken --help + source: atlas api cloudMigrationService createLinkToken --help - label: Go lang: go source: | @@ -77798,7 +78270,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resourcePolicies getOrgNonCompliantResources --help + source: atlas api resourcePolicies getNonCompliantResources --help - label: Go lang: go source: | @@ -78343,7 +78815,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api resourcePolicies validateOrgResourcePolicies --help + source: atlas api resourcePolicies validateResourcePolicies --help - label: Go lang: go source: | @@ -78840,7 +79312,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts listOrgServiceAccountAccessList --help + source: atlas api serviceAccounts listOrgAccessList --help - label: Go lang: go source: | @@ -78938,7 +79410,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createOrgServiceAccountAccessList --help + source: atlas api serviceAccounts createOrgAccessList --help - label: Go lang: go source: | @@ -79031,7 +79503,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteOrgServiceAccountAccessListEntry --help + source: atlas api serviceAccounts deleteOrgAccessEntry --help - label: Go lang: go source: | @@ -79120,7 +79592,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts getOrgServiceAccountGroups --help + source: atlas api serviceAccounts getServiceAccountGroups --help - label: Go lang: go source: | @@ -79210,7 +79682,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts createOrgServiceAccountSecret --help + source: atlas api serviceAccounts createOrgSecret --help - label: Go lang: go source: | @@ -79299,7 +79771,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api serviceAccounts deleteOrgServiceAccountSecret --help + source: atlas api serviceAccounts deleteOrgSecret --help - label: Go lang: go source: | @@ -80004,7 +80476,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers listOrgTeamUsers --help + source: atlas api mongoDbCloudUsers listTeamUsers --help - label: Go lang: go source: | @@ -80103,7 +80575,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams addOrgTeamUsers --help + source: atlas api teams addTeamUsers --help - label: Go lang: go source: | @@ -80148,7 +80620,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/addOrgTeamUsers x-xgen-method-verb-override: customMethod: "True" @@ -80205,7 +80677,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams removeOrgTeamUserFromTeam --help + source: atlas api teams removeUserFromTeam --help - label: Go lang: go source: | @@ -80246,7 +80718,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X DELETE "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/teams/{teamId}/users/{userId}" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Teams/operation/removeOrgTeamUserFromTeam x-xgen-method-verb-override: customMethod: "True" @@ -80489,7 +80961,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api teams getOrgTeamByName --help + source: atlas api teams getTeamByName --help - label: Go lang: go source: | @@ -81084,7 +81556,7 @@ paths: --header "Content-Type: application/json" \ -X PUT "https://cloud.mongodb.com/api/atlas/v2/orgs/{orgId}/users/{userId}/roles" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Organizations/operation/updateOrgUserRoles /api/atlas/v2/orgs/{orgId}/users/{userId}:addRole: post: @@ -81142,7 +81614,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers addOrgUserRole --help + source: atlas api mongoDbCloudUsers addOrgRole --help - label: Go lang: go source: | @@ -81243,7 +81715,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api mongoDbCloudUsers removeOrgUserRole --help + source: atlas api mongoDbCloudUsers removeOrgRole --help - label: Go lang: go source: | @@ -81317,7 +81789,7 @@ paths: x-codeSamples: - label: Atlas CLI lang: cURL - source: atlas api root listControlPlaneIpAddresses --help + source: atlas api root listControlPlaneAddresses --help - label: Go lang: go source: | @@ -81360,6 +81832,86 @@ paths: -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/listControlPlaneIpAddresses x-xgen-operation-id-override: listControlPlaneAddresses + /api/atlas/v2/unauth/openapi/versions: + get: + description: API that provides a list of available versionsfor a given environment. + operationId: listOpenapiVersions + 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: Return All Versions for One Environment + tags: + - OpenAPI + x-codeSamples: + - label: Atlas CLI + lang: cURL + source: atlas api openApi listOpenapiVersions --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.ListOpenapiVersionsApiParams{} + sdkResp, httpResp, err := client.OpenAPIApi. + ListOpenapiVersionsWithParams(ctx, params). + Execute() + } + - label: curl (Service Accounts) + lang: cURL + source: |- + curl --include --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 --include \ + --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 @@ -81447,7 +81999,7 @@ paths: --header "Content-Type: application/json" \ -X POST "https://cloud.mongodb.com/api/atlas/v2/users" \ -d '{ }' - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/createUser /api/atlas/v2/users/{userId}: get: @@ -81532,6 +82084,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/users/{userId}?pretty=true" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUser /api/atlas/v2/users/byName/{userName}: get: @@ -81614,7 +82167,7 @@ paths: --digest --include \ --header "Accept: application/vnd.atlas.2025-03-12+json" \ -X GET "https://cloud.mongodb.com/api/atlas/v2/users/byName/{userName}?pretty=true" - x-sunset: "2026-07-31" + x-sunset: "2026-09-15" x-xgen-docs-url: https://mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/MongoDB-Cloud-Users/operation/getUserByName security: - ServiceAccounts: [] @@ -81691,6 +82244,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. @@ -81727,7 +82282,7 @@ tags: name: Shared-Tier Restore Jobs - description: Returns and requests to download shared-tier database deployment snapshots. name: Shared-Tier Snapshots - - description: Returns, adds, edits, and removes Streams Instances. This resource requires your project ID. + - description: Returns, adds, edits, and removes Streams Workspaces. This resource requires your project ID. name: Streams - description: Returns, adds, edits, or removes teams. name: Teams diff --git a/test/example_client_test.go b/test/example_client_test.go index 8ca34b1c9..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/v20250312008/admin" + "github.com/mongodb/atlas-sdk-go/admin" ) func ExampleNewClient() { diff --git a/test/utils_test.go b/test/utils_test.go index 4a96ecf0a..b82641136 100644 --- a/test/utils_test.go +++ b/test/utils_test.go @@ -4,7 +4,7 @@ import ( "testing" "time" - "go.mongodb.org/atlas-sdk/v20250312008/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 a899554f2..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/v20250312008/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 9902c0c39..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/v20250312008/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/v20250312008/auth" - "go.mongodb.org/atlas-sdk/v20250312008/auth/clientcredentials" - "go.mongodb.org/atlas-sdk/v20250312008/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 (