From ecfd1a3aa5864bb4c909310b8ae5ab070962f6a5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 30 Apr 2024 09:42:42 +0200 Subject: [PATCH] APIBot: SDK update based on recent changes in Atlas API (#319) Co-authored-by: github-actions[bot] Co-authored-by: wtrocki <981838+wtrocki@users.noreply.github.com> --- admin/model_advanced_cluster_description.go | 38 +++++++++++++ admin/model_legacy_atlas_cluster.go | 38 +++++++++++++ ...cy_atlas_tenant_cluster_upgrade_request.go | 38 +++++++++++++ docs/docs/AdvancedClusterDescription.md | 25 +++++++++ docs/docs/LegacyAtlasCluster.md | 25 +++++++++ .../LegacyAtlasTenantClusterUpgradeRequest.md | 25 +++++++++ internal/core/version.go | 2 +- openapi/atlas-api-transformed.yaml | 53 ++++++++++++++++++- openapi/atlas-api.yaml | 41 +++++++++++++- 9 files changed, 282 insertions(+), 3 deletions(-) diff --git a/admin/model_advanced_cluster_description.go b/admin/model_advanced_cluster_description.go index 395c98073..e2ec6dfe1 100644 --- a/admin/model_advanced_cluster_description.go +++ b/admin/model_advanced_cluster_description.go @@ -26,6 +26,8 @@ type AdvancedClusterDescription struct { DiskWarmingMode *string `json:"diskWarmingMode,omitempty"` // Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster **replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize** setting must be `M10` or higher and `\"backupEnabled\" : false` or omitted entirely. EncryptionAtRestProvider *string `json:"encryptionAtRestProvider,omitempty"` + // Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. + GlobalClusterSelfManagedSharding *bool `json:"globalClusterSelfManagedSharding,omitempty"` // Unique 24-hexadecimal character string that identifies the project. // Read only field. GroupId *string `json:"groupId,omitempty"` @@ -402,6 +404,39 @@ func (o *AdvancedClusterDescription) SetEncryptionAtRestProvider(v string) { o.EncryptionAtRestProvider = &v } +// GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field value if set, zero value otherwise +func (o *AdvancedClusterDescription) GetGlobalClusterSelfManagedSharding() bool { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + var ret bool + return ret + } + return *o.GlobalClusterSelfManagedSharding +} + +// GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *AdvancedClusterDescription) GetGlobalClusterSelfManagedShardingOk() (*bool, bool) { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + return nil, false + } + + return o.GlobalClusterSelfManagedSharding, true +} + +// HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. +func (o *AdvancedClusterDescription) HasGlobalClusterSelfManagedSharding() bool { + if o != nil && !IsNil(o.GlobalClusterSelfManagedSharding) { + return true + } + + return false +} + +// SetGlobalClusterSelfManagedSharding gets a reference to the given bool and assigns it to the GlobalClusterSelfManagedSharding field. +func (o *AdvancedClusterDescription) SetGlobalClusterSelfManagedSharding(v bool) { + o.GlobalClusterSelfManagedSharding = &v +} + // GetGroupId returns the GroupId field value if set, zero value otherwise func (o *AdvancedClusterDescription) GetGroupId() string { if o == nil || IsNil(o.GroupId) { @@ -933,6 +968,9 @@ func (o AdvancedClusterDescription) ToMap() (map[string]interface{}, error) { if !IsNil(o.EncryptionAtRestProvider) { toSerialize["encryptionAtRestProvider"] = o.EncryptionAtRestProvider } + if !IsNil(o.GlobalClusterSelfManagedSharding) { + toSerialize["globalClusterSelfManagedSharding"] = o.GlobalClusterSelfManagedSharding + } if !IsNil(o.Labels) { toSerialize["labels"] = o.Labels } diff --git a/admin/model_legacy_atlas_cluster.go b/admin/model_legacy_atlas_cluster.go index 7b2523fd3..ee0f15303 100644 --- a/admin/model_legacy_atlas_cluster.go +++ b/admin/model_legacy_atlas_cluster.go @@ -27,6 +27,8 @@ type LegacyAtlasCluster struct { DiskWarmingMode *string `json:"diskWarmingMode,omitempty"` // Cloud service provider that manages your customer keys to provide an additional layer of Encryption at Rest for the cluster. EncryptionAtRestProvider *string `json:"encryptionAtRestProvider,omitempty"` + // Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. + GlobalClusterSelfManagedSharding *bool `json:"globalClusterSelfManagedSharding,omitempty"` // Unique 24-hexadecimal character string that identifies the project. // Read only field. GroupId *string `json:"groupId,omitempty"` @@ -461,6 +463,39 @@ func (o *LegacyAtlasCluster) SetEncryptionAtRestProvider(v string) { o.EncryptionAtRestProvider = &v } +// GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field value if set, zero value otherwise +func (o *LegacyAtlasCluster) GetGlobalClusterSelfManagedSharding() bool { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + var ret bool + return ret + } + return *o.GlobalClusterSelfManagedSharding +} + +// GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LegacyAtlasCluster) GetGlobalClusterSelfManagedShardingOk() (*bool, bool) { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + return nil, false + } + + return o.GlobalClusterSelfManagedSharding, true +} + +// HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. +func (o *LegacyAtlasCluster) HasGlobalClusterSelfManagedSharding() bool { + if o != nil && !IsNil(o.GlobalClusterSelfManagedSharding) { + return true + } + + return false +} + +// SetGlobalClusterSelfManagedSharding gets a reference to the given bool and assigns it to the GlobalClusterSelfManagedSharding field. +func (o *LegacyAtlasCluster) SetGlobalClusterSelfManagedSharding(v bool) { + o.GlobalClusterSelfManagedSharding = &v +} + // GetGroupId returns the GroupId field value if set, zero value otherwise func (o *LegacyAtlasCluster) GetGroupId() string { if o == nil || IsNil(o.GroupId) { @@ -1295,6 +1330,9 @@ func (o LegacyAtlasCluster) ToMap() (map[string]interface{}, error) { if !IsNil(o.EncryptionAtRestProvider) { toSerialize["encryptionAtRestProvider"] = o.EncryptionAtRestProvider } + if !IsNil(o.GlobalClusterSelfManagedSharding) { + toSerialize["globalClusterSelfManagedSharding"] = o.GlobalClusterSelfManagedSharding + } if !IsNil(o.Labels) { toSerialize["labels"] = o.Labels } diff --git a/admin/model_legacy_atlas_tenant_cluster_upgrade_request.go b/admin/model_legacy_atlas_tenant_cluster_upgrade_request.go index 02175cff6..1560ad433 100644 --- a/admin/model_legacy_atlas_tenant_cluster_upgrade_request.go +++ b/admin/model_legacy_atlas_tenant_cluster_upgrade_request.go @@ -27,6 +27,8 @@ type LegacyAtlasTenantClusterUpgradeRequest struct { DiskWarmingMode *string `json:"diskWarmingMode,omitempty"` // Cloud service provider that manages your customer keys to provide an additional layer of Encryption at Rest for the cluster. EncryptionAtRestProvider *string `json:"encryptionAtRestProvider,omitempty"` + // Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. + GlobalClusterSelfManagedSharding *bool `json:"globalClusterSelfManagedSharding,omitempty"` // Unique 24-hexadecimal character string that identifies the project. // Read only field. GroupId *string `json:"groupId,omitempty"` @@ -462,6 +464,39 @@ func (o *LegacyAtlasTenantClusterUpgradeRequest) SetEncryptionAtRestProvider(v s o.EncryptionAtRestProvider = &v } +// GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field value if set, zero value otherwise +func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGlobalClusterSelfManagedSharding() bool { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + var ret bool + return ret + } + return *o.GlobalClusterSelfManagedSharding +} + +// GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field value if set, nil otherwise +// and a boolean to check if the value has been set. +func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGlobalClusterSelfManagedShardingOk() (*bool, bool) { + if o == nil || IsNil(o.GlobalClusterSelfManagedSharding) { + return nil, false + } + + return o.GlobalClusterSelfManagedSharding, true +} + +// HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. +func (o *LegacyAtlasTenantClusterUpgradeRequest) HasGlobalClusterSelfManagedSharding() bool { + if o != nil && !IsNil(o.GlobalClusterSelfManagedSharding) { + return true + } + + return false +} + +// SetGlobalClusterSelfManagedSharding gets a reference to the given bool and assigns it to the GlobalClusterSelfManagedSharding field. +func (o *LegacyAtlasTenantClusterUpgradeRequest) SetGlobalClusterSelfManagedSharding(v bool) { + o.GlobalClusterSelfManagedSharding = &v +} + // GetGroupId returns the GroupId field value if set, zero value otherwise func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGroupId() string { if o == nil || IsNil(o.GroupId) { @@ -1287,6 +1322,9 @@ func (o LegacyAtlasTenantClusterUpgradeRequest) ToMap() (map[string]interface{}, if !IsNil(o.EncryptionAtRestProvider) { toSerialize["encryptionAtRestProvider"] = o.EncryptionAtRestProvider } + if !IsNil(o.GlobalClusterSelfManagedSharding) { + toSerialize["globalClusterSelfManagedSharding"] = o.GlobalClusterSelfManagedSharding + } if !IsNil(o.Labels) { toSerialize["labels"] = o.Labels } diff --git a/docs/docs/AdvancedClusterDescription.md b/docs/docs/AdvancedClusterDescription.md index 315f7fb3f..1d95ac541 100644 --- a/docs/docs/AdvancedClusterDescription.md +++ b/docs/docs/AdvancedClusterDescription.md @@ -13,6 +13,7 @@ Name | Type | Description | Notes **DiskSizeGB** | Pointer to **float64** | Storage capacity that the host's root volume possesses expressed in gigabytes. Increase this number to add capacity. MongoDB Cloud requires this parameter if you set **replicationSpecs**. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. | [optional] **DiskWarmingMode** | Pointer to **string** | Disk warming mode selection. | [optional] [default to "FULLY_WARMED"] **EncryptionAtRestProvider** | Pointer to **string** | Cloud service provider that manages your customer keys to provide an additional layer of encryption at rest for the cluster. To enable customer key management for encryption at rest, the cluster **replicationSpecs[n].regionConfigs[m].{type}Specs.instanceSize** setting must be `M10` or higher and `\"backupEnabled\" : false` or omitted entirely. | [optional] +**GlobalClusterSelfManagedSharding** | Pointer to **bool** | Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal character string that identifies the project. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the replication object for a zone in a Global Cluster. If you include existing zones in the request, you must specify this parameter. If you add a new zone to an existing Global Cluster, you may specify this parameter. The request deletes any existing zones in a Global Cluster that you exclude from the request. | [optional] [readonly] **Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional] @@ -264,6 +265,30 @@ SetEncryptionAtRestProvider sets EncryptionAtRestProvider field to given value. `func (o *AdvancedClusterDescription) HasEncryptionAtRestProvider() bool` HasEncryptionAtRestProvider returns a boolean if a field has been set. +### GetGlobalClusterSelfManagedSharding + +`func (o *AdvancedClusterDescription) GetGlobalClusterSelfManagedSharding() bool` + +GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field if non-nil, zero value otherwise. + +### GetGlobalClusterSelfManagedShardingOk + +`func (o *AdvancedClusterDescription) GetGlobalClusterSelfManagedShardingOk() (*bool, bool)` + +GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGlobalClusterSelfManagedSharding + +`func (o *AdvancedClusterDescription) SetGlobalClusterSelfManagedSharding(v bool)` + +SetGlobalClusterSelfManagedSharding sets GlobalClusterSelfManagedSharding field to given value. + +### HasGlobalClusterSelfManagedSharding + +`func (o *AdvancedClusterDescription) HasGlobalClusterSelfManagedSharding() bool` + +HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. ### GetGroupId `func (o *AdvancedClusterDescription) GetGroupId() string` diff --git a/docs/docs/LegacyAtlasCluster.md b/docs/docs/LegacyAtlasCluster.md index dd899d216..a8bd7f3d7 100644 --- a/docs/docs/LegacyAtlasCluster.md +++ b/docs/docs/LegacyAtlasCluster.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **DiskSizeGB** | Pointer to **float64** | Storage capacity that the host's root volume possesses expressed in gigabytes. Increase this number to add capacity. MongoDB Cloud requires this parameter if you set **replicationSpecs**. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. | [optional] **DiskWarmingMode** | Pointer to **string** | Disk warming mode selection. | [optional] [default to "FULLY_WARMED"] **EncryptionAtRestProvider** | Pointer to **string** | Cloud service provider that manages your customer keys to provide an additional layer of Encryption at Rest for the cluster. | [optional] +**GlobalClusterSelfManagedSharding** | Pointer to **bool** | Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal character string that identifies the project. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly] **Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional] @@ -298,6 +299,30 @@ SetEncryptionAtRestProvider sets EncryptionAtRestProvider field to given value. `func (o *LegacyAtlasCluster) HasEncryptionAtRestProvider() bool` HasEncryptionAtRestProvider returns a boolean if a field has been set. +### GetGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasCluster) GetGlobalClusterSelfManagedSharding() bool` + +GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field if non-nil, zero value otherwise. + +### GetGlobalClusterSelfManagedShardingOk + +`func (o *LegacyAtlasCluster) GetGlobalClusterSelfManagedShardingOk() (*bool, bool)` + +GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasCluster) SetGlobalClusterSelfManagedSharding(v bool)` + +SetGlobalClusterSelfManagedSharding sets GlobalClusterSelfManagedSharding field to given value. + +### HasGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasCluster) HasGlobalClusterSelfManagedSharding() bool` + +HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. ### GetGroupId `func (o *LegacyAtlasCluster) GetGroupId() string` diff --git a/docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md b/docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md index 274d3f8ea..b95b38479 100644 --- a/docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md +++ b/docs/docs/LegacyAtlasTenantClusterUpgradeRequest.md @@ -14,6 +14,7 @@ Name | Type | Description | Notes **DiskSizeGB** | Pointer to **float64** | Storage capacity that the host's root volume possesses expressed in gigabytes. Increase this number to add capacity. MongoDB Cloud requires this parameter if you set **replicationSpecs**. If you specify a disk size below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier. | [optional] **DiskWarmingMode** | Pointer to **string** | Disk warming mode selection. | [optional] [default to "FULLY_WARMED"] **EncryptionAtRestProvider** | Pointer to **string** | Cloud service provider that manages your customer keys to provide an additional layer of Encryption at Rest for the cluster. | [optional] +**GlobalClusterSelfManagedSharding** | Pointer to **bool** | Set this field to configure the Sharding Management Mode when creating a new Global Cluster. When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. This setting cannot be changed once the cluster is deployed. | [optional] **GroupId** | Pointer to **string** | Unique 24-hexadecimal character string that identifies the project. | [optional] [readonly] **Id** | Pointer to **string** | Unique 24-hexadecimal digit string that identifies the cluster. | [optional] [readonly] **Labels** | Pointer to [**[]ComponentLabel**](ComponentLabel.md) | Collection of key-value pairs between 1 to 255 characters in length that tag and categorize the cluster. The MongoDB Cloud console doesn't display your labels. Cluster labels are deprecated and will be removed in a future release. We strongly recommend that you use [resource tags](https://dochub.mongodb.org/core/add-cluster-tag-atlas) instead. | [optional] @@ -298,6 +299,30 @@ SetEncryptionAtRestProvider sets EncryptionAtRestProvider field to given value. `func (o *LegacyAtlasTenantClusterUpgradeRequest) HasEncryptionAtRestProvider() bool` HasEncryptionAtRestProvider returns a boolean if a field has been set. +### GetGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGlobalClusterSelfManagedSharding() bool` + +GetGlobalClusterSelfManagedSharding returns the GlobalClusterSelfManagedSharding field if non-nil, zero value otherwise. + +### GetGlobalClusterSelfManagedShardingOk + +`func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGlobalClusterSelfManagedShardingOk() (*bool, bool)` + +GetGlobalClusterSelfManagedShardingOk returns a tuple with the GlobalClusterSelfManagedSharding field if it's non-nil, zero value otherwise +and a boolean to check if the value has been set. + +### SetGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasTenantClusterUpgradeRequest) SetGlobalClusterSelfManagedSharding(v bool)` + +SetGlobalClusterSelfManagedSharding sets GlobalClusterSelfManagedSharding field to given value. + +### HasGlobalClusterSelfManagedSharding + +`func (o *LegacyAtlasTenantClusterUpgradeRequest) HasGlobalClusterSelfManagedSharding() bool` + +HasGlobalClusterSelfManagedSharding returns a boolean if a field has been set. ### GetGroupId `func (o *LegacyAtlasTenantClusterUpgradeRequest) GetGroupId() string` diff --git a/internal/core/version.go b/internal/core/version.go index f64e0420a..dad1b3fc8 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 = "v20231115012.1.0" + Version = "v20231115012.2.0" // Resource Version. Resource = "20231115" ) diff --git a/openapi/atlas-api-transformed.yaml b/openapi/atlas-api-transformed.yaml index 8720358bf..6ac40ef81 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: 81ae033a0e918a6c75ad4758f8f4d779816a2c26 + x-xgen-sha: 2cb256c3cba555b7ab4a5255d87aabfaa10a8329 servers: - url: https://cloud.mongodb.com tags: @@ -16351,6 +16351,23 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: >- + Set this field to configure the Sharding Management Mode when + creating a new Global Cluster. + + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the project. @@ -25481,6 +25498,23 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: >- + Set this field to configure the Sharding Management Mode when + creating a new Global Cluster. + + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the project. @@ -25726,6 +25760,23 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: >- + Set this field to configure the Sharding Management Mode when + creating a new Global Cluster. + + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the project. diff --git a/openapi/atlas-api.yaml b/openapi/atlas-api.yaml index 9b53b72ce..817bf3b4b 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: 81ae033a0e918a6c75ad4758f8f4d779816a2c26 + x-xgen-sha: 2cb256c3cba555b7ab4a5255d87aabfaa10a8329 servers: - url: https://cloud.mongodb.com tags: @@ -17433,6 +17433,19 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: |- + Set this field to configure the Sharding Management Mode when creating a new Global Cluster. + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the @@ -35792,6 +35805,19 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: |- + Set this field to configure the Sharding Management Mode when creating a new Global Cluster. + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the @@ -36065,6 +36091,19 @@ components: externalDocs: description: Encryption at Rest using Customer Key Management url: https://www.mongodb.com/docs/atlas/security-kms-encryption/ + globalClusterSelfManagedSharding: + type: boolean + description: |- + Set this field to configure the Sharding Management Mode when creating a new Global Cluster. + + When set to false, the management mode is set to Atlas-Managed Sharding. This mode fully manages the sharding of your Global Cluster and is built to provide a seamless deployment experience. + + When set to true, the management mode is set to Self-Managed Sharding. This mode leaves the management of shards in your hands and is built to provide an advanced and flexible deployment experience. + + This setting cannot be changed once the cluster is deployed. + externalDocs: + description: Creating a Global Cluster + url: https://dochub.mongodb.org/core/global-cluster-management groupId: type: string description: Unique 24-hexadecimal character string that identifies the