@pulumi/mongodbatlas 3.4.0 → 3.6.0-alpha.1662645483

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.
Files changed (118) hide show
  1. package/advancedCluster.d.ts +0 -8
  2. package/advancedCluster.js +0 -8
  3. package/advancedCluster.js.map +1 -1
  4. package/cloudBackupSchedule.d.ts +33 -6
  5. package/cloudBackupSchedule.js +10 -4
  6. package/cloudBackupSchedule.js.map +1 -1
  7. package/cloudBackupSnapshot.d.ts +0 -31
  8. package/cloudBackupSnapshot.js +0 -31
  9. package/cloudBackupSnapshot.js.map +1 -1
  10. package/cloudBackupSnapshotRestoreJob.d.ts +28 -4
  11. package/cloudBackupSnapshotRestoreJob.js +1 -1
  12. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  13. package/cloudProviderSnapshot.d.ts +0 -32
  14. package/cloudProviderSnapshot.js +0 -32
  15. package/cloudProviderSnapshot.js.map +1 -1
  16. package/cluster.d.ts +3 -3
  17. package/eventTrigger.d.ts +13 -0
  18. package/eventTrigger.js +3 -0
  19. package/eventTrigger.js.map +1 -1
  20. package/federatedSettingsIdentityProvider.d.ts +190 -0
  21. package/federatedSettingsIdentityProvider.js +120 -0
  22. package/federatedSettingsIdentityProvider.js.map +1 -0
  23. package/federatedSettingsOrgConfig.d.ts +54 -0
  24. package/federatedSettingsOrgConfig.js +71 -0
  25. package/federatedSettingsOrgConfig.js.map +1 -0
  26. package/federatedSettingsOrgRoleMapping.d.ts +140 -0
  27. package/federatedSettingsOrgRoleMapping.js +122 -0
  28. package/federatedSettingsOrgRoleMapping.js.map +1 -0
  29. package/getAdvancedCluster.d.ts +1 -1
  30. package/getAdvancedCluster.js +1 -1
  31. package/getAdvancedClusters.d.ts +0 -26
  32. package/getAdvancedClusters.js +0 -26
  33. package/getAdvancedClusters.js.map +1 -1
  34. package/getCloudBackupSchedule.d.ts +9 -0
  35. package/getCloudBackupSchedule.js.map +1 -1
  36. package/getCloudBackupSnapshotRestoreJob.d.ts +3 -0
  37. package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
  38. package/getCloudProviderSnapshotRestoreJob.d.ts +3 -0
  39. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  40. package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -32
  41. package/getCloudProviderSnapshotRestoreJobs.js +0 -32
  42. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  43. package/getEventTrigger.d.ts +4 -0
  44. package/getEventTrigger.js.map +1 -1
  45. package/getFederatedSettings.d.ts +61 -0
  46. package/getFederatedSettings.js +36 -0
  47. package/getFederatedSettings.js.map +1 -0
  48. package/getFederatedSettingsIdentityProvider.d.ts +122 -0
  49. package/getFederatedSettingsIdentityProvider.js +48 -0
  50. package/getFederatedSettingsIdentityProvider.js.map +1 -0
  51. package/getFederatedSettingsIdentityProviders.d.ts +79 -0
  52. package/getFederatedSettingsIdentityProviders.js +46 -0
  53. package/getFederatedSettingsIdentityProviders.js.map +1 -0
  54. package/getFederatedSettingsOrgConfig.d.ts +83 -0
  55. package/getFederatedSettingsOrgConfig.js +44 -0
  56. package/getFederatedSettingsOrgConfig.js.map +1 -0
  57. package/getFederatedSettingsOrgConfigs.d.ts +77 -0
  58. package/getFederatedSettingsOrgConfigs.js +44 -0
  59. package/getFederatedSettingsOrgConfigs.js.map +1 -0
  60. package/getFederatedSettingsOrgRoleMapping.d.ts +102 -0
  61. package/getFederatedSettingsOrgRoleMapping.js +74 -0
  62. package/getFederatedSettingsOrgRoleMapping.js.map +1 -0
  63. package/getFederatedSettingsOrgRoleMappings.d.ts +66 -0
  64. package/getFederatedSettingsOrgRoleMappings.js +28 -0
  65. package/getFederatedSettingsOrgRoleMappings.js.map +1 -0
  66. package/getPrivateEndpointRegionalMode.d.ts +45 -0
  67. package/getPrivateEndpointRegionalMode.js +28 -0
  68. package/getPrivateEndpointRegionalMode.js.map +1 -0
  69. package/getPrivatelinkEndpointServiceAdl.d.ts +0 -17
  70. package/getPrivatelinkEndpointServiceAdl.js +0 -17
  71. package/getPrivatelinkEndpointServiceAdl.js.map +1 -1
  72. package/getProject.d.ts +20 -0
  73. package/getProject.js.map +1 -1
  74. package/getServerlessInstance.d.ts +96 -0
  75. package/getServerlessInstance.js +44 -0
  76. package/getServerlessInstance.js.map +1 -0
  77. package/getServerlessInstances.d.ts +55 -0
  78. package/getServerlessInstances.js +41 -0
  79. package/getServerlessInstances.js.map +1 -0
  80. package/getThirdPartyIntegration.d.ts +68 -0
  81. package/getThirdPartyIntegration.js +5 -0
  82. package/getThirdPartyIntegration.js.map +1 -1
  83. package/globalClusterConfig.d.ts +2 -2
  84. package/globalClusterConfig.js +2 -2
  85. package/index.d.ts +15 -0
  86. package/index.js +35 -0
  87. package/index.js.map +1 -1
  88. package/orgInvitation.d.ts +1 -13
  89. package/orgInvitation.js +1 -13
  90. package/orgInvitation.js.map +1 -1
  91. package/package.json +4 -3
  92. package/package.json.bak +2 -1
  93. package/package.json.dev +4 -3
  94. package/privateEndpointRegionalMode.d.ts +80 -0
  95. package/privateEndpointRegionalMode.js +65 -0
  96. package/privateEndpointRegionalMode.js.map +1 -0
  97. package/privateLinkEndpointService.d.ts +0 -32
  98. package/privateLinkEndpointService.js +0 -32
  99. package/privateLinkEndpointService.js.map +1 -1
  100. package/project.d.ts +65 -0
  101. package/project.js +15 -0
  102. package/project.js.map +1 -1
  103. package/projectInvitation.d.ts +1 -16
  104. package/projectInvitation.js +1 -16
  105. package/projectInvitation.js.map +1 -1
  106. package/provider.d.ts +5 -5
  107. package/provider.js +0 -6
  108. package/provider.js.map +1 -1
  109. package/searchIndex.d.ts +4 -4
  110. package/searchIndex.js +4 -4
  111. package/serverlessInstance.d.ts +166 -0
  112. package/serverlessInstance.js +109 -0
  113. package/serverlessInstance.js.map +1 -0
  114. package/thirdPartyIntegration.d.ts +78 -0
  115. package/thirdPartyIntegration.js +12 -0
  116. package/thirdPartyIntegration.js.map +1 -1
  117. package/types/input.d.ts +60 -8
  118. package/types/output.d.ts +559 -5
