@pulumi/mongodbatlas 3.1.1 → 3.1.2

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 (46) hide show
  1. package/cloudProviderSnapshot.d.ts +15 -0
  2. package/cloudProviderSnapshot.js +5 -0
  3. package/cloudProviderSnapshot.js.map +1 -1
  4. package/cloudProviderSnapshotRestoreJob.d.ts +2 -0
  5. package/cloudProviderSnapshotRestoreJob.js +2 -0
  6. package/cloudProviderSnapshotRestoreJob.js.map +1 -1
  7. package/cluster.d.ts +3 -3
  8. package/customDbRole.d.ts +1 -1
  9. package/customDbRole.js +1 -1
  10. package/getCloudProviderSnapshot.d.ts +2 -0
  11. package/getCloudProviderSnapshot.js +2 -0
  12. package/getCloudProviderSnapshot.js.map +1 -1
  13. package/getCloudProviderSnapshotRestoreJob.d.ts +2 -0
  14. package/getCloudProviderSnapshotRestoreJob.js +2 -0
  15. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  16. package/getCloudProviderSnapshotRestoreJobs.d.ts +2 -0
  17. package/getCloudProviderSnapshotRestoreJobs.js +2 -0
  18. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  19. package/getCloudProviderSnapshots.d.ts +22 -0
  20. package/getCloudProviderSnapshots.js +22 -0
  21. package/getCloudProviderSnapshots.js.map +1 -1
  22. package/getPrivateLinkEndpoint.d.ts +15 -3
  23. package/getPrivateLinkEndpoint.js.map +1 -1
  24. package/getPrivateLinkEndpointService.d.ts +10 -0
  25. package/getPrivateLinkEndpointService.js.map +1 -1
  26. package/getSearchIndex.d.ts +14 -6
  27. package/getSearchIndex.js.map +1 -1
  28. package/getThirdPartyIntegrations.d.ts +23 -0
  29. package/getThirdPartyIntegrations.js +23 -0
  30. package/getThirdPartyIntegrations.js.map +1 -1
  31. package/package.json +2 -2
  32. package/package.json.dev +1 -1
  33. package/privateLinkEndpoint.d.ts +36 -12
  34. package/privateLinkEndpoint.js +6 -0
  35. package/privateLinkEndpoint.js.map +1 -1
  36. package/privateLinkEndpointService.d.ts +113 -6
  37. package/privateLinkEndpointService.js +72 -0
  38. package/privateLinkEndpointService.js.map +1 -1
  39. package/project.d.ts +12 -0
  40. package/project.js +2 -0
  41. package/project.js.map +1 -1
  42. package/searchIndex.d.ts +106 -15
  43. package/searchIndex.js +71 -0
  44. package/searchIndex.js.map +1 -1
  45. package/types/input.d.ts +50 -12
  46. package/types/output.d.ts +85 -0
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * **WARNING:** This resource is deprecated, use `mongodbatlasCloudBackupSnapshot`
4
+ *
3
5
  * `mongodbatlas.CloudProviderSnapshot` provides a resource to take a cloud backup snapshot on demand.
4
6
  * On-demand snapshots happen immediately, unlike scheduled snapshots which occur at regular intervals. If there is already an on-demand snapshot with a status of queued or inProgress, you must wait until Atlas has completed the on-demand snapshot before taking another.
5
7
  *
@@ -25,6 +27,7 @@ import * as pulumi from "@pulumi/pulumi";
25
27
  * clusterName: myCluster.name,
26
28
  * description: "myDescription",
27
29
  * retentionInDays: 1,
30
+ * timeout: "10m",
28
31
  * });
29
32
  * const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
30
33
  * projectId: testCloudProviderSnapshot.projectId,
