@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/organization.js
CHANGED
|
@@ -70,6 +70,8 @@ class Organization extends pulumi.CustomResource {
|
|
|
70
70
|
resourceInputs["publicKey"] = state ? state.publicKey : undefined;
|
|
71
71
|
resourceInputs["restrictEmployeeAccess"] = state ? state.restrictEmployeeAccess : undefined;
|
|
72
72
|
resourceInputs["roleNames"] = state ? state.roleNames : undefined;
|
|
73
|
+
resourceInputs["securityContact"] = state ? state.securityContact : undefined;
|
|
74
|
+
resourceInputs["skipDefaultAlertsSettings"] = state ? state.skipDefaultAlertsSettings : undefined;
|
|
73
75
|
}
|
|
74
76
|
else {
|
|
75
77
|
const args = argsOrState;
|
|
@@ -91,6 +93,8 @@ class Organization extends pulumi.CustomResource {
|
|
|
91
93
|
resourceInputs["orgOwnerId"] = args ? args.orgOwnerId : undefined;
|
|
92
94
|
resourceInputs["restrictEmployeeAccess"] = args ? args.restrictEmployeeAccess : undefined;
|
|
93
95
|
resourceInputs["roleNames"] = args ? args.roleNames : undefined;
|
|
96
|
+
resourceInputs["securityContact"] = args ? args.securityContact : undefined;
|
|
97
|
+
resourceInputs["skipDefaultAlertsSettings"] = args ? args.skipDefaultAlertsSettings : undefined;
|
|
94
98
|
resourceInputs["orgId"] = undefined /*out*/;
|
|
95
99
|
resourceInputs["privateKey"] = undefined /*out*/;
|
|
96
100
|
resourceInputs["publicKey"] = undefined /*out*/;
|
package/organization.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;
|
|
1
|
+
{"version":3,"file":"organization.js","sourceRoot":"","sources":["../organization.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;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C,SAAS,CAAC;YAChE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,yBAAyB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChG,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,EAAE,WAAW,CAAC,EAAE,CAAC;QAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AArIL,oCAsIC;AAxHG,gBAAgB;AACO,yBAAY,GAAG,8CAA8C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/mongodbatlas",
|
|
3
|
-
"version": "3.31.0
|
|
3
|
+
"version": "3.31.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"pulumi": {
|
|
24
24
|
"resource": true,
|
|
25
25
|
"name": "mongodbatlas",
|
|
26
|
-
"version": "3.31.0
|
|
26
|
+
"version": "3.31.0"
|
|
27
27
|
}
|
|
28
28
|
}
|
package/project.d.ts
CHANGED
|
@@ -86,9 +86,9 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
86
86
|
*/
|
|
87
87
|
readonly created: pulumi.Output<string>;
|
|
88
88
|
/**
|
|
89
|
-
* IP addresses in a project categorized by services. See IP Addresses. **WARNING:**
|
|
89
|
+
* IP addresses in a project categorized by services. See IP Addresses. **WARNING:** This attribute is deprecated, use the `mongodbatlas.getProjectIpAddresses` data source instead.
|
|
90
90
|
*
|
|
91
|
-
* @deprecated This parameter is deprecated
|
|
91
|
+
* @deprecated This parameter is deprecated. Please transition to mongodbatlas.getProjectIpAddresses data source.
|
|
92
92
|
*/
|
|
93
93
|
readonly ipAddresses: pulumi.Output<outputs.ProjectIpAddresses>;
|
|
94
94
|
/**
|
|
@@ -117,6 +117,8 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
117
117
|
readonly isSchemaAdvisorEnabled: pulumi.Output<boolean>;
|
|
118
118
|
/**
|
|
119
119
|
* (Optional) Flag that enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. **Note**: To use this attribute, the requesting API Key must have the Project Owner role, if not it will show a warning and will return `false`. If you are not using this field, you don't need to take any action.
|
|
120
|
+
*
|
|
121
|
+
* @deprecated This parameter is deprecated.
|
|
120
122
|
*/
|
|
121
123
|
readonly isSlowOperationThresholdingEnabled: pulumi.Output<boolean>;
|
|
122
124
|
readonly limits: pulumi.Output<outputs.ProjectLimit[] | undefined>;
|
|
@@ -169,9 +171,9 @@ export interface ProjectState {
|
|
|
169
171
|
*/
|
|
170
172
|
created?: pulumi.Input<string>;
|
|
171
173
|
/**
|
|
172
|
-
* IP addresses in a project categorized by services. See IP Addresses. **WARNING:**
|
|
174
|
+
* IP addresses in a project categorized by services. See IP Addresses. **WARNING:** This attribute is deprecated, use the `mongodbatlas.getProjectIpAddresses` data source instead.
|
|
173
175
|
*
|
|
174
|
-
* @deprecated This parameter is deprecated
|
|
176
|
+
* @deprecated This parameter is deprecated. Please transition to mongodbatlas.getProjectIpAddresses data source.
|
|
175
177
|
*/
|
|
176
178
|
ipAddresses?: pulumi.Input<inputs.ProjectIpAddresses>;
|
|
177
179
|
/**
|
|
@@ -200,6 +202,8 @@ export interface ProjectState {
|
|
|
200
202
|
isSchemaAdvisorEnabled?: pulumi.Input<boolean>;
|
|
201
203
|
/**
|
|
202
204
|
* (Optional) Flag that enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. **Note**: To use this attribute, the requesting API Key must have the Project Owner role, if not it will show a warning and will return `false`. If you are not using this field, you don't need to take any action.
|
|
205
|
+
*
|
|
206
|
+
* @deprecated This parameter is deprecated.
|
|
203
207
|
*/
|
|
204
208
|
isSlowOperationThresholdingEnabled?: pulumi.Input<boolean>;
|
|
205
209
|
limits?: pulumi.Input<pulumi.Input<inputs.ProjectLimit>[]>;
|
|
@@ -261,6 +265,8 @@ export interface ProjectArgs {
|
|
|
261
265
|
isSchemaAdvisorEnabled?: pulumi.Input<boolean>;
|
|
262
266
|
/**
|
|
263
267
|
* (Optional) Flag that enables MongoDB Cloud to use its slow operation threshold for the specified project. The threshold determines which operations the Performance Advisor and Query Profiler considers slow. When enabled, MongoDB Cloud uses the average execution time for operations on your cluster to determine slow-running queries. As a result, the threshold is more pertinent to your cluster workload. The slow operation threshold is enabled by default for dedicated clusters (M10+). When disabled, MongoDB Cloud considers any operation that takes longer than 100 milliseconds to be slow. **Note**: To use this attribute, the requesting API Key must have the Project Owner role, if not it will show a warning and will return `false`. If you are not using this field, you don't need to take any action.
|
|
268
|
+
*
|
|
269
|
+
* @deprecated This parameter is deprecated.
|
|
264
270
|
*/
|
|
265
271
|
isSlowOperationThresholdingEnabled?: pulumi.Input<boolean>;
|
|
266
272
|
limits?: pulumi.Input<pulumi.Input<inputs.ProjectLimit>[]>;
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;
|
|
1
|
+
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2DG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;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GAAG,oCAAoC,CAAC"}
|
package/resourcePolicy.d.ts
CHANGED
|
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* ## # Resource: mongodbatlas.ResourcePolicy
|
|
6
|
+
*
|
|
7
|
+
* `mongodbatlas.ResourcePolicy` provides a Resource Policy resource. The resource lets you create, edit and delete resource policies to prevent misconfigurations and reduce the need for corrective interventions in your organization.
|
|
8
|
+
*
|
|
5
9
|
* ## Example Usage
|
|
6
10
|
*
|
|
7
11
|
* ## Import
|
|
@@ -34,6 +38,10 @@ export declare class ResourcePolicy extends pulumi.CustomResource {
|
|
|
34
38
|
* Date and time in UTC when the Atlas resource policy was created.
|
|
35
39
|
*/
|
|
36
40
|
readonly createdDate: pulumi.Output<string>;
|
|
41
|
+
/**
|
|
42
|
+
* Description of the Atlas resource policy.
|
|
43
|
+
*/
|
|
44
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
37
45
|
/**
|
|
38
46
|
* The user that last updated the Atlas resource policy.
|
|
39
47
|
*/
|
|
@@ -79,6 +87,10 @@ export interface ResourcePolicyState {
|
|
|
79
87
|
* Date and time in UTC when the Atlas resource policy was created.
|
|
80
88
|
*/
|
|
81
89
|
createdDate?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Description of the Atlas resource policy.
|
|
92
|
+
*/
|
|
93
|
+
description?: pulumi.Input<string>;
|
|
82
94
|
/**
|
|
83
95
|
* The user that last updated the Atlas resource policy.
|
|
84
96
|
*/
|
|
@@ -108,6 +120,10 @@ export interface ResourcePolicyState {
|
|
|
108
120
|
* The set of arguments for constructing a ResourcePolicy resource.
|
|
109
121
|
*/
|
|
110
122
|
export interface ResourcePolicyArgs {
|
|
123
|
+
/**
|
|
124
|
+
* Description of the Atlas resource policy.
|
|
125
|
+
*/
|
|
126
|
+
description?: pulumi.Input<string>;
|
|
111
127
|
/**
|
|
112
128
|
* Human-readable label that describes the Atlas resource policy.
|
|
113
129
|
*/
|
package/resourcePolicy.js
CHANGED
|
@@ -6,6 +6,10 @@ exports.ResourcePolicy = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # Resource: mongodbatlas.ResourcePolicy
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.ResourcePolicy` provides a Resource Policy resource. The resource lets you create, edit and delete resource policies to prevent misconfigurations and reduce the need for corrective interventions in your organization.
|
|
12
|
+
*
|
|
9
13
|
* ## Example Usage
|
|
10
14
|
*
|
|
11
15
|
* ## Import
|
|
@@ -44,6 +48,7 @@ class ResourcePolicy extends pulumi.CustomResource {
|
|
|
44
48
|
const state = argsOrState;
|
|
45
49
|
resourceInputs["createdByUser"] = state ? state.createdByUser : undefined;
|
|
46
50
|
resourceInputs["createdDate"] = state ? state.createdDate : undefined;
|
|
51
|
+
resourceInputs["description"] = state ? state.description : undefined;
|
|
47
52
|
resourceInputs["lastUpdatedByUser"] = state ? state.lastUpdatedByUser : undefined;
|
|
48
53
|
resourceInputs["lastUpdatedDate"] = state ? state.lastUpdatedDate : undefined;
|
|
49
54
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
@@ -59,6 +64,7 @@ class ResourcePolicy extends pulumi.CustomResource {
|
|
|
59
64
|
if ((!args || args.policies === undefined) && !opts.urn) {
|
|
60
65
|
throw new Error("Missing required property 'policies'");
|
|
61
66
|
}
|
|
67
|
+
resourceInputs["description"] = args ? args.description : undefined;
|
|
62
68
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
69
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
64
70
|
resourceInputs["policies"] = args ? args.policies : undefined;
|
package/resourcePolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resourcePolicy.js","sourceRoot":"","sources":["../resour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C,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACjD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AA3GL,wCA4GC;AA9FG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
|
package/searchDeployment.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
*
|
|
17
17
|
* Search node resource can be imported using the project ID and cluster name, in the format `PROJECT_ID-CLUSTER_NAME`, e.g.
|
|
18
18
|
*
|
|
19
|
+
* After an import, a non-empty plan is expected if the configuration defines the `skipWaitOnUpdate` attribute. However, the update will not have any effect on the search deployment since `skipWaitOnUpdate` only relates to the update operations wait time.
|
|
20
|
+
*
|
|
19
21
|
* For more information see: [MongoDB Atlas API - Search Node](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) Documentation.
|
|
20
22
|
*/
|
|
21
23
|
export declare class SearchDeployment extends pulumi.CustomResource {
|
|
@@ -38,10 +40,15 @@ export declare class SearchDeployment extends pulumi.CustomResource {
|
|
|
38
40
|
* Label that identifies the cluster to return the search nodes for.
|
|
39
41
|
*/
|
|
40
42
|
readonly clusterName: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster.
|
|
45
|
+
*/
|
|
46
|
+
readonly encryptionAtRestProvider: pulumi.Output<string>;
|
|
41
47
|
/**
|
|
42
48
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
43
49
|
*/
|
|
44
50
|
readonly projectId: pulumi.Output<string>;
|
|
51
|
+
readonly skipWaitOnUpdate: pulumi.Output<boolean | undefined>;
|
|
45
52
|
/**
|
|
46
53
|
* List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
|
|
47
54
|
*/
|
|
@@ -68,10 +75,15 @@ export interface SearchDeploymentState {
|
|
|
68
75
|
* Label that identifies the cluster to return the search nodes for.
|
|
69
76
|
*/
|
|
70
77
|
clusterName?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* Cloud service provider that manages your customer keys to provide an additional layer of Encryption At Rest for the cluster.
|
|
80
|
+
*/
|
|
81
|
+
encryptionAtRestProvider?: pulumi.Input<string>;
|
|
71
82
|
/**
|
|
72
83
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
73
84
|
*/
|
|
74
85
|
projectId?: pulumi.Input<string>;
|
|
86
|
+
skipWaitOnUpdate?: pulumi.Input<boolean>;
|
|
75
87
|
/**
|
|
76
88
|
* List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
|
|
77
89
|
*/
|
|
@@ -94,6 +106,7 @@ export interface SearchDeploymentArgs {
|
|
|
94
106
|
* Unique 24-hexadecimal digit string that identifies your project.
|
|
95
107
|
*/
|
|
96
108
|
projectId: pulumi.Input<string>;
|
|
109
|
+
skipWaitOnUpdate?: pulumi.Input<boolean>;
|
|
97
110
|
/**
|
|
98
111
|
* List of settings that configure the search nodes for your cluster. This list is currently limited to defining a single element.
|
|
99
112
|
*/
|
package/searchDeployment.js
CHANGED
|
@@ -20,6 +20,8 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* Search node resource can be imported using the project ID and cluster name, in the format `PROJECT_ID-CLUSTER_NAME`, e.g.
|
|
22
22
|
*
|
|
23
|
+
* After an import, a non-empty plan is expected if the configuration defines the `skipWaitOnUpdate` attribute. However, the update will not have any effect on the search deployment since `skipWaitOnUpdate` only relates to the update operations wait time.
|
|
24
|
+
*
|
|
23
25
|
* For more information see: [MongoDB Atlas API - Search Node](https://www.mongodb.com/docs/atlas/reference/api-resources-spec/#tag/Atlas-Search/operation/createAtlasSearchDeployment) Documentation.
|
|
24
26
|
*/
|
|
25
27
|
class SearchDeployment extends pulumi.CustomResource {
|
|
@@ -51,7 +53,9 @@ class SearchDeployment extends pulumi.CustomResource {
|
|
|
51
53
|
if (opts.id) {
|
|
52
54
|
const state = argsOrState;
|
|
53
55
|
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
56
|
+
resourceInputs["encryptionAtRestProvider"] = state ? state.encryptionAtRestProvider : undefined;
|
|
54
57
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
58
|
+
resourceInputs["skipWaitOnUpdate"] = state ? state.skipWaitOnUpdate : undefined;
|
|
55
59
|
resourceInputs["specs"] = state ? state.specs : undefined;
|
|
56
60
|
resourceInputs["stateName"] = state ? state.stateName : undefined;
|
|
57
61
|
resourceInputs["timeouts"] = state ? state.timeouts : undefined;
|
|
@@ -69,8 +73,10 @@ class SearchDeployment extends pulumi.CustomResource {
|
|
|
69
73
|
}
|
|
70
74
|
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
71
75
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
76
|
+
resourceInputs["skipWaitOnUpdate"] = args ? args.skipWaitOnUpdate : undefined;
|
|
72
77
|
resourceInputs["specs"] = args ? args.specs : undefined;
|
|
73
78
|
resourceInputs["timeouts"] = args ? args.timeouts : undefined;
|
|
79
|
+
resourceInputs["encryptionAtRestProvider"] = undefined /*out*/;
|
|
74
80
|
resourceInputs["stateName"] = undefined /*out*/;
|
|
75
81
|
}
|
|
76
82
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/searchDeployment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchDeployment.js","sourceRoot":"","sources":["../searchDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"searchDeployment.js","sourceRoot":"","sources":["../searchDeployment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAiCD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,E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oint;
|
|
27
27
|
/**
|
|
28
|
-
* Amazon Resource Name (ARN).
|
|
28
|
+
* Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor.
|
|
29
29
|
*/
|
|
30
30
|
readonly arn: pulumi.Output<string | undefined>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* The domain hostname. Required for the following provider and vendor combinations:\n\n- AWS provider with CONFLUENT vendor.\n\n- AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
33
33
|
*/
|
|
34
34
|
readonly dnsDomain: pulumi.Output<string | undefined>;
|
|
35
35
|
/**
|
|
36
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones.
|
|
36
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
37
37
|
*/
|
|
38
38
|
readonly dnsSubDomains: pulumi.Output<string[] | undefined>;
|
|
39
39
|
/**
|
|
@@ -49,7 +49,7 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
49
49
|
*/
|
|
50
50
|
readonly interfaceEndpointName: pulumi.Output<string>;
|
|
51
51
|
/**
|
|
52
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
52
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
53
53
|
*/
|
|
54
54
|
readonly projectId: pulumi.Output<string>;
|
|
55
55
|
/**
|
|
@@ -57,16 +57,15 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
57
57
|
*/
|
|
58
58
|
readonly providerAccountId: pulumi.Output<string>;
|
|
59
59
|
/**
|
|
60
|
-
* Provider where the Kafka cluster is deployed.
|
|
60
|
+
* Provider where the Kafka cluster is deployed. Valid values are AWS and AZURE.
|
|
61
61
|
*/
|
|
62
62
|
readonly providerName: pulumi.Output<string>;
|
|
63
63
|
/**
|
|
64
|
-
* When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
|
|
65
|
-
* by the API from the provided `arn`.
|
|
64
|
+
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
66
65
|
*/
|
|
67
66
|
readonly region: pulumi.Output<string>;
|
|
68
67
|
/**
|
|
69
|
-
*
|
|
68
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
70
69
|
*/
|
|
71
70
|
readonly serviceEndpointId: pulumi.Output<string | undefined>;
|
|
72
71
|
/**
|
|
@@ -74,7 +73,7 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
74
73
|
*/
|
|
75
74
|
readonly state: pulumi.Output<string>;
|
|
76
75
|
/**
|
|
77
|
-
* Vendor
|
|
76
|
+
* Vendor that manages the Kafka cluster. The following are the vendor values per provider:\n\n- MSK and CONFLUENT for the AWS provider.\n\n- EVENTHUB and CONFLUENT for the AZURE provider.
|
|
78
77
|
*/
|
|
79
78
|
readonly vendor: pulumi.Output<string>;
|
|
80
79
|
/**
|
|
@@ -91,15 +90,15 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
|
|
|
91
90
|
*/
|
|
92
91
|
export interface StreamPrivatelinkEndpointState {
|
|
93
92
|
/**
|
|
94
|
-
* Amazon Resource Name (ARN).
|
|
93
|
+
* Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor.
|
|
95
94
|
*/
|
|
96
95
|
arn?: pulumi.Input<string>;
|
|
97
96
|
/**
|
|
98
|
-
*
|
|
97
|
+
* The domain hostname. Required for the following provider and vendor combinations:\n\n- AWS provider with CONFLUENT vendor.\n\n- AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
99
98
|
*/
|
|
100
99
|
dnsDomain?: pulumi.Input<string>;
|
|
101
100
|
/**
|
|
102
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones.
|
|
101
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
103
102
|
*/
|
|
104
103
|
dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
105
104
|
/**
|
|
@@ -115,7 +114,7 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
115
114
|
*/
|
|
116
115
|
interfaceEndpointName?: pulumi.Input<string>;
|
|
117
116
|
/**
|
|
118
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
117
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
119
118
|
*/
|
|
120
119
|
projectId?: pulumi.Input<string>;
|
|
121
120
|
/**
|
|
@@ -123,16 +122,15 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
123
122
|
*/
|
|
124
123
|
providerAccountId?: pulumi.Input<string>;
|
|
125
124
|
/**
|
|
126
|
-
* Provider where the Kafka cluster is deployed.
|
|
125
|
+
* Provider where the Kafka cluster is deployed. Valid values are AWS and AZURE.
|
|
127
126
|
*/
|
|
128
127
|
providerName?: pulumi.Input<string>;
|
|
129
128
|
/**
|
|
130
|
-
* When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
|
|
131
|
-
* by the API from the provided `arn`.
|
|
129
|
+
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
132
130
|
*/
|
|
133
131
|
region?: pulumi.Input<string>;
|
|
134
132
|
/**
|
|
135
|
-
*
|
|
133
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
136
134
|
*/
|
|
137
135
|
serviceEndpointId?: pulumi.Input<string>;
|
|
138
136
|
/**
|
|
@@ -140,7 +138,7 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
140
138
|
*/
|
|
141
139
|
state?: pulumi.Input<string>;
|
|
142
140
|
/**
|
|
143
|
-
* Vendor
|
|
141
|
+
* Vendor that manages the Kafka cluster. The following are the vendor values per provider:\n\n- MSK and CONFLUENT for the AWS provider.\n\n- EVENTHUB and CONFLUENT for the AZURE provider.
|
|
144
142
|
*/
|
|
145
143
|
vendor?: pulumi.Input<string>;
|
|
146
144
|
}
|
|
@@ -149,36 +147,35 @@ export interface StreamPrivatelinkEndpointState {
|
|
|
149
147
|
*/
|
|
150
148
|
export interface StreamPrivatelinkEndpointArgs {
|
|
151
149
|
/**
|
|
152
|
-
* Amazon Resource Name (ARN).
|
|
150
|
+
* Amazon Resource Name (ARN). Required for AWS Provider and MSK vendor.
|
|
153
151
|
*/
|
|
154
152
|
arn?: pulumi.Input<string>;
|
|
155
153
|
/**
|
|
156
|
-
*
|
|
154
|
+
* The domain hostname. Required for the following provider and vendor combinations:\n\n- AWS provider with CONFLUENT vendor.\n\n- AZURE provider with EVENTHUB or CONFLUENT vendor.
|
|
157
155
|
*/
|
|
158
156
|
dnsDomain?: pulumi.Input<string>;
|
|
159
157
|
/**
|
|
160
|
-
* Sub-Domain name of Confluent cluster. These are typically your availability zones.
|
|
158
|
+
* Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
|
|
161
159
|
*/
|
|
162
160
|
dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
|
|
163
161
|
/**
|
|
164
|
-
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
|
|
162
|
+
* Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.\n\n**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
|
|
165
163
|
*/
|
|
166
164
|
projectId: pulumi.Input<string>;
|
|
167
165
|
/**
|
|
168
|
-
* Provider where the Kafka cluster is deployed.
|
|
166
|
+
* Provider where the Kafka cluster is deployed. Valid values are AWS and AZURE.
|
|
169
167
|
*/
|
|
170
168
|
providerName: pulumi.Input<string>;
|
|
171
169
|
/**
|
|
172
|
-
* When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed
|
|
173
|
-
* by the API from the provided `arn`.
|
|
170
|
+
* The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
|
|
174
171
|
*/
|
|
175
172
|
region?: pulumi.Input<string>;
|
|
176
173
|
/**
|
|
177
|
-
*
|
|
174
|
+
* For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
|
|
178
175
|
*/
|
|
179
176
|
serviceEndpointId?: pulumi.Input<string>;
|
|
180
177
|
/**
|
|
181
|
-
* Vendor
|
|
178
|
+
* Vendor that manages the Kafka cluster. The following are the vendor values per provider:\n\n- MSK and CONFLUENT for the AWS provider.\n\n- EVENTHUB and CONFLUENT for the AZURE provider.
|
|
182
179
|
*/
|
|
183
180
|
vendor: pulumi.Input<string>;
|
|
184
181
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAChF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;
|
|
1
|
+
{"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,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AAC,OAAO,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AAtIL,8DAuIC;AAzHG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
|
package/streamProcessor.d.ts
CHANGED
|
@@ -2,6 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* ## # Resource: mongodbatlas.StreamProcessor
|
|
6
|
+
*
|
|
7
|
+
* `mongodbatlas.StreamProcessor` provides a Stream Processor resource. The resource lets you create, delete, import, start and stop a stream processor in a stream instance.
|
|
8
|
+
*
|
|
9
|
+
* **NOTE**: When updating an Atlas Stream Processor, the following behavior applies:
|
|
10
|
+
* 1. If the processor is in a `STARTED` state, it will automatically be stopped before the update is applied
|
|
11
|
+
* 2. The update will be performed while the processor is in `STOPPED` state
|
|
12
|
+
* 3. If the processor was originally in `STARTED` state, it will be restarted after the update
|
|
13
|
+
*
|
|
5
14
|
* ## Example Usage
|
|
6
15
|
*
|
|
7
16
|
* ## Import
|
|
@@ -49,8 +58,9 @@ export declare class StreamProcessor extends pulumi.CustomResource {
|
|
|
49
58
|
/**
|
|
50
59
|
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
51
60
|
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
52
|
-
* created without specifying the state, it will default to `CREATED` state.
|
|
53
|
-
*
|
|
61
|
+
* created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
|
|
62
|
+
* specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
|
|
63
|
+
* specifying the state, it is stopped and then restored to previous state upon update completion.
|
|
54
64
|
*/
|
|
55
65
|
readonly state: pulumi.Output<string>;
|
|
56
66
|
/**
|
|
@@ -95,8 +105,9 @@ export interface StreamProcessorState {
|
|
|
95
105
|
/**
|
|
96
106
|
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
97
107
|
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
98
|
-
* created without specifying the state, it will default to `CREATED` state.
|
|
99
|
-
*
|
|
108
|
+
* created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
|
|
109
|
+
* specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
|
|
110
|
+
* specifying the state, it is stopped and then restored to previous state upon update completion.
|
|
100
111
|
*/
|
|
101
112
|
state?: pulumi.Input<string>;
|
|
102
113
|
/**
|
|
@@ -133,8 +144,9 @@ export interface StreamProcessorArgs {
|
|
|
133
144
|
/**
|
|
134
145
|
* The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
|
|
135
146
|
* start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
|
|
136
|
-
* created without specifying the state, it will default to `CREATED` state.
|
|
137
|
-
*
|
|
147
|
+
* created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
|
|
148
|
+
* specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
|
|
149
|
+
* specifying the state, it is stopped and then restored to previous state upon update completion.
|
|
138
150
|
*/
|
|
139
151
|
state?: pulumi.Input<string>;
|
|
140
152
|
}
|
package/streamProcessor.js
CHANGED
|
@@ -6,6 +6,15 @@ exports.StreamProcessor = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* ## # Resource: mongodbatlas.StreamProcessor
|
|
10
|
+
*
|
|
11
|
+
* `mongodbatlas.StreamProcessor` provides a Stream Processor resource. The resource lets you create, delete, import, start and stop a stream processor in a stream instance.
|
|
12
|
+
*
|
|
13
|
+
* **NOTE**: When updating an Atlas Stream Processor, the following behavior applies:
|
|
14
|
+
* 1. If the processor is in a `STARTED` state, it will automatically be stopped before the update is applied
|
|
15
|
+
* 2. The update will be performed while the processor is in `STOPPED` state
|
|
16
|
+
* 3. If the processor was originally in `STARTED` state, it will be restarted after the update
|
|
17
|
+
*
|
|
9
18
|
* ## Example Usage
|
|
10
19
|
*
|
|
11
20
|
* ## Import
|
package/streamProcessor.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAA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C,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3GL,0CA4GC;AA9FG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
|
|
@@ -63,6 +63,8 @@ export declare class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
63
63
|
readonly region: pulumi.Output<string>;
|
|
64
64
|
readonly routingKey: pulumi.Output<string>;
|
|
65
65
|
readonly secret: pulumi.Output<string | undefined>;
|
|
66
|
+
readonly sendCollectionLatencyMetrics: pulumi.Output<boolean>;
|
|
67
|
+
readonly sendDatabaseMetrics: pulumi.Output<boolean>;
|
|
66
68
|
readonly serviceDiscovery: pulumi.Output<string>;
|
|
67
69
|
readonly serviceKey: pulumi.Output<string>;
|
|
68
70
|
readonly teamName: pulumi.Output<string>;
|
|
@@ -107,6 +109,8 @@ export interface ThirdPartyIntegrationState {
|
|
|
107
109
|
region?: pulumi.Input<string>;
|
|
108
110
|
routingKey?: pulumi.Input<string>;
|
|
109
111
|
secret?: pulumi.Input<string>;
|
|
112
|
+
sendCollectionLatencyMetrics?: pulumi.Input<boolean>;
|
|
113
|
+
sendDatabaseMetrics?: pulumi.Input<boolean>;
|
|
110
114
|
serviceDiscovery?: pulumi.Input<string>;
|
|
111
115
|
serviceKey?: pulumi.Input<string>;
|
|
112
116
|
teamName?: pulumi.Input<string>;
|
|
@@ -143,6 +147,8 @@ export interface ThirdPartyIntegrationArgs {
|
|
|
143
147
|
region?: pulumi.Input<string>;
|
|
144
148
|
routingKey?: pulumi.Input<string>;
|
|
145
149
|
secret?: pulumi.Input<string>;
|
|
150
|
+
sendCollectionLatencyMetrics?: pulumi.Input<boolean>;
|
|
151
|
+
sendDatabaseMetrics?: pulumi.Input<boolean>;
|
|
146
152
|
serviceDiscovery?: pulumi.Input<string>;
|
|
147
153
|
serviceKey?: pulumi.Input<string>;
|
|
148
154
|
teamName?: pulumi.Input<string>;
|