@pulumi/mongodbatlas 3.0.0 → 3.1.0-alpha.1638801724
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/README.md +1 -1
- package/alertConfiguration.d.ts +21 -21
- package/alertConfiguration.js +27 -26
- package/alertConfiguration.js.map +1 -1
- package/auditing.d.ts +18 -18
- package/auditing.js +13 -12
- package/auditing.js.map +1 -1
- package/cloudBackupSchedule.d.ts +23 -23
- package/cloudBackupSchedule.js +29 -28
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudProviderAccess.d.ts +12 -12
- package/cloudProviderAccess.js +21 -20
- package/cloudProviderAccess.js.map +1 -1
- package/cloudProviderAccessAuthorization.d.ts +8 -8
- package/cloudProviderAccessAuthorization.js +13 -12
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +8 -8
- package/cloudProviderAccessSetup.js +15 -14
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +17 -17
- package/cloudProviderSnapshot.js +29 -28
- package/cloudProviderSnapshot.js.map +1 -1
- package/cloudProviderSnapshotBackupPolicy.d.ts +16 -16
- package/cloudProviderSnapshotBackupPolicy.js +21 -20
- package/cloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/cloudProviderSnapshotRestoreJob.d.ts +18 -18
- package/cloudProviderSnapshotRestoreJob.js +29 -28
- package/cloudProviderSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +72 -75
- package/cluster.js +87 -86
- package/cluster.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +4 -4
- package/config/vars.js +25 -17
- package/config/vars.js.map +1 -1
- package/customDbRole.d.ts +8 -8
- package/customDbRole.js +11 -10
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +4 -4
- package/customDnsConfigurationClusterAws.js +7 -6
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLake.d.ts +12 -12
- package/dataLake.js +19 -18
- package/dataLake.js.map +1 -1
- package/databaseUser.d.ts +22 -22
- package/databaseUser.js +25 -24
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +14 -14
- package/encryptionAtRest.js +17 -16
- package/encryptionAtRest.js.map +1 -1
- package/eventTrigger.d.ts +39 -39
- package/eventTrigger.js +45 -44
- package/eventTrigger.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +20 -6
- package/get509AuthenticationDatabaseUser.js +9 -4
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAlertConfiguration.d.ts +16 -2
- package/getAlertConfiguration.js +5 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAuditing.d.ts +11 -1
- package/getAuditing.js +5 -0
- package/getAuditing.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +16 -2
- package/getCloudBackupSchedule.js +5 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudProviderAccess.d.ts +14 -4
- package/getCloudProviderAccess.js +8 -3
- package/getCloudProviderAccess.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +26 -8
- package/getCloudProviderAccessSetup.js +10 -5
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCloudProviderSnapshot.d.ts +18 -3
- package/getCloudProviderSnapshot.js +5 -0
- package/getCloudProviderSnapshot.js.map +1 -1
- package/getCloudProviderSnapshotBackupPolicy.d.ts +16 -2
- package/getCloudProviderSnapshotBackupPolicy.js +5 -0
- package/getCloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +21 -3
- package/getCloudProviderSnapshotRestoreJob.js +5 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +27 -5
- package/getCloudProviderSnapshotRestoreJobs.js +6 -1
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderSnapshots.d.ts +23 -4
- package/getCloudProviderSnapshots.js +5 -0
- package/getCloudProviderSnapshots.js.map +1 -1
- package/getCluster.d.ts +16 -2
- package/getCluster.js +5 -0
- package/getCluster.js.map +1 -1
- package/getClusters.d.ts +14 -4
- package/getClusters.js +8 -3
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +22 -7
- package/getCustomDbRole.js +9 -4
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +11 -1
- package/getCustomDbRoles.js +5 -0
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +11 -1
- package/getCustomDnsConfigurationClusterAws.js +5 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDataLake.d.ts +16 -2
- package/getDataLake.js +5 -0
- package/getDataLake.js.map +1 -1
- package/getDataLakes.d.ts +12 -2
- package/getDataLakes.js +6 -1
- package/getDataLakes.js.map +1 -1
- package/getDatabaseUser.d.ts +28 -4
- package/getDatabaseUser.js +5 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -4
- package/getDatabaseUsers.js +8 -3
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +21 -3
- package/getEventTrigger.js +5 -0
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +16 -2
- package/getEventTriggers.js +5 -0
- package/getEventTriggers.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +19 -3
- package/getGlobalClusterConfig.js +5 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +11 -1
- package/getLdapConfiguration.js +5 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +16 -2
- package/getLdapVerify.js +5 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +16 -1
- package/getMaintenanceWindow.js +5 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +16 -2
- package/getNetworkContainer.js +5 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +17 -3
- package/getNetworkContainers.js +6 -1
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +16 -2
- package/getNetworkPeering.js +5 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +14 -4
- package/getNetworkPeerings.js +8 -3
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +21 -3
- package/getOnlineArchive.js +5 -0
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +16 -2
- package/getOnlineArchives.js +5 -0
- package/getOnlineArchives.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +21 -3
- package/getPrivateLinkEndpoint.js +5 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +26 -4
- package/getPrivateLinkEndpointService.js +5 -0
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getProject.d.ts +17 -3
- package/getProject.js +6 -1
- package/getProject.js.map +1 -1
- package/getProjectIpAccessList.d.ts +26 -4
- package/getProjectIpAccessList.js +5 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +17 -3
- package/getProjects.js +6 -1
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +64 -13
- package/getSearchIndex.js +6 -1
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +37 -7
- package/getSearchIndexes.js +6 -1
- package/getSearchIndexes.js.map +1 -1
- package/getTeam.d.ts +21 -3
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +12 -3
- package/getTeams.js +5 -0
- package/getTeams.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +41 -2
- package/getThirdPartyIntegration.js +23 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +11 -1
- package/getThirdPartyIntegrations.js +5 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/globalClusterConfig.d.ts +11 -9
- package/globalClusterConfig.js +15 -12
- package/globalClusterConfig.js.map +1 -1
- package/index.js +88 -80
- package/index.js.map +1 -1
- package/ldapConfiguration.d.ts +20 -20
- package/ldapConfiguration.js +23 -22
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +18 -18
- package/ldapVerify.js +25 -24
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +31 -19
- package/maintenanceWindow.js +19 -16
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +19 -19
- package/networkContainer.js +29 -28
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +40 -40
- package/networkPeering.js +51 -50
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +18 -18
- package/onlineArchive.js +23 -22
- package/onlineArchive.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/privateIpMode.d.ts +4 -4
- package/privateIpMode.js +7 -6
- package/privateIpMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +14 -14
- package/privateLinkEndpoint.js +25 -24
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +49 -17
- package/privateLinkEndpointService.js +59 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +20 -8
- package/project.js +15 -12
- package/project.js.map +1 -1
- package/projectIpAccessList.d.ts +10 -10
- package/projectIpAccessList.js +13 -12
- package/projectIpAccessList.js.map +1 -1
- package/provider.d.ts +20 -4
- package/provider.js +7 -6
- package/provider.js.map +1 -1
- package/searchIndex.d.ts +23 -23
- package/searchIndex.js +27 -26
- package/searchIndex.js.map +1 -1
- package/team.d.ts +7 -7
- package/team.js +11 -10
- package/team.js.map +1 -1
- package/teams.d.ts +7 -7
- package/teams.js +11 -10
- package/teams.js.map +1 -1
- package/thirdPartyIntegration.d.ts +34 -34
- package/thirdPartyIntegration.js +37 -36
- package/thirdPartyIntegration.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +53 -0
- package/types/output.d.ts +24 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/x509authenticationDatabaseUser.d.ts +10 -10
- package/x509authenticationDatabaseUser.js +15 -14
- package/x509authenticationDatabaseUser.js.map +1 -1
|
@@ -116,58 +116,58 @@ export interface ThirdPartyIntegrationState {
|
|
|
116
116
|
/**
|
|
117
117
|
* Unique identifier of your New Relic account.
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
accountId?: pulumi.Input<string>;
|
|
120
120
|
/**
|
|
121
121
|
* Your API Key.
|
|
122
122
|
*/
|
|
123
|
-
|
|
123
|
+
apiKey?: pulumi.Input<string>;
|
|
124
124
|
/**
|
|
125
125
|
* Your API Token.
|
|
126
126
|
*/
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
apiToken?: pulumi.Input<string>;
|
|
128
|
+
channelName?: pulumi.Input<string>;
|
|
129
129
|
/**
|
|
130
130
|
* Your Flowdock Flow name.
|
|
131
131
|
*/
|
|
132
|
-
|
|
132
|
+
flowName?: pulumi.Input<string>;
|
|
133
133
|
/**
|
|
134
134
|
* Your License Key.
|
|
135
135
|
*/
|
|
136
|
-
|
|
136
|
+
licenseKey?: pulumi.Input<string>;
|
|
137
137
|
/**
|
|
138
138
|
* Your Flowdock organization name.
|
|
139
139
|
* * `WEBHOOK`
|
|
140
140
|
*/
|
|
141
|
-
|
|
141
|
+
orgName?: pulumi.Input<string>;
|
|
142
142
|
/**
|
|
143
143
|
* The unique ID for the project to get all Third-Party service integrations
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
projectId?: pulumi.Input<string>;
|
|
146
146
|
/**
|
|
147
147
|
* Your Insights Query Key.
|
|
148
148
|
* * `OPS_GENIE`
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
readToken?: pulumi.Input<string>;
|
|
151
151
|
/**
|
|
152
152
|
* Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
|
|
153
153
|
* * `VICTOR_OPS`
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
region?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
157
157
|
* An optional field for your Routing Key.
|
|
158
158
|
* * `FLOWDOCK`
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
routingKey?: pulumi.Input<string>;
|
|
161
161
|
/**
|
|
162
162
|
* An optional field for your webhook secret.
|
|
163
163
|
*/
|
|
164
|
-
|
|
164
|
+
secret?: pulumi.Input<string>;
|
|
165
165
|
/**
|
|
166
166
|
* Your Service Key.
|
|
167
167
|
* * `DATADOG`
|
|
168
168
|
*/
|
|
169
|
-
|
|
170
|
-
|
|
169
|
+
serviceKey?: pulumi.Input<string>;
|
|
170
|
+
teamName?: pulumi.Input<string>;
|
|
171
171
|
/**
|
|
172
172
|
* Third-Party Integration Settings type
|
|
173
173
|
* * PAGER_DUTY
|
|
@@ -178,15 +178,15 @@ export interface ThirdPartyIntegrationState {
|
|
|
178
178
|
* * FLOWDOCK
|
|
179
179
|
* * WEBHOOK
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
type?: pulumi.Input<string>;
|
|
182
182
|
/**
|
|
183
183
|
* Your webhook URL.
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
url?: pulumi.Input<string>;
|
|
186
186
|
/**
|
|
187
187
|
* Your Insights Insert Key.
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
writeToken?: pulumi.Input<string>;
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
192
192
|
* The set of arguments for constructing a ThirdPartyIntegration resource.
|
|
@@ -195,58 +195,58 @@ export interface ThirdPartyIntegrationArgs {
|
|
|
195
195
|
/**
|
|
196
196
|
* Unique identifier of your New Relic account.
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
accountId?: pulumi.Input<string>;
|
|
199
199
|
/**
|
|
200
200
|
* Your API Key.
|
|
201
201
|
*/
|
|
202
|
-
|
|
202
|
+
apiKey?: pulumi.Input<string>;
|
|
203
203
|
/**
|
|
204
204
|
* Your API Token.
|
|
205
205
|
*/
|
|
206
|
-
|
|
207
|
-
|
|
206
|
+
apiToken?: pulumi.Input<string>;
|
|
207
|
+
channelName?: pulumi.Input<string>;
|
|
208
208
|
/**
|
|
209
209
|
* Your Flowdock Flow name.
|
|
210
210
|
*/
|
|
211
|
-
|
|
211
|
+
flowName?: pulumi.Input<string>;
|
|
212
212
|
/**
|
|
213
213
|
* Your License Key.
|
|
214
214
|
*/
|
|
215
|
-
|
|
215
|
+
licenseKey?: pulumi.Input<string>;
|
|
216
216
|
/**
|
|
217
217
|
* Your Flowdock organization name.
|
|
218
218
|
* * `WEBHOOK`
|
|
219
219
|
*/
|
|
220
|
-
|
|
220
|
+
orgName?: pulumi.Input<string>;
|
|
221
221
|
/**
|
|
222
222
|
* The unique ID for the project to get all Third-Party service integrations
|
|
223
223
|
*/
|
|
224
|
-
|
|
224
|
+
projectId: pulumi.Input<string>;
|
|
225
225
|
/**
|
|
226
226
|
* Your Insights Query Key.
|
|
227
227
|
* * `OPS_GENIE`
|
|
228
228
|
*/
|
|
229
|
-
|
|
229
|
+
readToken?: pulumi.Input<string>;
|
|
230
230
|
/**
|
|
231
231
|
* Indicates which API URL to use, either US or EU. Opsgenie will use US by default.
|
|
232
232
|
* * `VICTOR_OPS`
|
|
233
233
|
*/
|
|
234
|
-
|
|
234
|
+
region?: pulumi.Input<string>;
|
|
235
235
|
/**
|
|
236
236
|
* An optional field for your Routing Key.
|
|
237
237
|
* * `FLOWDOCK`
|
|
238
238
|
*/
|
|
239
|
-
|
|
239
|
+
routingKey?: pulumi.Input<string>;
|
|
240
240
|
/**
|
|
241
241
|
* An optional field for your webhook secret.
|
|
242
242
|
*/
|
|
243
|
-
|
|
243
|
+
secret?: pulumi.Input<string>;
|
|
244
244
|
/**
|
|
245
245
|
* Your Service Key.
|
|
246
246
|
* * `DATADOG`
|
|
247
247
|
*/
|
|
248
|
-
|
|
249
|
-
|
|
248
|
+
serviceKey?: pulumi.Input<string>;
|
|
249
|
+
teamName?: pulumi.Input<string>;
|
|
250
250
|
/**
|
|
251
251
|
* Third-Party Integration Settings type
|
|
252
252
|
* * PAGER_DUTY
|
|
@@ -257,13 +257,13 @@ export interface ThirdPartyIntegrationArgs {
|
|
|
257
257
|
* * FLOWDOCK
|
|
258
258
|
* * WEBHOOK
|
|
259
259
|
*/
|
|
260
|
-
|
|
260
|
+
type: pulumi.Input<string>;
|
|
261
261
|
/**
|
|
262
262
|
* Your webhook URL.
|
|
263
263
|
*/
|
|
264
|
-
|
|
264
|
+
url?: pulumi.Input<string>;
|
|
265
265
|
/**
|
|
266
266
|
* Your Insights Insert Key.
|
|
267
267
|
*/
|
|
268
|
-
|
|
268
|
+
writeToken?: pulumi.Input<string>;
|
|
269
269
|
}
|
package/thirdPartyIntegration.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ThirdPartyIntegration = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -17,27 +18,27 @@ const utilities = require("./utilities");
|
|
|
17
18
|
*/
|
|
18
19
|
class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
19
20
|
constructor(name, argsOrState, opts) {
|
|
20
|
-
let
|
|
21
|
+
let resourceInputs = {};
|
|
21
22
|
opts = opts || {};
|
|
22
23
|
if (opts.id) {
|
|
23
24
|
const state = argsOrState;
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
25
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
26
|
+
resourceInputs["apiKey"] = state ? state.apiKey : undefined;
|
|
27
|
+
resourceInputs["apiToken"] = state ? state.apiToken : undefined;
|
|
28
|
+
resourceInputs["channelName"] = state ? state.channelName : undefined;
|
|
29
|
+
resourceInputs["flowName"] = state ? state.flowName : undefined;
|
|
30
|
+
resourceInputs["licenseKey"] = state ? state.licenseKey : undefined;
|
|
31
|
+
resourceInputs["orgName"] = state ? state.orgName : undefined;
|
|
32
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
33
|
+
resourceInputs["readToken"] = state ? state.readToken : undefined;
|
|
34
|
+
resourceInputs["region"] = state ? state.region : undefined;
|
|
35
|
+
resourceInputs["routingKey"] = state ? state.routingKey : undefined;
|
|
36
|
+
resourceInputs["secret"] = state ? state.secret : undefined;
|
|
37
|
+
resourceInputs["serviceKey"] = state ? state.serviceKey : undefined;
|
|
38
|
+
resourceInputs["teamName"] = state ? state.teamName : undefined;
|
|
39
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
40
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
41
|
+
resourceInputs["writeToken"] = state ? state.writeToken : undefined;
|
|
41
42
|
}
|
|
42
43
|
else {
|
|
43
44
|
const args = argsOrState;
|
|
@@ -47,28 +48,28 @@ class ThirdPartyIntegration extends pulumi.CustomResource {
|
|
|
47
48
|
if ((!args || args.type === undefined) && !opts.urn) {
|
|
48
49
|
throw new Error("Missing required property 'type'");
|
|
49
50
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
51
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
52
|
+
resourceInputs["apiKey"] = args ? args.apiKey : undefined;
|
|
53
|
+
resourceInputs["apiToken"] = args ? args.apiToken : undefined;
|
|
54
|
+
resourceInputs["channelName"] = args ? args.channelName : undefined;
|
|
55
|
+
resourceInputs["flowName"] = args ? args.flowName : undefined;
|
|
56
|
+
resourceInputs["licenseKey"] = args ? args.licenseKey : undefined;
|
|
57
|
+
resourceInputs["orgName"] = args ? args.orgName : undefined;
|
|
58
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
59
|
+
resourceInputs["readToken"] = args ? args.readToken : undefined;
|
|
60
|
+
resourceInputs["region"] = args ? args.region : undefined;
|
|
61
|
+
resourceInputs["routingKey"] = args ? args.routingKey : undefined;
|
|
62
|
+
resourceInputs["secret"] = args ? args.secret : undefined;
|
|
63
|
+
resourceInputs["serviceKey"] = args ? args.serviceKey : undefined;
|
|
64
|
+
resourceInputs["teamName"] = args ? args.teamName : undefined;
|
|
65
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
66
|
+
resourceInputs["url"] = args ? args.url : undefined;
|
|
67
|
+
resourceInputs["writeToken"] = args ? args.writeToken : undefined;
|
|
67
68
|
}
|
|
68
69
|
if (!opts.version) {
|
|
69
70
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
70
71
|
}
|
|
71
|
-
super(ThirdPartyIntegration.__pulumiType, name,
|
|
72
|
+
super(ThirdPartyIntegration.__pulumiType, name, resourceInputs, opts);
|
|
72
73
|
}
|
|
73
74
|
/**
|
|
74
75
|
* Get an existing ThirdPartyIntegration resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thirdPartyIntegration.js","sourceRoot":"","sources":["../thirdPartyIntegration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"thirdPartyIntegration.js","sourceRoot":"","sources":["../thirdPartyIntegration.ts"],"names":[],"mappings":";AA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AAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAoKC;AAtJG,gBAAgB;AACO,kCAAY,GAAG,gEAAgE,CAAC"}
|
package/types/index.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.output = exports.input = void 0;
|
|
5
6
|
// Export sub-modules:
|
|
6
7
|
const input = require("./input");
|
|
7
8
|
exports.input = input;
|
package/types/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,sBAAsB;AACtB,iCAAiC;AAI7B,sBAAK;AAHT,mCAAmC;AAI/B,wBAAM"}
|
package/types/input.d.ts
CHANGED
|
@@ -297,6 +297,14 @@ export interface CloudProviderSnapshotRestoreJobDeliveryTypeConfig {
|
|
|
297
297
|
targetProjectId?: pulumi.Input<string>;
|
|
298
298
|
}
|
|
299
299
|
export interface ClusterAdvancedConfiguration {
|
|
300
|
+
/**
|
|
301
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
302
|
+
*/
|
|
303
|
+
defaultReadConcern?: pulumi.Input<string>;
|
|
304
|
+
/**
|
|
305
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
306
|
+
*/
|
|
307
|
+
defaultWriteConcern?: pulumi.Input<string>;
|
|
300
308
|
/**
|
|
301
309
|
* 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.
|
|
302
310
|
*/
|
|
@@ -660,6 +668,13 @@ export interface GetCustomDbRoleInheritedRole {
|
|
|
660
668
|
*/
|
|
661
669
|
roleName?: string;
|
|
662
670
|
}
|
|
671
|
+
export interface GetCustomDbRoleInheritedRoleArgs {
|
|
672
|
+
databaseName?: pulumi.Input<string>;
|
|
673
|
+
/**
|
|
674
|
+
* Name of the custom role.
|
|
675
|
+
*/
|
|
676
|
+
roleName?: pulumi.Input<string>;
|
|
677
|
+
}
|
|
663
678
|
export interface GetGlobalClusterConfigManagedNamespace {
|
|
664
679
|
/**
|
|
665
680
|
* (Required) The name of the collection associated with the managed namespace.
|
|
@@ -673,6 +688,36 @@ export interface GetGlobalClusterConfigManagedNamespace {
|
|
|
673
688
|
* (Required) The name of the database containing the collection.
|
|
674
689
|
*/
|
|
675
690
|
db: string;
|
|
691
|
+
/**
|
|
692
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
693
|
+
*/
|
|
694
|
+
isCustomShardKeyHashed?: boolean;
|
|
695
|
+
/**
|
|
696
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
697
|
+
*/
|
|
698
|
+
isShardKeyUnique?: boolean;
|
|
699
|
+
}
|
|
700
|
+
export interface GetGlobalClusterConfigManagedNamespaceArgs {
|
|
701
|
+
/**
|
|
702
|
+
* (Required) The name of the collection associated with the managed namespace.
|
|
703
|
+
*/
|
|
704
|
+
collection: pulumi.Input<string>;
|
|
705
|
+
/**
|
|
706
|
+
* (Required) The custom shard key for the collection. Global Clusters require a compound shard key consisting of a location field and a user-selected second key, the custom shard key.
|
|
707
|
+
*/
|
|
708
|
+
customShardKey: pulumi.Input<string>;
|
|
709
|
+
/**
|
|
710
|
+
* (Required) The name of the database containing the collection.
|
|
711
|
+
*/
|
|
712
|
+
db: pulumi.Input<string>;
|
|
713
|
+
/**
|
|
714
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
715
|
+
*/
|
|
716
|
+
isCustomShardKeyHashed?: pulumi.Input<boolean>;
|
|
717
|
+
/**
|
|
718
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
719
|
+
*/
|
|
720
|
+
isShardKeyUnique?: pulumi.Input<boolean>;
|
|
676
721
|
}
|
|
677
722
|
export interface GlobalClusterConfigCustomZoneMapping {
|
|
678
723
|
/**
|
|
@@ -697,6 +742,14 @@ export interface GlobalClusterConfigManagedNamespace {
|
|
|
697
742
|
* The name of the database containing the collection.
|
|
698
743
|
*/
|
|
699
744
|
db: pulumi.Input<string>;
|
|
745
|
+
/**
|
|
746
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
747
|
+
*/
|
|
748
|
+
isCustomShardKeyHashed?: pulumi.Input<boolean>;
|
|
749
|
+
/**
|
|
750
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
751
|
+
*/
|
|
752
|
+
isShardKeyUnique?: pulumi.Input<boolean>;
|
|
700
753
|
}
|
|
701
754
|
export interface LdapConfigurationUserToDnMapping {
|
|
702
755
|
ldapQuery?: pulumi.Input<string>;
|
package/types/output.d.ts
CHANGED
|
@@ -296,6 +296,14 @@ export interface CloudProviderSnapshotRestoreJobDeliveryTypeConfig {
|
|
|
296
296
|
targetProjectId?: string;
|
|
297
297
|
}
|
|
298
298
|
export interface ClusterAdvancedConfiguration {
|
|
299
|
+
/**
|
|
300
|
+
* [Default level of acknowledgment requested from MongoDB for read operations](https://docs.mongodb.com/manual/reference/read-concern/) set for this cluster. MongoDB 4.4 clusters default to [available](https://docs.mongodb.com/manual/reference/read-concern-available/).
|
|
301
|
+
*/
|
|
302
|
+
defaultReadConcern: string;
|
|
303
|
+
/**
|
|
304
|
+
* [Default level of acknowledgment requested from MongoDB for write operations](https://docs.mongodb.com/manual/reference/write-concern/) set for this cluster. MongoDB 4.4 clusters default to [1](https://docs.mongodb.com/manual/reference/write-concern/).
|
|
305
|
+
*/
|
|
306
|
+
defaultWriteConcern: string;
|
|
299
307
|
/**
|
|
300
308
|
* 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.
|
|
301
309
|
*/
|
|
@@ -1885,6 +1893,14 @@ export interface GetGlobalClusterConfigManagedNamespace {
|
|
|
1885
1893
|
* (Required) The name of the database containing the collection.
|
|
1886
1894
|
*/
|
|
1887
1895
|
db: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
1898
|
+
*/
|
|
1899
|
+
isCustomShardKeyHashed: boolean;
|
|
1900
|
+
/**
|
|
1901
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
1902
|
+
*/
|
|
1903
|
+
isShardKeyUnique: boolean;
|
|
1888
1904
|
}
|
|
1889
1905
|
export interface GetLdapConfigurationUserToDnMapping {
|
|
1890
1906
|
ldapQuery: string;
|
|
@@ -2241,6 +2257,14 @@ export interface GlobalClusterConfigManagedNamespace {
|
|
|
2241
2257
|
* The name of the database containing the collection.
|
|
2242
2258
|
*/
|
|
2243
2259
|
db: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* Specifies whether the custom shard key for the collection is [hashed](https://docs.mongodb.com/manual/reference/method/sh.shardCollection/#hashed-shard-keys). If omitted, defaults to `false`. If `false`, Atlas uses [ranged sharding](https://docs.mongodb.com/manual/core/ranged-sharding/). This is only available for Atlas clusters with MongoDB v4.4 and later.
|
|
2262
|
+
*/
|
|
2263
|
+
isCustomShardKeyHashed: boolean;
|
|
2264
|
+
/**
|
|
2265
|
+
* Specifies whether the underlying index enforces a unique constraint. If omitted, defaults to false. You cannot specify true when using [hashed shard keys](https://docs.mongodb.com/manual/core/hashed-sharding/#std-label-sharding-hashed).
|
|
2266
|
+
*/
|
|
2267
|
+
isShardKeyUnique: boolean;
|
|
2244
2268
|
}
|
|
2245
2269
|
export interface LdapConfigurationUserToDnMapping {
|
|
2246
2270
|
ldapQuery: string;
|
package/utilities.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.getVersion = exports.getEnvNumber = exports.getEnvBoolean = exports.getEnv = void 0;
|
|
5
6
|
function getEnv(...vars) {
|
|
6
7
|
for (const v of vars) {
|
|
7
8
|
const value = process.env[v];
|
package/utilities.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"utilities.js","sourceRoot":"","sources":["../utilities.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAGjF,SAAgB,MAAM,CAAC,GAAG,IAAc;IACpC,KAAK,MAAM,CAAC,IAAI,IAAI,EAAE;QAClB,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;QAC7B,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AARD,wBAQC;AAED,SAAgB,aAAa,CAAC,GAAG,IAAc;IAC3C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,uGAAuG;QACvG,yDAAyD;QACzD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC1E,OAAO,IAAI,CAAC;SACf;QACD,IAAI,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,KAAK,SAAS,EAAE;YAC7E,OAAO,KAAK,CAAC;SAChB;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AAbD,sCAaC;AAED,SAAgB,YAAY,CAAC,GAAG,IAAc;IAC1C,MAAM,CAAC,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC;IAC1B,IAAI,CAAC,KAAK,SAAS,EAAE;QACjB,MAAM,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;QACxB,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE;YACX,OAAO,CAAC,CAAC;SACZ;KACJ;IACD,OAAO,SAAS,CAAC;AACrB,CAAC;AATD,oCASC;AAED,SAAgB,UAAU;IACtB,IAAI,OAAO,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC,OAAO,CAAC;IAChD,6EAA6E;IAC7E,iCAAiC;IACjC,IAAI,OAAO,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE;QAC5B,OAAO,GAAG,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;KAC9B;IACD,OAAO,OAAO,CAAC;AACnB,CAAC;AARD,gCAQC"}
|
|
@@ -137,27 +137,27 @@ export interface X509AuthenticationDatabaseUserState {
|
|
|
137
137
|
/**
|
|
138
138
|
* Array of objects where each details one unexpired database user certificate.
|
|
139
139
|
*/
|
|
140
|
-
|
|
140
|
+
certificates?: pulumi.Input<pulumi.Input<inputs.X509AuthenticationDatabaseUserCertificate>[]>;
|
|
141
141
|
/**
|
|
142
142
|
* Contains the last X.509 certificate and private key created for a database user.
|
|
143
143
|
*/
|
|
144
|
-
|
|
144
|
+
currentCertificate?: pulumi.Input<string>;
|
|
145
145
|
/**
|
|
146
146
|
* PEM string containing one or more customer CAs for database user authentication.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
customerX509Cas?: pulumi.Input<string>;
|
|
149
149
|
/**
|
|
150
150
|
* A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
|
|
151
151
|
*/
|
|
152
|
-
|
|
152
|
+
monthsUntilExpiration?: pulumi.Input<number>;
|
|
153
153
|
/**
|
|
154
154
|
* Identifier for the Atlas project associated with the X.509 configuration.
|
|
155
155
|
*/
|
|
156
|
-
|
|
156
|
+
projectId?: pulumi.Input<string>;
|
|
157
157
|
/**
|
|
158
158
|
* Username of the database user to create a certificate for.
|
|
159
159
|
*/
|
|
160
|
-
|
|
160
|
+
username?: pulumi.Input<string>;
|
|
161
161
|
}
|
|
162
162
|
/**
|
|
163
163
|
* The set of arguments for constructing a X509AuthenticationDatabaseUser resource.
|
|
@@ -166,17 +166,17 @@ export interface X509AuthenticationDatabaseUserArgs {
|
|
|
166
166
|
/**
|
|
167
167
|
* PEM string containing one or more customer CAs for database user authentication.
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
customerX509Cas?: pulumi.Input<string>;
|
|
170
170
|
/**
|
|
171
171
|
* A number of months that the created certificate is valid for before expiry, up to 24 months. By default is 3.
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
monthsUntilExpiration?: pulumi.Input<number>;
|
|
174
174
|
/**
|
|
175
175
|
* Identifier for the Atlas project associated with the X.509 configuration.
|
|
176
176
|
*/
|
|
177
|
-
|
|
177
|
+
projectId: pulumi.Input<string>;
|
|
178
178
|
/**
|
|
179
179
|
* Username of the database user to create a certificate for.
|
|
180
180
|
*/
|
|
181
|
-
|
|
181
|
+
username?: pulumi.Input<string>;
|
|
182
182
|
}
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.X509AuthenticationDatabaseUser = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -87,33 +88,33 @@ const utilities = require("./utilities");
|
|
|
87
88
|
*/
|
|
88
89
|
class X509AuthenticationDatabaseUser extends pulumi.CustomResource {
|
|
89
90
|
constructor(name, argsOrState, opts) {
|
|
90
|
-
let
|
|
91
|
+
let resourceInputs = {};
|
|
91
92
|
opts = opts || {};
|
|
92
93
|
if (opts.id) {
|
|
93
94
|
const state = argsOrState;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
95
|
+
resourceInputs["certificates"] = state ? state.certificates : undefined;
|
|
96
|
+
resourceInputs["currentCertificate"] = state ? state.currentCertificate : undefined;
|
|
97
|
+
resourceInputs["customerX509Cas"] = state ? state.customerX509Cas : undefined;
|
|
98
|
+
resourceInputs["monthsUntilExpiration"] = state ? state.monthsUntilExpiration : undefined;
|
|
99
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
100
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
100
101
|
}
|
|
101
102
|
else {
|
|
102
103
|
const args = argsOrState;
|
|
103
104
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
104
105
|
throw new Error("Missing required property 'projectId'");
|
|
105
106
|
}
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
107
|
+
resourceInputs["customerX509Cas"] = args ? args.customerX509Cas : undefined;
|
|
108
|
+
resourceInputs["monthsUntilExpiration"] = args ? args.monthsUntilExpiration : undefined;
|
|
109
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
110
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
111
|
+
resourceInputs["certificates"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["currentCertificate"] = undefined /*out*/;
|
|
112
113
|
}
|
|
113
114
|
if (!opts.version) {
|
|
114
115
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
115
116
|
}
|
|
116
|
-
super(X509AuthenticationDatabaseUser.__pulumiType, name,
|
|
117
|
+
super(X509AuthenticationDatabaseUser.__pulumiType, name, resourceInputs, opts);
|
|
117
118
|
}
|
|
118
119
|
/**
|
|
119
120
|
* Get an existing X509AuthenticationDatabaseUser resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"x509authenticationDatabaseUser.js","sourceRoot":"","sources":["../x509authenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"x509authenticationDatabaseUser.js","sourceRoot":"","sources":["../x509authenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgFG;AACH,MAAa,8BAA+B,SAAQ,MAAM,CAAC,cAAc;IA6DrE,YAAY,IAAY,EAAE,WAAsF,EAAE,IAAmC;QACjJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8D,CAAC;YAC7E,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,uB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