@@ -41,38 +41,6 @@ const utilities = require("./utilities");
41
41
  * });
42
42
  * ```
43
43
  *
44
- * ## Example with Azure
45
- *
46
- * ```typescript
47
- * import * as pulumi from "@pulumi/pulumi";
48
- * import * as azure from "@pulumi/azure";
49
- * import * as mongodbatlas from "@pulumi/mongodbatlas";
50
- *
51
- * const testPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", {
52
- * projectId: _var.project_id,
53
- * providerName: "AZURE",
54
- * region: "eastus2",
55
- * });
56
- * const testEndpoint = new azure.privatelink.Endpoint("testEndpoint", {
57
- * location: data.azurerm_resource_group.test.location,
58
- * resourceGroupName: _var.resource_group_name,
59
- * subnetId: azurerm_subnet.test.id,
60
- * privateServiceConnection: {
61
- * name: testPrivateLinkEndpoint.privateLinkServiceName,
62
- * privateConnectionResourceId: testPrivateLinkEndpoint.privateLinkServiceResourceId,
63
- * isManualConnection: true,
64
- * requestMessage: "Azure Private Link test",
65
- * },
66
- * });
67
- * const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", {
68
- * projectId: testPrivateLinkEndpoint.projectId,
69
- * privateLinkId: testPrivateLinkEndpoint.privateLinkId,
70
- * endpointServiceId: testEndpoint.id,
71
- * privateEndpointIpAddress: testEndpoint.privateServiceConnection.apply(privateServiceConnection => privateServiceConnection.privateIpAddress),
72
- * providerName: "AZURE",
73
- * });
74
- * ```
75
- *
76
44
  * ## Import
77
45
  *
78
46
  * Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.
@@ -1 +1 @@
1
- {"version":3,"file":"privateLinkEndpointService.js","sourceRoot":"","sources":["../privateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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299dda8d54a9d7d10c",
13
13
  * roleNames: ["GROUP_READ_ONLY"],
14
14
  * }],
15
+ * isCollectDatabaseSpecificsStatisticsEnabled: true,
16
+ * isDataExplorerEnabled: true,
17
+ * isPerformanceAdvisorEnabled: true,
18
+ * isRealtimePerformancePanelEnabled: true,
19
+ * isSchemaAdvisorEnabled: true,
15
20
  * orgId: "<ORG_ID>",
16
21
  * projectOwnerId: "<OWNER_ACCOUNT_ID>",
17
22
  * teams: [
@@ -65,6 +70,26 @@ export declare class Project extends pulumi.CustomResource {
65
70
  * The ISO-8601-formatted timestamp of when Atlas created the project..
66
71
  */
67
72
  readonly created: pulumi.Output<string>;
73
+ /**
74
+ * Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
75
+ */
76
+ readonly isCollectDatabaseSpecificsStatisticsEnabled: pulumi.Output<boolean>;
77
+ /**
78
+ * Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh).
79
+ */
80
+ readonly isDataExplorerEnabled: pulumi.Output<boolean>;
81
+ /**
82
+ * Flag that indicates whether to enable Performance Advisor and Profiler for the project. If enabled, you can analyze database logs to recommend performance improvements.
83
+ */
84
+ readonly isPerformanceAdvisorEnabled: pulumi.Output<boolean>;
85
+ /**
86
+ * Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
87
+ */
88
+ readonly isRealtimePerformancePanelEnabled: pulumi.Output<boolean>;
89
+ /**
90
+ * Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
91
+ */
92
+ readonly isSchemaAdvisorEnabled: pulumi.Output<boolean>;
68
93
  /**
69
94
  * The name of the project you want to create. (Cannot be changed via this Provider after creation.)
70
95
  */
@@ -104,6 +129,26 @@ export interface ProjectState {
104
129
  * The ISO-8601-formatted timestamp of when Atlas created the project..
105
130
  */
106
131
  created?: pulumi.Input<string>;
132
+ /**
133
+ * Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
134
+ */
135
+ isCollectDatabaseSpecificsStatisticsEnabled?: pulumi.Input<boolean>;
136
+ /**
137
+ * Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh).
138
+ */
139
+ isDataExplorerEnabled?: pulumi.Input<boolean>;
140
+ /**
141
+ * Flag that indicates whether to enable Performance Advisor and Profiler for the project. If enabled, you can analyze database logs to recommend performance improvements.
142
+ */
143
+ isPerformanceAdvisorEnabled?: pulumi.Input<boolean>;
144
+ /**
145
+ * Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
146
+ */
147
+ isRealtimePerformancePanelEnabled?: pulumi.Input<boolean>;
148
+ /**
149
+ * Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
150
+ */
151
+ isSchemaAdvisorEnabled?: pulumi.Input<boolean>;
107
152
  /**
108
153
  * The name of the project you want to create. (Cannot be changed via this Provider after creation.)
109
154
  */
@@ -127,6 +172,26 @@ export interface ProjectState {
127
172
  */
128
173
  export interface ProjectArgs {
129
174
  apiKeys?: pulumi.Input<pulumi.Input<inputs.ProjectApiKey>[]>;
175
+ /**
176
+ * Flag that indicates whether to enable statistics in [cluster metrics](https://www.mongodb.com/docs/atlas/monitor-cluster-metrics/) collection for the project.
177
+ */
178
+ isCollectDatabaseSpecificsStatisticsEnabled?: pulumi.Input<boolean>;
179
+ /**
180
+ * Flag that indicates whether to enable Data Explorer for the project. If enabled, you can query your database with an easy to use interface. When Data Explorer is disabled, you cannot terminate slow operations from the [Real-Time Performance Panel](https://www.mongodb.com/docs/atlas/real-time-performance-panel/#std-label-real-time-metrics-status-tab) or create indexes from the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor). You can still view Performance Advisor recommendations, but you must create those indexes from [mongosh](https://www.mongodb.com/docs/mongodb-shell/#mongodb-binary-bin.mongosh).
181
+ */
182
+ isDataExplorerEnabled?: pulumi.Input<boolean>;
183
+ /**
184
+ * Flag that indicates whether to enable Performance Advisor and Profiler for the project. If enabled, you can analyze database logs to recommend performance improvements.
185
+ */
186
+ isPerformanceAdvisorEnabled?: pulumi.Input<boolean>;
187
+ /**
188
+ * Flag that indicates whether to enable Real Time Performance Panel for the project. If enabled, you can see real time metrics from your MongoDB database.
189
+ */
190
+ isRealtimePerformancePanelEnabled?: pulumi.Input<boolean>;
191
+ /**
192
+ * Flag that indicates whether to enable Schema Advisor for the project. If enabled, you receive customized recommendations to optimize your data model and enhance performance. Disable this setting to disable schema suggestions in the [Performance Advisor](https://www.mongodb.com/docs/atlas/performance-advisor/#std-label-performance-advisor) and the [Data Explorer](https://www.mongodb.com/docs/atlas/atlas-ui/#std-label-atlas-ui).
193
+ */
194
+ isSchemaAdvisorEnabled?: pulumi.Input<boolean>;
130
195
  /**
131
196
  * The name of the project you want to create. (Cannot be changed via this Provider after creation.)
132
197
  */
package/project.js CHANGED
@@ -17,6 +17,11 @@ const utilities = require("./utilities");
17
17
  * apiKeyId: "61003b299dda8d54a9d7d10c",
18
18
  * roleNames: ["GROUP_READ_ONLY"],
19
19
  * }],
20
+ * isCollectDatabaseSpecificsStatisticsEnabled: true,
21
+ * isDataExplorerEnabled: true,
22
+ * isPerformanceAdvisorEnabled: true,
23
+ * isRealtimePerformancePanelEnabled: true,
24
+ * isSchemaAdvisorEnabled: true,
20
25
  * orgId: "<ORG_ID>",
21
26
  * projectOwnerId: "<OWNER_ACCOUNT_ID>",
22
27
  * teams: [
@@ -54,6 +59,11 @@ class Project extends pulumi.CustomResource {
54
59
  resourceInputs["apiKeys"] = state ? state.apiKeys : undefined;
55
60
  resourceInputs["clusterCount"] = state ? state.clusterCount : undefined;
56
61
  resourceInputs["created"] = state ? state.created : undefined;
62
+ resourceInputs["isCollectDatabaseSpecificsStatisticsEnabled"] = state ? state.isCollectDatabaseSpecificsStatisticsEnabled : undefined;
63
+ resourceInputs["isDataExplorerEnabled"] = state ? state.isDataExplorerEnabled : undefined;
64
+ resourceInputs["isPerformanceAdvisorEnabled"] = state ? state.isPerformanceAdvisorEnabled : undefined;
65
+ resourceInputs["isRealtimePerformancePanelEnabled"] = state ? state.isRealtimePerformancePanelEnabled : undefined;
66
+ resourceInputs["isSchemaAdvisorEnabled"] = state ? state.isSchemaAdvisorEnabled : undefined;
57
67
  resourceInputs["name"] = state ? state.name : undefined;
58
68
  resourceInputs["orgId"] = state ? state.orgId : undefined;
59
69
  resourceInputs["projectOwnerId"] = state ? state.projectOwnerId : undefined;
@@ -66,6 +76,11 @@ class Project extends pulumi.CustomResource {
66
76
  throw new Error("Missing required property 'orgId'");
67
77
  }
68
78
  resourceInputs["apiKeys"] = args ? args.apiKeys : undefined;
79
+ resourceInputs["isCollectDatabaseSpecificsStatisticsEnabled"] = args ? args.isCollectDatabaseSpecificsStatisticsEnabled : undefined;
80
+ resourceInputs["isDataExplorerEnabled"] = args ? args.isDataExplorerEnabled : undefined;
81
+ resourceInputs["isPerformanceAdvisorEnabled"] = args ? args.isPerformanceAdvisorEnabled : undefined;
82
+ resourceInputs["isRealtimePerformancePanelEnabled"] = args ? args.isRealtimePerformancePanelEnabled : undefined;
83
+ resourceInputs["isSchemaAdvisorEnabled"] = args ? args.isSchemaAdvisorEnabled : undefined;
69
84
  resourceInputs["name"] = args ? args.name : undefined;
70
85
  resourceInputs["orgId"] = args ? args.orgId : undefined;
71
86
  resourceInputs["projectOwnerId"] = args ? args.projectOwnerId : undefined;
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;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IA+D9C,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuC,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,C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Q;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;;AA1BL,0BA2HC;AA7GG,gBAAgB;AACO,oBAAY,GAAG,oCAAoC,CAAC"}
@@ -1,20 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * `mongodbatlas.ProjectInvitation` invites a user to join an Atlas project.
4
- *
5
- * Each invitation for an Atlas user includes roles that Atlas grants the user when they accept the invitation.
6
- *
7
- * The [MongoDB Documentation](https://docs.atlas.mongodb.com/reference/user-roles/#project-roles) describes the roles a user can have, which map to:
8
- *
9
- * * GROUP_OWNER
10
- * * GROUP_CLUSTER_MANAGER
11
- * * GROUP_READ_ONLY
12
- * * GROUP_DATA_ACCESS_ADMIN
13
- * * GROUP_DATA_ACCESS_READ_WRITE
14
- * * GROUP_DATA_ACCESS_READ_ONLY
15
- *
16
- * > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
17
- *
18
3
  * ## Example Usage
19
4
  * ### S
20
5
  *
@@ -45,7 +30,7 @@ import * as pulumi from "@pulumi/pulumi";
45
30
  *
46
31
  * ## Import
47
32
  *
48
- * Import a user's invitation to a project by separating the `project_id` and the `username` with a hyphen
33
+ * ~> **IMPORTANT:** A project invitation can **not** be imported once it has been accepted. Import a user's invitation to a project by separating the `project_id` and the `username` with a hyphen
49
34
  *
50
35
  * ```sh