@@ -110,6 +113,10 @@ export declare class CloudProviderSnapshot extends pulumi.CustomResource {
110
113
  * Specifies the size of the snapshot in bytes.
111
114
  */
112
115
  readonly storageSizeBytes: pulumi.Output<number>;
116
+ /**
117
+ * The duration of time to wait to finish the on-demand snapshot. The timeout value is definded by a signed sequence of decimal numbers with an time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Default value for the timeout is `10m`
118
+ */
119
+ readonly timeout: pulumi.Output<string | undefined>;
113
120
  /**
114
121
  * Specifies the type of cluster: replicaSet or shardedCluster.
115
122
  */
@@ -175,6 +182,10 @@ export interface CloudProviderSnapshotState {
175
182
  * Specifies the size of the snapshot in bytes.
176
183
  */
177
184
  storageSizeBytes?: pulumi.Input<number>;
185
+ /**
186
+ * The duration of time to wait to finish the on-demand snapshot. The timeout value is definded by a signed sequence of decimal numbers with an time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Default value for the timeout is `10m`
187
+ */
188
+ timeout?: pulumi.Input<string>;
178
189
  /**
179
190
  * Specifies the type of cluster: replicaSet or shardedCluster.
180
191
  */
@@ -200,4 +211,8 @@ export interface CloudProviderSnapshotArgs {
200
211
  * The number of days that Atlas should retain the on-demand snapshot. Must be at least 1.
201
212
  */
202
213
  retentionInDays: pulumi.Input<number>;
214
+ /**
215
+ * The duration of time to wait to finish the on-demand snapshot. The timeout value is definded by a signed sequence of decimal numbers with an time unit suffix such as: `1h45m`, `300s`, `10m`, .... The valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`. Default value for the timeout is `10m`
216
+ */
217
+ timeout?: pulumi.Input<string>;
203
218
  }
@@ -6,6 +6,8 @@ exports.CloudProviderSnapshot = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This resource is deprecated, use `mongodbatlasCloudBackupSnapshot`
10
+ *
9
11
  * `mongodbatlas.CloudProviderSnapshot` provides a resource to take a cloud backup snapshot on demand.
10
12
  * On-demand snapshots happen immediately, unlike scheduled snapshots which occur at regular intervals. If there is already an on-demand snapshot with a status of queued or inProgress, you must wait until Atlas has completed the on-demand snapshot before taking another.
11
13
  *
@@ -31,6 +33,7 @@ const utilities = require("./utilities");
31
33
  * clusterName: myCluster.name,
32
34
  * description: "myDescription",
33
35
  * retentionInDays: 1,
36
+ * timeout: "10m",
34
37
  * });
35
38
  * const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
36
39
  * projectId: testCloudProviderSnapshot.projectId,
@@ -70,6 +73,7 @@ class CloudProviderSnapshot extends pulumi.CustomResource {
70
73
  resourceInputs["snapshotType"] = state ? state.snapshotType : undefined;
71
74
  resourceInputs["status"] = state ? state.status : undefined;
72
75
  resourceInputs["storageSizeBytes"] = state ? state.storageSizeBytes : undefined;
76
+ resourceInputs["timeout"] = state ? state.timeout : undefined;
73
77
  resourceInputs["type"] = state ? state.type : undefined;
74
78
  }
