diff --git a/README.md b/README.md index e9b59ac6..554ff179 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Note that `atlas-sdk-go` only supports the two most recent major versions of Go. ### Adding Dependency ```terminal -go get go.mongodb.org/atlas-sdk/v20231115002 +go get go.mongodb.org/atlas-sdk/v20231115003 ``` ### Using in the code @@ -20,7 +20,7 @@ Construct a new Atlas SDK client, then use the various services on the client to access different parts of the Atlas API. For example: ```go -import "go.mongodb.org/atlas-sdk/v20231115002/admin" +import "go.mongodb.org/atlas-sdk/v20231115003/admin" func example() { ctx := context.Background() diff --git a/admin/api_cloud_migration_service.go b/admin/api_cloud_migration_service.go index 11b72796..82c5d6da 100644 --- a/admin/api_cloud_migration_service.go +++ b/admin/api_cloud_migration_service.go @@ -45,7 +45,7 @@ type CloudMigrationServiceApi interface { You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource. - **NOTE**: Migrating time-series collections is not yet supported on MongoDB v6.0 or higher. Migrations on MongoDB v6.0 or higher will skip any time-series collections on the source cluster. + **NOTE**: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster. @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. @@ -383,7 +383,7 @@ Migrate one cluster that Cloud or Ops Manager manages to MongoDB Atlas. You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource. - **NOTE**: Migrating time-series collections is not yet supported on MongoDB v6.0 or higher. Migrations on MongoDB v6.0 or higher will skip any time-series collections on the source cluster. + **NOTE**: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster. @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_default.go b/admin/api_default.go new file mode 100644 index 00000000..d115c12d --- /dev/null +++ b/admin/api_default.go @@ -0,0 +1,157 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "bytes" + "context" + "io" + "net/http" + "net/url" +) + +type DefaultApi interface { + + /* + ReturnAllControlPlaneIPAddresses Return All Control Plane IP Addresses + + [experimental] Returns all control plane IP addresses. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ReturnAllControlPlaneIPAddressesApiRequest + */ + ReturnAllControlPlaneIPAddresses(ctx context.Context) ReturnAllControlPlaneIPAddressesApiRequest + /* + ReturnAllControlPlaneIPAddresses Return All Control Plane IP Addresses + + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @param ReturnAllControlPlaneIPAddressesApiParams - Parameters for the request + @return ReturnAllControlPlaneIPAddressesApiRequest + */ + ReturnAllControlPlaneIPAddressesWithParams(ctx context.Context, args *ReturnAllControlPlaneIPAddressesApiParams) ReturnAllControlPlaneIPAddressesApiRequest + + // Interface only available internally + returnAllControlPlaneIPAddressesExecute(r ReturnAllControlPlaneIPAddressesApiRequest) (*ControlPlaneIPAddresses, *http.Response, error) +} + +// DefaultApiService DefaultApi service +type DefaultApiService service + +type ReturnAllControlPlaneIPAddressesApiRequest struct { + ctx context.Context + ApiService DefaultApi +} + +type ReturnAllControlPlaneIPAddressesApiParams struct { +} + +func (a *DefaultApiService) ReturnAllControlPlaneIPAddressesWithParams(ctx context.Context, args *ReturnAllControlPlaneIPAddressesApiParams) ReturnAllControlPlaneIPAddressesApiRequest { + return ReturnAllControlPlaneIPAddressesApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +func (r ReturnAllControlPlaneIPAddressesApiRequest) Execute() (*ControlPlaneIPAddresses, *http.Response, error) { + return r.ApiService.returnAllControlPlaneIPAddressesExecute(r) +} + +/* +ReturnAllControlPlaneIPAddresses Return All Control Plane IP Addresses + +[experimental] Returns all control plane IP addresses. + + @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). + @return ReturnAllControlPlaneIPAddressesApiRequest +*/ +func (a *DefaultApiService) ReturnAllControlPlaneIPAddresses(ctx context.Context) ReturnAllControlPlaneIPAddressesApiRequest { + return ReturnAllControlPlaneIPAddressesApiRequest{ + ApiService: a, + ctx: ctx, + } +} + +// Execute executes the request +// +// @return ControlPlaneIPAddresses +func (a *DefaultApiService) returnAllControlPlaneIPAddressesExecute(r ReturnAllControlPlaneIPAddressesApiRequest) (*ControlPlaneIPAddresses, *http.Response, error) { + var ( + localVarHTTPMethod = http.MethodGet + localVarPostBody interface{} + formFiles []formFile + localVarReturnValue *ControlPlaneIPAddresses + ) + + localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DefaultApiService.ReturnAllControlPlaneIPAddresses") + if err != nil { + return localVarReturnValue, nil, &GenericOpenAPIError{error: err.Error()} + } + + localVarPath := localBasePath + "/api/atlas/v2/unauth/controlPlaneIPAddresses" + + 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 + localVarHTTPHeaderAccepts := []string{"application/vnd.atlas.2023-11-15+json", "application/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 + } + + localVarBody, err := io.ReadAll(localVarHTTPResponse.Body) + localVarHTTPResponse.Body.Close() + localVarHTTPResponse.Body = io.NopCloser(bytes.NewBuffer(localVarBody)) + if err != nil { + return localVarReturnValue, localVarHTTPResponse, err + } + + if localVarHTTPResponse.StatusCode >= 300 { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: localVarHTTPResponse.Status, + } + var v ApiError + err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr.error = err.Error() + return localVarReturnValue, localVarHTTPResponse, newErr + } + newErr.error = formatErrorMessage(localVarHTTPResponse.Status, localVarHTTPMethod, localVarPath, v) + newErr.model = v + return localVarReturnValue, localVarHTTPResponse, newErr + } + + err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type")) + if err != nil { + newErr := &GenericOpenAPIError{ + body: localVarBody, + error: err.Error(), + } + return localVarReturnValue, localVarHTTPResponse, newErr + } + + return localVarReturnValue, localVarHTTPResponse, nil +} diff --git a/admin/api_programmatic_api_keys.go b/admin/api_programmatic_api_keys.go index 05c21aba..bd838a0b 100644 --- a/admin/api_programmatic_api_keys.go +++ b/admin/api_programmatic_api_keys.go @@ -16,7 +16,7 @@ type ProgrammaticAPIKeysApi interface { /* AddProjectApiKey Assign One Organization API Key to One Project - [experimental] Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. + [experimental] Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting 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. @@ -87,7 +87,7 @@ type ProgrammaticAPIKeysApi interface { /* CreateProjectApiKey Create and Assign One Organization API Key to One Project - Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. + Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting 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. @@ -255,7 +255,7 @@ type ProgrammaticAPIKeysApi interface { /* ListProjectApiKeys Return All Organization API Keys Assigned to One Project - Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. + Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting 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. @@ -278,7 +278,7 @@ type ProgrammaticAPIKeysApi interface { /* RemoveProjectApiKey Unassign One Organization API Key from One Project - Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project User Admin role. + Removes one organization API key from the specified project. To use this resource, the requesting 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. @@ -382,7 +382,7 @@ func (r AddProjectApiKeyApiRequest) Execute() (*ApiKeyUserDetails, *http.Respons /* AddProjectApiKey Assign One Organization API Key to One Project -[experimental] Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. +[experimental] Assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting 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. @@ -868,7 +868,7 @@ func (r CreateProjectApiKeyApiRequest) Execute() (*ApiKeyUserDetails, *http.Resp /* CreateProjectApiKey Create and Assign One Organization API Key to One Project -Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. +Creates and assigns the specified organization API key to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting 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. @@ -1979,7 +1979,7 @@ func (r ListProjectApiKeysApiRequest) Execute() (*PaginatedApiApiUser, *http.Res /* ListProjectApiKeys Return All Organization API Keys Assigned to One Project -Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have the Project User Admin role. +Returns all organization API keys that you assigned to the specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting 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. @@ -2133,7 +2133,7 @@ func (r RemoveProjectApiKeyApiRequest) Execute() (map[string]interface{}, *http. /* RemoveProjectApiKey Unassign One Organization API Key from One Project -Removes one organization API key from the specified project. To use this resource, the requesting API Key must have the Project User Admin role. +Removes one organization API key from the specified project. To use this resource, the requesting 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/atlas_client.go b/admin/atlas_client.go index 1ce92908..9e31c7cd 100644 --- a/admin/atlas_client.go +++ b/admin/atlas_client.go @@ -1,4 +1,4 @@ -package admin // import "go.mongodb.org/atlas-sdk/v20231115002/admin" +package admin // import "go.mongodb.org/atlas-sdk/v20231115003/admin" import ( "errors" @@ -8,7 +8,7 @@ import ( "strings" "github.com/mongodb-forks/digest" - "go.mongodb.org/atlas-sdk/v20231115002/internal/core" + "go.mongodb.org/atlas-sdk/v20231115003/internal/core" ) const ( diff --git a/admin/client.go b/admin/client.go index 88a0425d..8e2ee437 100644 --- a/admin/client.go +++ b/admin/client.go @@ -70,6 +70,8 @@ type APIClient struct { DatabaseUsersApi DatabaseUsersApi + DefaultApi DefaultApi + EncryptionAtRestUsingCustomerKeyManagementApi EncryptionAtRestUsingCustomerKeyManagementApi EventsApi EventsApi @@ -162,6 +164,7 @@ func NewAPIClient(cfg *Configuration) *APIClient { c.DataFederationApi = (*DataFederationApiService)(&c.common) c.DataLakePipelinesApi = (*DataLakePipelinesApiService)(&c.common) c.DatabaseUsersApi = (*DatabaseUsersApiService)(&c.common) + c.DefaultApi = (*DefaultApiService)(&c.common) c.EncryptionAtRestUsingCustomerKeyManagementApi = (*EncryptionAtRestUsingCustomerKeyManagementApiService)(&c.common) c.EventsApi = (*EventsApiService)(&c.common) c.FederatedAuthenticationApi = (*FederatedAuthenticationApiService)(&c.common) diff --git a/admin/model_api_key_user_details.go b/admin/model_api_key_user_details.go index a93e31ba..857808bc 100644 --- a/admin/model_api_key_user_details.go +++ b/admin/model_api_key_user_details.go @@ -6,7 +6,7 @@ import ( "encoding/json" ) -// ApiKeyUserDetails struct for ApiKeyUserDetails +// ApiKeyUserDetails Details of the Programmatic API Keys. type ApiKeyUserDetails struct { // Purpose or explanation provided when someone created this organization API key. Desc *string `json:"desc,omitempty"` diff --git a/admin/model_atlas_organization.go b/admin/model_atlas_organization.go index e88ee323..e2850073 100644 --- a/admin/model_atlas_organization.go +++ b/admin/model_atlas_organization.go @@ -6,7 +6,7 @@ import ( "encoding/json" ) -// AtlasOrganization struct for AtlasOrganization +// AtlasOrganization Details that describe the organization. type AtlasOrganization struct { // Unique 24-hexadecimal digit string that identifies the organization. // Read only field. diff --git a/admin/model_backup_online_archive.go b/admin/model_backup_online_archive.go index 02c02780..e2bba0fe 100644 --- a/admin/model_backup_online_archive.go +++ b/admin/model_backup_online_archive.go @@ -15,21 +15,24 @@ type BackupOnlineArchive struct { // Read only field. ClusterName *string `json:"clusterName,omitempty"` // Human-readable label that identifies the collection for which you created the online archive. + // Read only field. CollName *string `json:"collName,omitempty"` // Classification of MongoDB database collection that you want to return. If you set this parameter to `TIMESERIES`, set `\"criteria.type\" : \"date\"` and `\"criteria.dateFormat\" : \"ISODATE\"`. + // Read only field. CollectionType *string `json:"collectionType,omitempty"` Criteria *Criteria `json:"criteria,omitempty"` DataExpirationRule *DataExpirationRule `json:"dataExpirationRule,omitempty"` - DataProcessRegion *DataProcessRegion `json:"dataProcessRegion,omitempty"` // Human-readable label that identifies the dataset that Atlas generates for this online archive. // Read only field. DataSetName *string `json:"dataSetName,omitempty"` // Human-readable label of the database that contains the collection that contains the online archive. + // Read only field. DbName *string `json:"dbName,omitempty"` // Unique 24-hexadecimal digit string that identifies the project that contains the specified cluster. The specified cluster contains the collection for which to create the online archive. // Read only field. GroupId *string `json:"groupId,omitempty"` // List that contains document parameters to use to logically divide data within a collection. Partitions provide a coarse level of filtering of the underlying collection data. To divide your data, specify parameters that you frequently query. If you \"specified :criteria.type\": \"DATE\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to three parameters by which to query. One of these parameters must be the DATE value, which is required in this case. If you \"specified :criteria.type\": \"CUSTOM\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to two parameters by which to query. Queries that don't use \":criteria.type\": \"DATE\" or \":criteria.type\": \"CUSTOM\" parameters cause MongoDB to scan a full collection of all archived documents. This takes more time and increases your costs. + // Read only field. PartitionFields *[]PartitionField `json:"partitionFields,omitempty"` // Flag that indicates whether this online archive exists in the paused state. A request to resume fails if the collection has another active online archive. To pause an active online archive or resume a paused online archive, you must include this parameter. To pause an active archive, set this to **true**. To resume a paused archive, set this to **false**. Paused *bool `json:"paused,omitempty"` @@ -45,8 +48,6 @@ type BackupOnlineArchive struct { // will change when the set of required properties is changed func NewBackupOnlineArchive() *BackupOnlineArchive { this := BackupOnlineArchive{} - var collectionType string = "STANDARD" - this.CollectionType = &collectionType return &this } @@ -55,8 +56,6 @@ func NewBackupOnlineArchive() *BackupOnlineArchive { // but it doesn't guarantee that properties required by API are set func NewBackupOnlineArchiveWithDefaults() *BackupOnlineArchive { this := BackupOnlineArchive{} - var collectionType string = "STANDARD" - this.CollectionType = &collectionType return &this } @@ -258,39 +257,6 @@ func (o *BackupOnlineArchive) SetDataExpirationRule(v DataExpirationRule) { o.DataExpirationRule = &v } -// GetDataProcessRegion returns the DataProcessRegion field value if set, zero value otherwise -func (o *BackupOnlineArchive) GetDataProcessRegion() DataProcessRegion { - if o == nil || IsNil(o.DataProcessRegion) { - var ret DataProcessRegion - return ret - } - return *o.DataProcessRegion -} - -// GetDataProcessRegionOk returns a tuple with the DataProcessRegion field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *BackupOnlineArchive) GetDataProcessRegionOk() (*DataProcessRegion, bool) { - if o == nil || IsNil(o.DataProcessRegion) { - return nil, false - } - - return o.DataProcessRegion, true -} - -// HasDataProcessRegion returns a boolean if a field has been set. -func (o *BackupOnlineArchive) HasDataProcessRegion() bool { - if o != nil && !IsNil(o.DataProcessRegion) { - return true - } - - return false -} - -// SetDataProcessRegion gets a reference to the given DataProcessRegion and assigns it to the DataProcessRegion field. -func (o *BackupOnlineArchive) SetDataProcessRegion(v DataProcessRegion) { - o.DataProcessRegion = &v -} - // GetDataSetName returns the DataSetName field value if set, zero value otherwise func (o *BackupOnlineArchive) GetDataSetName() string { if o == nil || IsNil(o.DataSetName) { @@ -531,27 +497,12 @@ func (o BackupOnlineArchive) MarshalJSONWithoutReadOnly() ([]byte, error) { } func (o BackupOnlineArchive) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.CollName) { - toSerialize["collName"] = o.CollName - } - if !IsNil(o.CollectionType) { - toSerialize["collectionType"] = o.CollectionType - } if !IsNil(o.Criteria) { toSerialize["criteria"] = o.Criteria } if !IsNil(o.DataExpirationRule) { toSerialize["dataExpirationRule"] = o.DataExpirationRule } - if !IsNil(o.DataProcessRegion) { - toSerialize["dataProcessRegion"] = o.DataProcessRegion - } - if !IsNil(o.DbName) { - toSerialize["dbName"] = o.DbName - } - if !IsNil(o.PartitionFields) { - toSerialize["partitionFields"] = o.PartitionFields - } if !IsNil(o.Paused) { toSerialize["paused"] = o.Paused } diff --git a/admin/model_cloud_app_user.go b/admin/model_cloud_app_user.go index 667e562e..15ad8494 100644 --- a/admin/model_cloud_app_user.go +++ b/admin/model_cloud_app_user.go @@ -15,6 +15,8 @@ type CloudAppUser struct { // Read only field. CreatedAt *time.Time `json:"createdAt,omitempty"` // Email address that belongs to the MongoDB Cloud user. + // Read only field. + // Deprecated EmailAddress string `json:"emailAddress"` // First or given name that belongs to the MongoDB Cloud user. FirstName string `json:"firstName"` @@ -124,6 +126,7 @@ func (o *CloudAppUser) SetCreatedAt(v time.Time) { } // GetEmailAddress returns the EmailAddress field value +// Deprecated func (o *CloudAppUser) GetEmailAddress() string { if o == nil { var ret string @@ -135,6 +138,7 @@ func (o *CloudAppUser) GetEmailAddress() string { // GetEmailAddressOk returns a tuple with the EmailAddress field value // and a boolean to check if the value has been set. +// Deprecated func (o *CloudAppUser) GetEmailAddressOk() (*string, bool) { if o == nil { return nil, false @@ -143,6 +147,7 @@ func (o *CloudAppUser) GetEmailAddressOk() (*string, bool) { } // SetEmailAddress sets field value +// Deprecated func (o *CloudAppUser) SetEmailAddress(v string) { o.EmailAddress = v } @@ -442,7 +447,6 @@ func (o CloudAppUser) MarshalJSONWithoutReadOnly() ([]byte, error) { func (o CloudAppUser) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} toSerialize["country"] = o.Country - toSerialize["emailAddress"] = o.EmailAddress toSerialize["firstName"] = o.FirstName toSerialize["lastName"] = o.LastName toSerialize["mobileNumber"] = o.MobileNumber diff --git a/admin/model_cluster_ip_addresses.go b/admin/model_cluster_ip_addresses.go index 0da2aa66..ee851742 100644 --- a/admin/model_cluster_ip_addresses.go +++ b/admin/model_cluster_ip_addresses.go @@ -11,10 +11,10 @@ type ClusterIPAddresses struct { // Human-readable label that identifies the cluster. // Read only field. ClusterName *string `json:"clusterName,omitempty"` - // List of inbound IP addresses associated with the cluster. + // List of inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. // Read only field. Inbound *[]string `json:"inbound,omitempty"` - // List of outbound IP addresses associated with the cluster. + // List of outbound IP addresses associated with the cluster. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that your Atlas cluster can communicate with your webhooks and KMS. // Read only field. Outbound *[]string `json:"outbound,omitempty"` } diff --git a/admin/model_cluster_search_index.go b/admin/model_cluster_search_index.go index e3fb0c56..1115fa7d 100644 --- a/admin/model_cluster_search_index.go +++ b/admin/model_cluster_search_index.go @@ -20,7 +20,7 @@ type ClusterSearchIndex struct { // Condition of the search index when you made this request. | Status | Index Condition | |---|---| | IN_PROGRESS | Atlas is building or re-building the index after an edit. | | STEADY | You can use this search index. | | FAILED | Atlas could not build the index. | | MIGRATING | Atlas is upgrading the underlying cluster tier and migrating indexes. | | PAUSED | The cluster is paused. | // Read only field. Status *string `json:"status,omitempty"` - // Type of the index. Warning: vectorSearch is not yet generally available. Default type is search. + // Type of the index. Default type is search. Type *string `json:"type,omitempty"` // Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a **term** or **token**. This process, known as tokenization, involves a variety of changes made to the text in fields: - extracting words - removing punctuation - removing accents - changing to lowercase - removing common words - reducing words to their root form (stemming) - changing words to their base form (lemmatization) MongoDB Cloud uses the selected process to build the Atlas Search index. Analyzer *string `json:"analyzer,omitempty"` diff --git a/admin/model_connected_org_config.go b/admin/model_connected_org_config.go index 40fd93ee..0e91f870 100644 --- a/admin/model_connected_org_config.go +++ b/admin/model_connected_org_config.go @@ -8,7 +8,7 @@ import ( // ConnectedOrgConfig struct for ConnectedOrgConfig type ConnectedOrgConfig struct { - // The collection of unique ids of the identity providers for org's data access. + // The collection of unique ids representing the identity providers that can be used for data access in this organization. DataAccessIdentityProviderIds *[]string `json:"dataAccessIdentityProviderIds,omitempty"` // Approved domains that restrict users who can join the organization based on their email address. DomainAllowList *[]string `json:"domainAllowList,omitempty"` @@ -19,7 +19,7 @@ type ConnectedOrgConfig struct { // Unique 24-hexadecimal digit string that identifies the connected organization configuration. // Read only field. OrgId string `json:"orgId"` - // Atlas roles that are granted to a user in this organization after authenticating. + // Atlas roles that are granted to a user in this organization after authenticating. Roles are a human-readable label that identifies the collection of privileges that MongoDB Cloud grants a specific MongoDB Cloud user. These roles can only be organization specific roles. PostAuthRoleGrants *[]string `json:"postAuthRoleGrants,omitempty"` // Role mappings that are configured in this organization. RoleMappings *[]AuthFederationRoleMapping `json:"roleMappings,omitempty"` diff --git a/admin/model_control_plane_ip_addresses.go b/admin/model_control_plane_ip_addresses.go new file mode 100644 index 00000000..3bbec266 --- /dev/null +++ b/admin/model_control_plane_ip_addresses.go @@ -0,0 +1,114 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" +) + +// ControlPlaneIPAddresses List of IP addresses in the Atlas control plane. +type ControlPlaneIPAddresses struct { + Inbound *InboundControlPlaneCloudProviderIPAddresses `json:"inbound,omitempty"` + Outbound *OutboundControlPlaneCloudProviderIPAddresses `json:"outbound,omitempty"` +} + +// NewControlPlaneIPAddresses instantiates a new ControlPlaneIPAddresses 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 NewControlPlaneIPAddresses() *ControlPlaneIPAddresses { + this := ControlPlaneIPAddresses{} + return &this +} + +// NewControlPlaneIPAddressesWithDefaults instantiates a new ControlPlaneIPAddresses 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 NewControlPlaneIPAddressesWithDefaults() *ControlPlaneIPAddresses { + this := ControlPlaneIPAddresses{} + return &this +} + +// GetInbound returns the Inbound field value if set, zero value otherwise +func (o *ControlPlaneIPAddresses) GetInbound() InboundControlPlaneCloudProviderIPAddresses { + if o == nil || IsNil(o.Inbound) { + var ret InboundControlPlaneCloudProviderIPAddresses + return ret + } + return *o.Inbound +} + +// GetInboundOk returns a tuple with the Inbound field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControlPlaneIPAddresses) GetInboundOk() (*InboundControlPlaneCloudProviderIPAddresses, bool) { + if o == nil || IsNil(o.Inbound) { + return nil, false + } + + return o.Inbound, true +} + +// HasInbound returns a boolean if a field has been set. +func (o *ControlPlaneIPAddresses) HasInbound() bool { + if o != nil && !IsNil(o.Inbound) { + return true + } + + return false +} + +// SetInbound gets a reference to the given InboundControlPlaneCloudProviderIPAddresses and assigns it to the Inbound field. +func (o *ControlPlaneIPAddresses) SetInbound(v InboundControlPlaneCloudProviderIPAddresses) { + o.Inbound = &v +} + +// GetOutbound returns the Outbound field value if set, zero value otherwise +func (o *ControlPlaneIPAddresses) GetOutbound() OutboundControlPlaneCloudProviderIPAddresses { + if o == nil || IsNil(o.Outbound) { + var ret OutboundControlPlaneCloudProviderIPAddresses + return ret + } + return *o.Outbound +} + +// GetOutboundOk returns a tuple with the Outbound field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *ControlPlaneIPAddresses) GetOutboundOk() (*OutboundControlPlaneCloudProviderIPAddresses, bool) { + if o == nil || IsNil(o.Outbound) { + return nil, false + } + + return o.Outbound, true +} + +// HasOutbound returns a boolean if a field has been set. +func (o *ControlPlaneIPAddresses) HasOutbound() bool { + if o != nil && !IsNil(o.Outbound) { + return true + } + + return false +} + +// SetOutbound gets a reference to the given OutboundControlPlaneCloudProviderIPAddresses and assigns it to the Outbound field. +func (o *ControlPlaneIPAddresses) SetOutbound(v OutboundControlPlaneCloudProviderIPAddresses) { + o.Outbound = &v +} + +func (o ControlPlaneIPAddresses) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o ControlPlaneIPAddresses) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Inbound) { + toSerialize["inbound"] = o.Inbound + } + if !IsNil(o.Outbound) { + toSerialize["outbound"] = o.Outbound + } + return toSerialize, nil +} diff --git a/admin/model_create_atlas_organization_api_key.go b/admin/model_create_atlas_organization_api_key.go index 4ece0ef3..00911502 100644 --- a/admin/model_create_atlas_organization_api_key.go +++ b/admin/model_create_atlas_organization_api_key.go @@ -6,7 +6,7 @@ import ( "encoding/json" ) -// CreateAtlasOrganizationApiKey struct for CreateAtlasOrganizationApiKey +// CreateAtlasOrganizationApiKey Details of the programmatic API key to be created. type CreateAtlasOrganizationApiKey struct { // Purpose or explanation provided when someone created this organization API key. Desc string `json:"desc"` diff --git a/admin/model_data_lake_atlas_store_read_concern.go b/admin/model_data_lake_atlas_store_read_concern.go index 9997aa62..d012b522 100644 --- a/admin/model_data_lake_atlas_store_read_concern.go +++ b/admin/model_data_lake_atlas_store_read_concern.go @@ -8,7 +8,7 @@ import ( // DataLakeAtlasStoreReadConcern MongoDB Cloud cluster read concern, which determines the consistency and isolation properties of the data read from an Atlas cluster. type DataLakeAtlasStoreReadConcern struct { - // [Read Concern level](https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels) that specifies the consistency and availability of the data read. + // Read Concern level that specifies the consistency and availability of the data read. Level *string `json:"level,omitempty"` } diff --git a/admin/model_db_role_to_execute.go b/admin/model_db_role_to_execute.go new file mode 100644 index 00000000..810285a7 --- /dev/null +++ b/admin/model_db_role_to_execute.go @@ -0,0 +1,152 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" +) + +// DBRoleToExecute The name of a Built in or Custom DB Role to connect to an Atlas Cluster. +type DBRoleToExecute 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"` + // The name of the role to use. Can be a built in role or a custom role. + Role *string `json:"role,omitempty"` + // Type of the DB role. Can be either BuiltIn or Custom. + Type *string `json:"type,omitempty"` +} + +// NewDBRoleToExecute instantiates a new DBRoleToExecute 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 NewDBRoleToExecute() *DBRoleToExecute { + this := DBRoleToExecute{} + return &this +} + +// NewDBRoleToExecuteWithDefaults instantiates a new DBRoleToExecute 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 NewDBRoleToExecuteWithDefaults() *DBRoleToExecute { + this := DBRoleToExecute{} + return &this +} + +// GetLinks returns the Links field value if set, zero value otherwise +func (o *DBRoleToExecute) 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 *DBRoleToExecute) 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 *DBRoleToExecute) 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 *DBRoleToExecute) SetLinks(v []Link) { + o.Links = &v +} + +// GetRole returns the Role field value if set, zero value otherwise +func (o *DBRoleToExecute) GetRole() string { + if o == nil || IsNil(o.Role) { + var ret string + return ret + } + return *o.Role +} + +// GetRoleOk returns a tuple with the Role field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DBRoleToExecute) GetRoleOk() (*string, bool) { + if o == nil || IsNil(o.Role) { + return nil, false + } + + return o.Role, true +} + +// HasRole returns a boolean if a field has been set. +func (o *DBRoleToExecute) HasRole() bool { + if o != nil && !IsNil(o.Role) { + return true + } + + return false +} + +// SetRole gets a reference to the given string and assigns it to the Role field. +func (o *DBRoleToExecute) SetRole(v string) { + o.Role = &v +} + +// GetType returns the Type field value if set, zero value otherwise +func (o *DBRoleToExecute) GetType() string { + if o == nil || IsNil(o.Type) { + var ret string + return ret + } + return *o.Type +} + +// GetTypeOk returns a tuple with the Type field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *DBRoleToExecute) GetTypeOk() (*string, bool) { + if o == nil || IsNil(o.Type) { + return nil, false + } + + return o.Type, true +} + +// HasType returns a boolean if a field has been set. +func (o *DBRoleToExecute) HasType() bool { + if o != nil && !IsNil(o.Type) { + return true + } + + return false +} + +// SetType gets a reference to the given string and assigns it to the Type field. +func (o *DBRoleToExecute) SetType(v string) { + o.Type = &v +} + +func (o DBRoleToExecute) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o DBRoleToExecute) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Role) { + toSerialize["role"] = o.Role + } + if !IsNil(o.Type) { + toSerialize["type"] = o.Type + } + return toSerialize, nil +} diff --git a/admin/model_federation_identity_provider.go b/admin/model_federation_identity_provider.go index 65283950..9b61464c 100644 --- a/admin/model_federation_identity_provider.go +++ b/admin/model_federation_identity_provider.go @@ -25,6 +25,16 @@ type FederationIdentityProvider struct { OktaIdpId string `json:"oktaIdpId"` // The protocol of the identity provider. Protocol *string `json:"protocol,omitempty"` + // Identifier of the intended recipient of the token. + AudienceClaim *[]string `json:"audienceClaim,omitempty"` + // Client identifier that is assigned to an application by the Identity Provider. + ClientId *string `json:"clientId,omitempty"` + // Identifier of the claim which contains IdP Group IDs in the token. + GroupsClaim *string `json:"groupsClaim,omitempty"` + // The description of an IdP, configured by customers. + RequestedScopes *[]string `json:"requestedScopes,omitempty"` + // Identifier of the claim which contains the user ID in the token. + UserClaim *string `json:"userClaim,omitempty"` // URL that points to where to send the SAML response. AcsUrl *string `json:"acsUrl,omitempty"` // Unique string that identifies the intended audience of the SAML assertion. @@ -40,16 +50,6 @@ type FederationIdentityProvider struct { SsoUrl *string `json:"ssoUrl,omitempty"` // String enum that indicates whether the identity provider is active. Status *string `json:"status,omitempty"` - // Identifier of the intended recipient of the token. - AudienceClaim *[]string `json:"audienceClaim,omitempty"` - // Client identifier that is assigned to an application by the Identity Provider. - ClientId *string `json:"clientId,omitempty"` - // Identifier of the claim which contains IdP Group IDs in the token. - GroupsClaim *string `json:"groupsClaim,omitempty"` - // The description of an IdP, configured by customers. - RequestedScopes *[]string `json:"requestedScopes,omitempty"` - // Identifier of the claim which contains the user ID in the token. - UserClaim *string `json:"userClaim,omitempty"` } // NewFederationIdentityProvider instantiates a new FederationIdentityProvider object @@ -317,6 +317,171 @@ func (o *FederationIdentityProvider) SetProtocol(v string) { o.Protocol = &v } +// GetAudienceClaim returns the AudienceClaim field value if set, zero value otherwise +func (o *FederationIdentityProvider) GetAudienceClaim() []string { + if o == nil || IsNil(o.AudienceClaim) { + var ret []string + return ret + } + return *o.AudienceClaim +} + +// GetAudienceClaimOk returns a tuple with the AudienceClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FederationIdentityProvider) GetAudienceClaimOk() (*[]string, bool) { + if o == nil || IsNil(o.AudienceClaim) { + return nil, false + } + + return o.AudienceClaim, true +} + +// HasAudienceClaim returns a boolean if a field has been set. +func (o *FederationIdentityProvider) HasAudienceClaim() bool { + if o != nil && !IsNil(o.AudienceClaim) { + return true + } + + return false +} + +// SetAudienceClaim gets a reference to the given []string and assigns it to the AudienceClaim field. +func (o *FederationIdentityProvider) SetAudienceClaim(v []string) { + o.AudienceClaim = &v +} + +// GetClientId returns the ClientId field value if set, zero value otherwise +func (o *FederationIdentityProvider) GetClientId() string { + if o == nil || IsNil(o.ClientId) { + var ret string + return ret + } + return *o.ClientId +} + +// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FederationIdentityProvider) GetClientIdOk() (*string, bool) { + if o == nil || IsNil(o.ClientId) { + return nil, false + } + + return o.ClientId, true +} + +// HasClientId returns a boolean if a field has been set. +func (o *FederationIdentityProvider) HasClientId() bool { + if o != nil && !IsNil(o.ClientId) { + return true + } + + return false +} + +// SetClientId gets a reference to the given string and assigns it to the ClientId field. +func (o *FederationIdentityProvider) SetClientId(v string) { + o.ClientId = &v +} + +// GetGroupsClaim returns the GroupsClaim field value if set, zero value otherwise +func (o *FederationIdentityProvider) GetGroupsClaim() string { + if o == nil || IsNil(o.GroupsClaim) { + var ret string + return ret + } + return *o.GroupsClaim +} + +// GetGroupsClaimOk returns a tuple with the GroupsClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FederationIdentityProvider) GetGroupsClaimOk() (*string, bool) { + if o == nil || IsNil(o.GroupsClaim) { + return nil, false + } + + return o.GroupsClaim, true +} + +// HasGroupsClaim returns a boolean if a field has been set. +func (o *FederationIdentityProvider) HasGroupsClaim() bool { + if o != nil && !IsNil(o.GroupsClaim) { + return true + } + + return false +} + +// SetGroupsClaim gets a reference to the given string and assigns it to the GroupsClaim field. +func (o *FederationIdentityProvider) SetGroupsClaim(v string) { + o.GroupsClaim = &v +} + +// GetRequestedScopes returns the RequestedScopes field value if set, zero value otherwise +func (o *FederationIdentityProvider) GetRequestedScopes() []string { + if o == nil || IsNil(o.RequestedScopes) { + var ret []string + return ret + } + return *o.RequestedScopes +} + +// GetRequestedScopesOk returns a tuple with the RequestedScopes field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FederationIdentityProvider) GetRequestedScopesOk() (*[]string, bool) { + if o == nil || IsNil(o.RequestedScopes) { + return nil, false + } + + return o.RequestedScopes, true +} + +// HasRequestedScopes returns a boolean if a field has been set. +func (o *FederationIdentityProvider) HasRequestedScopes() bool { + if o != nil && !IsNil(o.RequestedScopes) { + return true + } + + return false +} + +// SetRequestedScopes gets a reference to the given []string and assigns it to the RequestedScopes field. +func (o *FederationIdentityProvider) SetRequestedScopes(v []string) { + o.RequestedScopes = &v +} + +// GetUserClaim returns the UserClaim field value if set, zero value otherwise +func (o *FederationIdentityProvider) GetUserClaim() string { + if o == nil || IsNil(o.UserClaim) { + var ret string + return ret + } + return *o.UserClaim +} + +// GetUserClaimOk returns a tuple with the UserClaim field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *FederationIdentityProvider) GetUserClaimOk() (*string, bool) { + if o == nil || IsNil(o.UserClaim) { + return nil, false + } + + return o.UserClaim, true +} + +// HasUserClaim returns a boolean if a field has been set. +func (o *FederationIdentityProvider) HasUserClaim() bool { + if o != nil && !IsNil(o.UserClaim) { + return true + } + + return false +} + +// SetUserClaim gets a reference to the given string and assigns it to the UserClaim field. +func (o *FederationIdentityProvider) SetUserClaim(v string) { + o.UserClaim = &v +} + // GetAcsUrl returns the AcsUrl field value if set, zero value otherwise func (o *FederationIdentityProvider) GetAcsUrl() string { if o == nil || IsNil(o.AcsUrl) { @@ -581,171 +746,6 @@ func (o *FederationIdentityProvider) SetStatus(v string) { o.Status = &v } -// GetAudienceClaim returns the AudienceClaim field value if set, zero value otherwise -func (o *FederationIdentityProvider) GetAudienceClaim() []string { - if o == nil || IsNil(o.AudienceClaim) { - var ret []string - return ret - } - return *o.AudienceClaim -} - -// GetAudienceClaimOk returns a tuple with the AudienceClaim field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FederationIdentityProvider) GetAudienceClaimOk() (*[]string, bool) { - if o == nil || IsNil(o.AudienceClaim) { - return nil, false - } - - return o.AudienceClaim, true -} - -// HasAudienceClaim returns a boolean if a field has been set. -func (o *FederationIdentityProvider) HasAudienceClaim() bool { - if o != nil && !IsNil(o.AudienceClaim) { - return true - } - - return false -} - -// SetAudienceClaim gets a reference to the given []string and assigns it to the AudienceClaim field. -func (o *FederationIdentityProvider) SetAudienceClaim(v []string) { - o.AudienceClaim = &v -} - -// GetClientId returns the ClientId field value if set, zero value otherwise -func (o *FederationIdentityProvider) GetClientId() string { - if o == nil || IsNil(o.ClientId) { - var ret string - return ret - } - return *o.ClientId -} - -// GetClientIdOk returns a tuple with the ClientId field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FederationIdentityProvider) GetClientIdOk() (*string, bool) { - if o == nil || IsNil(o.ClientId) { - return nil, false - } - - return o.ClientId, true -} - -// HasClientId returns a boolean if a field has been set. -func (o *FederationIdentityProvider) HasClientId() bool { - if o != nil && !IsNil(o.ClientId) { - return true - } - - return false -} - -// SetClientId gets a reference to the given string and assigns it to the ClientId field. -func (o *FederationIdentityProvider) SetClientId(v string) { - o.ClientId = &v -} - -// GetGroupsClaim returns the GroupsClaim field value if set, zero value otherwise -func (o *FederationIdentityProvider) GetGroupsClaim() string { - if o == nil || IsNil(o.GroupsClaim) { - var ret string - return ret - } - return *o.GroupsClaim -} - -// GetGroupsClaimOk returns a tuple with the GroupsClaim field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FederationIdentityProvider) GetGroupsClaimOk() (*string, bool) { - if o == nil || IsNil(o.GroupsClaim) { - return nil, false - } - - return o.GroupsClaim, true -} - -// HasGroupsClaim returns a boolean if a field has been set. -func (o *FederationIdentityProvider) HasGroupsClaim() bool { - if o != nil && !IsNil(o.GroupsClaim) { - return true - } - - return false -} - -// SetGroupsClaim gets a reference to the given string and assigns it to the GroupsClaim field. -func (o *FederationIdentityProvider) SetGroupsClaim(v string) { - o.GroupsClaim = &v -} - -// GetRequestedScopes returns the RequestedScopes field value if set, zero value otherwise -func (o *FederationIdentityProvider) GetRequestedScopes() []string { - if o == nil || IsNil(o.RequestedScopes) { - var ret []string - return ret - } - return *o.RequestedScopes -} - -// GetRequestedScopesOk returns a tuple with the RequestedScopes field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FederationIdentityProvider) GetRequestedScopesOk() (*[]string, bool) { - if o == nil || IsNil(o.RequestedScopes) { - return nil, false - } - - return o.RequestedScopes, true -} - -// HasRequestedScopes returns a boolean if a field has been set. -func (o *FederationIdentityProvider) HasRequestedScopes() bool { - if o != nil && !IsNil(o.RequestedScopes) { - return true - } - - return false -} - -// SetRequestedScopes gets a reference to the given []string and assigns it to the RequestedScopes field. -func (o *FederationIdentityProvider) SetRequestedScopes(v []string) { - o.RequestedScopes = &v -} - -// GetUserClaim returns the UserClaim field value if set, zero value otherwise -func (o *FederationIdentityProvider) GetUserClaim() string { - if o == nil || IsNil(o.UserClaim) { - var ret string - return ret - } - return *o.UserClaim -} - -// GetUserClaimOk returns a tuple with the UserClaim field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *FederationIdentityProvider) GetUserClaimOk() (*string, bool) { - if o == nil || IsNil(o.UserClaim) { - return nil, false - } - - return o.UserClaim, true -} - -// HasUserClaim returns a boolean if a field has been set. -func (o *FederationIdentityProvider) HasUserClaim() bool { - if o != nil && !IsNil(o.UserClaim) { - return true - } - - return false -} - -// SetUserClaim gets a reference to the given string and assigns it to the UserClaim field. -func (o *FederationIdentityProvider) SetUserClaim(v string) { - o.UserClaim = &v -} - func (o FederationIdentityProvider) MarshalJSONWithoutReadOnly() ([]byte, error) { toSerialize, err := o.ToMap() if err != nil { @@ -774,6 +774,21 @@ func (o FederationIdentityProvider) ToMap() (map[string]interface{}, error) { if !IsNil(o.Protocol) { toSerialize["protocol"] = o.Protocol } + if !IsNil(o.AudienceClaim) { + toSerialize["audienceClaim"] = o.AudienceClaim + } + if !IsNil(o.ClientId) { + toSerialize["clientId"] = o.ClientId + } + if !IsNil(o.GroupsClaim) { + toSerialize["groupsClaim"] = o.GroupsClaim + } + if !IsNil(o.RequestedScopes) { + toSerialize["requestedScopes"] = o.RequestedScopes + } + if !IsNil(o.UserClaim) { + toSerialize["userClaim"] = o.UserClaim + } if !IsNil(o.AcsUrl) { toSerialize["acsUrl"] = o.AcsUrl } @@ -798,20 +813,5 @@ func (o FederationIdentityProvider) ToMap() (map[string]interface{}, error) { if !IsNil(o.Status) { toSerialize["status"] = o.Status } - if !IsNil(o.AudienceClaim) { - toSerialize["audienceClaim"] = o.AudienceClaim - } - if !IsNil(o.ClientId) { - toSerialize["clientId"] = o.ClientId - } - if !IsNil(o.GroupsClaim) { - toSerialize["groupsClaim"] = o.GroupsClaim - } - if !IsNil(o.RequestedScopes) { - toSerialize["requestedScopes"] = o.RequestedScopes - } - if !IsNil(o.UserClaim) { - toSerialize["userClaim"] = o.UserClaim - } return toSerialize, nil } diff --git a/admin/model_identity_provider_update.go b/admin/model_identity_provider_update.go index 20613700..9743de5f 100644 --- a/admin/model_identity_provider_update.go +++ b/admin/model_identity_provider_update.go @@ -27,8 +27,8 @@ type IdentityProviderUpdate struct { // Requested scopes for the identity provider. RequestedScopes *[]string `json:"requestedScopes,omitempty"` // User claim for the identity provider. - UserClaim *string `json:"userClaim,omitempty"` - PemFileInfo *PemFileInfo `json:"pemFileInfo,omitempty"` + UserClaim *string `json:"userClaim,omitempty"` + PemFileInfo *PemFileInfoUpdate `json:"pemFileInfo,omitempty"` // SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. RequestBinding *string `json:"requestBinding,omitempty"` // Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. @@ -391,9 +391,9 @@ func (o *IdentityProviderUpdate) SetUserClaim(v string) { } // GetPemFileInfo returns the PemFileInfo field value if set, zero value otherwise -func (o *IdentityProviderUpdate) GetPemFileInfo() PemFileInfo { +func (o *IdentityProviderUpdate) GetPemFileInfo() PemFileInfoUpdate { if o == nil || IsNil(o.PemFileInfo) { - var ret PemFileInfo + var ret PemFileInfoUpdate return ret } return *o.PemFileInfo @@ -401,7 +401,7 @@ func (o *IdentityProviderUpdate) GetPemFileInfo() PemFileInfo { // GetPemFileInfoOk returns a tuple with the PemFileInfo field value if set, nil otherwise // and a boolean to check if the value has been set. -func (o *IdentityProviderUpdate) GetPemFileInfoOk() (*PemFileInfo, bool) { +func (o *IdentityProviderUpdate) GetPemFileInfoOk() (*PemFileInfoUpdate, bool) { if o == nil || IsNil(o.PemFileInfo) { return nil, false } @@ -418,8 +418,8 @@ func (o *IdentityProviderUpdate) HasPemFileInfo() bool { return false } -// SetPemFileInfo gets a reference to the given PemFileInfo and assigns it to the PemFileInfo field. -func (o *IdentityProviderUpdate) SetPemFileInfo(v PemFileInfo) { +// SetPemFileInfo gets a reference to the given PemFileInfoUpdate and assigns it to the PemFileInfo field. +func (o *IdentityProviderUpdate) SetPemFileInfo(v PemFileInfoUpdate) { o.PemFileInfo = &v } diff --git a/admin/model_inbound_control_plane_cloud_provider_ip_addresses.go b/admin/model_inbound_control_plane_cloud_provider_ip_addresses.go new file mode 100644 index 00000000..d83c8fcb --- /dev/null +++ b/admin/model_inbound_control_plane_cloud_provider_ip_addresses.go @@ -0,0 +1,148 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" +) + +// InboundControlPlaneCloudProviderIPAddresses List of inbound IP addresses to the Atlas control plane, categorized by cloud provider. If your application allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your API requests can reach the Atlas control plane. +type InboundControlPlaneCloudProviderIPAddresses struct { + // Control plane IP addresses in AWS. Each key identifies an Amazon Web Services (AWS) region. Each value identifies control plane IP addresses in the AWS region. + // Read only field. + Aws *map[string][]string `json:"aws,omitempty"` + // Control plane IP addresses in Azure. Each key identifies an Azure region. Each value identifies control plane IP addresses in the Azure region. + // Read only field. + Azure *map[string][]string `json:"azure,omitempty"` + // Control plane IP addresses in GCP. Each key identifies a Google Cloud (GCP) region. Each value identifies control plane IP addresses in the GCP region. + // Read only field. + Gcp *map[string][]string `json:"gcp,omitempty"` +} + +// NewInboundControlPlaneCloudProviderIPAddresses instantiates a new InboundControlPlaneCloudProviderIPAddresses 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 NewInboundControlPlaneCloudProviderIPAddresses() *InboundControlPlaneCloudProviderIPAddresses { + this := InboundControlPlaneCloudProviderIPAddresses{} + return &this +} + +// NewInboundControlPlaneCloudProviderIPAddressesWithDefaults instantiates a new InboundControlPlaneCloudProviderIPAddresses 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 NewInboundControlPlaneCloudProviderIPAddressesWithDefaults() *InboundControlPlaneCloudProviderIPAddresses { + this := InboundControlPlaneCloudProviderIPAddresses{} + return &this +} + +// GetAws returns the Aws field value if set, zero value otherwise +func (o *InboundControlPlaneCloudProviderIPAddresses) GetAws() map[string][]string { + if o == nil || IsNil(o.Aws) { + var ret map[string][]string + return ret + } + return *o.Aws +} + +// GetAwsOk returns a tuple with the Aws field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) GetAwsOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Aws) { + return nil, false + } + + return o.Aws, true +} + +// HasAws returns a boolean if a field has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) HasAws() bool { + if o != nil && !IsNil(o.Aws) { + return true + } + + return false +} + +// SetAws gets a reference to the given map[string][]string and assigns it to the Aws field. +func (o *InboundControlPlaneCloudProviderIPAddresses) SetAws(v map[string][]string) { + o.Aws = &v +} + +// GetAzure returns the Azure field value if set, zero value otherwise +func (o *InboundControlPlaneCloudProviderIPAddresses) GetAzure() map[string][]string { + if o == nil || IsNil(o.Azure) { + var ret map[string][]string + return ret + } + return *o.Azure +} + +// GetAzureOk returns a tuple with the Azure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) GetAzureOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Azure) { + return nil, false + } + + return o.Azure, true +} + +// HasAzure returns a boolean if a field has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) HasAzure() bool { + if o != nil && !IsNil(o.Azure) { + return true + } + + return false +} + +// SetAzure gets a reference to the given map[string][]string and assigns it to the Azure field. +func (o *InboundControlPlaneCloudProviderIPAddresses) SetAzure(v map[string][]string) { + o.Azure = &v +} + +// GetGcp returns the Gcp field value if set, zero value otherwise +func (o *InboundControlPlaneCloudProviderIPAddresses) GetGcp() map[string][]string { + if o == nil || IsNil(o.Gcp) { + var ret map[string][]string + return ret + } + return *o.Gcp +} + +// GetGcpOk returns a tuple with the Gcp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) GetGcpOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Gcp) { + return nil, false + } + + return o.Gcp, true +} + +// HasGcp returns a boolean if a field has been set. +func (o *InboundControlPlaneCloudProviderIPAddresses) HasGcp() bool { + if o != nil && !IsNil(o.Gcp) { + return true + } + + return false +} + +// SetGcp gets a reference to the given map[string][]string and assigns it to the Gcp field. +func (o *InboundControlPlaneCloudProviderIPAddresses) SetGcp(v map[string][]string) { + o.Gcp = &v +} + +func (o InboundControlPlaneCloudProviderIPAddresses) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o InboundControlPlaneCloudProviderIPAddresses) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + return toSerialize, nil +} diff --git a/admin/model_organization_invitation.go b/admin/model_organization_invitation.go index 25f412f5..d7c6af38 100644 --- a/admin/model_organization_invitation.go +++ b/admin/model_organization_invitation.go @@ -14,7 +14,8 @@ type OrganizationInvitation struct { CreatedAt *time.Time `json:"createdAt,omitempty"` // Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. // Read only field. - ExpiresAt *time.Time `json:"expiresAt,omitempty"` + ExpiresAt *time.Time `json:"expiresAt,omitempty"` + // List of projects that the user will be added to when they accept their invitation to the organization. GroupRoleAssignments *[]GroupRole `json:"groupRoleAssignments,omitempty"` // Unique 24-hexadecimal digit string that identifies this organization. // Read only field. diff --git a/admin/model_organization_invitation_request.go b/admin/model_organization_invitation_request.go index e723b931..6ee6d66e 100644 --- a/admin/model_organization_invitation_request.go +++ b/admin/model_organization_invitation_request.go @@ -8,6 +8,7 @@ import ( // OrganizationInvitationRequest struct for OrganizationInvitationRequest type OrganizationInvitationRequest struct { + // List of projects that the user will be added to when they accept their invitation to the organization. GroupRoleAssignments *[]OrganizationInvitationGroupRoleAssignmentsRequest `json:"groupRoleAssignments,omitempty"` // One or more organization level roles to assign to the MongoDB Cloud user. Roles *[]string `json:"roles,omitempty"` diff --git a/admin/model_organization_invitation_update_request.go b/admin/model_organization_invitation_update_request.go index 2a2539cf..ae35bbd3 100644 --- a/admin/model_organization_invitation_update_request.go +++ b/admin/model_organization_invitation_update_request.go @@ -8,6 +8,7 @@ import ( // OrganizationInvitationUpdateRequest struct for OrganizationInvitationUpdateRequest type OrganizationInvitationUpdateRequest struct { + // List of projects that the user will be added to when they accept their invitation to the organization. GroupRoleAssignments *[]OrganizationInvitationGroupRoleAssignmentsRequest `json:"groupRoleAssignments,omitempty"` // One or more organization level roles to assign to the MongoDB Cloud user. Roles *[]string `json:"roles,omitempty"` diff --git a/admin/model_outbound_control_plane_cloud_provider_ip_addresses.go b/admin/model_outbound_control_plane_cloud_provider_ip_addresses.go new file mode 100644 index 00000000..248e0c99 --- /dev/null +++ b/admin/model_outbound_control_plane_cloud_provider_ip_addresses.go @@ -0,0 +1,148 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" +) + +// OutboundControlPlaneCloudProviderIPAddresses List of outbound IP addresses from the Atlas control plane, categorized by cloud provider. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that Atlas can communicate with your webhooks and KMS. +type OutboundControlPlaneCloudProviderIPAddresses struct { + // Control plane IP addresses in AWS. Each key identifies an Amazon Web Services (AWS) region. Each value identifies control plane IP addresses in the AWS region. + // Read only field. + Aws *map[string][]string `json:"aws,omitempty"` + // Control plane IP addresses in Azure. Each key identifies an Azure region. Each value identifies control plane IP addresses in the Azure region. + // Read only field. + Azure *map[string][]string `json:"azure,omitempty"` + // Control plane IP addresses in GCP. Each key identifies a Google Cloud (GCP) region. Each value identifies control plane IP addresses in the GCP region. + // Read only field. + Gcp *map[string][]string `json:"gcp,omitempty"` +} + +// NewOutboundControlPlaneCloudProviderIPAddresses instantiates a new OutboundControlPlaneCloudProviderIPAddresses 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 NewOutboundControlPlaneCloudProviderIPAddresses() *OutboundControlPlaneCloudProviderIPAddresses { + this := OutboundControlPlaneCloudProviderIPAddresses{} + return &this +} + +// NewOutboundControlPlaneCloudProviderIPAddressesWithDefaults instantiates a new OutboundControlPlaneCloudProviderIPAddresses 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 NewOutboundControlPlaneCloudProviderIPAddressesWithDefaults() *OutboundControlPlaneCloudProviderIPAddresses { + this := OutboundControlPlaneCloudProviderIPAddresses{} + return &this +} + +// GetAws returns the Aws field value if set, zero value otherwise +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAws() map[string][]string { + if o == nil || IsNil(o.Aws) { + var ret map[string][]string + return ret + } + return *o.Aws +} + +// GetAwsOk returns a tuple with the Aws field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAwsOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Aws) { + return nil, false + } + + return o.Aws, true +} + +// HasAws returns a boolean if a field has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) HasAws() bool { + if o != nil && !IsNil(o.Aws) { + return true + } + + return false +} + +// SetAws gets a reference to the given map[string][]string and assigns it to the Aws field. +func (o *OutboundControlPlaneCloudProviderIPAddresses) SetAws(v map[string][]string) { + o.Aws = &v +} + +// GetAzure returns the Azure field value if set, zero value otherwise +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAzure() map[string][]string { + if o == nil || IsNil(o.Azure) { + var ret map[string][]string + return ret + } + return *o.Azure +} + +// GetAzureOk returns a tuple with the Azure field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAzureOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Azure) { + return nil, false + } + + return o.Azure, true +} + +// HasAzure returns a boolean if a field has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) HasAzure() bool { + if o != nil && !IsNil(o.Azure) { + return true + } + + return false +} + +// SetAzure gets a reference to the given map[string][]string and assigns it to the Azure field. +func (o *OutboundControlPlaneCloudProviderIPAddresses) SetAzure(v map[string][]string) { + o.Azure = &v +} + +// GetGcp returns the Gcp field value if set, zero value otherwise +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetGcp() map[string][]string { + if o == nil || IsNil(o.Gcp) { + var ret map[string][]string + return ret + } + return *o.Gcp +} + +// GetGcpOk returns a tuple with the Gcp field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) GetGcpOk() (*map[string][]string, bool) { + if o == nil || IsNil(o.Gcp) { + return nil, false + } + + return o.Gcp, true +} + +// HasGcp returns a boolean if a field has been set. +func (o *OutboundControlPlaneCloudProviderIPAddresses) HasGcp() bool { + if o != nil && !IsNil(o.Gcp) { + return true + } + + return false +} + +// SetGcp gets a reference to the given map[string][]string and assigns it to the Gcp field. +func (o *OutboundControlPlaneCloudProviderIPAddresses) SetGcp(v map[string][]string) { + o.Gcp = &v +} + +func (o OutboundControlPlaneCloudProviderIPAddresses) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o OutboundControlPlaneCloudProviderIPAddresses) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + return toSerialize, nil +} diff --git a/admin/model_pem_file_info.go b/admin/model_pem_file_info.go index 84be45fe..1d1b8329 100644 --- a/admin/model_pem_file_info.go +++ b/admin/model_pem_file_info.go @@ -6,10 +6,12 @@ import ( "encoding/json" ) -// PemFileInfo PEM file information for the identity provider's certificates. +// PemFileInfo PEM file information for the identity provider's current certificates. type PemFileInfo struct { + // List of certificates in the file. Certificates *[]X509Certificate `json:"certificates,omitempty"` - FileName *string `json:"fileName,omitempty"` + // Human-readable label given to the file. + FileName *string `json:"fileName,omitempty"` } // NewPemFileInfo instantiates a new PemFileInfo object diff --git a/admin/model_pem_file_info_update.go b/admin/model_pem_file_info_update.go new file mode 100644 index 00000000..5a8a3d44 --- /dev/null +++ b/admin/model_pem_file_info_update.go @@ -0,0 +1,116 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" +) + +// PemFileInfoUpdate PEM file information for the identity provider's certificates. +type PemFileInfoUpdate struct { + // List of certificates in the file. + Certificates *[]X509CertificateUpdate `json:"certificates,omitempty"` + // Human-readable label given to the file. + FileName *string `json:"fileName,omitempty"` +} + +// NewPemFileInfoUpdate instantiates a new PemFileInfoUpdate 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 NewPemFileInfoUpdate() *PemFileInfoUpdate { + this := PemFileInfoUpdate{} + return &this +} + +// NewPemFileInfoUpdateWithDefaults instantiates a new PemFileInfoUpdate 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 NewPemFileInfoUpdateWithDefaults() *PemFileInfoUpdate { + this := PemFileInfoUpdate{} + return &this +} + +// GetCertificates returns the Certificates field value if set, zero value otherwise +func (o *PemFileInfoUpdate) GetCertificates() []X509CertificateUpdate { + if o == nil || IsNil(o.Certificates) { + var ret []X509CertificateUpdate + return ret + } + return *o.Certificates +} + +// GetCertificatesOk returns a tuple with the Certificates field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PemFileInfoUpdate) GetCertificatesOk() (*[]X509CertificateUpdate, bool) { + if o == nil || IsNil(o.Certificates) { + return nil, false + } + + return o.Certificates, true +} + +// HasCertificates returns a boolean if a field has been set. +func (o *PemFileInfoUpdate) HasCertificates() bool { + if o != nil && !IsNil(o.Certificates) { + return true + } + + return false +} + +// SetCertificates gets a reference to the given []X509CertificateUpdate and assigns it to the Certificates field. +func (o *PemFileInfoUpdate) SetCertificates(v []X509CertificateUpdate) { + o.Certificates = &v +} + +// GetFileName returns the FileName field value if set, zero value otherwise +func (o *PemFileInfoUpdate) GetFileName() string { + if o == nil || IsNil(o.FileName) { + var ret string + return ret + } + return *o.FileName +} + +// GetFileNameOk returns a tuple with the FileName field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *PemFileInfoUpdate) GetFileNameOk() (*string, bool) { + if o == nil || IsNil(o.FileName) { + return nil, false + } + + return o.FileName, true +} + +// HasFileName returns a boolean if a field has been set. +func (o *PemFileInfoUpdate) HasFileName() bool { + if o != nil && !IsNil(o.FileName) { + return true + } + + return false +} + +// SetFileName gets a reference to the given string and assigns it to the FileName field. +func (o *PemFileInfoUpdate) SetFileName(v string) { + o.FileName = &v +} + +func (o PemFileInfoUpdate) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o PemFileInfoUpdate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Certificates) { + toSerialize["certificates"] = o.Certificates + } + if !IsNil(o.FileName) { + toSerialize["fileName"] = o.FileName + } + return toSerialize, nil +} diff --git a/admin/model_raw.go b/admin/model_raw.go index 6332dc92..6b077f79 100644 --- a/admin/model_raw.go +++ b/admin/model_raw.go @@ -31,7 +31,8 @@ type Raw struct { // Read only field. OrgId *string `json:"orgId,omitempty"` // Human-readable label that identifies the organization that contains the project. - OrgName *string `json:"orgName,omitempty"` + OrgName *string `json:"orgName,omitempty"` + // Severity of the event. Severity *string `json:"severity,omitempty"` } diff --git a/admin/model_streams_connection.go b/admin/model_streams_connection.go index 28833218..c9e9d658 100644 --- a/admin/model_streams_connection.go +++ b/admin/model_streams_connection.go @@ -16,8 +16,9 @@ type StreamsConnection struct { // Type of the connection. Can be either Cluster or Kafka. Type *string `json:"type,omitempty"` // Name of the cluster configured for this connection. - ClusterName *string `json:"clusterName,omitempty"` - Authentication *StreamsKafkaAuthentication `json:"authentication,omitempty"` + ClusterName *string `json:"clusterName,omitempty"` + DbRoleToExecute *DBRoleToExecute `json:"dbRoleToExecute,omitempty"` + Authentication *StreamsKafkaAuthentication `json:"authentication,omitempty"` // Comma separated list of server addresses. BootstrapServers *string `json:"bootstrapServers,omitempty"` // A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters. @@ -174,6 +175,39 @@ func (o *StreamsConnection) SetClusterName(v string) { o.ClusterName = &v } +// GetDbRoleToExecute returns the DbRoleToExecute field value if set, zero value otherwise +func (o *StreamsConnection) GetDbRoleToExecute() DBRoleToExecute { + if o == nil || IsNil(o.DbRoleToExecute) { + var ret DBRoleToExecute + return ret + } + return *o.DbRoleToExecute +} + +// GetDbRoleToExecuteOk returns a tuple with the DbRoleToExecute field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *StreamsConnection) GetDbRoleToExecuteOk() (*DBRoleToExecute, bool) { + if o == nil || IsNil(o.DbRoleToExecute) { + return nil, false + } + + return o.DbRoleToExecute, true +} + +// HasDbRoleToExecute returns a boolean if a field has been set. +func (o *StreamsConnection) HasDbRoleToExecute() bool { + if o != nil && !IsNil(o.DbRoleToExecute) { + return true + } + + return false +} + +// SetDbRoleToExecute gets a reference to the given DBRoleToExecute and assigns it to the DbRoleToExecute field. +func (o *StreamsConnection) SetDbRoleToExecute(v DBRoleToExecute) { + o.DbRoleToExecute = &v +} + // GetAuthentication returns the Authentication field value if set, zero value otherwise func (o *StreamsConnection) GetAuthentication() StreamsKafkaAuthentication { if o == nil || IsNil(o.Authentication) { @@ -324,6 +358,9 @@ func (o StreamsConnection) ToMap() (map[string]interface{}, error) { if !IsNil(o.ClusterName) { toSerialize["clusterName"] = o.ClusterName } + if !IsNil(o.DbRoleToExecute) { + toSerialize["dbRoleToExecute"] = o.DbRoleToExecute + } if !IsNil(o.Authentication) { toSerialize["authentication"] = o.Authentication } diff --git a/admin/model_streams_data_process_region.go b/admin/model_streams_data_process_region.go index 5c07f722..2a9693ad 100644 --- a/admin/model_streams_data_process_region.go +++ b/admin/model_streams_data_process_region.go @@ -6,7 +6,7 @@ import ( "encoding/json" ) -// StreamsDataProcessRegion struct for StreamsDataProcessRegion +// StreamsDataProcessRegion Information about the cloud provider region in which MongoDB Cloud processes the stream. type StreamsDataProcessRegion struct { // Label that identifies the cloud service provider where MongoDB Cloud performs stream processing. Currently, this parameter supports AWS only. CloudProvider string `json:"cloudProvider"` diff --git a/admin/model_thrid_party_integration.go b/admin/model_thrid_party_integration.go index 7460dd75..5336c548 100644 --- a/admin/model_thrid_party_integration.go +++ b/admin/model_thrid_party_integration.go @@ -28,18 +28,11 @@ type ThridPartyIntegration struct { ServiceKey *string `json:"serviceKey,omitempty"` // Flag that indicates whether someone has activated the Prometheus integration. Enabled *bool `json:"enabled,omitempty"` - // Combination of IPv4 address and Internet Assigned Numbers Authority (IANA) port or the IANA port alone to which Prometheus binds to ingest MongoDB metrics. - ListenAddress *string `json:"listenAddress,omitempty"` + // Password needed to allow MongoDB Cloud to access your Prometheus account. // Write only field. Password *string `json:"password,omitempty"` - // Write only field. - RateLimitInterval *int `json:"rateLimitInterval,omitempty"` - // Security Scheme to apply to HyperText Transfer Protocol (HTTP) traffic between Prometheus and MongoDB Cloud. - Scheme *string `json:"scheme,omitempty"` // Desired method to discover the Prometheus service. ServiceDiscovery *string `json:"serviceDiscovery,omitempty"` - // Root-relative path to the Transport Layer Security (TLS) Privacy Enhanced Mail (PEM) key and certificate file on the host. - TlsPemPath *string `json:"tlsPemPath,omitempty"` // Human-readable label that identifies your Prometheus incoming webhook. Username *string `json:"username,omitempty"` // Key that allows MongoDB Cloud to access your Slack account. **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you: * View or edit the alert through the Atlas UI. * Query the alert for the notification through the Atlas Administration API. **IMPORTANT**: Slack integrations now use the OAuth2 verification method and must be initially configured, or updated from a legacy integration, through the Atlas third-party service integrations page. Legacy tokens will soon no longer be supported. @@ -62,8 +55,6 @@ type ThridPartyIntegration struct { // will change when the set of required properties is changed func NewThridPartyIntegration() *ThridPartyIntegration { this := ThridPartyIntegration{} - var listenAddress string = ":9216" - this.ListenAddress = &listenAddress return &this } @@ -72,8 +63,6 @@ func NewThridPartyIntegration() *ThridPartyIntegration { // but it doesn't guarantee that properties required by API are set func NewThridPartyIntegrationWithDefaults() *ThridPartyIntegration { this := ThridPartyIntegration{} - var listenAddress string = ":9216" - this.ListenAddress = &listenAddress return &this } @@ -407,39 +396,6 @@ func (o *ThridPartyIntegration) SetEnabled(v bool) { o.Enabled = &v } -// GetListenAddress returns the ListenAddress field value if set, zero value otherwise -func (o *ThridPartyIntegration) GetListenAddress() string { - if o == nil || IsNil(o.ListenAddress) { - var ret string - return ret - } - return *o.ListenAddress -} - -// GetListenAddressOk returns a tuple with the ListenAddress field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ThridPartyIntegration) GetListenAddressOk() (*string, bool) { - if o == nil || IsNil(o.ListenAddress) { - return nil, false - } - - return o.ListenAddress, true -} - -// HasListenAddress returns a boolean if a field has been set. -func (o *ThridPartyIntegration) HasListenAddress() bool { - if o != nil && !IsNil(o.ListenAddress) { - return true - } - - return false -} - -// SetListenAddress gets a reference to the given string and assigns it to the ListenAddress field. -func (o *ThridPartyIntegration) SetListenAddress(v string) { - o.ListenAddress = &v -} - // GetPassword returns the Password field value if set, zero value otherwise func (o *ThridPartyIntegration) GetPassword() string { if o == nil || IsNil(o.Password) { @@ -473,72 +429,6 @@ func (o *ThridPartyIntegration) SetPassword(v string) { o.Password = &v } -// GetRateLimitInterval returns the RateLimitInterval field value if set, zero value otherwise -func (o *ThridPartyIntegration) GetRateLimitInterval() int { - if o == nil || IsNil(o.RateLimitInterval) { - var ret int - return ret - } - return *o.RateLimitInterval -} - -// GetRateLimitIntervalOk returns a tuple with the RateLimitInterval field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ThridPartyIntegration) GetRateLimitIntervalOk() (*int, bool) { - if o == nil || IsNil(o.RateLimitInterval) { - return nil, false - } - - return o.RateLimitInterval, true -} - -// HasRateLimitInterval returns a boolean if a field has been set. -func (o *ThridPartyIntegration) HasRateLimitInterval() bool { - if o != nil && !IsNil(o.RateLimitInterval) { - return true - } - - return false -} - -// SetRateLimitInterval gets a reference to the given int and assigns it to the RateLimitInterval field. -func (o *ThridPartyIntegration) SetRateLimitInterval(v int) { - o.RateLimitInterval = &v -} - -// GetScheme returns the Scheme field value if set, zero value otherwise -func (o *ThridPartyIntegration) GetScheme() string { - if o == nil || IsNil(o.Scheme) { - var ret string - return ret - } - return *o.Scheme -} - -// GetSchemeOk returns a tuple with the Scheme field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ThridPartyIntegration) GetSchemeOk() (*string, bool) { - if o == nil || IsNil(o.Scheme) { - return nil, false - } - - return o.Scheme, true -} - -// HasScheme returns a boolean if a field has been set. -func (o *ThridPartyIntegration) HasScheme() bool { - if o != nil && !IsNil(o.Scheme) { - return true - } - - return false -} - -// SetScheme gets a reference to the given string and assigns it to the Scheme field. -func (o *ThridPartyIntegration) SetScheme(v string) { - o.Scheme = &v -} - // GetServiceDiscovery returns the ServiceDiscovery field value if set, zero value otherwise func (o *ThridPartyIntegration) GetServiceDiscovery() string { if o == nil || IsNil(o.ServiceDiscovery) { @@ -572,39 +462,6 @@ func (o *ThridPartyIntegration) SetServiceDiscovery(v string) { o.ServiceDiscovery = &v } -// GetTlsPemPath returns the TlsPemPath field value if set, zero value otherwise -func (o *ThridPartyIntegration) GetTlsPemPath() string { - if o == nil || IsNil(o.TlsPemPath) { - var ret string - return ret - } - return *o.TlsPemPath -} - -// GetTlsPemPathOk returns a tuple with the TlsPemPath field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *ThridPartyIntegration) GetTlsPemPathOk() (*string, bool) { - if o == nil || IsNil(o.TlsPemPath) { - return nil, false - } - - return o.TlsPemPath, true -} - -// HasTlsPemPath returns a boolean if a field has been set. -func (o *ThridPartyIntegration) HasTlsPemPath() bool { - if o != nil && !IsNil(o.TlsPemPath) { - return true - } - - return false -} - -// SetTlsPemPath gets a reference to the given string and assigns it to the TlsPemPath field. -func (o *ThridPartyIntegration) SetTlsPemPath(v string) { - o.TlsPemPath = &v -} - // GetUsername returns the Username field value if set, zero value otherwise func (o *ThridPartyIntegration) GetUsername() string { if o == nil || IsNil(o.Username) { @@ -875,24 +732,12 @@ func (o ThridPartyIntegration) ToMap() (map[string]interface{}, error) { if !IsNil(o.Enabled) { toSerialize["enabled"] = o.Enabled } - if !IsNil(o.ListenAddress) { - toSerialize["listenAddress"] = o.ListenAddress - } if !IsNil(o.Password) { toSerialize["password"] = o.Password } - if !IsNil(o.RateLimitInterval) { - toSerialize["rateLimitInterval"] = o.RateLimitInterval - } - if !IsNil(o.Scheme) { - toSerialize["scheme"] = o.Scheme - } if !IsNil(o.ServiceDiscovery) { toSerialize["serviceDiscovery"] = o.ServiceDiscovery } - if !IsNil(o.TlsPemPath) { - toSerialize["tlsPemPath"] = o.TlsPemPath - } if !IsNil(o.Username) { toSerialize["username"] = o.Username } diff --git a/admin/model_x509_certificate.go b/admin/model_x509_certificate.go index d07b913d..2607476f 100644 --- a/admin/model_x509_certificate.go +++ b/admin/model_x509_certificate.go @@ -9,8 +9,9 @@ import ( // X509Certificate struct for X509Certificate type X509Certificate struct { - Content *string `json:"content,omitempty"` - NotAfter *time.Time `json:"notAfter,omitempty"` + // Latest date that the certificate is valid. + NotAfter *time.Time `json:"notAfter,omitempty"` + // Earliest date that the certificate is valid. NotBefore *time.Time `json:"notBefore,omitempty"` } @@ -31,39 +32,6 @@ func NewX509CertificateWithDefaults() *X509Certificate { return &this } -// GetContent returns the Content field value if set, zero value otherwise -func (o *X509Certificate) GetContent() string { - if o == nil || IsNil(o.Content) { - var ret string - return ret - } - return *o.Content -} - -// GetContentOk returns a tuple with the Content field value if set, nil otherwise -// and a boolean to check if the value has been set. -func (o *X509Certificate) GetContentOk() (*string, bool) { - if o == nil || IsNil(o.Content) { - return nil, false - } - - return o.Content, true -} - -// HasContent returns a boolean if a field has been set. -func (o *X509Certificate) HasContent() bool { - if o != nil && !IsNil(o.Content) { - return true - } - - return false -} - -// SetContent gets a reference to the given string and assigns it to the Content field. -func (o *X509Certificate) SetContent(v string) { - o.Content = &v -} - // GetNotAfter returns the NotAfter field value if set, zero value otherwise func (o *X509Certificate) GetNotAfter() time.Time { if o == nil || IsNil(o.NotAfter) { @@ -139,9 +107,6 @@ func (o X509Certificate) MarshalJSONWithoutReadOnly() ([]byte, error) { } func (o X509Certificate) ToMap() (map[string]interface{}, error) { toSerialize := map[string]interface{}{} - if !IsNil(o.Content) { - toSerialize["content"] = o.Content - } if !IsNil(o.NotAfter) { toSerialize["notAfter"] = o.NotAfter } diff --git a/admin/model_x509_certificate_update.go b/admin/model_x509_certificate_update.go new file mode 100644 index 00000000..a0e563bd --- /dev/null +++ b/admin/model_x509_certificate_update.go @@ -0,0 +1,155 @@ +// Code based on the AtlasAPI V2 OpenAPI file + +package admin + +import ( + "encoding/json" + "time" +) + +// X509CertificateUpdate struct for X509CertificateUpdate +type X509CertificateUpdate struct { + // Certificate content. + Content *string `json:"content,omitempty"` + // Latest date that the certificate is valid. + NotAfter *time.Time `json:"notAfter,omitempty"` + // Earliest date that the certificate is valid. + NotBefore *time.Time `json:"notBefore,omitempty"` +} + +// NewX509CertificateUpdate instantiates a new X509CertificateUpdate 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 NewX509CertificateUpdate() *X509CertificateUpdate { + this := X509CertificateUpdate{} + return &this +} + +// NewX509CertificateUpdateWithDefaults instantiates a new X509CertificateUpdate 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 NewX509CertificateUpdateWithDefaults() *X509CertificateUpdate { + this := X509CertificateUpdate{} + return &this +} + +// GetContent returns the Content field value if set, zero value otherwise +func (o *X509CertificateUpdate) GetContent() string { + if o == nil || IsNil(o.Content) { + var ret string + return ret + } + return *o.Content +} + +// GetContentOk returns a tuple with the Content field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *X509CertificateUpdate) GetContentOk() (*string, bool) { + if o == nil || IsNil(o.Content) { + return nil, false + } + + return o.Content, true +} + +// HasContent returns a boolean if a field has been set. +func (o *X509CertificateUpdate) HasContent() bool { + if o != nil && !IsNil(o.Content) { + return true + } + + return false +} + +// SetContent gets a reference to the given string and assigns it to the Content field. +func (o *X509CertificateUpdate) SetContent(v string) { + o.Content = &v +} + +// GetNotAfter returns the NotAfter field value if set, zero value otherwise +func (o *X509CertificateUpdate) GetNotAfter() time.Time { + if o == nil || IsNil(o.NotAfter) { + var ret time.Time + return ret + } + return *o.NotAfter +} + +// GetNotAfterOk returns a tuple with the NotAfter field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *X509CertificateUpdate) GetNotAfterOk() (*time.Time, bool) { + if o == nil || IsNil(o.NotAfter) { + return nil, false + } + + return o.NotAfter, true +} + +// HasNotAfter returns a boolean if a field has been set. +func (o *X509CertificateUpdate) HasNotAfter() bool { + if o != nil && !IsNil(o.NotAfter) { + return true + } + + return false +} + +// SetNotAfter gets a reference to the given time.Time and assigns it to the NotAfter field. +func (o *X509CertificateUpdate) SetNotAfter(v time.Time) { + o.NotAfter = &v +} + +// GetNotBefore returns the NotBefore field value if set, zero value otherwise +func (o *X509CertificateUpdate) GetNotBefore() time.Time { + if o == nil || IsNil(o.NotBefore) { + var ret time.Time + return ret + } + return *o.NotBefore +} + +// GetNotBeforeOk returns a tuple with the NotBefore field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *X509CertificateUpdate) GetNotBeforeOk() (*time.Time, bool) { + if o == nil || IsNil(o.NotBefore) { + return nil, false + } + + return o.NotBefore, true +} + +// HasNotBefore returns a boolean if a field has been set. +func (o *X509CertificateUpdate) HasNotBefore() bool { + if o != nil && !IsNil(o.NotBefore) { + return true + } + + return false +} + +// SetNotBefore gets a reference to the given time.Time and assigns it to the NotBefore field. +func (o *X509CertificateUpdate) SetNotBefore(v time.Time) { + o.NotBefore = &v +} + +func (o X509CertificateUpdate) MarshalJSONWithoutReadOnly() ([]byte, error) { + toSerialize, err := o.ToMap() + if err != nil { + return []byte{}, err + } + return json.Marshal(toSerialize) +} +func (o X509CertificateUpdate) ToMap() (map[string]interface{}, error) { + toSerialize := map[string]interface{}{} + if !IsNil(o.Content) { + toSerialize["content"] = o.Content + } + if !IsNil(o.NotAfter) { + toSerialize["notAfter"] = o.NotAfter + } + if !IsNil(o.NotBefore) { + toSerialize["notBefore"] = o.NotBefore + } + return toSerialize, nil +} diff --git a/auth/device_flow.go b/auth/device_flow.go index 114aef06..1238e958 100644 --- a/auth/device_flow.go +++ b/auth/device_flow.go @@ -22,7 +22,7 @@ import ( "strings" "time" - core "go.mongodb.org/atlas-sdk/v20231115002/internal/core" + core "go.mongodb.org/atlas-sdk/v20231115003/internal/core" ) const authExpiredError = "DEVICE_AUTHORIZATION_EXPIRED" diff --git a/auth/oauth.go b/auth/oauth.go index 56e199c2..f34cd17f 100644 --- a/auth/oauth.go +++ b/auth/oauth.go @@ -26,7 +26,7 @@ import ( "runtime" "strings" - "go.mongodb.org/atlas-sdk/v20231115002/internal/core" + "go.mongodb.org/atlas-sdk/v20231115003/internal/core" ) const defaultBaseURL = "https://cloud.mongodb.com/" diff --git a/auth/oauth_test.go b/auth/oauth_test.go index d4e1061a..b600cb7f 100644 --- a/auth/oauth_test.go +++ b/auth/oauth_test.go @@ -24,7 +24,7 @@ import ( "reflect" "testing" - core "go.mongodb.org/atlas-sdk/v20231115002/internal/core" + core "go.mongodb.org/atlas-sdk/v20231115003/internal/core" ) const ( diff --git a/docs/README.md b/docs/README.md index 9ed81e39..1397ac10 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,6 +5,7 @@ * [Fetching Data from the Back End](./doc_1_concepts.md#fetching-data-from-the-back-end) * [Performing Data Modification](./doc_1_concepts.md#performing-data-modification) * [Experimental Methods](./doc_1_concepts.md#experimental-methods) + * [Read Only and Write Only Fields](./doc_1_concepts.md#read-only-and-write-only-fields) * [Example](./doc_1_concepts.md#example) * [Release Strategy (Semantic Versioning)](./doc_1_concepts.md#release-strategy-semantic-versioning) * [Versioning Rules](./doc_1_concepts.md#versioning-rules) diff --git a/docs/doc_2_error_handling.md b/docs/doc_2_error_handling.md index 5c939651..affeba7c 100644 --- a/docs/doc_2_error_handling.md +++ b/docs/doc_2_error_handling.md @@ -10,7 +10,7 @@ Errors are represented by [ApiErrorObject](https://github.com/mongodb/atlas-sdk- To fetch the error object, execute the following: ```go -import "go.mongodb.org/atlas-sdk/v20231115002/admin" +import "go.mongodb.org/atlas-sdk/v20231115003/admin" projects, response, err := admin.ProjectsApi.ListProjects(ctx).Execute() apiError, ok := admin.AsError(err) @@ -22,7 +22,7 @@ fmt.Println(apiError) To check for the existence of a specific error code, execute the following: ```go -import admin "go.mongodb.org/atlas-sdk/v20231115002/admin" +import admin "go.mongodb.org/atlas-sdk/v20231115003/admin" projects, response, err := admin.ProjectsApi.ListProjects(ctx).Execute() if admin.IsErrorCode(err, "code"){ diff --git a/docs/doc_3_migration.md b/docs/doc_3_migration.md index f00ed6be..6f0fffef 100644 --- a/docs/doc_3_migration.md +++ b/docs/doc_3_migration.md @@ -18,7 +18,7 @@ The Atlas Go SDK doesn't rely on the deprecated [go-client-mongodb-atlas](https: The Atlas Go SDK has different methods for the initialization of the clients: ```go -import admin "go.mongodb.org/atlas-sdk/v20231115002/admin" +import admin "go.mongodb.org/atlas-sdk/v20231115003/admin" sdk, err := admin.NewClient( // Authentication using ApiKey and ApiSecret admin.UseDigestAuth(apiKey, apiSecret)) diff --git a/docs/doc_4_authentication.md b/docs/doc_4_authentication.md index 3ce429a9..d2ecbb99 100644 --- a/docs/doc_4_authentication.md +++ b/docs/doc_4_authentication.md @@ -11,7 +11,7 @@ Construct a new Atlas SDK client, then use the services on the client to access different parts of the Atlas Admin API. For example: ```go -import "go.mongodb.org/atlas-sdk/v20231115002/admin" +import "go.mongodb.org/atlas-sdk/v20231115003/admin" func example() { ctx := context.Background() diff --git a/docs/doc_last_reference.md b/docs/doc_last_reference.md index 96c4b07b..3bc02213 100644 --- a/docs/doc_last_reference.md +++ b/docs/doc_last_reference.md @@ -130,6 +130,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht *DatabaseUsersApi* | [GetDatabaseUser](./docs/DatabaseUsersApi.md#getdatabaseuser) | **Get** /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username} | Return One Database User from One Project | Stable *DatabaseUsersApi* | [ListDatabaseUsers](./docs/DatabaseUsersApi.md#listdatabaseusers) | **Get** /api/atlas/v2/groups/{groupId}/databaseUsers | Return All Database Users from One Project | Stable *DatabaseUsersApi* | [UpdateDatabaseUser](./docs/DatabaseUsersApi.md#updatedatabaseuser) | **Patch** /api/atlas/v2/groups/{groupId}/databaseUsers/{databaseName}/{username} | Update One Database User in One Project | Stable +*DefaultApi* | [ReturnAllControlPlaneIPAddresses](./docs/DefaultApi.md#returnallcontrolplaneipaddresses) | **Get** /api/atlas/v2/unauth/controlPlaneIPAddresses | Return All Control Plane IP Addresses | Experimental *EncryptionAtRestUsingCustomerKeyManagementApi* | [GetEncryptionAtRest](./docs/EncryptionAtRestUsingCustomerKeyManagementApi.md#getencryptionatrest) | **Get** /api/atlas/v2/groups/{groupId}/encryptionAtRest | Return One Configuration for Encryption at Rest using Customer-Managed Keys for One Project | Stable *EncryptionAtRestUsingCustomerKeyManagementApi* | [UpdateEncryptionAtRest](./docs/EncryptionAtRestUsingCustomerKeyManagementApi.md#updateencryptionatrest) | **Patch** /api/atlas/v2/groups/{groupId}/encryptionAtRest | Update Configuration for Encryption at Rest using Customer-Managed Keys for One Project | Experimental *EventsApi* | [GetOrganizationEvent](./docs/EventsApi.md#getorganizationevent) | **Get** /api/atlas/v2/orgs/{orgId}/events/{eventId} | Return One Event from One Organization | Experimental @@ -431,6 +432,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [Collation](./docs/Collation.md) - [ComponentLabel](./docs/ComponentLabel.md) - [ConnectedOrgConfig](./docs/ConnectedOrgConfig.md) + - [ControlPlaneIPAddresses](./docs/ControlPlaneIPAddresses.md) - [CostExplorerFilterRequestBody](./docs/CostExplorerFilterRequestBody.md) - [CostExplorerFilterResponse](./docs/CostExplorerFilterResponse.md) - [CreateAtlasOrganizationApiKey](./docs/CreateAtlasOrganizationApiKey.md) @@ -441,6 +443,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [CreateOrganizationResponse](./docs/CreateOrganizationResponse.md) - [Criteria](./docs/Criteria.md) - [CustomZoneMappings](./docs/CustomZoneMappings.md) + - [DBRoleToExecute](./docs/DBRoleToExecute.md) - [DBUserTLSX509Settings](./docs/DBUserTLSX509Settings.md) - [DataExpirationRule](./docs/DataExpirationRule.md) - [DataFederationLimit](./docs/DataFederationLimit.md) @@ -513,6 +516,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [GroupSettings](./docs/GroupSettings.md) - [HardwareSpec](./docs/HardwareSpec.md) - [IdentityProviderUpdate](./docs/IdentityProviderUpdate.md) + - [InboundControlPlaneCloudProviderIPAddresses](./docs/InboundControlPlaneCloudProviderIPAddresses.md) - [IndexOptions](./docs/IndexOptions.md) - [IngestionPipelineRun](./docs/IngestionPipelineRun.md) - [IngestionSink](./docs/IngestionSink.md) @@ -557,6 +561,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [OrganizationInvitationRequest](./docs/OrganizationInvitationRequest.md) - [OrganizationInvitationUpdateRequest](./docs/OrganizationInvitationUpdateRequest.md) - [OrganizationSettings](./docs/OrganizationSettings.md) + - [OutboundControlPlaneCloudProviderIPAddresses](./docs/OutboundControlPlaneCloudProviderIPAddresses.md) - [PaginatedAdvancedClusterDescription](./docs/PaginatedAdvancedClusterDescription.md) - [PaginatedAlert](./docs/PaginatedAlert.md) - [PaginatedAlertConfig](./docs/PaginatedAlertConfig.md) @@ -602,6 +607,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [PaginatedUserCert](./docs/PaginatedUserCert.md) - [PartitionField](./docs/PartitionField.md) - [PemFileInfo](./docs/PemFileInfo.md) + - [PemFileInfoUpdate](./docs/PemFileInfoUpdate.md) - [PerformanceAdvisorIndex](./docs/PerformanceAdvisorIndex.md) - [PerformanceAdvisorOpStats](./docs/PerformanceAdvisorOpStats.md) - [PerformanceAdvisorOperation](./docs/PerformanceAdvisorOperation.md) @@ -666,6 +672,7 @@ Class | Method | HTTP request | Description | [SDK Maturity](ht - [UserSecurity](./docs/UserSecurity.md) - [UserToDNMapping](./docs/UserToDNMapping.md) - [X509Certificate](./docs/X509Certificate.md) + - [X509CertificateUpdate](./docs/X509CertificateUpdate.md) - [ZoneMapping](./docs/ZoneMapping.md) diff --git a/docs/docs/AWSClustersDNSApi.md b/docs/docs/AWSClustersDNSApi.md index 979d4302..82ec636a 100644 --- a/docs/docs/AWSClustersDNSApi.md +++ b/docs/docs/AWSClustersDNSApi.md @@ -26,7 +26,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -99,7 +99,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/AccessTrackingApi.md b/docs/docs/AccessTrackingApi.md index ed76f5c1..b68956a7 100644 --- a/docs/docs/AccessTrackingApi.md +++ b/docs/docs/AccessTrackingApi.md @@ -26,7 +26,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -112,7 +112,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/AlertConfigurationsApi.md b/docs/docs/AlertConfigurationsApi.md index 19c27c21..c5a9de1c 100644 --- a/docs/docs/AlertConfigurationsApi.md +++ b/docs/docs/AlertConfigurationsApi.md @@ -32,7 +32,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -107,7 +107,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -186,7 +186,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -262,7 +262,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -326,7 +326,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -410,7 +410,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -492,7 +492,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -570,7 +570,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/AlertsApi.md b/docs/docs/AlertsApi.md index da6632a5..37a3f096 100644 --- a/docs/docs/AlertsApi.md +++ b/docs/docs/AlertsApi.md @@ -28,7 +28,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -106,7 +106,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -182,7 +182,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -268,7 +268,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/AtlasSearchApi.md b/docs/docs/AtlasSearchApi.md index 3b476ea8..9bc42b8d 100644 --- a/docs/docs/AtlasSearchApi.md +++ b/docs/docs/AtlasSearchApi.md @@ -38,7 +38,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -116,7 +116,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -199,7 +199,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -273,7 +273,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -357,7 +357,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -433,7 +433,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -512,7 +512,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -599,7 +599,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -677,7 +677,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/AuditingApi.md b/docs/docs/AuditingApi.md index af342516..533e0e23 100644 --- a/docs/docs/AuditingApi.md +++ b/docs/docs/AuditingApi.md @@ -26,7 +26,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -99,7 +99,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/BackupOnlineArchive.md b/docs/docs/BackupOnlineArchive.md index 707fbd8e..91132a4d 100644 --- a/docs/docs/BackupOnlineArchive.md +++ b/docs/docs/BackupOnlineArchive.md @@ -6,15 +6,14 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the online archive. | [optional] [readonly] **ClusterName** | Pointer to **string** | Human-readable label that identifies the cluster that contains the collection for which you want to create an online archive. | [optional] [readonly] -**CollName** | Pointer to **string** | Human-readable label that identifies the collection for which you created the online archive. | [optional] -**CollectionType** | Pointer to **string** | Classification of MongoDB database collection that you want to return. If you set this parameter to `TIMESERIES`, set `\"criteria.type\" : \"date\"` and `\"criteria.dateFormat\" : \"ISODATE\"`. | [optional] [default to "STANDARD"] +**CollName** | Pointer to **string** | Human-readable label that identifies the collection for which you created the online archive. | [optional] [readonly] +**CollectionType** | Pointer to **string** | Classification of MongoDB database collection that you want to return. If you set this parameter to `TIMESERIES`, set `\"criteria.type\" : \"date\"` and `\"criteria.dateFormat\" : \"ISODATE\"`. | [optional] [readonly] [default to "STANDARD"] **Criteria** | Pointer to [**Criteria**](Criteria.md) | | [optional] **DataExpirationRule** | Pointer to [**DataExpirationRule**](DataExpirationRule.md) | | [optional] -**DataProcessRegion** | Pointer to [**DataProcessRegion**](DataProcessRegion.md) | | [optional] **DataSetName** | Pointer to **string** | Human-readable label that identifies the dataset that Atlas generates for this online archive. | [optional] [readonly] -**DbName** | Pointer to **string** | Human-readable label of the database that contains the collection that contains the online archive. | [optional] +**DbName** | Pointer to **string** | Human-readable label of the database that contains the collection that contains the online archive. | [optional] [readonly] **GroupId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the project that contains the specified cluster. The specified cluster contains the collection for which to create the online archive. | [optional] [readonly] -**PartitionFields** | Pointer to [**[]PartitionField**](PartitionField.md) | List that contains document parameters to use to logically divide data within a collection. Partitions provide a coarse level of filtering of the underlying collection data. To divide your data, specify parameters that you frequently query. If you \"specified :criteria.type\": \"DATE\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to three parameters by which to query. One of these parameters must be the DATE value, which is required in this case. If you \"specified :criteria.type\": \"CUSTOM\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to two parameters by which to query. Queries that don't use \":criteria.type\": \"DATE\" or \":criteria.type\": \"CUSTOM\" parameters cause MongoDB to scan a full collection of all archived documents. This takes more time and increases your costs. | [optional] +**PartitionFields** | Pointer to [**[]PartitionField**](PartitionField.md) | List that contains document parameters to use to logically divide data within a collection. Partitions provide a coarse level of filtering of the underlying collection data. To divide your data, specify parameters that you frequently query. If you \"specified :criteria.type\": \"DATE\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to three parameters by which to query. One of these parameters must be the DATE value, which is required in this case. If you \"specified :criteria.type\": \"CUSTOM\" in the CREATE ONE ONLINE ARCHIVE endpoint, then you can specify up to two parameters by which to query. Queries that don't use \":criteria.type\": \"DATE\" or \":criteria.type\": \"CUSTOM\" parameters cause MongoDB to scan a full collection of all archived documents. This takes more time and increases your costs. | [optional] [readonly] **Paused** | Pointer to **bool** | Flag that indicates whether this online archive exists in the paused state. A request to resume fails if the collection has another active online archive. To pause an active online archive or resume a paused online archive, you must include this parameter. To pause an active archive, set this to **true**. To resume a paused archive, set this to **false**. | [optional] **Schedule** | Pointer to [**OnlineArchiveSchedule**](OnlineArchiveSchedule.md) | | [optional] **State** | Pointer to **string** | Phase of the process to create this online archive when you made this request. | State | Indication | |-------------|------------| | `PENDING` | MongoDB Cloud has queued documents for archive. Archiving hasn't started. | | `ARCHIVING` | MongoDB Cloud started archiving documents that meet the archival criteria. | | `IDLE` | MongoDB Cloud waits to start the next archival job. | | `PAUSING` | Someone chose to stop archiving. MongoDB Cloud finishes the running archival job then changes the state to `PAUSED` when that job completes. | | `PAUSED` | MongoDB Cloud has stopped archiving. Archived documents can be queried. The specified archiving operation on the active cluster cannot archive additional documents. You can resume archiving for paused archives at any time. | | `ORPHANED` | Someone has deleted the collection associated with an active or paused archive. MongoDB Cloud doesn't delete the archived data. You must manually delete the online archives associated with the deleted collection. | | `DELETED` | Someone has deleted the archive was deleted. When someone deletes an online archive, MongoDB Cloud removes all associated archived documents from the cloud object storage. | | [optional] [readonly] @@ -182,30 +181,6 @@ SetDataExpirationRule sets DataExpirationRule field to given value. `func (o *BackupOnlineArchive) HasDataExpirationRule() bool` HasDataExpirationRule returns a boolean if a field has been set. -### GetDataProcessRegion - -`func (o *BackupOnlineArchive) GetDataProcessRegion() DataProcessRegion` - -GetDataProcessRegion returns the DataProcessRegion field if non-nil, zero value otherwise. - -### GetDataProcessRegionOk - -`func (o *BackupOnlineArchive) GetDataProcessRegionOk() (*DataProcessRegion, bool)` - -GetDataProcessRegionOk returns a tuple with the DataProcessRegion field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetDataProcessRegion - -`func (o *BackupOnlineArchive) SetDataProcessRegion(v DataProcessRegion)` - -SetDataProcessRegion sets DataProcessRegion field to given value. - -### HasDataProcessRegion - -`func (o *BackupOnlineArchive) HasDataProcessRegion() bool` - -HasDataProcessRegion returns a boolean if a field has been set. ### GetDataSetName `func (o *BackupOnlineArchive) GetDataSetName() string` diff --git a/docs/docs/CloudAppUser.md b/docs/docs/CloudAppUser.md index dbeec9b8..f8d56a49 100644 --- a/docs/docs/CloudAppUser.md +++ b/docs/docs/CloudAppUser.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Country** | **string** | Two alphabet characters that identifies MongoDB Cloud user's geographic location. This parameter uses the ISO 3166-1a2 code format. | **CreatedAt** | Pointer to **time.Time** | Date and time when the current account is created. This value is in the ISO 8601 timestamp format in UTC. | [optional] [readonly] -**EmailAddress** | **string** | Email address that belongs to the MongoDB Cloud user. | +**EmailAddress** | **string** | Email address that belongs to the MongoDB Cloud user. | [readonly] **FirstName** | **string** | First or given name that belongs to the MongoDB Cloud user. | **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user. | [optional] [readonly] **LastAuth** | Pointer to **time.Time** | Date and time when the current account last authenticated. This value is in the ISO 8601 timestamp format in UTC. | [optional] [readonly] diff --git a/docs/docs/CloudBackupsApi.md b/docs/docs/CloudBackupsApi.md index 8691954f..0683a497 100644 --- a/docs/docs/CloudBackupsApi.md +++ b/docs/docs/CloudBackupsApi.md @@ -58,7 +58,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -137,7 +137,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -215,7 +215,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -293,7 +293,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -368,7 +368,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -446,7 +446,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -522,7 +522,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -598,7 +598,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -682,7 +682,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -761,7 +761,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -840,7 +840,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -919,7 +919,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -995,7 +995,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1068,7 +1068,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1144,7 +1144,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1223,7 +1223,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1302,7 +1302,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1386,7 +1386,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1465,7 +1465,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1547,7 +1547,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1629,7 +1629,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1708,7 +1708,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1790,7 +1790,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1872,7 +1872,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1959,7 +1959,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -2035,7 +2035,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -2113,7 +2113,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -2191,7 +2191,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -2271,7 +2271,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/CloudMigrationServiceApi.md b/docs/docs/CloudMigrationServiceApi.md index 58fb6615..500937a0 100644 --- a/docs/docs/CloudMigrationServiceApi.md +++ b/docs/docs/CloudMigrationServiceApi.md @@ -32,7 +32,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -107,7 +107,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -182,7 +182,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -256,7 +256,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -329,7 +329,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -405,7 +405,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -486,7 +486,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -559,7 +559,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/CloudProviderAccessApi.md b/docs/docs/CloudProviderAccessApi.md index c10704f9..c5d43194 100644 --- a/docs/docs/CloudProviderAccessApi.md +++ b/docs/docs/CloudProviderAccessApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -107,7 +107,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -182,7 +182,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -264,7 +264,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -340,7 +340,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ClusterIPAddresses.md b/docs/docs/ClusterIPAddresses.md index c63f7037..03ca4334 100644 --- a/docs/docs/ClusterIPAddresses.md +++ b/docs/docs/ClusterIPAddresses.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **ClusterName** | Pointer to **string** | Human-readable label that identifies the cluster. | [optional] [readonly] -**Inbound** | Pointer to **[]string** | List of inbound IP addresses associated with the cluster. | [optional] [readonly] -**Outbound** | Pointer to **[]string** | List of outbound IP addresses associated with the cluster. | [optional] [readonly] +**Inbound** | Pointer to **[]string** | List of inbound IP addresses associated with the cluster. If your network allows outbound HTTP requests only to specific IP addresses, you must allow access to the following IP addresses so that your application can connect to your Atlas cluster. | [optional] [readonly] +**Outbound** | Pointer to **[]string** | List of outbound IP addresses associated with the cluster. If your network allows inbound HTTP requests only from specific IP addresses, you must allow access from the following IP addresses so that your Atlas cluster can communicate with your webhooks and KMS. | [optional] [readonly] ## Methods diff --git a/docs/docs/ClusterOutageSimulationApi.md b/docs/docs/ClusterOutageSimulationApi.md index 6a0c6503..175e6ab7 100644 --- a/docs/docs/ClusterOutageSimulationApi.md +++ b/docs/docs/ClusterOutageSimulationApi.md @@ -32,7 +32,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -113,7 +113,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -194,7 +194,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ClusterSearchIndex.md b/docs/docs/ClusterSearchIndex.md index 6aaacab9..1fbc3405 100644 --- a/docs/docs/ClusterSearchIndex.md +++ b/docs/docs/ClusterSearchIndex.md @@ -9,7 +9,7 @@ Name | Type | Description | Notes **IndexID** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies this Atlas Search index. | [optional] [readonly] **Name** | **string** | Human-readable label that identifies this index. Within each namespace, names of all indexes in the namespace must be unique. | **Status** | Pointer to **string** | Condition of the search index when you made this request. | Status | Index Condition | |---|---| | IN_PROGRESS | Atlas is building or re-building the index after an edit. | | STEADY | You can use this search index. | | FAILED | Atlas could not build the index. | | MIGRATING | Atlas is upgrading the underlying cluster tier and migrating indexes. | | PAUSED | The cluster is paused. | | [optional] [readonly] -**Type** | Pointer to **string** | Type of the index. Warning: vectorSearch is not yet generally available. Default type is search. | [optional] +**Type** | Pointer to **string** | Type of the index. Default type is search. | [optional] **Analyzer** | Pointer to **string** | Specific pre-defined method chosen to convert database field text into searchable words. This conversion reduces the text of fields into the smallest units of text. These units are called a **term** or **token**. This process, known as tokenization, involves a variety of changes made to the text in fields: - extracting words - removing punctuation - removing accents - changing to lowercase - removing common words - reducing words to their root form (stemming) - changing words to their base form (lemmatization) MongoDB Cloud uses the selected process to build the Atlas Search index. | [optional] [default to "lucene.standard"] **Analyzers** | Pointer to [**[]ApiAtlasFTSAnalyzers**](ApiAtlasFTSAnalyzers.md) | List of user-defined methods to convert database field text into searchable words. | [optional] **Mappings** | Pointer to [**ApiAtlasFTSMappings**](ApiAtlasFTSMappings.md) | | [optional] diff --git a/docs/docs/ClustersApi.md b/docs/docs/ClustersApi.md index 7098a4a2..54c5efe6 100644 --- a/docs/docs/ClustersApi.md +++ b/docs/docs/ClustersApi.md @@ -39,7 +39,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -114,7 +114,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -190,7 +190,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -266,7 +266,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -347,7 +347,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -423,7 +423,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -499,7 +499,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -582,7 +582,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -668,7 +668,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -741,7 +741,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -817,7 +817,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -891,7 +891,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -969,7 +969,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1052,7 +1052,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1132,7 +1132,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ConnectedOrgConfig.md b/docs/docs/ConnectedOrgConfig.md index aa0ff836..8a41f30d 100644 --- a/docs/docs/ConnectedOrgConfig.md +++ b/docs/docs/ConnectedOrgConfig.md @@ -4,12 +4,12 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**DataAccessIdentityProviderIds** | Pointer to **[]string** | The collection of unique ids of the identity providers for org's data access. | [optional] +**DataAccessIdentityProviderIds** | Pointer to **[]string** | The collection of unique ids representing the identity providers that can be used for data access in this organization. | [optional] **DomainAllowList** | Pointer to **[]string** | Approved domains that restrict users who can join the organization based on their email address. | [optional] **DomainRestrictionEnabled** | **bool** | Value that indicates whether domain restriction is enabled for this connected org. | **IdentityProviderId** | **string** | Unique 20-hexadecimal digit string that identifies the identity provider that this connected org config is associated with. | **OrgId** | **string** | Unique 24-hexadecimal digit string that identifies the connected organization configuration. | [readonly] -**PostAuthRoleGrants** | Pointer to **[]string** | Atlas roles that are granted to a user in this organization after authenticating. | [optional] +**PostAuthRoleGrants** | Pointer to **[]string** | Atlas roles that are granted to a user in this organization after authenticating. Roles are a human-readable label that identifies the collection of privileges that MongoDB Cloud grants a specific MongoDB Cloud user. These roles can only be organization specific roles. | [optional] **RoleMappings** | Pointer to [**[]AuthFederationRoleMapping**](AuthFederationRoleMapping.md) | Role mappings that are configured in this organization. | [optional] **UserConflicts** | Pointer to [**[]FederatedUser**](FederatedUser.md) | List that contains the users who have an email address that doesn't match any domain on the allowed list. | [optional] diff --git a/docs/docs/ControlPlaneIPAddresses.md b/docs/docs/ControlPlaneIPAddresses.md new file mode 100644 index 00000000..841bfa23 --- /dev/null +++ b/docs/docs/ControlPlaneIPAddresses.md @@ -0,0 +1,80 @@ +# ControlPlaneIPAddresses + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Inbound** | Pointer to [**InboundControlPlaneCloudProviderIPAddresses**](InboundControlPlaneCloudProviderIPAddresses.md) | | [optional] +**Outbound** | Pointer to [**OutboundControlPlaneCloudProviderIPAddresses**](OutboundControlPlaneCloudProviderIPAddresses.md) | | [optional] + +## Methods + +### NewControlPlaneIPAddresses + +`func NewControlPlaneIPAddresses() *ControlPlaneIPAddresses` + +NewControlPlaneIPAddresses instantiates a new ControlPlaneIPAddresses 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 + +### NewControlPlaneIPAddressesWithDefaults + +`func NewControlPlaneIPAddressesWithDefaults() *ControlPlaneIPAddresses` + +NewControlPlaneIPAddressesWithDefaults instantiates a new ControlPlaneIPAddresses 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 + +### GetInbound + +`func (o *ControlPlaneIPAddresses) GetInbound() InboundControlPlaneCloudProviderIPAddresses` + +GetInbound returns the Inbound field if non-nil, zero value otherwise. + +### GetInboundOk + +`func (o *ControlPlaneIPAddresses) GetInboundOk() (*InboundControlPlaneCloudProviderIPAddresses, bool)` + +GetInboundOk returns a tuple with the Inbound field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetInbound + +`func (o *ControlPlaneIPAddresses) SetInbound(v InboundControlPlaneCloudProviderIPAddresses)` + +SetInbound sets Inbound field to given value. + +### HasInbound + +`func (o *ControlPlaneIPAddresses) HasInbound() bool` + +HasInbound returns a boolean if a field has been set. +### GetOutbound + +`func (o *ControlPlaneIPAddresses) GetOutbound() OutboundControlPlaneCloudProviderIPAddresses` + +GetOutbound returns the Outbound field if non-nil, zero value otherwise. + +### GetOutboundOk + +`func (o *ControlPlaneIPAddresses) GetOutboundOk() (*OutboundControlPlaneCloudProviderIPAddresses, bool)` + +GetOutboundOk returns a tuple with the Outbound field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetOutbound + +`func (o *ControlPlaneIPAddresses) SetOutbound(v OutboundControlPlaneCloudProviderIPAddresses)` + +SetOutbound sets Outbound field to given value. + +### HasOutbound + +`func (o *ControlPlaneIPAddresses) HasOutbound() bool` + +HasOutbound returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/CustomDatabaseRolesApi.md b/docs/docs/CustomDatabaseRolesApi.md index 637b4178..237f6225 100644 --- a/docs/docs/CustomDatabaseRolesApi.md +++ b/docs/docs/CustomDatabaseRolesApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -104,7 +104,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -178,7 +178,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -254,7 +254,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -327,7 +327,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/DBRoleToExecute.md b/docs/docs/DBRoleToExecute.md new file mode 100644 index 00000000..3b58c1ff --- /dev/null +++ b/docs/docs/DBRoleToExecute.md @@ -0,0 +1,105 @@ +# DBRoleToExecute + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly] +**Role** | Pointer to **string** | The name of the role to use. Can be a built in role or a custom role. | [optional] +**Type** | Pointer to **string** | Type of the DB role. Can be either BuiltIn or Custom. | [optional] + +## Methods + +### NewDBRoleToExecute + +`func NewDBRoleToExecute() *DBRoleToExecute` + +NewDBRoleToExecute instantiates a new DBRoleToExecute 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 + +### NewDBRoleToExecuteWithDefaults + +`func NewDBRoleToExecuteWithDefaults() *DBRoleToExecute` + +NewDBRoleToExecuteWithDefaults instantiates a new DBRoleToExecute 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 + +### GetLinks + +`func (o *DBRoleToExecute) GetLinks() []Link` + +GetLinks returns the Links field if non-nil, zero value otherwise. + +### GetLinksOk + +`func (o *DBRoleToExecute) GetLinksOk() (*[]Link, bool)` + +GetLinksOk returns a tuple with the Links field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetLinks + +`func (o *DBRoleToExecute) SetLinks(v []Link)` + +SetLinks sets Links field to given value. + +### HasLinks + +`func (o *DBRoleToExecute) HasLinks() bool` + +HasLinks returns a boolean if a field has been set. +### GetRole + +`func (o *DBRoleToExecute) GetRole() string` + +GetRole returns the Role field if non-nil, zero value otherwise. + +### GetRoleOk + +`func (o *DBRoleToExecute) GetRoleOk() (*string, bool)` + +GetRoleOk returns a tuple with the Role field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRole + +`func (o *DBRoleToExecute) SetRole(v string)` + +SetRole sets Role field to given value. + +### HasRole + +`func (o *DBRoleToExecute) HasRole() bool` + +HasRole returns a boolean if a field has been set. +### GetType + +`func (o *DBRoleToExecute) GetType() string` + +GetType returns the Type field if non-nil, zero value otherwise. + +### GetTypeOk + +`func (o *DBRoleToExecute) GetTypeOk() (*string, bool)` + +GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetType + +`func (o *DBRoleToExecute) SetType(v string)` + +SetType sets Type field to given value. + +### HasType + +`func (o *DBRoleToExecute) HasType() bool` + +HasType returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/DataFederationApi.md b/docs/docs/DataFederationApi.md index 68036122..86276d72 100644 --- a/docs/docs/DataFederationApi.md +++ b/docs/docs/DataFederationApi.md @@ -38,7 +38,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -113,7 +113,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -190,7 +190,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -271,7 +271,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -347,7 +347,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -423,7 +423,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -502,7 +502,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -582,7 +582,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -658,7 +658,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -734,7 +734,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -813,7 +813,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -888,7 +888,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -967,7 +967,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1043,7 +1043,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/DataLakeAtlasStoreReadConcern.md b/docs/docs/DataLakeAtlasStoreReadConcern.md index 403e2f3d..c7a48a3a 100644 --- a/docs/docs/DataLakeAtlasStoreReadConcern.md +++ b/docs/docs/DataLakeAtlasStoreReadConcern.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Level** | Pointer to **string** | [Read Concern level](https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels) that specifies the consistency and availability of the data read. | [optional] +**Level** | Pointer to **string** | Read Concern level that specifies the consistency and availability of the data read. | [optional] ## Methods diff --git a/docs/docs/DataLakePipelinesApi.md b/docs/docs/DataLakePipelinesApi.md index 5f7b70ae..146249b7 100644 --- a/docs/docs/DataLakePipelinesApi.md +++ b/docs/docs/DataLakePipelinesApi.md @@ -37,7 +37,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -112,7 +112,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -188,7 +188,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -267,7 +267,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -343,7 +343,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -422,7 +422,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -506,7 +506,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -582,7 +582,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -666,7 +666,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -739,7 +739,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -815,7 +815,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -891,7 +891,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -969,7 +969,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/DatabaseUsersApi.md b/docs/docs/DatabaseUsersApi.md index 6eec603a..b069d780 100644 --- a/docs/docs/DatabaseUsersApi.md +++ b/docs/docs/DatabaseUsersApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -104,7 +104,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -183,7 +183,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -262,7 +262,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -341,7 +341,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/DefaultApi.md b/docs/docs/DefaultApi.md new file mode 100644 index 00000000..4d64d3ca --- /dev/null +++ b/docs/docs/DefaultApi.md @@ -0,0 +1,78 @@ +# \DefaultApi + +All URIs are relative to *https://cloud.mongodb.com* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**ReturnAllControlPlaneIPAddresses**](DefaultApi.md#ReturnAllControlPlaneIPAddresses) | **Get** /api/atlas/v2/unauth/controlPlaneIPAddresses | Return All Control Plane IP Addresses + + + +## ReturnAllControlPlaneIPAddresses + +> ControlPlaneIPAddresses ReturnAllControlPlaneIPAddresses(ctx).Execute() + +Return All Control Plane IP Addresses + + +## Experimental + +This operation is marked as experimental. It might be changed in the future without compatibility guarantees. +For more information see [ExperimentalMethods](../doc_1_concepts.md#experimental-methods) + +### Example + +```go +package main + +import ( + "context" + "fmt" + "os" + + "go.mongodb.org/atlas-sdk/v20231115003/admin" +) + +func main() { + apiKey := os.Getenv("MONGODB_ATLAS_PUBLIC_KEY") + apiSecret := os.Getenv("MONGODB_ATLAS_PRIVATE_KEY") + + sdk := admin.NewClient(admin.UseDigestAuth(apiKey, apiSecret)) + + + resp, r, err := sdk.DefaultApi.ReturnAllControlPlaneIPAddresses(context.Background()).Execute() + if err != nil { + fmt.Fprintf(os.Stderr, "Error when calling `DefaultApi.ReturnAllControlPlaneIPAddresses``: %v\n", err) + apiError := admin.AsError(err) + fmt.Fprintf(os.Stderr, "Error obj: %v\n", apiError) + } + // response from `ReturnAllControlPlaneIPAddresses`: ControlPlaneIPAddresses + fmt.Fprintf(os.Stdout, "Response from `DefaultApi.ReturnAllControlPlaneIPAddresses`: %v\n", resp) +} +``` + +### Path Parameters + +This endpoint does not need any parameter. + +### Other Parameters + +Other parameters are passed through a pointer to a apiReturnAllControlPlaneIPAddressesRequest struct via the builder pattern + + +### Return type + +[**ControlPlaneIPAddresses**](ControlPlaneIPAddresses.md) + +### Authorization +[DigestAuth](../README.md#Authentication) + +### HTTP request headers + +- **Content-Type**: Not defined +- **Accept**: application/vnd.atlas.2023-11-15+json, application/json + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) +[[Back to Model list]](../README.md#documentation-for-models) +[[Back to README]](../README.md) + diff --git a/docs/docs/EncryptionAtRestUsingCustomerKeyManagementApi.md b/docs/docs/EncryptionAtRestUsingCustomerKeyManagementApi.md index 147567c3..ec2b847a 100644 --- a/docs/docs/EncryptionAtRestUsingCustomerKeyManagementApi.md +++ b/docs/docs/EncryptionAtRestUsingCustomerKeyManagementApi.md @@ -26,7 +26,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -104,7 +104,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/EventsApi.md b/docs/docs/EventsApi.md index 50d5279c..86c19dd5 100644 --- a/docs/docs/EventsApi.md +++ b/docs/docs/EventsApi.md @@ -33,7 +33,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -116,7 +116,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -194,7 +194,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -281,7 +281,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/FederatedAuthenticationApi.md b/docs/docs/FederatedAuthenticationApi.md index 691641c7..1d354234 100644 --- a/docs/docs/FederatedAuthenticationApi.md +++ b/docs/docs/FederatedAuthenticationApi.md @@ -44,7 +44,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -127,7 +127,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -203,7 +203,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -285,7 +285,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -366,7 +366,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -444,7 +444,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -525,7 +525,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -606,7 +606,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -690,7 +690,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -768,7 +768,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -848,7 +848,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -929,7 +929,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1010,7 +1010,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1093,7 +1093,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1176,7 +1176,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/FederationIdentityProvider.md b/docs/docs/FederationIdentityProvider.md index f9463db3..58b7275b 100644 --- a/docs/docs/FederationIdentityProvider.md +++ b/docs/docs/FederationIdentityProvider.md @@ -12,6 +12,11 @@ Name | Type | Description | Notes **IssuerUri** | Pointer to **string** | Unique string that identifies the issuer of the SAML Assertion. | [optional] **OktaIdpId** | **string** | Unique 20-hexadecimal digit string that identifies the identity provider. | **Protocol** | Pointer to **string** | The protocol of the identity provider. | [optional] +**AudienceClaim** | Pointer to **[]string** | Identifier of the intended recipient of the token. | [optional] +**ClientId** | Pointer to **string** | Client identifier that is assigned to an application by the Identity Provider. | [optional] +**GroupsClaim** | Pointer to **string** | Identifier of the claim which contains IdP Group IDs in the token. | [optional] +**RequestedScopes** | Pointer to **[]string** | The description of an IdP, configured by customers. | [optional] +**UserClaim** | Pointer to **string** | Identifier of the claim which contains the user ID in the token. | [optional] **AcsUrl** | Pointer to **string** | URL that points to where to send the SAML response. | [optional] **AudienceUri** | Pointer to **string** | Unique string that identifies the intended audience of the SAML assertion. | [optional] **PemFileInfo** | Pointer to [**PemFileInfo**](PemFileInfo.md) | | [optional] @@ -20,11 +25,6 @@ Name | Type | Description | Notes **SsoDebugEnabled** | Pointer to **bool** | Flag that indicates whether the identity provider has SSO debug enabled. | [optional] **SsoUrl** | Pointer to **string** | URL that points to the receiver of the SAML authentication request. | [optional] **Status** | Pointer to **string** | String enum that indicates whether the identity provider is active. | [optional] -**AudienceClaim** | Pointer to **[]string** | Identifier of the intended recipient of the token. | [optional] -**ClientId** | Pointer to **string** | Client identifier that is assigned to an application by the Identity Provider. | [optional] -**GroupsClaim** | Pointer to **string** | Identifier of the claim which contains IdP Group IDs in the token. | [optional] -**RequestedScopes** | Pointer to **[]string** | The description of an IdP, configured by customers. | [optional] -**UserClaim** | Pointer to **string** | Identifier of the claim which contains the user ID in the token. | [optional] ## Methods @@ -227,6 +227,126 @@ SetProtocol sets Protocol field to given value. `func (o *FederationIdentityProvider) HasProtocol() bool` HasProtocol returns a boolean if a field has been set. +### GetAudienceClaim + +`func (o *FederationIdentityProvider) GetAudienceClaim() []string` + +GetAudienceClaim returns the AudienceClaim field if non-nil, zero value otherwise. + +### GetAudienceClaimOk + +`func (o *FederationIdentityProvider) GetAudienceClaimOk() (*[]string, bool)` + +GetAudienceClaimOk returns a tuple with the AudienceClaim field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAudienceClaim + +`func (o *FederationIdentityProvider) SetAudienceClaim(v []string)` + +SetAudienceClaim sets AudienceClaim field to given value. + +### HasAudienceClaim + +`func (o *FederationIdentityProvider) HasAudienceClaim() bool` + +HasAudienceClaim returns a boolean if a field has been set. +### GetClientId + +`func (o *FederationIdentityProvider) GetClientId() string` + +GetClientId returns the ClientId field if non-nil, zero value otherwise. + +### GetClientIdOk + +`func (o *FederationIdentityProvider) GetClientIdOk() (*string, bool)` + +GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetClientId + +`func (o *FederationIdentityProvider) SetClientId(v string)` + +SetClientId sets ClientId field to given value. + +### HasClientId + +`func (o *FederationIdentityProvider) HasClientId() bool` + +HasClientId returns a boolean if a field has been set. +### GetGroupsClaim + +`func (o *FederationIdentityProvider) GetGroupsClaim() string` + +GetGroupsClaim returns the GroupsClaim field if non-nil, zero value otherwise. + +### GetGroupsClaimOk + +`func (o *FederationIdentityProvider) GetGroupsClaimOk() (*string, bool)` + +GetGroupsClaimOk returns a tuple with the GroupsClaim field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGroupsClaim + +`func (o *FederationIdentityProvider) SetGroupsClaim(v string)` + +SetGroupsClaim sets GroupsClaim field to given value. + +### HasGroupsClaim + +`func (o *FederationIdentityProvider) HasGroupsClaim() bool` + +HasGroupsClaim returns a boolean if a field has been set. +### GetRequestedScopes + +`func (o *FederationIdentityProvider) GetRequestedScopes() []string` + +GetRequestedScopes returns the RequestedScopes field if non-nil, zero value otherwise. + +### GetRequestedScopesOk + +`func (o *FederationIdentityProvider) GetRequestedScopesOk() (*[]string, bool)` + +GetRequestedScopesOk returns a tuple with the RequestedScopes field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetRequestedScopes + +`func (o *FederationIdentityProvider) SetRequestedScopes(v []string)` + +SetRequestedScopes sets RequestedScopes field to given value. + +### HasRequestedScopes + +`func (o *FederationIdentityProvider) HasRequestedScopes() bool` + +HasRequestedScopes returns a boolean if a field has been set. +### GetUserClaim + +`func (o *FederationIdentityProvider) GetUserClaim() string` + +GetUserClaim returns the UserClaim field if non-nil, zero value otherwise. + +### GetUserClaimOk + +`func (o *FederationIdentityProvider) GetUserClaimOk() (*string, bool)` + +GetUserClaimOk returns a tuple with the UserClaim field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetUserClaim + +`func (o *FederationIdentityProvider) SetUserClaim(v string)` + +SetUserClaim sets UserClaim field to given value. + +### HasUserClaim + +`func (o *FederationIdentityProvider) HasUserClaim() bool` + +HasUserClaim returns a boolean if a field has been set. ### GetAcsUrl `func (o *FederationIdentityProvider) GetAcsUrl() string` @@ -419,126 +539,6 @@ SetStatus sets Status field to given value. `func (o *FederationIdentityProvider) HasStatus() bool` HasStatus returns a boolean if a field has been set. -### GetAudienceClaim - -`func (o *FederationIdentityProvider) GetAudienceClaim() []string` - -GetAudienceClaim returns the AudienceClaim field if non-nil, zero value otherwise. - -### GetAudienceClaimOk - -`func (o *FederationIdentityProvider) GetAudienceClaimOk() (*[]string, bool)` - -GetAudienceClaimOk returns a tuple with the AudienceClaim field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetAudienceClaim - -`func (o *FederationIdentityProvider) SetAudienceClaim(v []string)` - -SetAudienceClaim sets AudienceClaim field to given value. - -### HasAudienceClaim - -`func (o *FederationIdentityProvider) HasAudienceClaim() bool` - -HasAudienceClaim returns a boolean if a field has been set. -### GetClientId - -`func (o *FederationIdentityProvider) GetClientId() string` - -GetClientId returns the ClientId field if non-nil, zero value otherwise. - -### GetClientIdOk - -`func (o *FederationIdentityProvider) GetClientIdOk() (*string, bool)` - -GetClientIdOk returns a tuple with the ClientId field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetClientId - -`func (o *FederationIdentityProvider) SetClientId(v string)` - -SetClientId sets ClientId field to given value. - -### HasClientId - -`func (o *FederationIdentityProvider) HasClientId() bool` - -HasClientId returns a boolean if a field has been set. -### GetGroupsClaim - -`func (o *FederationIdentityProvider) GetGroupsClaim() string` - -GetGroupsClaim returns the GroupsClaim field if non-nil, zero value otherwise. - -### GetGroupsClaimOk - -`func (o *FederationIdentityProvider) GetGroupsClaimOk() (*string, bool)` - -GetGroupsClaimOk returns a tuple with the GroupsClaim field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetGroupsClaim - -`func (o *FederationIdentityProvider) SetGroupsClaim(v string)` - -SetGroupsClaim sets GroupsClaim field to given value. - -### HasGroupsClaim - -`func (o *FederationIdentityProvider) HasGroupsClaim() bool` - -HasGroupsClaim returns a boolean if a field has been set. -### GetRequestedScopes - -`func (o *FederationIdentityProvider) GetRequestedScopes() []string` - -GetRequestedScopes returns the RequestedScopes field if non-nil, zero value otherwise. - -### GetRequestedScopesOk - -`func (o *FederationIdentityProvider) GetRequestedScopesOk() (*[]string, bool)` - -GetRequestedScopesOk returns a tuple with the RequestedScopes field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRequestedScopes - -`func (o *FederationIdentityProvider) SetRequestedScopes(v []string)` - -SetRequestedScopes sets RequestedScopes field to given value. - -### HasRequestedScopes - -`func (o *FederationIdentityProvider) HasRequestedScopes() bool` - -HasRequestedScopes returns a boolean if a field has been set. -### GetUserClaim - -`func (o *FederationIdentityProvider) GetUserClaim() string` - -GetUserClaim returns the UserClaim field if non-nil, zero value otherwise. - -### GetUserClaimOk - -`func (o *FederationIdentityProvider) GetUserClaimOk() (*string, bool)` - -GetUserClaimOk returns a tuple with the UserClaim field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetUserClaim - -`func (o *FederationIdentityProvider) SetUserClaim(v string)` - -SetUserClaim sets UserClaim field to given value. - -### HasUserClaim - -`func (o *FederationIdentityProvider) HasUserClaim() bool` - -HasUserClaim returns a boolean if a field has been set. [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) diff --git a/docs/docs/GlobalClustersApi.md b/docs/docs/GlobalClustersApi.md index 7aa1255e..f700a8b1 100644 --- a/docs/docs/GlobalClustersApi.md +++ b/docs/docs/GlobalClustersApi.md @@ -34,7 +34,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -117,7 +117,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -200,7 +200,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -281,7 +281,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -361,7 +361,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/IdentityProviderUpdate.md b/docs/docs/IdentityProviderUpdate.md index 36a28692..86dafdb8 100644 --- a/docs/docs/IdentityProviderUpdate.md +++ b/docs/docs/IdentityProviderUpdate.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **GroupsClaim** | Pointer to **string** | Groups claim for the identity provider. | [optional] **RequestedScopes** | Pointer to **[]string** | Requested scopes for the identity provider. | [optional] **UserClaim** | Pointer to **string** | User claim for the identity provider. | [optional] -**PemFileInfo** | Pointer to [**PemFileInfo**](PemFileInfo.md) | | [optional] +**PemFileInfo** | Pointer to [**PemFileInfoUpdate**](PemFileInfoUpdate.md) | | [optional] **RequestBinding** | Pointer to **string** | SAML Authentication Request Protocol HTTP method binding (POST or REDIRECT) that Federated Authentication uses to send the authentication request. | [optional] **ResponseSignatureAlgorithm** | Pointer to **string** | Signature algorithm that Federated Authentication uses to encrypt the identity provider signature. | [optional] **Slug** | Pointer to **string** | Custom SSO Url for identity provider. | [optional] @@ -283,20 +283,20 @@ SetUserClaim sets UserClaim field to given value. HasUserClaim returns a boolean if a field has been set. ### GetPemFileInfo -`func (o *IdentityProviderUpdate) GetPemFileInfo() PemFileInfo` +`func (o *IdentityProviderUpdate) GetPemFileInfo() PemFileInfoUpdate` GetPemFileInfo returns the PemFileInfo field if non-nil, zero value otherwise. ### GetPemFileInfoOk -`func (o *IdentityProviderUpdate) GetPemFileInfoOk() (*PemFileInfo, bool)` +`func (o *IdentityProviderUpdate) GetPemFileInfoOk() (*PemFileInfoUpdate, bool)` GetPemFileInfoOk returns a tuple with the PemFileInfo field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetPemFileInfo -`func (o *IdentityProviderUpdate) SetPemFileInfo(v PemFileInfo)` +`func (o *IdentityProviderUpdate) SetPemFileInfo(v PemFileInfoUpdate)` SetPemFileInfo sets PemFileInfo field to given value. diff --git a/docs/docs/InboundControlPlaneCloudProviderIPAddresses.md b/docs/docs/InboundControlPlaneCloudProviderIPAddresses.md new file mode 100644 index 00000000..c7864d5f --- /dev/null +++ b/docs/docs/InboundControlPlaneCloudProviderIPAddresses.md @@ -0,0 +1,105 @@ +# InboundControlPlaneCloudProviderIPAddresses + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Aws** | Pointer to **map[string][]string** | Control plane IP addresses in AWS. Each key identifies an Amazon Web Services (AWS) region. Each value identifies control plane IP addresses in the AWS region. | [optional] [readonly] +**Azure** | Pointer to **map[string][]string** | Control plane IP addresses in Azure. Each key identifies an Azure region. Each value identifies control plane IP addresses in the Azure region. | [optional] [readonly] +**Gcp** | Pointer to **map[string][]string** | Control plane IP addresses in GCP. Each key identifies a Google Cloud (GCP) region. Each value identifies control plane IP addresses in the GCP region. | [optional] [readonly] + +## Methods + +### NewInboundControlPlaneCloudProviderIPAddresses + +`func NewInboundControlPlaneCloudProviderIPAddresses() *InboundControlPlaneCloudProviderIPAddresses` + +NewInboundControlPlaneCloudProviderIPAddresses instantiates a new InboundControlPlaneCloudProviderIPAddresses 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 + +### NewInboundControlPlaneCloudProviderIPAddressesWithDefaults + +`func NewInboundControlPlaneCloudProviderIPAddressesWithDefaults() *InboundControlPlaneCloudProviderIPAddresses` + +NewInboundControlPlaneCloudProviderIPAddressesWithDefaults instantiates a new InboundControlPlaneCloudProviderIPAddresses 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 + +### GetAws + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetAws() map[string][]string` + +GetAws returns the Aws field if non-nil, zero value otherwise. + +### GetAwsOk + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetAwsOk() (*map[string][]string, bool)` + +GetAwsOk returns a tuple with the Aws field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAws + +`func (o *InboundControlPlaneCloudProviderIPAddresses) SetAws(v map[string][]string)` + +SetAws sets Aws field to given value. + +### HasAws + +`func (o *InboundControlPlaneCloudProviderIPAddresses) HasAws() bool` + +HasAws returns a boolean if a field has been set. +### GetAzure + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetAzure() map[string][]string` + +GetAzure returns the Azure field if non-nil, zero value otherwise. + +### GetAzureOk + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetAzureOk() (*map[string][]string, bool)` + +GetAzureOk returns a tuple with the Azure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAzure + +`func (o *InboundControlPlaneCloudProviderIPAddresses) SetAzure(v map[string][]string)` + +SetAzure sets Azure field to given value. + +### HasAzure + +`func (o *InboundControlPlaneCloudProviderIPAddresses) HasAzure() bool` + +HasAzure returns a boolean if a field has been set. +### GetGcp + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetGcp() map[string][]string` + +GetGcp returns the Gcp field if non-nil, zero value otherwise. + +### GetGcpOk + +`func (o *InboundControlPlaneCloudProviderIPAddresses) GetGcpOk() (*map[string][]string, bool)` + +GetGcpOk returns a tuple with the Gcp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGcp + +`func (o *InboundControlPlaneCloudProviderIPAddresses) SetGcp(v map[string][]string)` + +SetGcp sets Gcp field to given value. + +### HasGcp + +`func (o *InboundControlPlaneCloudProviderIPAddresses) HasGcp() bool` + +HasGcp returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/InvoicesApi.md b/docs/docs/InvoicesApi.md index 8a673e24..e73bd3c4 100644 --- a/docs/docs/InvoicesApi.md +++ b/docs/docs/InvoicesApi.md @@ -35,7 +35,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -115,7 +115,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -196,7 +196,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -277,7 +277,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -358,7 +358,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -442,7 +442,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/LDAPConfigurationApi.md b/docs/docs/LDAPConfigurationApi.md index 2ba10f1a..60f75160 100644 --- a/docs/docs/LDAPConfigurationApi.md +++ b/docs/docs/LDAPConfigurationApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -102,7 +102,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -175,7 +175,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -251,7 +251,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -326,7 +326,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/LegacyBackupApi.md b/docs/docs/LegacyBackupApi.md index 0a5ac22a..151cc25a 100644 --- a/docs/docs/LegacyBackupApi.md +++ b/docs/docs/LegacyBackupApi.md @@ -39,7 +39,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -123,7 +123,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -207,7 +207,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -291,7 +291,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -375,7 +375,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -456,7 +456,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -543,7 +543,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -632,7 +632,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -721,7 +721,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -807,7 +807,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/LegacyBackupRestoreJobsApi.md b/docs/docs/LegacyBackupRestoreJobsApi.md index d546f516..f73e34a3 100644 --- a/docs/docs/LegacyBackupRestoreJobsApi.md +++ b/docs/docs/LegacyBackupRestoreJobsApi.md @@ -30,7 +30,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/MaintenanceWindowsApi.md b/docs/docs/MaintenanceWindowsApi.md index 9c12d59a..43b27593 100644 --- a/docs/docs/MaintenanceWindowsApi.md +++ b/docs/docs/MaintenanceWindowsApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -100,7 +100,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -173,7 +173,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -249,7 +249,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -320,7 +320,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/MongoDBCloudUsersApi.md b/docs/docs/MongoDBCloudUsersApi.md index 05843b06..0d0b43d2 100644 --- a/docs/docs/MongoDBCloudUsersApi.md +++ b/docs/docs/MongoDBCloudUsersApi.md @@ -27,7 +27,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -96,7 +96,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -169,7 +169,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/MonitoringAndLogsApi.md b/docs/docs/MonitoringAndLogsApi.md index 00ca1aee..48605917 100644 --- a/docs/docs/MonitoringAndLogsApi.md +++ b/docs/docs/MonitoringAndLogsApi.md @@ -38,7 +38,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -119,7 +119,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -198,7 +198,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -287,7 +287,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -376,7 +376,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -459,7 +459,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -550,7 +550,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -650,7 +650,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -736,7 +736,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -815,7 +815,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -902,7 +902,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -981,7 +981,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1068,7 +1068,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1165,7 +1165,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/NetworkPeeringApi.md b/docs/docs/NetworkPeeringApi.md index 5b2797ce..2b2eafd0 100644 --- a/docs/docs/NetworkPeeringApi.md +++ b/docs/docs/NetworkPeeringApi.md @@ -37,7 +37,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -112,7 +112,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -187,7 +187,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -263,7 +263,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -344,7 +344,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -419,7 +419,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -495,7 +495,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -571,7 +571,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -652,7 +652,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -733,7 +733,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -817,7 +817,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -900,7 +900,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -983,7 +983,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/OnlineArchiveApi.md b/docs/docs/OnlineArchiveApi.md index f8aa868c..6e2a728c 100644 --- a/docs/docs/OnlineArchiveApi.md +++ b/docs/docs/OnlineArchiveApi.md @@ -30,7 +30,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -108,7 +108,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -192,7 +192,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -274,7 +274,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -353,7 +353,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -435,7 +435,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/OrganizationInvitation.md b/docs/docs/OrganizationInvitation.md index f598fe93..1ad6f9f7 100644 --- a/docs/docs/OrganizationInvitation.md +++ b/docs/docs/OrganizationInvitation.md @@ -6,7 +6,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **CreatedAt** | Pointer to **time.Time** | Date and time when MongoDB Cloud sent the invitation. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly] **ExpiresAt** | Pointer to **time.Time** | Date and time when the invitation from MongoDB Cloud expires. MongoDB Cloud represents this timestamp in ISO 8601 format in UTC. | [optional] [readonly] -**GroupRoleAssignments** | Pointer to [**[]GroupRole**](GroupRole.md) | | [optional] +**GroupRoleAssignments** | Pointer to [**[]GroupRole**](GroupRole.md) | List of projects that the user will be added to when they accept their invitation to the organization. | [optional] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies this organization. | [optional] [readonly] **InviterUsername** | Pointer to **string** | Email address of the MongoDB Cloud user who sent the invitation to join the organization. | [optional] [readonly] **Links** | Pointer to [**[]Link**](Link.md) | List of one or more Uniform Resource Locators (URLs) that point to API sub-resources, related API resources, or both. RFC 5988 outlines these relationships. | [optional] [readonly] diff --git a/docs/docs/OrganizationInvitationRequest.md b/docs/docs/OrganizationInvitationRequest.md index 61a98a2c..bc0b0263 100644 --- a/docs/docs/OrganizationInvitationRequest.md +++ b/docs/docs/OrganizationInvitationRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**GroupRoleAssignments** | Pointer to [**[]OrganizationInvitationGroupRoleAssignmentsRequest**](OrganizationInvitationGroupRoleAssignmentsRequest.md) | | [optional] +**GroupRoleAssignments** | Pointer to [**[]OrganizationInvitationGroupRoleAssignmentsRequest**](OrganizationInvitationGroupRoleAssignmentsRequest.md) | List of projects that the user will be added to when they accept their invitation to the organization. | [optional] **Roles** | Pointer to **[]string** | One or more organization level roles to assign to the MongoDB Cloud user. | [optional] **TeamIds** | Pointer to **[]string** | List of teams to which you want to invite the desired MongoDB Cloud user. | [optional] **Username** | Pointer to **string** | Email address that belongs to the desired MongoDB Cloud user. | [optional] diff --git a/docs/docs/OrganizationInvitationUpdateRequest.md b/docs/docs/OrganizationInvitationUpdateRequest.md index 01916553..694f39a9 100644 --- a/docs/docs/OrganizationInvitationUpdateRequest.md +++ b/docs/docs/OrganizationInvitationUpdateRequest.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**GroupRoleAssignments** | Pointer to [**[]OrganizationInvitationGroupRoleAssignmentsRequest**](OrganizationInvitationGroupRoleAssignmentsRequest.md) | | [optional] +**GroupRoleAssignments** | Pointer to [**[]OrganizationInvitationGroupRoleAssignmentsRequest**](OrganizationInvitationGroupRoleAssignmentsRequest.md) | List of projects that the user will be added to when they accept their invitation to the organization. | [optional] **Roles** | Pointer to **[]string** | One or more organization level roles to assign to the MongoDB Cloud user. | [optional] **TeamIds** | Pointer to **[]string** | List of teams to which you want to invite the desired MongoDB Cloud user. | [optional] diff --git a/docs/docs/OrganizationsApi.md b/docs/docs/OrganizationsApi.md index 26a3d987..9a951c4d 100644 --- a/docs/docs/OrganizationsApi.md +++ b/docs/docs/OrganizationsApi.md @@ -41,7 +41,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -110,7 +110,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -185,7 +185,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -258,7 +258,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -334,7 +334,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -407,7 +407,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -488,7 +488,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -561,7 +561,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -636,7 +636,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -717,7 +717,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -796,7 +796,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -876,7 +876,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -957,7 +957,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1032,7 +1032,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1107,7 +1107,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1190,7 +1190,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1273,7 +1273,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/OutboundControlPlaneCloudProviderIPAddresses.md b/docs/docs/OutboundControlPlaneCloudProviderIPAddresses.md new file mode 100644 index 00000000..bd7e880e --- /dev/null +++ b/docs/docs/OutboundControlPlaneCloudProviderIPAddresses.md @@ -0,0 +1,105 @@ +# OutboundControlPlaneCloudProviderIPAddresses + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Aws** | Pointer to **map[string][]string** | Control plane IP addresses in AWS. Each key identifies an Amazon Web Services (AWS) region. Each value identifies control plane IP addresses in the AWS region. | [optional] [readonly] +**Azure** | Pointer to **map[string][]string** | Control plane IP addresses in Azure. Each key identifies an Azure region. Each value identifies control plane IP addresses in the Azure region. | [optional] [readonly] +**Gcp** | Pointer to **map[string][]string** | Control plane IP addresses in GCP. Each key identifies a Google Cloud (GCP) region. Each value identifies control plane IP addresses in the GCP region. | [optional] [readonly] + +## Methods + +### NewOutboundControlPlaneCloudProviderIPAddresses + +`func NewOutboundControlPlaneCloudProviderIPAddresses() *OutboundControlPlaneCloudProviderIPAddresses` + +NewOutboundControlPlaneCloudProviderIPAddresses instantiates a new OutboundControlPlaneCloudProviderIPAddresses 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 + +### NewOutboundControlPlaneCloudProviderIPAddressesWithDefaults + +`func NewOutboundControlPlaneCloudProviderIPAddressesWithDefaults() *OutboundControlPlaneCloudProviderIPAddresses` + +NewOutboundControlPlaneCloudProviderIPAddressesWithDefaults instantiates a new OutboundControlPlaneCloudProviderIPAddresses 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 + +### GetAws + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAws() map[string][]string` + +GetAws returns the Aws field if non-nil, zero value otherwise. + +### GetAwsOk + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAwsOk() (*map[string][]string, bool)` + +GetAwsOk returns a tuple with the Aws field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAws + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) SetAws(v map[string][]string)` + +SetAws sets Aws field to given value. + +### HasAws + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) HasAws() bool` + +HasAws returns a boolean if a field has been set. +### GetAzure + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAzure() map[string][]string` + +GetAzure returns the Azure field if non-nil, zero value otherwise. + +### GetAzureOk + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetAzureOk() (*map[string][]string, bool)` + +GetAzureOk returns a tuple with the Azure field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetAzure + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) SetAzure(v map[string][]string)` + +SetAzure sets Azure field to given value. + +### HasAzure + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) HasAzure() bool` + +HasAzure returns a boolean if a field has been set. +### GetGcp + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetGcp() map[string][]string` + +GetGcp returns the Gcp field if non-nil, zero value otherwise. + +### GetGcpOk + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) GetGcpOk() (*map[string][]string, bool)` + +GetGcpOk returns a tuple with the Gcp field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGcp + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) SetGcp(v map[string][]string)` + +SetGcp sets Gcp field to given value. + +### HasGcp + +`func (o *OutboundControlPlaneCloudProviderIPAddresses) HasGcp() bool` + +HasGcp returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/PemFileInfo.md b/docs/docs/PemFileInfo.md index 2e1814bd..d4a28d2a 100644 --- a/docs/docs/PemFileInfo.md +++ b/docs/docs/PemFileInfo.md @@ -4,8 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Certificates** | Pointer to [**[]X509Certificate**](X509Certificate.md) | | [optional] -**FileName** | Pointer to **string** | | [optional] +**Certificates** | Pointer to [**[]X509Certificate**](X509Certificate.md) | List of certificates in the file. | [optional] +**FileName** | Pointer to **string** | Human-readable label given to the file. | [optional] ## Methods diff --git a/docs/docs/PemFileInfoUpdate.md b/docs/docs/PemFileInfoUpdate.md new file mode 100644 index 00000000..a5c179de --- /dev/null +++ b/docs/docs/PemFileInfoUpdate.md @@ -0,0 +1,80 @@ +# PemFileInfoUpdate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Certificates** | Pointer to [**[]X509CertificateUpdate**](X509CertificateUpdate.md) | List of certificates in the file. | [optional] +**FileName** | Pointer to **string** | Human-readable label given to the file. | [optional] + +## Methods + +### NewPemFileInfoUpdate + +`func NewPemFileInfoUpdate() *PemFileInfoUpdate` + +NewPemFileInfoUpdate instantiates a new PemFileInfoUpdate 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 + +### NewPemFileInfoUpdateWithDefaults + +`func NewPemFileInfoUpdateWithDefaults() *PemFileInfoUpdate` + +NewPemFileInfoUpdateWithDefaults instantiates a new PemFileInfoUpdate 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 + +### GetCertificates + +`func (o *PemFileInfoUpdate) GetCertificates() []X509CertificateUpdate` + +GetCertificates returns the Certificates field if non-nil, zero value otherwise. + +### GetCertificatesOk + +`func (o *PemFileInfoUpdate) GetCertificatesOk() (*[]X509CertificateUpdate, bool)` + +GetCertificatesOk returns a tuple with the Certificates field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetCertificates + +`func (o *PemFileInfoUpdate) SetCertificates(v []X509CertificateUpdate)` + +SetCertificates sets Certificates field to given value. + +### HasCertificates + +`func (o *PemFileInfoUpdate) HasCertificates() bool` + +HasCertificates returns a boolean if a field has been set. +### GetFileName + +`func (o *PemFileInfoUpdate) GetFileName() string` + +GetFileName returns the FileName field if non-nil, zero value otherwise. + +### GetFileNameOk + +`func (o *PemFileInfoUpdate) GetFileNameOk() (*string, bool)` + +GetFileNameOk returns a tuple with the FileName field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetFileName + +`func (o *PemFileInfoUpdate) SetFileName(v string)` + +SetFileName sets FileName field to given value. + +### HasFileName + +`func (o *PemFileInfoUpdate) HasFileName() bool` + +HasFileName returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/docs/PerformanceAdvisorApi.md b/docs/docs/PerformanceAdvisorApi.md index a0603e20..913c3781 100644 --- a/docs/docs/PerformanceAdvisorApi.md +++ b/docs/docs/PerformanceAdvisorApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -100,7 +100,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -171,7 +171,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -255,7 +255,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -335,7 +335,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/PrivateEndpointServicesApi.md b/docs/docs/PrivateEndpointServicesApi.md index 2251d4c8..1ff01b9b 100644 --- a/docs/docs/PrivateEndpointServicesApi.md +++ b/docs/docs/PrivateEndpointServicesApi.md @@ -33,7 +33,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -114,7 +114,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -189,7 +189,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -271,7 +271,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -350,7 +350,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -432,7 +432,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -511,7 +511,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -584,7 +584,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -660,7 +660,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ProgrammaticAPIKeysApi.md b/docs/docs/ProgrammaticAPIKeysApi.md index aa6f181c..5c2c1666 100644 --- a/docs/docs/ProgrammaticAPIKeysApi.md +++ b/docs/docs/ProgrammaticAPIKeysApi.md @@ -43,7 +43,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -121,7 +121,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -196,7 +196,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -280,7 +280,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -355,7 +355,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -431,7 +431,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -510,7 +510,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -591,7 +591,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -670,7 +670,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -752,7 +752,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -831,7 +831,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -910,7 +910,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -986,7 +986,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1064,7 +1064,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ProjectIPAccessListApi.md b/docs/docs/ProjectIPAccessListApi.md index a5f9fc97..9e993d17 100644 --- a/docs/docs/ProjectIPAccessListApi.md +++ b/docs/docs/ProjectIPAccessListApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -110,7 +110,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -191,7 +191,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -267,7 +267,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -343,7 +343,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ProjectsApi.md b/docs/docs/ProjectsApi.md index 02ed91e4..03715db2 100644 --- a/docs/docs/ProjectsApi.md +++ b/docs/docs/ProjectsApi.md @@ -52,7 +52,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -127,7 +127,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -198,7 +198,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -273,7 +273,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -346,7 +346,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -427,7 +427,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -503,7 +503,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -576,7 +576,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -649,7 +649,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -730,7 +730,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -806,7 +806,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -879,7 +879,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -959,7 +959,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1032,7 +1032,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1115,7 +1115,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1188,7 +1188,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1267,7 +1267,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1345,7 +1345,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1428,7 +1428,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1503,7 +1503,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1578,7 +1578,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1661,7 +1661,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -1739,7 +1739,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/PushBasedLogExportApi.md b/docs/docs/PushBasedLogExportApi.md index a31de41f..93081423 100644 --- a/docs/docs/PushBasedLogExportApi.md +++ b/docs/docs/PushBasedLogExportApi.md @@ -33,7 +33,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -111,7 +111,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -187,7 +187,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -265,7 +265,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/Raw.md b/docs/docs/Raw.md index 3a70824b..314a4f50 100644 --- a/docs/docs/Raw.md +++ b/docs/docs/Raw.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the event. | [optional] [readonly] **OrgId** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the organization to which these events apply. | [optional] [readonly] **OrgName** | Pointer to **string** | Human-readable label that identifies the organization that contains the project. | [optional] -**Severity** | Pointer to **string** | | [optional] +**Severity** | Pointer to **string** | Severity of the event. | [optional] ## Methods diff --git a/docs/docs/RollingIndexApi.md b/docs/docs/RollingIndexApi.md index f9ea1114..3a90daeb 100644 --- a/docs/docs/RollingIndexApi.md +++ b/docs/docs/RollingIndexApi.md @@ -25,7 +25,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/RootApi.md b/docs/docs/RootApi.md index ee281c26..5b226441 100644 --- a/docs/docs/RootApi.md +++ b/docs/docs/RootApi.md @@ -30,7 +30,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ServerlessInstancesApi.md b/docs/docs/ServerlessInstancesApi.md index 7b0aa297..3bd5118c 100644 --- a/docs/docs/ServerlessInstancesApi.md +++ b/docs/docs/ServerlessInstancesApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -104,7 +104,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -180,7 +180,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -256,7 +256,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -335,7 +335,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ServerlessPrivateEndpointsApi.md b/docs/docs/ServerlessPrivateEndpointsApi.md index b6f70ca1..25969760 100644 --- a/docs/docs/ServerlessPrivateEndpointsApi.md +++ b/docs/docs/ServerlessPrivateEndpointsApi.md @@ -34,7 +34,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -117,7 +117,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -201,7 +201,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -280,7 +280,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -361,7 +361,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/SharedTierRestoreJobsApi.md b/docs/docs/SharedTierRestoreJobsApi.md index b5cde1c9..ecf1a59c 100644 --- a/docs/docs/SharedTierRestoreJobsApi.md +++ b/docs/docs/SharedTierRestoreJobsApi.md @@ -32,7 +32,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -115,7 +115,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -199,7 +199,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/SharedTierSnapshotsApi.md b/docs/docs/SharedTierSnapshotsApi.md index c9780493..dfe2501c 100644 --- a/docs/docs/SharedTierSnapshotsApi.md +++ b/docs/docs/SharedTierSnapshotsApi.md @@ -32,7 +32,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -115,7 +115,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -199,7 +199,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/StreamsApi.md b/docs/docs/StreamsApi.md index 7ad06733..a5d459bc 100644 --- a/docs/docs/StreamsApi.md +++ b/docs/docs/StreamsApi.md @@ -39,7 +39,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -122,7 +122,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -202,7 +202,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -286,7 +286,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -367,7 +367,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -451,7 +451,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -534,7 +534,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -619,7 +619,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -701,7 +701,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -787,7 +787,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/StreamsConnection.md b/docs/docs/StreamsConnection.md index deb95bf8..a1efe53e 100644 --- a/docs/docs/StreamsConnection.md +++ b/docs/docs/StreamsConnection.md @@ -8,6 +8,7 @@ Name | Type | Description | Notes **Name** | Pointer to **string** | Human-readable label that identifies the stream connection. | [optional] **Type** | Pointer to **string** | Type of the connection. Can be either Cluster or Kafka. | [optional] **ClusterName** | Pointer to **string** | Name of the cluster configured for this connection. | [optional] +**DbRoleToExecute** | Pointer to [**DBRoleToExecute**](DBRoleToExecute.md) | | [optional] **Authentication** | Pointer to [**StreamsKafkaAuthentication**](StreamsKafkaAuthentication.md) | | [optional] **BootstrapServers** | Pointer to **string** | Comma separated list of server addresses. | [optional] **Config** | Pointer to **map[string]string** | A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters. | [optional] @@ -128,6 +129,30 @@ SetClusterName sets ClusterName field to given value. `func (o *StreamsConnection) HasClusterName() bool` HasClusterName returns a boolean if a field has been set. +### GetDbRoleToExecute + +`func (o *StreamsConnection) GetDbRoleToExecute() DBRoleToExecute` + +GetDbRoleToExecute returns the DbRoleToExecute field if non-nil, zero value otherwise. + +### GetDbRoleToExecuteOk + +`func (o *StreamsConnection) GetDbRoleToExecuteOk() (*DBRoleToExecute, bool)` + +GetDbRoleToExecuteOk returns a tuple with the DbRoleToExecute field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetDbRoleToExecute + +`func (o *StreamsConnection) SetDbRoleToExecute(v DBRoleToExecute)` + +SetDbRoleToExecute sets DbRoleToExecute field to given value. + +### HasDbRoleToExecute + +`func (o *StreamsConnection) HasDbRoleToExecute() bool` + +HasDbRoleToExecute returns a boolean if a field has been set. ### GetAuthentication `func (o *StreamsConnection) GetAuthentication() StreamsKafkaAuthentication` diff --git a/docs/docs/TeamsApi.md b/docs/docs/TeamsApi.md index 2d60945c..1a68f221 100644 --- a/docs/docs/TeamsApi.md +++ b/docs/docs/TeamsApi.md @@ -37,7 +37,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -112,7 +112,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -190,7 +190,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -265,7 +265,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -341,7 +341,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -417,7 +417,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -493,7 +493,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -572,7 +572,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -651,7 +651,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -731,7 +731,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -805,7 +805,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -887,7 +887,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -965,7 +965,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ThirdPartyIntegrationsApi.md b/docs/docs/ThirdPartyIntegrationsApi.md index 39540948..346a4eac 100644 --- a/docs/docs/ThirdPartyIntegrationsApi.md +++ b/docs/docs/ThirdPartyIntegrationsApi.md @@ -29,7 +29,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -113,7 +113,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -189,7 +189,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -265,7 +265,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -349,7 +349,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/ThridPartyIntegration.md b/docs/docs/ThridPartyIntegration.md index 60c6caad..b32ad83b 100644 --- a/docs/docs/ThridPartyIntegration.md +++ b/docs/docs/ThridPartyIntegration.md @@ -14,12 +14,8 @@ Name | Type | Description | Notes **WriteToken** | Pointer to **string** | Insert key associated with your New Relic account. | [optional] **ServiceKey** | Pointer to **string** | Service key associated with your PagerDuty account. **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you: * View or edit the alert through the Atlas UI. * Query the alert for the notification through the Atlas Administration API. | [optional] **Enabled** | Pointer to **bool** | Flag that indicates whether someone has activated the Prometheus integration. | [optional] -**ListenAddress** | Pointer to **string** | Combination of IPv4 address and Internet Assigned Numbers Authority (IANA) port or the IANA port alone to which Prometheus binds to ingest MongoDB metrics. | [optional] [default to ":9216"] -**Password** | Pointer to **string** | | [optional] -**RateLimitInterval** | Pointer to **int** | | [optional] -**Scheme** | Pointer to **string** | Security Scheme to apply to HyperText Transfer Protocol (HTTP) traffic between Prometheus and MongoDB Cloud. | [optional] +**Password** | Pointer to **string** | Password needed to allow MongoDB Cloud to access your Prometheus account. | [optional] **ServiceDiscovery** | Pointer to **string** | Desired method to discover the Prometheus service. | [optional] -**TlsPemPath** | Pointer to **string** | Root-relative path to the Transport Layer Security (TLS) Privacy Enhanced Mail (PEM) key and certificate file on the host. | [optional] **Username** | Pointer to **string** | Human-readable label that identifies your Prometheus incoming webhook. | [optional] **ApiToken** | Pointer to **string** | Key that allows MongoDB Cloud to access your Slack account. **NOTE**: After you create a notification which requires an API or integration key, the key appears partially redacted when you: * View or edit the alert through the Atlas UI. * Query the alert for the notification through the Atlas Administration API. **IMPORTANT**: Slack integrations now use the OAuth2 verification method and must be initially configured, or updated from a legacy integration, through the Atlas third-party service integrations page. Legacy tokens will soon no longer be supported. | [optional] **ChannelName** | Pointer to **string** | Name of the Slack channel to which MongoDB Cloud sends alert notifications. | [optional] @@ -287,30 +283,6 @@ SetEnabled sets Enabled field to given value. `func (o *ThridPartyIntegration) HasEnabled() bool` HasEnabled returns a boolean if a field has been set. -### GetListenAddress - -`func (o *ThridPartyIntegration) GetListenAddress() string` - -GetListenAddress returns the ListenAddress field if non-nil, zero value otherwise. - -### GetListenAddressOk - -`func (o *ThridPartyIntegration) GetListenAddressOk() (*string, bool)` - -GetListenAddressOk returns a tuple with the ListenAddress field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetListenAddress - -`func (o *ThridPartyIntegration) SetListenAddress(v string)` - -SetListenAddress sets ListenAddress field to given value. - -### HasListenAddress - -`func (o *ThridPartyIntegration) HasListenAddress() bool` - -HasListenAddress returns a boolean if a field has been set. ### GetPassword `func (o *ThridPartyIntegration) GetPassword() string` @@ -335,54 +307,6 @@ SetPassword sets Password field to given value. `func (o *ThridPartyIntegration) HasPassword() bool` HasPassword returns a boolean if a field has been set. -### GetRateLimitInterval - -`func (o *ThridPartyIntegration) GetRateLimitInterval() int` - -GetRateLimitInterval returns the RateLimitInterval field if non-nil, zero value otherwise. - -### GetRateLimitIntervalOk - -`func (o *ThridPartyIntegration) GetRateLimitIntervalOk() (*int, bool)` - -GetRateLimitIntervalOk returns a tuple with the RateLimitInterval field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetRateLimitInterval - -`func (o *ThridPartyIntegration) SetRateLimitInterval(v int)` - -SetRateLimitInterval sets RateLimitInterval field to given value. - -### HasRateLimitInterval - -`func (o *ThridPartyIntegration) HasRateLimitInterval() bool` - -HasRateLimitInterval returns a boolean if a field has been set. -### GetScheme - -`func (o *ThridPartyIntegration) GetScheme() string` - -GetScheme returns the Scheme field if non-nil, zero value otherwise. - -### GetSchemeOk - -`func (o *ThridPartyIntegration) GetSchemeOk() (*string, bool)` - -GetSchemeOk returns a tuple with the Scheme field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetScheme - -`func (o *ThridPartyIntegration) SetScheme(v string)` - -SetScheme sets Scheme field to given value. - -### HasScheme - -`func (o *ThridPartyIntegration) HasScheme() bool` - -HasScheme returns a boolean if a field has been set. ### GetServiceDiscovery `func (o *ThridPartyIntegration) GetServiceDiscovery() string` @@ -407,30 +331,6 @@ SetServiceDiscovery sets ServiceDiscovery field to given value. `func (o *ThridPartyIntegration) HasServiceDiscovery() bool` HasServiceDiscovery returns a boolean if a field has been set. -### GetTlsPemPath - -`func (o *ThridPartyIntegration) GetTlsPemPath() string` - -GetTlsPemPath returns the TlsPemPath field if non-nil, zero value otherwise. - -### GetTlsPemPathOk - -`func (o *ThridPartyIntegration) GetTlsPemPathOk() (*string, bool)` - -GetTlsPemPathOk returns a tuple with the TlsPemPath field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetTlsPemPath - -`func (o *ThridPartyIntegration) SetTlsPemPath(v string)` - -SetTlsPemPath sets TlsPemPath field to given value. - -### HasTlsPemPath - -`func (o *ThridPartyIntegration) HasTlsPemPath() bool` - -HasTlsPemPath returns a boolean if a field has been set. ### GetUsername `func (o *ThridPartyIntegration) GetUsername() string` diff --git a/docs/docs/X509AuthenticationApi.md b/docs/docs/X509AuthenticationApi.md index a75cdaed..7b36fd90 100644 --- a/docs/docs/X509AuthenticationApi.md +++ b/docs/docs/X509AuthenticationApi.md @@ -27,7 +27,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -105,7 +105,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { @@ -178,7 +178,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/docs/docs/X509Certificate.md b/docs/docs/X509Certificate.md index eb813eb3..430198ce 100644 --- a/docs/docs/X509Certificate.md +++ b/docs/docs/X509Certificate.md @@ -4,9 +4,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**Content** | Pointer to **string** | | [optional] -**NotAfter** | Pointer to **time.Time** | | [optional] -**NotBefore** | Pointer to **time.Time** | | [optional] +**NotAfter** | Pointer to **time.Time** | Latest date that the certificate is valid. | [optional] +**NotBefore** | Pointer to **time.Time** | Earliest date that the certificate is valid. | [optional] ## Methods @@ -27,30 +26,6 @@ NewX509CertificateWithDefaults instantiates a new X509Certificate 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 -### GetContent - -`func (o *X509Certificate) GetContent() string` - -GetContent returns the Content field if non-nil, zero value otherwise. - -### GetContentOk - -`func (o *X509Certificate) GetContentOk() (*string, bool)` - -GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise -and a boolean to check if the value has been set. - -### SetContent - -`func (o *X509Certificate) SetContent(v string)` - -SetContent sets Content field to given value. - -### HasContent - -`func (o *X509Certificate) HasContent() bool` - -HasContent returns a boolean if a field has been set. ### GetNotAfter `func (o *X509Certificate) GetNotAfter() time.Time` diff --git a/docs/docs/X509CertificateUpdate.md b/docs/docs/X509CertificateUpdate.md new file mode 100644 index 00000000..2fd80e72 --- /dev/null +++ b/docs/docs/X509CertificateUpdate.md @@ -0,0 +1,105 @@ +# X509CertificateUpdate + +## Properties + +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**Content** | Pointer to **string** | Certificate content. | [optional] +**NotAfter** | Pointer to **time.Time** | Latest date that the certificate is valid. | [optional] +**NotBefore** | Pointer to **time.Time** | Earliest date that the certificate is valid. | [optional] + +## Methods + +### NewX509CertificateUpdate + +`func NewX509CertificateUpdate() *X509CertificateUpdate` + +NewX509CertificateUpdate instantiates a new X509CertificateUpdate 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 + +### NewX509CertificateUpdateWithDefaults + +`func NewX509CertificateUpdateWithDefaults() *X509CertificateUpdate` + +NewX509CertificateUpdateWithDefaults instantiates a new X509CertificateUpdate 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 + +### GetContent + +`func (o *X509CertificateUpdate) GetContent() string` + +GetContent returns the Content field if non-nil, zero value otherwise. + +### GetContentOk + +`func (o *X509CertificateUpdate) GetContentOk() (*string, bool)` + +GetContentOk returns a tuple with the Content field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetContent + +`func (o *X509CertificateUpdate) SetContent(v string)` + +SetContent sets Content field to given value. + +### HasContent + +`func (o *X509CertificateUpdate) HasContent() bool` + +HasContent returns a boolean if a field has been set. +### GetNotAfter + +`func (o *X509CertificateUpdate) GetNotAfter() time.Time` + +GetNotAfter returns the NotAfter field if non-nil, zero value otherwise. + +### GetNotAfterOk + +`func (o *X509CertificateUpdate) GetNotAfterOk() (*time.Time, bool)` + +GetNotAfterOk returns a tuple with the NotAfter field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotAfter + +`func (o *X509CertificateUpdate) SetNotAfter(v time.Time)` + +SetNotAfter sets NotAfter field to given value. + +### HasNotAfter + +`func (o *X509CertificateUpdate) HasNotAfter() bool` + +HasNotAfter returns a boolean if a field has been set. +### GetNotBefore + +`func (o *X509CertificateUpdate) GetNotBefore() time.Time` + +GetNotBefore returns the NotBefore field if non-nil, zero value otherwise. + +### GetNotBeforeOk + +`func (o *X509CertificateUpdate) GetNotBeforeOk() (*time.Time, bool)` + +GetNotBeforeOk returns a tuple with the NotBefore field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetNotBefore + +`func (o *X509CertificateUpdate) SetNotBefore(v time.Time)` + +SetNotBefore sets NotBefore field to given value. + +### HasNotBefore + +`func (o *X509CertificateUpdate) HasNotBefore() bool` + +HasNotBefore returns a boolean if a field has been set. + +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/examples/aws_cluster/aws.go b/examples/aws_cluster/aws.go index ccfc7744..ca84457b 100644 --- a/examples/aws_cluster/aws.go +++ b/examples/aws_cluster/aws.go @@ -10,8 +10,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20231115002/admin" - "go.mongodb.org/atlas-sdk/v20231115002/examples" + "go.mongodb.org/atlas-sdk/v20231115003/admin" + "go.mongodb.org/atlas-sdk/v20231115003/examples" ) /* diff --git a/examples/basic/basic.go b/examples/basic/basic.go index a510c953..baaa8d62 100644 --- a/examples/basic/basic.go +++ b/examples/basic/basic.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20231115002/admin" - "go.mongodb.org/atlas-sdk/v20231115002/examples" + "go.mongodb.org/atlas-sdk/v20231115003/admin" + "go.mongodb.org/atlas-sdk/v20231115003/examples" ) /* diff --git a/examples/db_users/db_users.go b/examples/db_users/db_users.go index 9d3d3193..60eeb0e5 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/v20231115002/admin" - "go.mongodb.org/atlas-sdk/v20231115002/examples" + "go.mongodb.org/atlas-sdk/v20231115003/admin" + "go.mongodb.org/atlas-sdk/v20231115003/examples" ) const ( diff --git a/examples/download/downloadLogs.go b/examples/download/downloadLogs.go index 89031e56..e48ed1a6 100644 --- a/examples/download/downloadLogs.go +++ b/examples/download/downloadLogs.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20231115002/admin" - "go.mongodb.org/atlas-sdk/v20231115002/examples" + "go.mongodb.org/atlas-sdk/v20231115003/admin" + "go.mongodb.org/atlas-sdk/v20231115003/examples" ) /* diff --git a/examples/errors.go b/examples/errors.go index 540fdbd3..88ae6f5b 100644 --- a/examples/errors.go +++ b/examples/errors.go @@ -5,7 +5,7 @@ import ( "log" "net/http" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func HandleErr(err error, resp *http.Response) { diff --git a/examples/regions/regions.go b/examples/regions/regions.go index 713dc960..bb7e1600 100644 --- a/examples/regions/regions.go +++ b/examples/regions/regions.go @@ -7,8 +7,8 @@ import ( "context" - "go.mongodb.org/atlas-sdk/v20231115002/admin" - "go.mongodb.org/atlas-sdk/v20231115002/examples" + "go.mongodb.org/atlas-sdk/v20231115003/admin" + "go.mongodb.org/atlas-sdk/v20231115003/examples" ) /* diff --git a/go.mod b/go.mod index 68dc46a7..29ebf197 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module go.mongodb.org/atlas-sdk/v20231115002 +module go.mongodb.org/atlas-sdk/v20231115003 go 1.20 diff --git a/internal/core/version.go b/internal/core/version.go index 4b334421..96b8597a 100644 --- a/internal/core/version.go +++ b/internal/core/version.go @@ -5,7 +5,7 @@ package core // For more information please see: https://github.com/mongodb/atlas-sdk-go/blob/main/docs/doc_1_concepts.md const ( // SDK release tag version. - Version = "v20231115002.1.0" + Version = "v20231115003.0.0" // Resource Version. Resource = "20231115" ) diff --git a/openapi/atlas-api-transformed.yaml b/openapi/atlas-api-transformed.yaml index 7537cf5f..ee2e95b5 100644 --- a/openapi/atlas-api-transformed.yaml +++ b/openapi/atlas-api-transformed.yaml @@ -24,7 +24,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: 3710477668012519a21034ce7c15e886a3bd6067 + x-xgen-sha: d05d140a757e46f9ce25ee52b17ae91335003c32 servers: - url: https://cloud.mongodb.com tags: @@ -243,6 +243,8 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" + security: + - DigestAuth: [] summary: Return the status of this MongoDB application tags: - Root @@ -359,6 +361,8 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" + security: + - DigestAuth: [] summary: Return All Connected Org Configs from the Federation tags: - Federated Authentication @@ -867,6 +871,8 @@ paths: $ref: "#/components/responses/notFound" "500": $ref: "#/components/responses/internalServerError" + security: + - DigestAuth: [] summary: Return All Projects tags: - Projects @@ -956,6 +962,8 @@ paths: $ref: "#/components/responses/conflict" "500": $ref: "#/components/responses/internalServerError" + security: + - DigestAuth: [] summary: Return One Project using Its Name tags: - Projects @@ -1861,7 +1869,7 @@ paths: specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have - the Project User Admin role. + the Project Owner role. externalDocs: description: Programmatic API Keys url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key @@ -1893,7 +1901,7 @@ paths: specified project. Users with the Project Owner role in the project associated with the API key can use the organization API key to access the resources. To use this resource, the requesting API Key must have - the Project User Admin role. + the Project Owner role. operationId: createProjectApiKey parameters: - $ref: "#/components/parameters/groupId" @@ -1925,8 +1933,7 @@ paths: "/api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}": delete: description: Removes one organization API key from the specified project. To use - this resource, the requesting API Key must have the Project User Admin - role. + this resource, the requesting API Key must have the Project Owner role. externalDocs: description: Programmatic API Keys url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key @@ -2016,7 +2023,7 @@ paths: project. Users with the Project Owner role in the project associated with the API key can then use the organization API key to access the resources. To use this resource, the requesting API Key must have the - Project User Admin role. + Project Owner role. operationId: addProjectApiKey parameters: - $ref: "#/components/parameters/groupId" @@ -7021,7 +7028,7 @@ paths: description: Creates one database user in the specified project. required: true responses: - "200": + "201": content: application/vnd.atlas.2023-01-01+json: schema: @@ -7347,7 +7354,7 @@ paths: description: Generates one X.509 certificate for the specified MongoDB user. required: true responses: - "200": + "201": content: application/vnd.atlas.2023-01-01+json: schema: @@ -8667,7 +8674,7 @@ paths: You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource. - **NOTE**: Migrating time-series collections is not yet supported on MongoDB v6.0 or higher. Migrations on MongoDB v6.0 or higher will skip any time-series collections on the source cluster. + **NOTE**: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster. operationId: createPushMigration parameters: - $ref: "#/components/parameters/groupId" @@ -10876,6 +10883,8 @@ paths: $ref: "#/components/responses/unauthorized" "500": $ref: "#/components/responses/internalServerError" + security: + - DigestAuth: [] summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs @@ -14901,6 +14910,25 @@ paths: tags: - Organizations x-xgen-experimental: true + /api/atlas/v2/unauth/controlPlaneIPAddresses: + get: + description: Returns all control plane IP addresses. + operationId: returnAllControlPlaneIPAddresses + parameters: [] + responses: + "200": + content: + application/vnd.atlas.2023-11-15+json: + schema: + $ref: "#/components/schemas/ControlPlaneIPAddresses" + x-xgen-version: 2023-11-15 + description: OK + "500": + $ref: "#/components/responses/internalServerError" + security: + - Unauthenticated: [] + summary: Return All Control Plane IP Addresses + x-xgen-experimental: true /api/atlas/v2/users: post: description: >- @@ -16319,6 +16347,7 @@ components: - publicKey ApiKeyUserDetails: type: object + description: Details of the Programmatic API Keys. properties: desc: type: string @@ -16473,6 +16502,7 @@ components: | `REGION` | Simulates a cluster outage for a region.| AtlasOrganization: type: object + description: Details that describe the organization. properties: id: type: string @@ -16847,6 +16877,7 @@ components: type: string description: Human-readable label that identifies the collection for which you created the online archive. + readOnly: true collectionType: type: string default: STANDARD @@ -16856,12 +16887,11 @@ components: If you set this parameter to `TIMESERIES`, set `"criteria.type" : "date"` and `"criteria.dateFormat" : "ISODATE"`. + readOnly: true criteria: $ref: "#/components/schemas/Criteria" dataExpirationRule: $ref: "#/components/schemas/DataExpirationRule" - dataProcessRegion: - $ref: "#/components/schemas/DataProcessRegion" dataSetName: type: string description: Human-readable label that identifies the dataset that Atlas @@ -16871,6 +16901,7 @@ components: type: string description: Human-readable label of the database that contains the collection that contains the online archive. + readOnly: true groupId: type: string description: Unique 24-hexadecimal digit string that identifies the project that @@ -16899,6 +16930,7 @@ components: items: $ref: "#/components/schemas/PartitionField" minItems: 1 + readOnly: true paused: type: boolean description: Flag that indicates whether this online archive exists in the @@ -18112,7 +18144,9 @@ components: emailAddress: type: string format: email + deprecated: true description: Email address that belongs to the MongoDB Cloud user. + readOnly: true firstName: type: string description: First or given name that belongs to the MongoDB Cloud user. @@ -19372,13 +19406,19 @@ components: readOnly: true inbound: type: array - description: List of inbound IP addresses associated with the cluster. + description: List of inbound IP addresses associated with the cluster. If your + network allows outbound HTTP requests only to specific IP addresses, + you must allow access to the following IP addresses so that your + application can connect to your Atlas cluster. items: type: string readOnly: true outbound: type: array - description: List of outbound IP addresses associated with the cluster. + description: List of outbound IP addresses associated with the cluster. If your + network allows inbound HTTP requests only from specific IP + addresses, you must allow access from the following IP addresses so + that your Atlas cluster can communicate with your webhooks and KMS. items: type: string readOnly: true @@ -19575,8 +19615,7 @@ components: readOnly: true type: type: string - description: "Type of the index. Warning: vectorSearch is not yet generally - available. Default type is search." + description: Type of the index. Default type is search. analyzer: type: string default: lucene.standard @@ -19828,12 +19867,13 @@ components: properties: dataAccessIdentityProviderIds: type: array - description: The collection of unique ids of the identity providers for org's - data access. + description: The collection of unique ids representing the identity providers + that can be used for data access in this organization. items: type: string - description: Unique 24-hexadecimal digit string that identifies the id of the - identity provider for org's data access. + description: Unique 24-hexadecimal digit string that represents the id of the + identity providers that can be used for data access in this + organization. example: 32b6e34b3d91647abb20e7b8 maxLength: 24 minLength: 24 @@ -19869,10 +19909,12 @@ components: postAuthRoleGrants: type: array description: Atlas roles that are granted to a user in this organization after - authenticating. + authenticating. Roles are a human-readable label that identifies the + collection of privileges that MongoDB Cloud grants a specific + MongoDB Cloud user. These roles can only be organization specific + roles. items: type: string - description: Organization role the user has in Atlas. uniqueItems: true roleMappings: type: array @@ -19890,6 +19932,15 @@ components: - domainRestrictionEnabled - identityProviderId - orgId + ControlPlaneIPAddresses: + type: object + description: List of IP addresses in the Atlas control plane. + properties: + inbound: + $ref: "#/components/schemas/InboundControlPlaneCloudProviderIPAddresses" + outbound: + $ref: "#/components/schemas/OutboundControlPlaneCloudProviderIPAddresses" + title: Control Plane IP Addresses CostExplorerFilterRequestBody: type: object description: Request body for a cost explorer query. @@ -19955,6 +20006,7 @@ components: type: object CreateAtlasOrganizationApiKey: type: object + description: Details of the programmatic API key to be created. properties: desc: type: string @@ -20128,6 +20180,28 @@ components: This parameter returns an empty object if no custom zones exist. items: $ref: "#/components/schemas/ZoneMapping" + DBRoleToExecute: + type: object + description: The name of a Built in or Custom DB Role to connect to an Atlas Cluster. + properties: + links: + type: array + 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 + role: + type: string + description: The name of the role to use. Can be a built in role or a custom role. + type: + type: string + description: Type of the DB role. Can be either BuiltIn or Custom. + title: DB Role Type DBUserTLSX509Settings: type: object description: Settings to configure TLS Certificates for database users. @@ -20309,10 +20383,11 @@ components: properties: level: type: string - description: "[Read Concern - level](https://www.mongodb.com/docs/manual/reference/read-concern/#\ - read-concern-levels) that specifies the consistency and availability - of the data read." + description: Read Concern level that specifies the consistency and availability + of the data read. + externalDocs: + description: Read Concern Level + url: https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels DataLakeAtlasStoreReadPreference: type: object description: MongoDB Cloud cluster read preference, which describes how to route @@ -22671,6 +22746,26 @@ components: protocol: type: string description: The protocol of the identity provider. + audienceClaim: + type: array + description: Identifier of the intended recipient of the token. + items: + type: string + clientId: + type: string + description: Client identifier that is assigned to an application by the + Identity Provider. + groupsClaim: + type: string + description: Identifier of the claim which contains IdP Group IDs in the token. + requestedScopes: + type: array + description: The description of an IdP, configured by customers. + items: + type: string + userClaim: + type: string + description: Identifier of the claim which contains the user ID in the token. acsUrl: type: string description: URL that points to where to send the SAML response. @@ -22699,26 +22794,6 @@ components: status: type: string description: String enum that indicates whether the identity provider is active. - audienceClaim: - type: array - description: Identifier of the intended recipient of the token. - items: - type: string - clientId: - type: string - description: Client identifier that is assigned to an application by the - Identity Provider. - groupsClaim: - type: string - description: Identifier of the claim which contains IdP Group IDs in the token. - requestedScopes: - type: array - description: The description of an IdP, configured by customers. - items: - type: string - userClaim: - type: string - description: Identifier of the claim which contains the user ID in the token. required: - id - oktaIdpId @@ -23378,7 +23453,7 @@ components: type: string description: User claim for the identity provider. pemFileInfo: - $ref: "#/components/schemas/PemFileInfo" + $ref: "#/components/schemas/PemFileInfoUpdate" requestBinding: type: string description: SAML Authentication Request Protocol HTTP method binding (POST or @@ -23403,6 +23478,70 @@ components: status: type: string description: String enum that indicates whether the identity provider is active. + InboundControlPlaneCloudProviderIPAddresses: + type: object + description: List of inbound IP addresses to the Atlas control plane, + categorized by cloud provider. If your application allows outbound HTTP + requests only to specific IP addresses, you must allow access to the + following IP addresses so that your API requests can reach the Atlas + control plane. + properties: + aws: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP + addresses in the AWS region. + items: + type: string + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane + IP addresses in the AWS region. + readOnly: true + readOnly: true + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP + addresses in the AWS region. + readOnly: true + azure: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + items: + type: string + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + readOnly: true + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + gcp: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + items: + type: string + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + readOnly: true + readOnly: true + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP addresses + in the GCP region. + readOnly: true + readOnly: true + title: Inbound Control Plane IP Addresses By Cloud Provider IndexOptions: type: object description: One or more settings that determine how the MongoDB Cloud creates @@ -25478,6 +25617,8 @@ components: readOnly: true groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: "#/components/schemas/GroupRole" uniqueItems: true @@ -25567,6 +25708,8 @@ components: properties: groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: "#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest" roles: @@ -25597,6 +25740,8 @@ components: properties: groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: "#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest" roles: @@ -25643,6 +25788,70 @@ components: the Atlas deployment to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access\ /." + OutboundControlPlaneCloudProviderIPAddresses: + type: object + description: List of outbound IP addresses from the Atlas control plane, + categorized by cloud provider. If your network allows inbound HTTP + requests only from specific IP addresses, you must allow access from the + following IP addresses so that Atlas can communicate with your webhooks + and KMS. + properties: + aws: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP + addresses in the AWS region. + items: + type: string + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane + IP addresses in the AWS region. + readOnly: true + readOnly: true + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP + addresses in the AWS region. + readOnly: true + azure: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + items: + type: string + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + readOnly: true + description: Control plane IP addresses in Azure. Each key identifies an Azure + region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + gcp: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + items: + type: string + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + readOnly: true + readOnly: true + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP addresses + in the GCP region. + readOnly: true + readOnly: true + title: Outbound Control Plane IP Addresses By Cloud Provider PaginatedHostView_Atlas: type: object properties: @@ -25672,14 +25881,28 @@ components: readOnly: true PemFileInfo: type: object - description: PEM file information for the identity provider's certificates. + description: PEM file information for the identity provider's current certificates. properties: certificates: type: array + description: List of certificates in the file. items: $ref: "#/components/schemas/X509Certificate" fileName: type: string + description: Human-readable label given to the file. + PemFileInfoUpdate: + type: object + description: PEM file information for the identity provider's certificates. + properties: + certificates: + type: array + description: List of certificates in the file. + items: + $ref: "#/components/schemas/X509CertificateUpdate" + fileName: + type: string + description: Human-readable label given to the file. PerformanceAdvisorIndex: type: object properties: @@ -26950,6 +27173,8 @@ components: clusterName: type: string description: Name of the cluster configured for this connection. + dbRoleToExecute: + $ref: "#/components/schemas/DBRoleToExecute" authentication: $ref: "#/components/schemas/StreamsKafkaAuthentication" bootstrapServers: @@ -26972,6 +27197,8 @@ components: readOnly: true StreamsDataProcessRegion: type: object + description: Information about the cloud provider region in which MongoDB Cloud + processes the stream. properties: cloudProvider: type: string @@ -27529,31 +27756,14 @@ components: type: boolean description: Flag that indicates whether someone has activated the Prometheus integration. - listenAddress: - type: string - default: :9216 - description: Combination of IPv4 address and Internet Assigned Numbers Authority - (IANA) port or the IANA port alone to which Prometheus binds to - ingest MongoDB metrics. password: type: string + description: Password needed to allow MongoDB Cloud to access your Prometheus + account. writeOnly: true - rateLimitInterval: - type: integer - format: int32 - writeOnly: true - scheme: - type: string - description: Security Scheme to apply to HyperText Transfer Protocol (HTTP) - traffic between Prometheus and MongoDB Cloud. serviceDiscovery: type: string description: Desired method to discover the Prometheus service. - tlsPemPath: - type: string - description: Root-relative path to the Transport Layer Security (TLS) Privacy - Enhanced Mail (PEM) key and certificate file on the host. - example: /path/to/file username: type: string description: Human-readable label that identifies your Prometheus incoming @@ -27943,16 +28153,30 @@ components: - match title: User to Distinguished Name Mapping X509Certificate: + type: object + properties: + notAfter: + type: string + format: date-time + description: Latest date that the certificate is valid. + notBefore: + type: string + format: date-time + description: Earliest date that the certificate is valid. + X509CertificateUpdate: type: object properties: content: type: string + description: Certificate content. notAfter: type: string format: date-time + description: Latest date that the certificate is valid. notBefore: type: string format: date-time + description: Earliest date that the certificate is valid. ZoneMapping: type: object description: Human-readable label that identifies the subset of a global cluster. @@ -28043,6 +28267,7 @@ components: minLength: 1 severity: type: string + description: Severity of the event. readOnly: true AWSCustomDNSEnabled: type: object diff --git a/openapi/atlas-api.yaml b/openapi/atlas-api.yaml index 84e27f44..b6b951bf 100644 --- a/openapi/atlas-api.yaml +++ b/openapi/atlas-api.yaml @@ -19,7 +19,7 @@ info: termsOfService: https://www.mongodb.com/mongodb-management-service-terms-and-conditions title: MongoDB Atlas Administration API version: "2.0" - x-xgen-sha: 3710477668012519a21034ce7c15e886a3bd6067 + x-xgen-sha: d05d140a757e46f9ce25ee52b17ae91335003c32 servers: - url: https://cloud.mongodb.com tags: @@ -217,6 +217,8 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' + security: + - DigestAuth: [] summary: Return the status of this MongoDB application tags: - Root @@ -334,6 +336,8 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' + security: + - DigestAuth: [] summary: Return All Connected Org Configs from the Federation tags: - Federated Authentication @@ -837,6 +841,8 @@ paths: $ref: '#/components/responses/notFound' "500": $ref: '#/components/responses/internalServerError' + security: + - DigestAuth: [] summary: Return All Projects tags: - Projects @@ -929,6 +935,8 @@ paths: $ref: '#/components/responses/conflict' "500": $ref: '#/components/responses/internalServerError' + security: + - DigestAuth: [] summary: Return One Project using Its Name tags: - Projects @@ -1806,8 +1814,7 @@ paths: description: "Returns all organization API keys that you assigned to the specified\ \ project. Users with the Project Owner role in the project associated with\ \ the API key can use the organization API key to access the resources. To\ - \ use this resource, the requesting API Key must have the Project User Admin\ - \ role." + \ use this resource, the requesting API Key must have the Project Owner role." externalDocs: description: Programmatic API Keys url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key @@ -1840,8 +1847,8 @@ paths: description: "Creates and assigns the specified organization API key to the\ \ specified project. Users with the Project Owner role in the project associated\ \ with the API key can use the organization API key to access the resources.\ - \ To use this resource, the requesting API Key must have the Project User\ - \ Admin role." + \ To use this resource, the requesting API Key must have the Project Owner\ + \ role." operationId: createProjectApiKey parameters: - $ref: '#/components/parameters/envelope' @@ -1875,8 +1882,7 @@ paths: /api/atlas/v2/groups/{groupId}/apiKeys/{apiUserId}: delete: description: "Removes one organization API key from the specified project. To\ - \ use this resource, the requesting API Key must have the Project User Admin\ - \ role." + \ use this resource, the requesting API Key must have the Project Owner role." externalDocs: description: Programmatic API Keys url: https://docs.atlas.mongodb.com/configure-api-access/#std-label-atlas-prog-api-key @@ -1969,7 +1975,7 @@ paths: description: "Assigns the specified organization API key to the specified project.\ \ Users with the Project Owner role in the project associated with the API\ \ key can then use the organization API key to access the resources. To use\ - \ this resource, the requesting API Key must have the Project User Admin role." + \ this resource, the requesting API Key must have the Project Owner role." operationId: addProjectApiKey parameters: - $ref: '#/components/parameters/envelope' @@ -7113,7 +7119,7 @@ paths: description: Creates one database user in the specified project. required: true responses: - "200": + "201": content: application/vnd.atlas.2023-01-01+json: schema: @@ -7399,7 +7405,7 @@ paths: description: Generates one X.509 certificate for the specified MongoDB user. required: true responses: - "200": + "201": content: application/vnd.atlas.2023-01-01+json: schema: @@ -8804,7 +8810,7 @@ paths: You can use this API endpoint for push live migrations only. Your API Key must have the Organization Owner role to successfully call this resource. - **NOTE**: Migrating time-series collections is not yet supported on MongoDB v6.0 or higher. Migrations on MongoDB v6.0 or higher will skip any time-series collections on the source cluster. + **NOTE**: Migrating time-series collections is not yet supported on MongoDB 6.0 or higher. Migrations on MongoDB 6.0 or higher will skip any time-series collections on the source cluster. operationId: createPushMigration parameters: - $ref: '#/components/parameters/groupId' @@ -11124,6 +11130,8 @@ paths: $ref: '#/components/responses/unauthorized' "500": $ref: '#/components/responses/internalServerError' + security: + - DigestAuth: [] summary: Return Measurements of One Database for One MongoDB Process tags: - Monitoring and Logs @@ -15372,6 +15380,25 @@ paths: summary: Update Organization Roles for One MongoDB Cloud User tags: - Organizations + /api/atlas/v2/unauth/controlPlaneIPAddresses: + get: + description: Returns all control plane IP addresses. + operationId: returnAllControlPlaneIPAddresses + parameters: + - $ref: '#/components/parameters/envelope' + responses: + "200": + content: + application/vnd.atlas.2023-11-15+json: + schema: + $ref: '#/components/schemas/ControlPlaneIPAddresses' + x-xgen-version: 2023-11-15 + description: OK + "500": + $ref: '#/components/responses/internalServerError' + security: + - Unauthenticated: [] + summary: Return All Control Plane IP Addresses /api/atlas/v2/users: post: description: |- @@ -16918,6 +16945,7 @@ components: for the specified project. eventTypeName: type: string + description: Event type name. groupId: type: string description: Unique 24-hexadecimal digit string that identifies the project @@ -17766,6 +17794,7 @@ components: - publicKey ApiKeyUserDetails: type: object + description: Details of the Programmatic API Keys. properties: desc: type: string @@ -18804,6 +18833,7 @@ components: - REGION AtlasOrganization: type: object + description: Details that describe the organization. properties: id: type: string @@ -20003,6 +20033,7 @@ components: type: string description: Human-readable label that identifies the collection for which you created the online archive. + readOnly: true collectionType: type: string default: STANDARD @@ -20013,12 +20044,11 @@ components: enum: - TIMESERIES - STANDARD + readOnly: true criteria: $ref: '#/components/schemas/CriteriaView' dataExpirationRule: $ref: '#/components/schemas/DataExpirationRuleView' - dataProcessRegion: - $ref: '#/components/schemas/DataProcessRegionView' dataSetName: type: string description: Human-readable label that identifies the dataset that Atlas @@ -20028,6 +20058,7 @@ components: type: string description: Human-readable label of the database that contains the collection that contains the online archive. + readOnly: true groupId: type: string description: Unique 24-hexadecimal digit string that identifies the project @@ -20055,6 +20086,7 @@ components: items: $ref: '#/components/schemas/PartitionFieldView' minItems: 1 + readOnly: true paused: type: boolean description: "Flag that indicates whether this online archive exists in\ @@ -20973,6 +21005,8 @@ components: - UNLINKED_ORG - ORG_LINKED_TO_PAYING_ORG - ORG_UNLINKED_FROM_PAYING_ORG + - ORG_UNLINK_REQUESTED + - ORG_UNLINK_CANCELLED - PAYMENT_UPDATED_THROUGH_API - AZURE_BILLING_ACCOUNT_CREDIT_ISSUED - CREDIT_START_DATE_MODIFIED @@ -20988,6 +21022,8 @@ components: - TARGETED_REBILL_EXECUTED - LEGACY_REBILL_EXECUTED - EVERGREEN_DEAL_CANCELLED + - GRACE_PERIOD_ACTIVATED + - GRACE_PERIOD_NO_LONGER_IN_EFFECT example: CHARGE_SUCCEEDED title: Billing Event Types BillingEventViewForNdsGroup: @@ -21672,7 +21708,9 @@ components: emailAddress: type: string format: email + deprecated: true description: Email address that belongs to the MongoDB Cloud user. + readOnly: true firstName: type: string description: First or given name that belongs to the MongoDB Cloud user. @@ -21912,6 +21950,7 @@ components: enum: - NONE - IDP_GROUP + - USER password: type: string description: "Alphanumeric string that authenticates this database user\ @@ -23404,13 +23443,19 @@ components: readOnly: true inbound: type: array - description: List of inbound IP addresses associated with the cluster. + description: "List of inbound IP addresses associated with the cluster.\ + \ If your network allows outbound HTTP requests only to specific IP addresses,\ + \ you must allow access to the following IP addresses so that your application\ + \ can connect to your Atlas cluster." items: type: string readOnly: true outbound: type: array - description: List of outbound IP addresses associated with the cluster. + description: "List of outbound IP addresses associated with the cluster.\ + \ If your network allows inbound HTTP requests only from specific IP addresses,\ + \ you must allow access from the following IP addresses so that your Atlas\ + \ cluster can communicate with your webhooks and KMS." items: type: string readOnly: true @@ -23586,8 +23631,7 @@ components: readOnly: true type: type: string - description: "Type of the index. Warning: vectorSearch is not yet generally\ - \ available. Default type is search." + description: Type of the index. Default type is search. enum: - search - vectorSearch @@ -23877,12 +23921,12 @@ components: properties: dataAccessIdentityProviderIds: type: array - description: The collection of unique ids of the identity providers for - org's data access. + description: The collection of unique ids representing the identity providers + that can be used for data access in this organization. items: type: string - description: Unique 24-hexadecimal digit string that identifies the id - of the identity provider for org's data access. + description: Unique 24-hexadecimal digit string that represents the id + of the identity providers that can be used for data access in this organization. example: 32b6e34b3d91647abb20e7b8 maxLength: 24 minLength: 24 @@ -23918,67 +23962,18 @@ components: postAuthRoleGrants: type: array description: Atlas roles that are granted to a user in this organization - after authenticating. + after authenticating. Roles are a human-readable label that identifies + the collection of privileges that MongoDB Cloud grants a specific MongoDB + Cloud user. These roles can only be organization specific roles. items: type: string - description: Organization role the user has in Atlas. enum: - - GLOBAL_AUTOMATION_ADMIN - - GLOBAL_BACKUP_ADMIN - - GLOBAL_METERING_USER - - GLOBAL_METRICS_INTERNAL_USER - - GLOBAL_MONITORING_ADMIN - - GLOBAL_OWNER - - GLOBAL_READ_ONLY - - GLOBAL_USER_ADMIN - - GLOBAL_USER_READ_ONLY - - GLOBAL_ACCOUNT_SUSPENSION_ADMIN - - GLOBAL_BILLING_ADMIN - - GLOBAL_BILLING_READ_ONLY - - GLOBAL_LEGAL_ADMIN - - GLOBAL_FEATURE_FLAG_ADMIN - - GLOBAL_APP_SETTING_ADMIN - - GLOBAL_ATLAS_TSE - - GLOBAL_ATLAS_OPERATOR - - GLOBAL_ATLAS_MONGODB_ROLLOUT_ADMIN - - GLOBAL_ATLAS_ADMIN - - GLOBAL_STITCH_ADMIN - - GLOBAL_CHARTS_ADMIN - - GLOBAL_EVENT_ADMIN - - GLOBAL_PARTNER_ADMIN - - GLOBAL_EXPERIMENT_ASSIGNMENT_ADMIN - - GLOBAL_STITCH_INTERNAL_ADMIN - - GLOBAL_BAAS_FEATURE_ADMIN - - GLOBAL_BAAS_SUPPORT - - GLOBAL_SECURITY_ADMIN - - GLOBAL_QUERY_ENGINE_INTERNAL_ADMIN - - GLOBAL_PROACTIVE_SUPPORT_ADMIN - - GLOBAL_INFRASTRUCTURE_INTERNAL_ADMIN - - GLOBAL_SALESFORCE_ADMIN - - GLOBAL_SALESFORCE_READ_ONLY - - GLOBAL_APP_SERVICES_CLUSTER_DEBUG_DATA_ACCESS - - GLOBAL_CRASH_LOG_ANALYST + - ORG_OWNER - ORG_MEMBER - - ORG_READ_ONLY - - ORG_BILLING_ADMIN - ORG_GROUP_CREATOR - - ORG_OWNER + - ORG_BILLING_ADMIN - ORG_BILLING_READ_ONLY - - ORG_TEAM_MEMBERS_ADMIN - - GROUP_AUTOMATION_ADMIN - - GROUP_BACKUP_ADMIN - - GROUP_MONITORING_ADMIN - - GROUP_OWNER - - GROUP_READ_ONLY - - GROUP_USER_ADMIN - - GROUP_BILLING_ADMIN - - GROUP_DATA_ACCESS_ADMIN - - GROUP_DATA_ACCESS_READ_ONLY - - GROUP_DATA_ACCESS_READ_WRITE - - GROUP_CHARTS_ADMIN - - GROUP_CLUSTER_MANAGER - - GROUP_SEARCH_INDEX_EDITOR - - GROUP_STREAM_PROCESSING_OWNER + - ORG_READ_ONLY uniqueItems: true roleMappings: type: array @@ -23996,6 +23991,15 @@ components: - domainRestrictionEnabled - identityProviderId - orgId + ControlPlaneIPAddresses: + type: object + description: List of IP addresses in the Atlas control plane. + properties: + inbound: + $ref: '#/components/schemas/InboundControlPlaneCloudProviderIPAddresses' + outbound: + $ref: '#/components/schemas/OutboundControlPlaneCloudProviderIPAddresses' + title: Control Plane IP Addresses CostExplorerFilterRequestBody: type: object description: Request body for a cost explorer query. @@ -24063,6 +24067,7 @@ components: - BI Connector - Premium Features - Atlas Data Federation + - Atlas Stream Processing - App Services - Charts - Cloud Manager @@ -24194,6 +24199,7 @@ components: title: AWS CreateAtlasOrganizationApiKey: type: object + description: Details of the programmatic API key to be created. properties: desc: type: string @@ -24451,6 +24457,33 @@ components: This parameter returns an empty object if no custom zones exist. items: $ref: '#/components/schemas/ZoneMapping' + DBRoleToExecute: + type: object + description: The name of a Built in or Custom DB Role to connect to an Atlas + Cluster. + properties: + links: + type: array + 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 + role: + type: string + description: The name of the role to use. Can be a built in role or a custom + role. + type: + type: string + description: Type of the DB role. Can be either BuiltIn or Custom. + enum: + - BUILT_IN + - CUSTOM + title: DB Role Type DBUserTLSX509Settings: type: object description: Settings to configure TLS Certificates for database users. @@ -24913,14 +24946,17 @@ components: properties: level: type: string - description: "[Read Concern level](https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels)\ - \ that specifies the consistency and availability of the data read." + description: Read Concern level that specifies the consistency and availability + of the data read. enum: - LOCAL - MAJORITY - LINEARIZABLE - SNAPSHOT - AVAILABLE + externalDocs: + description: Read Concern Level + url: https://www.mongodb.com/docs/manual/reference/read-concern/#read-concern-levels DataLakeAtlasStoreReadPreference: type: object description: "MongoDB Cloud cluster read preference, which describes how to\ @@ -26576,6 +26612,7 @@ components: - USERS_WITHOUT_MULTI_FACTOR_AUTH - USERS_WITHOUT_MULTIFACTOR_AUTH - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED title: Group Event Types - type: string enum: @@ -26585,6 +26622,9 @@ components: - SAMPLE_DATASET_LOAD_REQUESTED - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL - TENANT_UPGRADE_TO_SERVERLESS_FAILED + - NETWORK_PERMISSION_ENTRY_ADDED + - NETWORK_PERMISSION_ENTRY_REMOVED + - NETWORK_PERMISSION_ENTRY_UPDATED title: NDS Audit Types - type: string enum: @@ -26743,6 +26783,7 @@ components: - USERS_WITHOUT_MULTI_FACTOR_AUTH - USERS_WITHOUT_MULTIFACTOR_AUTH - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED title: Group Event Types - type: string enum: @@ -26752,6 +26793,9 @@ components: - SAMPLE_DATASET_LOAD_REQUESTED - TENANT_UPGRADE_TO_SERVERLESS_SUCCESSFUL - TENANT_UPGRADE_TO_SERVERLESS_FAILED + - NETWORK_PERMISSION_ENTRY_ADDED + - NETWORK_PERMISSION_ENTRY_REMOVED + - NETWORK_PERMISSION_ENTRY_UPDATED title: NDS Audit Types - type: string enum: @@ -27022,6 +27066,8 @@ components: - USERS_WITHOUT_MULTIFACTOR_AUTH - M0_CLUSTERS_PER_GROUP_WITHIN_LIMIT - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_RESTORED title: Group Event Types - type: string enum: @@ -27101,6 +27147,10 @@ components: - INTERFACE_ENDPOINT_DELETED - INTERFACE_ENDPOINT_PATCHED title: Private Link Audit Types + - type: string + enum: + - PROACTIVE_OPERATION_EVENT_LOGGED + title: Proactive Operation Event Types - type: string enum: - SERVERLESS_DEPLOYMENT_CREATED @@ -28887,6 +28937,8 @@ components: - USERS_WITHOUT_MULTIFACTOR_AUTH - M0_CLUSTERS_PER_GROUP_WITHIN_LIMIT - MAX_M0_CLUSTERS_PER_GROUP_EXCEEDED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_DENIED + - ENCRYPTION_AT_REST_KMS_NETWORK_ACCESS_RESTORED title: Group Event Types - type: string enum: @@ -28923,6 +28975,7 @@ components: - type: string enum: - CLUSTER_CREATED + - CLUSTER_RESURRECTED - CLUSTER_READY - CLUSTER_UPDATE_SUBMITTED - CLUSTER_UPDATE_SUBMITTED_INTERNAL @@ -29013,6 +29066,7 @@ components: - TEST_FAILOVER_REQUESTED - USER_SECURITY_SETTINGS_UPDATED - AUDIT_LOG_CONFIGURATION_UPDATED + - STREAMS_AUDIT_LOG_CONFIGURATION_UPDATED - ENCRYPTION_AT_REST_CONFIGURATION_UPDATED - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_FAILED - SET_IMAGE_OVERRIDES @@ -29098,6 +29152,16 @@ components: - PUSH_BASED_LOG_EXPORT_DISABLED - AZURE_CLUSTER_PREFERRED_STORAGE_TYPE_UPDATED - CONTAINER_DELETED + - REGIONALIZED_PRIVATE_ENDPOINT_MODE_ENABLED + - REGIONALIZED_PRIVATE_ENDPOINT_MODE_DISABLED + - STREAM_TENANT_CREATED + - STREAM_TENANT_UPDATED + - STREAM_TENANT_DELETED + - STREAM_TENANT_CONNECTIONS_LISTED + - STREAM_TENANT_CONNECTION_UPDATED + - STREAM_TENANT_CONNECTION_DELETED + - STREAM_TENANT_CONNECTION_CREATED + - STREAM_TENANT_CONNECTION_VIEWED title: NDS Audit Types - type: string enum: @@ -29197,6 +29261,10 @@ components: - INTERFACE_ENDPOINT_DELETED - INTERFACE_ENDPOINT_PATCHED title: Private Link Audit Types + - type: string + enum: + - PROACTIVE_OPERATION_EVENT_LOGGED + title: Proactive Operation Event Types - type: string enum: - PRIMARY_ELECTED @@ -29350,6 +29418,8 @@ components: - UNLINKED_ORG - ORG_LINKED_TO_PAYING_ORG - ORG_UNLINKED_FROM_PAYING_ORG + - ORG_UNLINK_REQUESTED + - ORG_UNLINK_CANCELLED - PAYMENT_UPDATED_THROUGH_API - AZURE_BILLING_ACCOUNT_CREDIT_ISSUED - CREDIT_START_DATE_MODIFIED @@ -29365,6 +29435,8 @@ components: - TARGETED_REBILL_EXECUTED - LEGACY_REBILL_EXECUTED - EVERGREEN_DEAL_CANCELLED + - GRACE_PERIOD_ACTIVATED + - GRACE_PERIOD_NO_LONGER_IN_EFFECT title: Billing Event Types - type: string enum: @@ -29851,9 +29923,6 @@ components: OIDC: '#/components/schemas/FederationOidcIdentityProvider' SAML: '#/components/schemas/FederationSamlIdentityProvider' propertyName: protocol - oneOf: - - $ref: '#/components/schemas/FederationSamlIdentityProvider' - - $ref: '#/components/schemas/FederationOidcIdentityProvider' properties: associatedDomains: type: array @@ -32551,6 +32620,69 @@ components: protocol: type: string description: The protocol for the identity provider. + InboundControlPlaneCloudProviderIPAddresses: + type: object + description: "List of inbound IP addresses to the Atlas control plane, categorized\ + \ by cloud provider. If your application allows outbound HTTP requests only\ + \ to specific IP addresses, you must allow access to the following IP addresses\ + \ so that your API requests can reach the Atlas control plane." + properties: + aws: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in AWS. Each key identifies an + Amazon Web Services (AWS) region. Each value identifies control plane + IP addresses in the AWS region. + items: + type: string + description: Control plane IP addresses in AWS. Each key identifies + an Amazon Web Services (AWS) region. Each value identifies control + plane IP addresses in the AWS region. + readOnly: true + readOnly: true + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP addresses + in the AWS region. + readOnly: true + azure: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in Azure. Each key identifies + an Azure region. Each value identifies control plane IP addresses in + the Azure region. + items: + type: string + description: Control plane IP addresses in Azure. Each key identifies + an Azure region. Each value identifies control plane IP addresses + in the Azure region. + readOnly: true + readOnly: true + description: Control plane IP addresses in Azure. Each key identifies an + Azure region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + gcp: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in GCP. Each key identifies a + Google Cloud (GCP) region. Each value identifies control plane IP addresses + in the GCP region. + items: + type: string + description: Control plane IP addresses in GCP. Each key identifies + a Google Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + readOnly: true + readOnly: true + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP addresses in + the GCP region. + readOnly: true + readOnly: true + title: Inbound Control Plane IP Addresses By Cloud Provider IndexOptions: type: object description: One or more settings that determine how the MongoDB Cloud creates @@ -33059,8 +33191,8 @@ components: - ATLAS_GCP_INSTANCE_M300_LOW_CPU_PAUSED - ATLAS_GCP_INSTANCE_M400_LOW_CPU_PAUSED - ATLAS_GCP_INSTANCE_M600_LOW_CPU_PAUSED - - ATLAS_GCP_STORAGE_SSD - ATLAS_GCP_DATA_TRANSFER_INTERNET + - ATLAS_GCP_STORAGE_SSD - ATLAS_GCP_DATA_TRANSFER_INTER_CONNECT - ATLAS_GCP_DATA_TRANSFER_INTER_ZONE - ATLAS_GCP_DATA_TRANSFER_INTER_REGION @@ -33250,6 +33382,10 @@ components: - REALM_APP_DATA_TRANSFER_FREE_TIER - REALM_APP_DATA_TRANSFER - GCP_SNAPSHOT_COPY_DISK + - ATLAS_AWS_STREAM_PROCESSING_INSTANCE_SP30 + - ATLAS_AZURE_STREAM_PROCESSING_INSTANCE_SP30 + - ATLAS_AWS_STREAM_PROCESSING_DATA_TRANSFER + - ATLAS_AZURE_STREAM_PROCESSING_DATA_TRANSFER readOnly: true startDate: type: string @@ -34810,6 +34946,7 @@ components: - GIGABYTES - GIGABYTES_PER_HOUR - MEGABYTES_PER_SECOND + - MICROSECONDS - MILLISECONDS - PERCENT - SCALAR @@ -34842,6 +34979,7 @@ components: - GIGABYTES - GIGABYTES_PER_HOUR - MEGABYTES_PER_SECOND + - MICROSECONDS - MILLISECONDS - PERCENT - SCALAR @@ -35014,6 +35152,7 @@ components: description: Unique identifier of event type. enum: - CLUSTER_CREATED + - CLUSTER_RESURRECTED - CLUSTER_READY - CLUSTER_UPDATE_SUBMITTED - CLUSTER_UPDATE_SUBMITTED_INTERNAL @@ -35104,6 +35243,7 @@ components: - TEST_FAILOVER_REQUESTED - USER_SECURITY_SETTINGS_UPDATED - AUDIT_LOG_CONFIGURATION_UPDATED + - STREAMS_AUDIT_LOG_CONFIGURATION_UPDATED - ENCRYPTION_AT_REST_CONFIGURATION_UPDATED - ENCRYPTION_AT_REST_CONFIGURATION_VALIDATION_FAILED - SET_IMAGE_OVERRIDES @@ -35189,6 +35329,16 @@ components: - PUSH_BASED_LOG_EXPORT_DISABLED - AZURE_CLUSTER_PREFERRED_STORAGE_TYPE_UPDATED - CONTAINER_DELETED + - REGIONALIZED_PRIVATE_ENDPOINT_MODE_ENABLED + - REGIONALIZED_PRIVATE_ENDPOINT_MODE_DISABLED + - STREAM_TENANT_CREATED + - STREAM_TENANT_UPDATED + - STREAM_TENANT_DELETED + - STREAM_TENANT_CONNECTIONS_LISTED + - STREAM_TENANT_CONNECTION_UPDATED + - STREAM_TENANT_CONNECTION_DELETED + - STREAM_TENANT_CONNECTION_CREATED + - STREAM_TENANT_CONNECTION_VIEWED example: CLUSTER_CREATED title: NDS Audit Types NDSAuditTypeViewForOrg: @@ -36980,6 +37130,8 @@ components: readOnly: true groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: '#/components/schemas/GroupRole' uniqueItems: true @@ -37089,6 +37241,8 @@ components: properties: groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: '#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest' roles: @@ -37125,6 +37279,8 @@ components: properties: groupRoleAssignments: type: array + description: List of projects that the user will be added to when they accept + their invitation to the organization. items: $ref: '#/components/schemas/OrganizationInvitationGroupRoleAssignmentsRequest' roles: @@ -37172,6 +37328,69 @@ components: \ without explicit permission. Once this setting is turned on, you can\ \ grant MongoDB Support a 24-hour bypass access to the Atlas deployment\ \ to resolve support issues. To learn more, see: https://www.mongodb.com/docs/atlas/security-restrict-support-access/." + OutboundControlPlaneCloudProviderIPAddresses: + type: object + description: "List of outbound IP addresses from the Atlas control plane, categorized\ + \ by cloud provider. If your network allows inbound HTTP requests only from\ + \ specific IP addresses, you must allow access from the following IP addresses\ + \ so that Atlas can communicate with your webhooks and KMS." + properties: + aws: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in AWS. Each key identifies an + Amazon Web Services (AWS) region. Each value identifies control plane + IP addresses in the AWS region. + items: + type: string + description: Control plane IP addresses in AWS. Each key identifies + an Amazon Web Services (AWS) region. Each value identifies control + plane IP addresses in the AWS region. + readOnly: true + readOnly: true + description: Control plane IP addresses in AWS. Each key identifies an Amazon + Web Services (AWS) region. Each value identifies control plane IP addresses + in the AWS region. + readOnly: true + azure: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in Azure. Each key identifies + an Azure region. Each value identifies control plane IP addresses in + the Azure region. + items: + type: string + description: Control plane IP addresses in Azure. Each key identifies + an Azure region. Each value identifies control plane IP addresses + in the Azure region. + readOnly: true + readOnly: true + description: Control plane IP addresses in Azure. Each key identifies an + Azure region. Each value identifies control plane IP addresses in the + Azure region. + readOnly: true + gcp: + type: object + additionalProperties: + type: array + description: Control plane IP addresses in GCP. Each key identifies a + Google Cloud (GCP) region. Each value identifies control plane IP addresses + in the GCP region. + items: + type: string + description: Control plane IP addresses in GCP. Each key identifies + a Google Cloud (GCP) region. Each value identifies control plane IP + addresses in the GCP region. + readOnly: true + readOnly: true + description: Control plane IP addresses in GCP. Each key identifies a Google + Cloud (GCP) region. Each value identifies control plane IP addresses in + the GCP region. + readOnly: true + readOnly: true + title: Outbound Control Plane IP Addresses By Cloud Provider PagerDuty: type: object description: Details to integrate one PagerDuty account with one MongoDB Cloud @@ -38518,14 +38737,28 @@ components: title: Online Archive Partition PemFileInfo: type: object - description: PEM file information for the identity provider's certificates. + description: PEM file information for the identity provider's current certificates. properties: certificates: type: array + description: List of certificates in the file. items: $ref: '#/components/schemas/X509Certificate' fileName: type: string + description: Human-readable label given to the file. + PemFileInfoUpdate: + type: object + description: PEM file information for the identity provider's certificates. + properties: + certificates: + type: array + description: List of certificates in the file. + items: + $ref: '#/components/schemas/X509CertificateUpdate' + fileName: + type: string + description: Human-readable label given to the file. PerformanceAdvisorIndex: type: object properties: @@ -38944,37 +39177,17 @@ components: type: boolean description: Flag that indicates whether someone has activated the Prometheus integration. - listenAddress: - type: string - default: :9216 - description: Combination of IPv4 address and Internet Assigned Numbers Authority - (IANA) port or the IANA port alone to which Prometheus binds to ingest - MongoDB metrics. password: type: string + description: Password needed to allow MongoDB Cloud to access your Prometheus + account. writeOnly: true - rateLimitInterval: - type: integer - format: int32 - writeOnly: true - scheme: - type: string - description: Security Scheme to apply to HyperText Transfer Protocol (HTTP) - traffic between Prometheus and MongoDB Cloud. - enum: - - http - - https serviceDiscovery: type: string description: Desired method to discover the Prometheus service. enum: - http - file - tlsPemPath: - type: string - description: Root-relative path to the Transport Layer Security (TLS) Privacy - Enhanced Mail (PEM) key and certificate file on the host. - example: /path/to/file type: type: string description: Human-readable label that identifies the service to which you @@ -38989,7 +39202,6 @@ components: example: prom_user_618d48e05277a606ed2496fe required: - enabled - - scheme - serviceDiscovery - username title: PROMETHEUS @@ -40293,7 +40505,7 @@ components: - type: object properties: pemFileInfo: - $ref: '#/components/schemas/PemFileInfo' + $ref: '#/components/schemas/PemFileInfoUpdate' requestBinding: type: string description: SAML Authentication Request Protocol HTTP method binding @@ -41630,6 +41842,8 @@ components: clusterName: type: string description: Name of the cluster configured for this connection. + dbRoleToExecute: + $ref: '#/components/schemas/DBRoleToExecute' StreamsConnection: type: object description: Settings that define a connection to an external data store. @@ -41666,6 +41880,8 @@ components: readOnly: true StreamsDataProcessRegion: type: object + description: Information about the cloud provider region in which MongoDB Cloud + processes the stream. properties: cloudProvider: type: string @@ -43806,16 +44022,30 @@ components: \ parameters. The weight must be an integer between 1 and 99,999. MongoDB\ \ 5.0 and later can apply **weights** to **text** indexes only." X509Certificate: + type: object + properties: + notAfter: + type: string + format: date-time + description: Latest date that the certificate is valid. + notBefore: + type: string + format: date-time + description: Earliest date that the certificate is valid. + X509CertificateUpdate: type: object properties: content: type: string + description: Certificate content. notAfter: type: string format: date-time + description: Latest date that the certificate is valid. notBefore: type: string format: date-time + description: Earliest date that the certificate is valid. ZoneMapping: type: object description: Human-readable label that identifies the subset of a global cluster. @@ -43855,6 +44085,9 @@ components: type: object description: Filter that processes normalized text with the ICU Normalizer. It is based on Lucene's ICUNormalizer2CharFilter. + externalDocs: + description: ICUNormalizer2CharFilter + url: https://lucene.apache.org/core/8_3_0/analyzers-icu/org/apache/lucene/analysis/icu/ICUNormalizer2CharFilter.html properties: type: type: string @@ -43978,6 +44211,7 @@ components: minLength: 1 severity: type: string + description: Severity of the event. enum: - INFO - WARNING diff --git a/test/example_client_test.go b/test/example_client_test.go index fd8e15c1..7dd17a7f 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/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func ExampleNewClient() { diff --git a/tools/config/go-templates/api_doc.mustache b/tools/config/go-templates/api_doc.mustache index ebc696f0..429d3e6b 100644 --- a/tools/config/go-templates/api_doc.mustache +++ b/tools/config/go-templates/api_doc.mustache @@ -36,7 +36,7 @@ import ( "fmt" "os" - "go.mongodb.org/atlas-sdk/v20231115002/admin" + "go.mongodb.org/atlas-sdk/v20231115003/admin" ) func main() { diff --git a/tools/config/go-templates/atlas_client.mustache b/tools/config/go-templates/atlas_client.mustache index df380b7d..8087767c 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/v20231115002/admin" +{{! X-XGEN-CUSTOM }}package {{packageName}} // import "go.mongodb.org/atlas-sdk/v20231115003/admin" import ( "errors" @@ -8,7 +8,7 @@ import ( "strings" "github.com/mongodb-forks/digest" - "go.mongodb.org/atlas-sdk/v20231115002/internal/core" + "go.mongodb.org/atlas-sdk/v20231115003/internal/core" ) const ( diff --git a/tools/releaser/breaking_changes/v20231115003.md b/tools/releaser/breaking_changes/v20231115003.md new file mode 100644 index 00000000..ce0f177a --- /dev/null +++ b/tools/releaser/breaking_changes/v20231115003.md @@ -0,0 +1,61 @@ +# Breaking Changes + +## SDK changes + +go.mongodb.org/atlas-sdk/v20231115003/admin + +## Breaking changes + +### General Changes + +All arrays in the SDK are now represented as pointers: + +```golang +type Data struct { + Results *[]DataRole `json:"results,omitempty"` +} +``` + +For more info see our best [practices documentation](https://github.com/mongodb/atlas-sdk-go/blob/1cb4807ea6b1b01dbafa839f0b2917aa59da7989/docs/doc_5_best_practices.md) + +### Changes in API + +- (\*BackupOnlineArchive).GetDataProcessRegion: removed +- (\*BackupOnlineArchive).GetDataProcessRegionOk: removed +- (\*BackupOnlineArchive).HasDataProcessRegion: removed +- (\*BackupOnlineArchive).SetDataProcessRegion: removed +- (\*FederationIdentityProvider).GetPemFileInfo: changed from func() PemFileInfo to func() PemFileInfo +- (*FederationIdentityProvider).GetPemFileInfoOk: changed from func() (*PemFileInfo, bool) to func() (\*PemFileInfo, bool) +- (\*FederationIdentityProvider).SetPemFileInfo: changed from func(PemFileInfo) to func(PemFileInfo) +- (\*ThridPartyIntegration).GetListenAddress: removed +- (\*ThridPartyIntegration).GetListenAddressOk: removed +- (\*ThridPartyIntegration).GetRateLimitInterval: removed +- (\*ThridPartyIntegration).GetRateLimitIntervalOk: removed +- (\*ThridPartyIntegration).GetScheme: removed +- (\*ThridPartyIntegration).GetSchemeOk: removed +- (\*ThridPartyIntegration).GetTlsPemPath: removed +- (\*ThridPartyIntegration).GetTlsPemPathOk: removed +- (\*ThridPartyIntegration).HasListenAddress: removed +- (\*ThridPartyIntegration).HasRateLimitInterval: removed +- (\*ThridPartyIntegration).HasScheme: removed +- (\*ThridPartyIntegration).HasTlsPemPath: removed +- (\*ThridPartyIntegration).SetListenAddress: removed +- (\*ThridPartyIntegration).SetRateLimitInterval: removed +- (\*ThridPartyIntegration).SetScheme: removed +- (\*ThridPartyIntegration).SetTlsPemPath: removed +- BackupOnlineArchive.DataProcessRegion: removed +- FederationIdentityProvider.PemFileInfo: changed from *PemFileInfo to *PemFileInfo +- NewPemFileInfo: changed from func() *PemFileInfo to func() *PemFileInfo +- NewPemFileInfoWithDefaults: changed from func() *PemFileInfo to func() *PemFileInfo +- NewX509Certificate: changed from func() *X509Certificate to func() *X509Certificate +- NewX509CertificateWithDefaults: changed from func() *X509Certificate to func() *X509Certificate +- PemFileInfo: changed from PemFileInfo to PemFileInfo +- ThridPartyIntegration.ListenAddress: removed +- ThridPartyIntegration.RateLimitInterval: removed +- ThridPartyIntegration.Scheme: removed +- ThridPartyIntegration.TlsPemPath: removed +- X509Certificate: changed from X509Certificate to X509Certificate + +## API Changelog + +https://www.mongodb.com/docs/atlas/reference/api-resources-spec/changelog