@pulumi/mongodbatlas 3.31.0-alpha.1746425655 → 3.31.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/advancedCluster.d.ts +6 -13
- package/advancedCluster.js +0 -1
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +6 -0
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cluster.d.ts +6 -6
- package/databaseUser.d.ts +14 -2
- package/databaseUser.js +4 -2
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +12 -0
- package/encryptionAtRest.js +2 -0
- package/encryptionAtRest.js.map +1 -1
- package/getAdvancedCluster.d.ts +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +2 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getDatabaseUser.d.ts +4 -0
- package/getDatabaseUser.js.map +1 -1
- package/getEncryptionAtRest.d.ts +6 -0
- package/getEncryptionAtRest.js +2 -0
- package/getEncryptionAtRest.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +1 -1
- package/getMaintenanceWindow.d.ts +9 -1
- package/getMaintenanceWindow.js.map +1 -1
- package/getOrganization.d.ts +5 -0
- package/getOrganization.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +6 -0
- package/getPrivateLinkEndpoint.js +6 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getProject.d.ts +4 -2
- package/getProject.js.map +1 -1
- package/getResourcePolicies.d.ts +8 -0
- package/getResourcePolicies.js +8 -0
- package/getResourcePolicies.js.map +1 -1
- package/getResourcePolicy.d.ts +12 -0
- package/getResourcePolicy.js +8 -0
- package/getResourcePolicy.js.map +1 -1
- package/getSearchDeployment.d.ts +4 -0
- package/getSearchDeployment.js.map +1 -1
- package/getStreamPrivatelinkEndpoint.d.ts +39 -3
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +6 -3
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +13 -38
- package/getThirdPartyIntegration.js +0 -8
- package/getThirdPartyIntegration.js.map +1 -1
- package/globalClusterConfig.d.ts +2 -2
- package/maintenanceWindow.d.ts +26 -0
- package/maintenanceWindow.js +8 -0
- package/maintenanceWindow.js.map +1 -1
- package/organization.d.ts +15 -0
- package/organization.js +4 -0
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/project.d.ts +10 -4
- package/project.js.map +1 -1
- package/resourcePolicy.d.ts +16 -0
- package/resourcePolicy.js +6 -0
- package/resourcePolicy.js.map +1 -1
- package/searchDeployment.d.ts +13 -0
- package/searchDeployment.js +6 -0
- package/searchDeployment.js.map +1 -1
- package/streamPrivatelinkEndpoint.d.ts +24 -27
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/streamProcessor.d.ts +18 -6
- package/streamProcessor.js +9 -0
- package/streamProcessor.js.map +1 -1
- package/thirdPartyIntegration.d.ts +6 -0
- package/thirdPartyIntegration.js +4 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +25 -16
- package/types/output.d.ts +121 -62
package/thirdPartyIntegration.js
CHANGED
|
@@ -78,6 +78,8 @@ class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
78
78
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
79
79
|
resourceInputs["routingKey"] = state ? state.routingKey : undefined;
|
|
80
80
|
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
81
|
+
resourceInputs["sendCollectionLatencyMetrics"] = state ? state.sendCollectionLatencyMetrics : undefined;
|
|
82
|
+
resourceInputs["sendDatabaseMetrics"] = state ? state.sendDatabaseMetrics : undefined;
|
|
81
83
|
resourceInputs["serviceDiscovery"] = state ? state.serviceDiscovery : undefined;
|
|
82
84
|
resourceInputs["serviceKey"] = state ? state.serviceKey : undefined;
|
|
83
85
|
resourceInputs["teamName"] = state ? state.teamName : undefined;
|
|
@@ -102,6 +104,8 @@ class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
102
104
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
103
105
|
resourceInputs["routingKey"] = (args === null || args === void 0 ? void 0 : args.routingKey) ? pulumi.secret(args.routingKey) : undefined;
|
|
104
106
|
resourceInputs["secret"] = (args === null || args === void 0 ? void 0 : args.secret) ? pulumi.secret(args.secret) : undefined;
|
|
107
|
+
resourceInputs["sendCollectionLatencyMetrics"] = args ? args.sendCollectionLatencyMetrics : undefined;
|
|
108
|
+
resourceInputs["sendDatabaseMetrics"] = args ? args.sendDatabaseMetrics : undefined;
|
|
105
109
|
resourceInputs["serviceDiscovery"] = (args === null || args === void 0 ? void 0 : args.serviceDiscovery) ? pulumi.secret(args.serviceDiscovery) : undefined;
|
|
106
110
|
resourceInputs["serviceKey"] = (args === null || args === void 0 ? void 0 : args.serviceKey) ? pulumi.secret(args.serviceKey) : undefined;
|
|
107
111
|
resourceInputs["teamName"] = args ? args.teamName : undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thirdPartyIntegration.js","sourceRoot":"","sources":["../thirdPartyIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SA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GG,gBAAgB;AACO,kCAAY,GAAG,gEAAgE,CAAC"}
|
package/types/input.d.ts
CHANGED
|
@@ -14,19 +14,19 @@ export interface AdvancedClusterAdvancedConfiguration {
|
|
|
14
14
|
*/
|
|
15
15
|
defaultMaxTimeMs?: pulumi.Input<number>;
|
|
16
16
|
/**
|
|
17
|
-
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster.
|
|
17
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. **(DEPRECATED)** MongoDB 6.0 and later clusters default to `local`. To use a custom read concern level, please refer to your driver documentation.
|
|
18
18
|
*
|
|
19
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
19
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
20
20
|
*/
|
|
21
21
|
defaultReadConcern?: pulumi.Input<string>;
|
|
22
22
|
/**
|
|
23
|
-
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB
|
|
23
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
24
24
|
*/
|
|
25
25
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
26
26
|
/**
|
|
27
|
-
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
27
|
+
* **(DEPRECATED)** (Optional) When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
28
28
|
*
|
|
29
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
29
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
30
30
|
*/
|
|
31
31
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
32
32
|
/**
|
|
@@ -172,14 +172,14 @@ export interface AdvancedClusterReplicationSpec {
|
|
|
172
172
|
/**
|
|
173
173
|
* **(DEPRECATED)** Unique identifer of the replication document for a zone in a Global Cluster. This value corresponds to the legacy sharding schema (no independent shard scaling) and is different from the Shard ID you may see in the Atlas UI. This value is not populated (empty string) when a sharded cluster has independently scaled shards.
|
|
174
174
|
*
|
|
175
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
175
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
176
176
|
*/
|
|
177
177
|
id?: pulumi.Input<string>;
|
|
178
178
|
/**
|
|
179
179
|
* Provide this value if you set a `clusterType` of SHARDED or GEOSHARDED. Omit this value if you selected a `clusterType` of REPLICASET. This API resource accepts 1 through 50, inclusive. This parameter defaults to 1. If you specify a `numShards` value of 1 and a `clusterType` of SHARDED, Atlas deploys a single-shard [sharded cluster](https://docs.atlas.mongodb.com/reference/glossary/#std-term-sharded-cluster). Don't create a sharded cluster with a single shard for production environments. Single-shard sharded clusters don't provide the same benefits as multi-shard configurations.
|
|
180
180
|
* If you are upgrading a replica set to a sharded cluster, you cannot increase the number of shards in the same update request. You should wait until after the cluster has completed upgrading to sharded and you have reconnected all application clients to the MongoDB router before adding additional shards. Otherwise, your data might become inconsistent once MongoDB Cloud begins distributing data across shards. To learn more, see [Convert a replica set to a sharded cluster documentation](https://www.mongodb.com/docs/atlas/scale-cluster/#convert-a-replica-set-to-a-sharded-cluster) and [Convert a replica set to a sharded cluster tutorial](https://www.mongodb.com/docs/upcoming/tutorial/convert-replica-set-to-replicated-shard-cluster). **(DEPRECATED)** To learn more, see the 1.18.0 Upgrade Guide.
|
|
181
181
|
*
|
|
182
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
182
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
183
183
|
*/
|
|
184
184
|
numShards?: pulumi.Input<number>;
|
|
185
185
|
/**
|
|
@@ -682,7 +682,7 @@ export interface CloudBackupScheduleCopySetting {
|
|
|
682
682
|
/**
|
|
683
683
|
* Unique 24-hexadecimal digit string that identifies the replication object for a zone in a cluster. For global clusters, there can be multiple zones to choose from. For sharded clusters and replica set clusters, there is only one zone in the cluster. To find the Replication Spec Id, consult the replicationSpecs array returned from [Return One Multi-Cloud Cluster in One Project](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Clusters/operation/getCluster). **(DEPRECATED)** Use `zoneId` instead. To learn more, see the 1.18.0 upgrade guide.
|
|
684
684
|
*
|
|
685
|
-
* @deprecated This parameter is deprecated. Please transition to `copy_settings.#.zone_id`. To learn more, see our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
685
|
+
* @deprecated This parameter is deprecated. Please transition to `copy_settings.#.zone_id`. To learn more, see our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
686
686
|
*/
|
|
687
687
|
replicationSpecId?: pulumi.Input<string>;
|
|
688
688
|
/**
|
|
@@ -898,19 +898,19 @@ export interface ClusterAdvancedConfiguration {
|
|
|
898
898
|
customOpensslCipherConfigTls12s?: pulumi.Input<pulumi.Input<string>[]>;
|
|
899
899
|
defaultMaxTimeMs?: pulumi.Input<number>;
|
|
900
900
|
/**
|
|
901
|
-
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB
|
|
901
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. **(DEPRECATED)** MongoDB 6.0 and later clusters default to `local`. To use a custom read concern level, please refer to your driver documentation.
|
|
902
902
|
*
|
|
903
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
903
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
904
904
|
*/
|
|
905
905
|
defaultReadConcern?: pulumi.Input<string>;
|
|
906
906
|
/**
|
|
907
|
-
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB
|
|
907
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 6.0 clusters default to [majority](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
908
908
|
*/
|
|
909
909
|
defaultWriteConcern?: pulumi.Input<string>;
|
|
910
910
|
/**
|
|
911
|
-
* When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
911
|
+
* **(DEPRECATED)** (Optional) When true, documents can only be updated or inserted if, for all indexed fields on the target collection, the corresponding index entries do not exceed 1024 bytes. When false, mongod writes documents that exceed the limit but does not index them.
|
|
912
912
|
*
|
|
913
|
-
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
913
|
+
* @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide
|
|
914
914
|
*/
|
|
915
915
|
failIndexKeyTooLong?: pulumi.Input<boolean>;
|
|
916
916
|
/**
|
|
@@ -919,7 +919,6 @@ export interface ClusterAdvancedConfiguration {
|
|
|
919
919
|
javascriptEnabled?: pulumi.Input<boolean>;
|
|
920
920
|
/**
|
|
921
921
|
* Sets the minimum Transport Layer Security (TLS) version the cluster accepts for incoming connections. Valid values are:
|
|
922
|
-
*
|
|
923
922
|
* - TLS1_0
|
|
924
923
|
* - TLS1_1
|
|
925
924
|
* - TLS1_2
|
|
@@ -1170,7 +1169,7 @@ export interface CustomDbRoleAction {
|
|
|
1170
1169
|
*
|
|
1171
1170
|
* > **NOTE** This field is mutually exclusive with the `actions.resources.cluster` field.
|
|
1172
1171
|
*
|
|
1173
|
-
* * `resources.#.database_name`
|
|
1172
|
+
* * `resources.#.database_name` Database on which the action is granted. Use the empty string ("") to allow an action on all databases.
|
|
1174
1173
|
*
|
|
1175
1174
|
* > **NOTE** This field is mutually exclusive with the `actions.resources.cluster` field.
|
|
1176
1175
|
*
|
|
@@ -1321,7 +1320,7 @@ export interface DatabaseUserScope {
|
|
|
1321
1320
|
*/
|
|
1322
1321
|
name?: pulumi.Input<string>;
|
|
1323
1322
|
/**
|
|
1324
|
-
* Type of resource that the user has access to.
|
|
1323
|
+
* Type of resource that the user has access to. See [Database User API](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/v2/#tag/Database-Users/operation/createDatabaseUser) for the list of valid values.
|
|
1325
1324
|
*/
|
|
1326
1325
|
type?: pulumi.Input<string>;
|
|
1327
1326
|
}
|
|
@@ -1839,6 +1838,16 @@ export interface LdapVerifyValidation {
|
|
|
1839
1838
|
status?: pulumi.Input<string>;
|
|
1840
1839
|
validationType?: pulumi.Input<string>;
|
|
1841
1840
|
}
|
|
1841
|
+
export interface MaintenanceWindowProtectedHours {
|
|
1842
|
+
/**
|
|
1843
|
+
* Zero-based integer that represents the end hour of the day for the protected hours window.
|
|
1844
|
+
*/
|
|
1845
|
+
endHourOfDay: pulumi.Input<number>;
|
|
1846
|
+
/**
|
|
1847
|
+
* Zero-based integer that represents the beginning hour of the day for the protected hours window.
|
|
1848
|
+
*/
|
|
1849
|
+
startHourOfDay: pulumi.Input<number>;
|
|
1850
|
+
}
|
|
1842
1851
|
export interface OnlineArchiveCriteria {
|
|
1843
1852
|
/**
|
|
1844
1853
|
* Indexed database parameter that stores the date that determines when data moves to the online archive. MongoDB Cloud archives the data when the current date exceeds the date in this database parameter plus the number of days specified through the expireAfterDays parameter.
|