51
36
  * $ pulumi import mongodbatlas:index/projectInvitation:ProjectInvitation my_user 1112222b3bf99403840e8934-my_user@mongodb.com
@@ -6,21 +6,6 @@ exports.ProjectInvitation = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * `mongodbatlas.ProjectInvitation` invites a user to join an Atlas project.
10
- *
11
- * Each invitation for an Atlas user includes roles that Atlas grants the user when they accept the invitation.
12
- *
13
- * The [MongoDB Documentation](https://docs.atlas.mongodb.com/reference/user-roles/#project-roles) describes the roles a user can have, which map to:
14
- *
15
- * * GROUP_OWNER
16
- * * GROUP_CLUSTER_MANAGER
17
- * * GROUP_READ_ONLY
18
- * * GROUP_DATA_ACCESS_ADMIN
19
- * * GROUP_DATA_ACCESS_READ_WRITE
20
- * * GROUP_DATA_ACCESS_READ_ONLY
21
- *
22
- * > **NOTE:** Groups and projects are synonymous terms. You may find GROUP-ID in the official documentation.
23
- *
24
9
  * ## Example Usage
25
10
  * ### S
26
11
  *
@@ -51,7 +36,7 @@ const utilities = require("./utilities");
51
36
  *
52
37
  * ## Import
53
38
  *
54
- * Import a user's invitation to a project by separating the `project_id` and the `username` with a hyphen
39
+ * ~> **IMPORTANT:** A project invitation can **not** be imported once it has been accepted. Import a user's invitation to a project by separating the `project_id` and the `username` with a hyphen
55
40
  *
56
41
  * ```sh
57
42
  * $ pulumi import mongodbatlas:index/projectInvitation:ProjectInvitation my_user 1112222b3bf99403840e8934-my_user@mongodb.com
@@ -1 +1 @@
1
- {"version":3,"file":"projectInvitation.js","sourceRoot":"","sources":["../projectInvitation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IAuExD,YAAY,IAAY,EAAE,WAA4D,EAAE,IAAmC;QACvH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAiD,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,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IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;IAvGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACxE,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,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;;AA1BL,8CAyGC;AA3FG,gBAAgB;AACO,8BAAY,GAAG,wDAAwD,CAAC"}
package/provider.d.ts CHANGED
@@ -18,11 +18,11 @@ export declare class Provider extends pulumi.ProviderResource {
18
18
  /**
19
19
  * MongoDB Atlas Programmatic Private Key
20
20
  */
21
- readonly privateKey: pulumi.Output<string>;
21
+ readonly privateKey: pulumi.Output<string | undefined>;
22
22
  /**
23
23
  * MongoDB Atlas Programmatic Public Key
24
24
  */
25
- readonly publicKey: pulumi.Output<string>;
25
+ readonly publicKey: pulumi.Output<string | undefined>;
26
26
  /**
27
27
  * MongoDB Realm Base URL
28
28
  */
@@ -34,7 +34,7 @@ export declare class Provider extends pulumi.ProviderResource {
34
34
  * @param args The arguments to use to populate this resource's properties.
35
35
  * @param opts A bag of options that control this resource's behavior.
36
36
  */
37
- constructor(name: string, args: ProviderArgs, opts?: pulumi.ResourceOptions);
37
+ constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
38
38
  }
39
39
  /**
40
40
  * The set of arguments for constructing a Provider resource.
@@ -47,11 +47,11 @@ export interface ProviderArgs {
47
47
  /**
48
48
  * MongoDB Atlas Programmatic Private Key
49
49
  */
50
- privateKey: pulumi.Input<string>;
50
+ privateKey?: pulumi.Input<string>;
51
51
  /**
52
52
  * MongoDB Atlas Programmatic Public Key
53
53
  */
54
- publicKey: pulumi.Input<string>;
54
+ publicKey?: pulumi.Input<string>;
55
55
  /**
56
56
  * MongoDB Realm Base URL
57
57
  */
package/provider.js CHANGED
@@ -23,12 +23,6 @@ class Provider extends pulumi.ProviderResource {
23
23
  let resourceInputs = {};
24
24
  opts = opts || {};
25
25
  {
26
- if ((!args || args.privateKey === undefined) && !opts.urn) {
27
- throw new Error("Missing required property 'privateKey'");
28
- }
29
- if ((!args || args.publicKey === undefined) && !opts.urn) {
30
- throw new Error("Missing required property 'publicKey'");
31
- }
32
26
  resourceInputs["baseUrl"] = args ? args.baseUrl : undefined;
33
27
  resourceInputs["privateKey"] = args ? args.privateKey : undefined;
34
28
  resourceInputs["publicKey"] = args ? args.publicKey : undefined;
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAgCjD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAkB,EAAE,IAA6B;QACvE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,UAAU,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvD,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,SAAS,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;a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AI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IA9CD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BAmDC;AAlDG,gBAAgB;AACO,qBAAY,GAAG,cAAc,CAAC"}
package/searchIndex.d.ts CHANGED
@@ -65,16 +65,16 @@ import { input as inputs, output as outputs } from "./types";
65
65
  * searchAnalyzer: "lucene.standard",
66
66
  * analyzers: ` [{
67
67
  * "name": "index_analyzer_test_name",
68
- * "char_filters": {
68
+ * "charFilters": {
69
69
  * "type": "mapping",
70
70
  * "mappings": {"\\" : "/"}
71
71
  * },
72
72
  * "tokenizer": {
73
73
  * "type": "nGram",
74
- * "min_gram": 2,
75
- * "max_gram": 5
74
+ * "minGram": 2,
75
+ * "maxGram": 5
76
76
  * },
77
- * "token_filters": {
77
+ * "tokenFilters": {
78
78
  * "type": "length",
79
79
  * "min": 20,
80
80
  * "max": 33
package/searchIndex.js CHANGED
@@ -70,16 +70,16 @@ const utilities = require("./utilities");
70
70
  * searchAnalyzer: "lucene.standard",
71
71
  * analyzers: ` [{
72
72
  * "name": "index_analyzer_test_name",
73
- * "char_filters": {
73
+ * "charFilters": {
74
74
  * "type": "mapping",
75
75
  * "mappings": {"\\" : "/"}
76
76
  * },
77
77
  * "tokenizer": {
78
78
  * "type": "nGram",
79
- * "min_gram": 2,
80
- * "max_gram": 5
79
+ * "minGram": 2,
80
+ * "maxGram": 5
81
81
  * },
82
- * "token_filters": {
82
+ * "tokenFilters": {
83
83
  * "type": "length",
84
84
  * "min": 20,
85
85
  * "max": 33
@@ -0,0 +1,166 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { input as inputs, output as outputs } from "./types";
3
+ /**
4
+ * `mongodbatlas.ServerlessInstance` provides a Serverless Instance resource. This allows serverless instances to be created.
5
+ *
6
+ * > **NOTE:** Serverless instances do not support some Atlas features at this time.
7
+ * For a full list of unsupported features, see [Serverless Instance Limitations](https://docs.atlas.mongodb.com/reference/serverless-instance-limitations/).
8
+ *
9
+ * ## Example Usage
10
+ * ### Basic
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
+ *
15
+ * const test = new mongodbatlas.ServerlessInstance("test", {
16
+ * projectId: "<PROJECT_ID>",
17
+ * providerSettingsBackingProviderName: "AWS",
18
+ * providerSettingsProviderName: "SERVERLESS",
19
+ * providerSettingsRegionName: "US_EAST_1",
20
+ * });
21
+ * ```
22
+ *
23
+ * ## Import
24
+ *
25
+ * Serverless Instance can be imported using the group ID and serverless instance name, in the format `GROUP_ID-SERVERLESS_INSTANCE_NAME`, e.g.
26
+ *
27
+ * ```sh
28
+ * $ pulumi import mongodbatlas:index/serverlessInstance:ServerlessInstance my_serverless_instance 1112222b3bf99403840e8934-My Serverless Instance
29
+ * ```
30
+ *
31
+ * For more information see[MongoDB Atlas API - Serverless Instance](https://docs.atlas.mongodb.com/reference/api/serverless-instances/) Documentation.
32
+ */
33
+ export declare class ServerlessInstance extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ServerlessInstance resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServerlessInstanceState, opts?: pulumi.CustomResourceOptions): ServerlessInstance;
44
+ /**
45
+ * Returns true if the given object is an instance of ServerlessInstance. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is ServerlessInstance;
49
+ /**
50
+ * Public `mongodb+srv://` connection string that you can use to connect to this serverless instance.
51
+ */
52
+ readonly connectionStringsStandardSrv: pulumi.Output<string>;
53
+ /**
54
+ * Timestamp that indicates when MongoDB Cloud created the serverless instance. The timestamp displays in the ISO 8601 date and time format in UTC.
55
+ */
56
+ readonly createDate: pulumi.Output<string>;
57
+ readonly links: pulumi.Output<outputs.ServerlessInstanceLink[]>;
58
+ /**
59
+ * Version of MongoDB that the serverless instance runs, in `<major version>`.`<minor version>` format.
60
+ */
61
+ readonly mongoDbVersion: pulumi.Output<string>;
62
+ /**
63
+ * Human-readable label that identifies the serverless instance.
64
+ */
65
+ readonly name: pulumi.Output<string>;
66
+ /**
67
+ * The ID of the organization or project you want to create the serverless instance within.
68
+ */
69
+ readonly projectId: pulumi.Output<string>;
70
+ /**
71
+ * Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
72
+ */
73
+ readonly providerSettingsBackingProviderName: pulumi.Output<string>;
74
+ /**
75
+ * Cloud service provider that applies to the provisioned the serverless instance.
76
+ */
77
+ readonly providerSettingsProviderName: pulumi.Output<string>;
78
+ /**
79
+ * Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
80
+ */
81
+ readonly providerSettingsRegionName: pulumi.Output<string>;
82
+ /**
83
+ * Stage of deployment of this serverless instance when the resource made its request.
84
+ */
85
+ readonly stateName: pulumi.Output<string>;
86
+ /**
87
+ * Create a ServerlessInstance resource with the given unique name, arguments, and options.
88
+ *
89
+ * @param name The _unique_ name of the resource.
90
+ * @param args The arguments to use to populate this resource's properties.
91
+ * @param opts A bag of options that control this resource's behavior.
92
+ */
93
+ constructor(name: string, args: ServerlessInstanceArgs, opts?: pulumi.CustomResourceOptions);
94
+ }
95
+ /**
96
+ * Input properties used for looking up and filtering ServerlessInstance resources.
97
+ */
98
+ export interface ServerlessInstanceState {
99
+ /**
100
+ * Public `mongodb+srv://` connection string that you can use to connect to this serverless instance.
101
+ */
102
+ connectionStringsStandardSrv?: pulumi.Input<string>;
103
+ /**
104
+ * Timestamp that indicates when MongoDB Cloud created the serverless instance. The timestamp displays in the ISO 8601 date and time format in UTC.
105
+ */
106
+ createDate?: pulumi.Input<string>;
107
+ links?: pulumi.Input<pulumi.Input<inputs.ServerlessInstanceLink>[]>;
108
+ /**
109
+ * Version of MongoDB that the serverless instance runs, in `<major version>`.`<minor version>` format.
110
+ */
111
+ mongoDbVersion?: pulumi.Input<string>;
112
+ /**
113
+ * Human-readable label that identifies the serverless instance.
114
+ */
115
+ name?: pulumi.Input<string>;
116
+ /**
117
+ * The ID of the organization or project you want to create the serverless instance within.
118
+ */
119
+ projectId?: pulumi.Input<string>;
120
+ /**
121
+ * Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
122
+ */
123
+ providerSettingsBackingProviderName?: pulumi.Input<string>;
124
+ /**
125
+ * Cloud service provider that applies to the provisioned the serverless instance.
126
+ */
127
+ providerSettingsProviderName?: pulumi.Input<string>;
128
+ /**
129
+ * Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
130
+ */
131
+ providerSettingsRegionName?: pulumi.Input<string>;
132
+ /**
133
+ * Stage of deployment of this serverless instance when the resource made its request.
134
+ */
135
+ stateName?: pulumi.Input<string>;
136
+ }
137
+ /**
138
+ * The set of arguments for constructing a ServerlessInstance resource.
139
+ */
140
+ export interface ServerlessInstanceArgs {
141
+ links?: pulumi.Input<pulumi.Input<inputs.ServerlessInstanceLink>[]>;
142
+ /**
143
+ * Human-readable label that identifies the serverless instance.
144
+ */
145
+ name?: pulumi.Input<string>;
146
+ /**
147
+ * The ID of the organization or project you want to create the serverless instance within.
148
+ */
149
+ projectId: pulumi.Input<string>;
150
+ /**
151
+ * Cloud service provider on which MongoDB Cloud provisioned the serverless instance.
152
+ */
153
+ providerSettingsBackingProviderName: pulumi.Input<string>;
154
+ /**
155
+ * Cloud service provider that applies to the provisioned the serverless instance.
156
+ */
157
+ providerSettingsProviderName: pulumi.Input<string>;
158
+ /**
159
+ * Human-readable label that identifies the physical location of your MongoDB serverless instance. The region you choose can affect network latency for clients accessing your databases.
160
+ */
161
+ providerSettingsRegionName: pulumi.Input<string>;
162
+ /**
163
+ * Stage of deployment of this serverless instance when the resource made its request.
164
+ */
165
+ stateName?: pulumi.Input<string>;
166
+ }