75
79
  else {
@@ -90,6 +94,7 @@ class CloudProviderSnapshot extends pulumi.CustomResource {
90
94
  resourceInputs["description"] = args ? args.description : undefined;
91
95
  resourceInputs["projectId"] = args ? args.projectId : undefined;
92
96
  resourceInputs["retentionInDays"] = args ? args.retentionInDays : undefined;
97
+ resourceInputs["timeout"] = args ? args.timeout : undefined;
93
98
  resourceInputs["createdAt"] = undefined /*out*/;
94
99
  resourceInputs["expiresAt"] = undefined /*out*/;
95
100
  resourceInputs["masterKeyUuid"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudProviderSnapshot.js","sourceRoot":"","sources":["../cloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8CG;AACH,MAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAyF5D,YAAY,IAAY,EAAE,WAAoE,EAAE,IAAmC;QAC/H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAqD,CAAC;YACpE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAA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G,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;YACf,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE,EAAC,CAAC,CAAC;SACxE;QACD,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;IAhJD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkC,EAAE,IAAmC;QAChI,OAAO,IAAI,qBAAqB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,qBAAqB,CAAC,YAAY,CAAC;IACtE,CAAC;;AA1BL,sDAkJC;AApIG,gBAAgB;AACO,kCAAY,GAAG,gEAAgE,CAAC"}
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
+ * **WARNING:** This resource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
5
+ *
4
6
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job can be one of three types:
5
7
  * * **automated:** Atlas automatically restores the snapshot with snapshotId to the Atlas cluster with name targetClusterName in the Atlas project with targetGroupId.
6
8
  *
@@ -6,6 +6,8 @@ exports.CloudProviderSnapshotRestoreJob = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This resource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
10
+ *
9
11
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a resource to create a new restore job from a cloud backup snapshot of a specified cluster. The restore job can be one of three types:
10
12
  * * **automated:** Atlas automatically restores the snapshot with snapshotId to the Atlas cluster with name targetClusterName in the Atlas project with targetGroupId.
11
13
  *
@@ -1 +1 @@
1
- {"version":3,"file":"cloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../cloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IA2FtE,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+D,CAAC;YAC9E,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC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E,EAAE,EAAE,IAAG,CAAC;IACtF,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,+BAA+B,CAAC,YAAY,CAAC;IAChF,CAAC;;AA1BL,0EA2IC;AA7HG,gBAAgB;AACO,4CAAY,GAAG,oFAAoF,CAAC"}
package/cluster.d.ts CHANGED
@@ -99,7 +99,7 @@ export declare class Cluster extends pulumi.CustomResource {
99
99
  readonly encryptionAtRestProvider: pulumi.Output<string>;
100
100
  readonly labels: pulumi.Output<outputs.ClusterLabel[]>;
101
101
  /**
102
- * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
102
+ * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
103
103
  */
104
104
  readonly mongoDbMajorVersion: pulumi.Output<string>;
105
105
  /**
@@ -296,7 +296,7 @@ export interface ClusterState {
296
296
  encryptionAtRestProvider?: pulumi.Input<string>;
297
297
  labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
298
298
  /**
299
- * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
299
+ * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
300
300
  */
301
301
  mongoDbMajorVersion?: pulumi.Input<string>;
302
302
  /**
@@ -473,7 +473,7 @@ export interface ClusterArgs {
473
473
  encryptionAtRestProvider?: pulumi.Input<string>;
474
474
  labels?: pulumi.Input<pulumi.Input<inputs.ClusterLabel>[]>;
475
475
  /**
476
- * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `3.6`, `4.0`, or `4.2`. You must set this value to `4.2` if `providerInstanceSizeName` is either M2 or M5.
476
+ * Version of the cluster to deploy. Atlas supports the following MongoDB versions for M10+ clusters: `4.0`, `4.2`, `4.4`, or `5.0`. If omitted, Atlas deploys a cluster that runs MongoDB 4.4. If `providerInstanceSizeName`: `M0`, `M2` or `M5`, Atlas deploys MongoDB 4.4. Atlas always deploys the cluster with the latest stable release of the specified version.
477
477
  */
478
478
  mongoDbMajorVersion?: pulumi.Input<string>;
479
479
  /**
package/customDbRole.d.ts CHANGED
@@ -3,7 +3,7 @@ import { input as inputs, output as outputs } from "./types";
3
3
  /**
4
4
  * `mongodbatlas.CustomDbRole` provides a Custom DB Role resource. The customDBRoles resource lets you retrieve, create and modify the custom MongoDB roles in your cluster. Use custom MongoDB roles to specify custom sets of actions which cannot be described by the built-in Atlas database user privileges.
5
5
  *
6
- * > **IMPORTANT** Custom roles cannot use actions unavailable to any cluster version in your project. Custom roles are defined at the project level, and must be compatible with each MongoDB version used by your projects clusters. If you have a cluster in your project with MongoDB 3.4, you cannot create a custom role that uses actions introduced in MongoDB 3.6, such as useUUID.
6
+ * > **IMPORTANT** You define custom roles at the project level for all clusters in the project. The `mongodbatlas.CustomDbRole` resource supports a subset of MongoDB privilege actions. For a complete list of [privilege actions](https://docs.mongodb.com/manual/reference/privilege-actions/) available for this resource, see [Custom Role actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions/). Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version used by your project's clusters. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4.
7
7
  *
8
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
9
9
  *
package/customDbRole.js CHANGED
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * `mongodbatlas.CustomDbRole` provides a Custom DB Role resource. The customDBRoles resource lets you retrieve, create and modify the custom MongoDB roles in your cluster. Use custom MongoDB roles to specify custom sets of actions which cannot be described by the built-in Atlas database user privileges.
10
10
  *
11
- * > **IMPORTANT** Custom roles cannot use actions unavailable to any cluster version in your project. Custom roles are defined at the project level, and must be compatible with each MongoDB version used by your projects clusters. If you have a cluster in your project with MongoDB 3.4, you cannot create a custom role that uses actions introduced in MongoDB 3.6, such as useUUID.
11
+ * > **IMPORTANT** You define custom roles at the project level for all clusters in the project. The `mongodbatlas.CustomDbRole` resource supports a subset of MongoDB privilege actions. For a complete list of [privilege actions](https://docs.mongodb.com/manual/reference/privilege-actions/) available for this resource, see [Custom Role actions](https://docs.atlas.mongodb.com/reference/api/custom-role-actions/). Custom roles must include actions that all project's clusters support, and that are compatible with each MongoDB version used by your project's clusters. For example, if your project has MongoDB 4.2 clusters, you can't create custom roles that use actions introduced in MongoDB 4.4.
12
12
  *
13
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
14
14
  *
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshot`
4
+ *
3
5
  * `mongodbatlas.CloudProviderSnapshot` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
4
6
  *
5
7
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -6,6 +6,8 @@ exports.getCloudProviderSnapshotOutput = exports.getCloudProviderSnapshot = void
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshot`
10
+ *
9
11
  * `mongodbatlas.CloudProviderSnapshot` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
10
12
  *
11
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshot.js","sourceRoot":"","sources":["../getCloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC;AAkED,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
1
+ {"version":3,"file":"getCloudProviderSnapshot.js","sourceRoot":"","sources":["../getCloudProviderSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4DAaC;AAkED,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,wEAEC"}
@@ -1,5 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
4
+ *
3
5
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a Cloud Backup Snapshot Restore Job datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
4
6
  *
5
7
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -6,6 +6,8 @@ exports.getCloudProviderSnapshotRestoreJobOutput = exports.getCloudProviderSnaps
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotRestoreJob`
10
+ *
9
11
  * `mongodbatlas.CloudProviderSnapshotRestoreJob` provides a Cloud Backup Snapshot Restore Job datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
10
12
  *
11
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gFAaC;AA6ED,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kCAAkC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,4FAEC"}
1
+ {"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,gFAaC;AA6ED,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kCAAkC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,4FAEC"}
@@ -1,6 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
3
  /**
4
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotsRestoreJobs`
5
+ *
4
6
  * `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
5
7
  *
6
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -6,6 +6,8 @@ exports.getCloudProviderSnapshotRestoreJobsOutput = exports.getCloudProviderSnap
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshotsRestoreJobs`
10
+ *
9
11
  * `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
10
12
  *
11
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kFAcC;AA2CD,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,8FAEC"}
1
+ {"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,kFAcC;AA2CD,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,8FAEC"}
@@ -1,9 +1,31 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import { output as outputs } from "./types";
3
3
  /**
4
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshots`
5
+ *
4
6
  * `mongodbatlas.getCloudProviderSnapshots` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
5
7
  *
6
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
15
+ *
16
+ * const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
17
+ * groupId: "5d0f1f73cf09a29120e173cf",
18
+ * clusterName: "MyClusterTest",
19
+ * description: "SomeDescription",
20
+ * retentionInDays: 1,
21
+ * });
22
+ * const testCloudProviderSnapshots = mongodbatlas.getCloudProviderSnapshots({
23
+ * groupId: mongodbatlas_cloud_provider_snapshots.test.group_id,
24
+ * clusterName: mongodbatlas_cloud_provider_snapshots.test.cluster_name,
25
+ * pageNum: 1,
26
+ * itemsPerPage: 5,
27
+ * });
28
+ * ```
7
29
  */
8
30
  export declare function getCloudProviderSnapshots(args: GetCloudProviderSnapshotsArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudProviderSnapshotsResult>;
9
31
  /**
@@ -6,9 +6,31 @@ exports.getCloudProviderSnapshotsOutput = exports.getCloudProviderSnapshots = vo
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * **WARNING:** This datasource is deprecated, use `mongodbatlasCloudBackupSnapshots`
10
+ *
9
11
  * `mongodbatlas.getCloudProviderSnapshots` provides an Cloud Backup Snapshot datasource. Atlas Cloud Backup Snapshots provide localized backup storage using the native snapshot functionality of the cluster’s cloud service.
10
12
  *
11
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
20
+ *
21
+ * const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
22
+ * groupId: "5d0f1f73cf09a29120e173cf",
23
+ * clusterName: "MyClusterTest",
24
+ * description: "SomeDescription",
25
+ * retentionInDays: 1,
26
+ * });
27
+ * const testCloudProviderSnapshots = mongodbatlas.getCloudProviderSnapshots({
28
+ * groupId: mongodbatlas_cloud_provider_snapshots.test.group_id,
29
+ * clusterName: mongodbatlas_cloud_provider_snapshots.test.cluster_name,
30
+ * pageNum: 1,
31
+ * itemsPerPage: 5,
32
+ * });
33
+ * ```
12
34
  */
13
35
  function getCloudProviderSnapshots(args, opts) {
14
36
  if (!opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudProviderSnapshots.js","sourceRoot":"","sources":["../getCloudProviderSnapshots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8DAcC;AAwCD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
1
+ {"version":3,"file":"getCloudProviderSnapshots.js","sourceRoot":"","sources":["../getCloudProviderSnapshots.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,8DAcC;AAwCD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
@@ -18,7 +18,7 @@ export interface GetPrivateLinkEndpointArgs {
18
18
  */
19
19
  projectId: string;
20
20
  /**
21
- * Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts `AWS` or `AZURE`.
21
+ * Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts `AWS`, `AZURE` or `GCP`.
22
22
  */
23
23
  providerName: string;
24
24
  }
@@ -26,6 +26,10 @@ export interface GetPrivateLinkEndpointArgs {
26
26
  * A collection of values returned by getPrivateLinkEndpoint.
27
27
  */
28
28
  export interface GetPrivateLinkEndpointResult {
29
+ /**
30
+ * GCP network endpoint groups corresponding to the Private Service Connect endpoint service.
31
+ */
32
+ readonly endpointGroupNames: string[];
29
33
  /**
30
34
  * Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
31
35
  */
@@ -53,13 +57,21 @@ export interface GetPrivateLinkEndpointResult {
53
57
  readonly privateLinkServiceName: string;
54
58
  /**
55
59
  * Resource ID of the Azure Private Link Service that Atlas manages.
56
- * Returns one of the following values:
57
60
  */
58
61
  readonly privateLinkServiceResourceId: string;
59
62
  readonly projectId: string;
60
63
  readonly providerName: string;
64
+ /**
65
+ * GCP region for the Private Service Connect endpoint service.
66
+ */
67
+ readonly regionName: string;
68
+ /**
69
+ * Unique alphanumeric and special character strings that identify the service attachments associated with the GCP Private Service Connect endpoint service.
70
+ */
71
+ readonly serviceAttachmentNames: string[];
61
72
  /**
62
73
  * Status of the AWS PrivateLink connection.
74
+ * Returns one of the following values:
63
75
  */
64
76
  readonly status: string;
65
77
  }
@@ -77,7 +89,7 @@ export interface GetPrivateLinkEndpointOutputArgs {
77
89
  */
78
90
  projectId: pulumi.Input<string>;
79
91
  /**
80
- * Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts `AWS` or `AZURE`.
92
+ * Cloud provider for which you want to retrieve a private endpoint service. Atlas accepts `AWS`, `AZURE` or `GCP`.
81
93
  */
82
94
  providerName: pulumi.Input<string>;
83
95
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getPrivateLinkEndpoint.js","sourceRoot":"","sources":["../getPrivateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wDAaC;AA8DD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
1
+ {"version":3,"file":"getPrivateLinkEndpoint.js","sourceRoot":"","sources":["../getPrivateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,wDAaC;AA0ED,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
2
3
  /**
3
4
  * `mongodbatlas.PrivateLinkEndpointService` describe a Private Endpoint Link. This represents a Private Endpoint Link Connection that wants to retrieve details in an Atlas project.
4
5
  *
@@ -45,10 +46,19 @@ export interface GetPrivateLinkEndpointServiceResult {
45
46
  */
46
47
  readonly deleteRequested: boolean;
47
48
  readonly endpointServiceId: string;
49
+ /**
50
+ * Collection of individual private endpoints that comprise your network endpoint group.
51
+ */
52
+ readonly endpoints: outputs.GetPrivateLinkEndpointServiceEndpoint[];
48
53
  /**
49
54
  * Error message pertaining to the interface endpoint. Returns null if there are no errors.
50
55
  */
51
56
  readonly errorMessage: string;
57
+ /**
58
+ * Status of the interface endpoint for GCP.
59
+ * Returns one of the following values:
60
+ */
61
+ readonly gcpStatus: string;
52
62
  /**
53
63
  * The provider-assigned unique ID for this managed resource.
54
64
  */
@@ -1 +1 @@
1
- {"version":3,"file":"getPrivateLinkEndpointService.js","sourceRoot":"","sources":["../getPrivateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,sEAcC;AAwED,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,kFAEC"}
1
+ {"version":3,"file":"getPrivateLinkEndpointService.js","sourceRoot":"","sources":["../getPrivateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gFAAgF,EAAE;QAC3G,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,sEAcC;AAiFD,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,kFAEC"}
@@ -1,4 +1,5 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
2
3
  /**
3
4
  * `mongodbatlas.SearchIndex` describe a single search indexes. This represents a single search index that have been created.
4
5
  *
@@ -35,11 +36,11 @@ export interface GetSearchIndexArgs {
35
36
  */
36
37
  clusterName: string;
37
38
  /**
38
- * (Required) Name of the collection the index is on.
39
+ * Name of the collection the index is on.
39
40
  */
40
41
  collectionName?: string;
41
42
  /**
42
- * (Required) Name of the database the collection is in.
43
+ * Name of the database the collection is in.
43
44
  */
44
45
  database?: string;
45
46
  /**
@@ -82,11 +83,11 @@ export interface GetSearchIndexResult {
82
83
  readonly analyzers?: string;
83
84
  readonly clusterName: string;
84
85
  /**
85
- * (Required) Name of the collection the index is on.
86
+ * Name of the collection the index is on.
86
87
  */
87
88
  readonly collectionName?: string;
88
89
  /**
89
- * (Required) Name of the database the collection is in.
90
+ * Name of the database the collection is in.
90
91
  */
91
92
  readonly database?: string;
92
93
  /**
@@ -112,6 +113,13 @@ export interface GetSearchIndexResult {
112
113
  */
113
114
  readonly searchAnalyzer?: string;
114
115
  readonly status: string;
116
+ /**
117
+ * Synonyms mapping definition to use in this index.
118
+ * * `synonyms.#.name` - Name of the [synonym mapping definition](https://docs.atlas.mongodb.com/reference/atlas-search/synonyms/#std-label-synonyms-ref).
119
+ * * `synonyms.#.source_collection` - Name of the source MongoDB collection for the synonyms.
120
+ * * `synonyms.#.analyzer` - Name of the [analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use with this synonym mapping.
121
+ */
122
+ readonly synonyms: outputs.GetSearchIndexSynonym[];
115
123
  }
116
124
  export declare function getSearchIndexOutput(args: GetSearchIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSearchIndexResult>;
117
125
  /**
@@ -131,11 +139,11 @@ export interface GetSearchIndexOutputArgs {
131
139
  */
132
140
  clusterName: pulumi.Input<string>;
133
141
  /**
134
- * (Required) Name of the collection the index is on.
142
+ * Name of the collection the index is on.
135
143
  */
136
144
  collectionName?: pulumi.Input<string>;
137
145
  /**
138
- * (Required) Name of the database the collection is in.
146
+ * Name of the database the collection is in.
139
147
  */
140
148
  database?: pulumi.Input<string>;
141
149
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"getSearchIndex.js","sourceRoot":"","sources":["../getSearchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAA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AAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAtBD,wCAsBC;AA0GD,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,oDAEC"}
@@ -5,6 +5,29 @@ import { output as outputs } from "./types";
5
5
  * applied across the project.
6
6
  *
7
7
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
+ *
15
+ * const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("testPagerDuty", {
16
+ * projectId: "<PROJECT-ID>",
17
+ * type: "PAGER_DUTY",
18
+ * serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
19
+ * });
20
+ * const testFlowdock = new mongodbatlas.ThirdPartyIntegration("testFlowdock", {
21
+ * projectId: "<PROJECT-ID>",
22
+ * type: "FLOWDOCK",
23
+ * flowName: "<FLOW-NAME>",
24
+ * apiToken: "<API-TOKEN>",
25
+ * orgName: "<ORG-NAME>",
26
+ * });
27
+ * const test = mongodbatlas.getThirdPartyIntegrationsOutput({
28
+ * projectId: testPagerDuty.projectId,
29
+ * });
30
+ * ```
8
31
  */
9
32
  export declare function getThirdPartyIntegrations(args: GetThirdPartyIntegrationsArgs, opts?: pulumi.InvokeOptions): Promise<GetThirdPartyIntegrationsResult>;
10
33
  /**
@@ -10,6 +10,29 @@ const utilities = require("./utilities");
10
10
  * applied across the project.
11
11
  *
12
12
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
13
+ *
14
+ * ## Example Usage
15
+ *
16
+ * ```typescript
17
+ * import * as pulumi from "@pulumi/pulumi";
18
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
19
+ *
20
+ * const testPagerDuty = new mongodbatlas.ThirdPartyIntegration("testPagerDuty", {
21
+ * projectId: "<PROJECT-ID>",
22
+ * type: "PAGER_DUTY",
23
+ * serviceKey: "<PAGER-DUTY-SERVICE-KEY>",
24
+ * });
25
+ * const testFlowdock = new mongodbatlas.ThirdPartyIntegration("testFlowdock", {
26
+ * projectId: "<PROJECT-ID>",
27
+ * type: "FLOWDOCK",
28
+ * flowName: "<FLOW-NAME>",
29
+ * apiToken: "<API-TOKEN>",
30
+ * orgName: "<ORG-NAME>",
31
+ * });
32
+ * const test = mongodbatlas.getThirdPartyIntegrationsOutput({
33
+ * projectId: testPagerDuty.projectId,
34
+ * });
35
+ * ```
13
36
  */
14
37
  function getThirdPartyIntegrations(args, opts) {
15
38
  if (!opts) {
@@ -1 +1 @@
1
- {"version":3,"file":"getThirdPartyIntegrations.js","sourceRoot":"","sources":["../getThirdPartyIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;GAKG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8DAWC;AA8BD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
1
+ {"version":3,"file":"getThirdPartyIntegrations.js","sourceRoot":"","sources":["../getThirdPartyIntegrations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8DAWC;AA8BD,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,0EAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mongodbatlas",
3
- "version": "v3.1.1",
3
+ "version": "v3.1.2",
4
4
  "description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -11,7 +11,7 @@
11
11
  "license": "Apache-2.0",
12
12
  "scripts": {
13
13
  "build": "tsc",
14
- "install": "node scripts/install-pulumi-plugin.js resource mongodbatlas v3.1.1"
14
+ "install": "node scripts/install-pulumi-plugin.js resource mongodbatlas v3.1.2"
15
15
  },
16
16
  "dependencies": {
17
17
  "@pulumi/pulumi": "^3.0.0"
package/package.json.dev CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mongodbatlas",
3
- "version": "v3.1.1",
3
+ "version": "v3.1.2",
4
4
  "description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",