@pulumi/mongodbatlas 3.17.0-alpha.1723454188 → 3.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/advancedCluster.d.ts +95 -80
  2. package/advancedCluster.js +81 -74
  3. package/advancedCluster.js.map +1 -1
  4. package/cloudBackupSchedule.d.ts +33 -15
  5. package/cloudBackupSchedule.js.map +1 -1
  6. package/cloudBackupSnapshotExportBucket.d.ts +65 -11
  7. package/cloudBackupSnapshotExportBucket.js +24 -3
  8. package/cloudBackupSnapshotExportBucket.js.map +1 -1
  9. package/cloudBackupSnapshotRestoreJob.d.ts +0 -12
  10. package/cloudBackupSnapshotRestoreJob.js +0 -2
  11. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  12. package/getAdvancedCluster.d.ts +104 -3
  13. package/getAdvancedCluster.js +91 -0
  14. package/getAdvancedCluster.js.map +1 -1
  15. package/getAdvancedClusters.d.ts +99 -0
  16. package/getAdvancedClusters.js +91 -0
  17. package/getAdvancedClusters.js.map +1 -1
  18. package/getCloudBackupSchedule.d.ts +20 -77
  19. package/getCloudBackupSchedule.js +1 -72
  20. package/getCloudBackupSchedule.js.map +1 -1
  21. package/getCloudBackupSnapshotExportBucket.d.ts +15 -14
  22. package/getCloudBackupSnapshotExportBucket.js +0 -1
  23. package/getCloudBackupSnapshotExportBucket.js.map +1 -1
  24. package/getCloudBackupSnapshotExportJob.d.ts +0 -11
  25. package/getCloudBackupSnapshotExportJob.js +0 -1
  26. package/getCloudBackupSnapshotExportJob.js.map +1 -1
  27. package/getCloudBackupSnapshotRestoreJob.d.ts +5 -27
  28. package/getCloudBackupSnapshotRestoreJob.js +0 -1
  29. package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
  30. package/getCluster.d.ts +4 -4
  31. package/getCluster.js +4 -4
  32. package/getClusters.d.ts +4 -4
  33. package/getClusters.js +4 -4
  34. package/getFederatedSettingsIdentityProviders.d.ts +2 -70
  35. package/getFederatedSettingsIdentityProviders.js +2 -40
  36. package/getFederatedSettingsIdentityProviders.js.map +1 -1
  37. package/getGlobalClusterConfig.d.ts +76 -24
  38. package/getGlobalClusterConfig.js +76 -24
  39. package/getGlobalClusterConfig.js.map +1 -1
  40. package/getNetworkPeering.d.ts +0 -4
  41. package/getNetworkPeering.js +0 -4
  42. package/getNetworkPeering.js.map +1 -1
  43. package/getThirdPartyIntegration.d.ts +0 -18
  44. package/getThirdPartyIntegration.js +0 -1
  45. package/getThirdPartyIntegration.js.map +1 -1
  46. package/globalClusterConfig.d.ts +16 -14
  47. package/globalClusterConfig.js +16 -14
  48. package/globalClusterConfig.js.map +1 -1
  49. package/networkContainer.d.ts +0 -2
  50. package/networkContainer.js +0 -2
  51. package/networkContainer.js.map +1 -1
  52. package/networkPeering.d.ts +7 -2
  53. package/networkPeering.js +7 -2
  54. package/networkPeering.js.map +1 -1
  55. package/package.json +2 -2
  56. package/thirdPartyIntegration.d.ts +0 -12
  57. package/thirdPartyIntegration.js +0 -2
  58. package/thirdPartyIntegration.js.map +1 -1
  59. package/types/input.d.ts +48 -18
  60. package/types/output.d.ts +164 -70
@@ -41,7 +41,13 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
41
41
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
42
42
  */
43
43
  readonly clusterName: pulumi.Output<string>;
44
+ /**
45
+ * List that contains a document for each copy setting item in the desired backup policy. See below
46
+ */
44
47
  readonly copySettings: pulumi.Output<outputs.CloudBackupScheduleCopySetting[] | undefined>;
48
+ /**
49
+ * Policy for automatically exporting Cloud Backup Snapshots. See below
50
+ */
45
51
  readonly export: pulumi.Output<outputs.CloudBackupScheduleExport>;
46
52
  /**
47
53
  * Unique identifier of the backup policy.
@@ -52,23 +58,23 @@ export declare class CloudBackupSchedule extends pulumi.CustomResource {
52
58
  */
53
59
  readonly nextSnapshot: pulumi.Output<string>;
54
60
  /**
55
- * Daily policy item
61
+ * Daily policy item. See below
56
62
  */
57
63
  readonly policyItemDaily: pulumi.Output<outputs.CloudBackupSchedulePolicyItemDaily | undefined>;
58
64
  /**
59
- * Hourly policy item
65
+ * Hourly policy item. See below
60
66
  */
61
67
  readonly policyItemHourly: pulumi.Output<outputs.CloudBackupSchedulePolicyItemHourly | undefined>;
62
68
  /**
63
- * Monthly policy item
69
+ * Monthly policy item. See below
64
70
  */
65
71
  readonly policyItemMonthlies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemMonthly[] | undefined>;
66
72
  /**
67
- * Weekly policy item
73
+ * Weekly policy item. See below
68
74
  */
69
75
  readonly policyItemWeeklies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemWeekly[] | undefined>;
70
76
  /**
71
- * Yearly policy item
77
+ * Yearly policy item. See below
72
78
  */
73
79
  readonly policyItemYearlies: pulumi.Output<outputs.CloudBackupSchedulePolicyItemYearly[] | undefined>;
74
80
  /**
@@ -119,7 +125,13 @@ export interface CloudBackupScheduleState {
119
125
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
120
126
  */
121
127
  clusterName?: pulumi.Input<string>;
128
+ /**
129
+ * List that contains a document for each copy setting item in the desired backup policy. See below
130
+ */
122
131
  copySettings?: pulumi.Input<pulumi.Input<inputs.CloudBackupScheduleCopySetting>[]>;
132
+ /**
133
+ * Policy for automatically exporting Cloud Backup Snapshots. See below
134
+ */
123
135
  export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
124
136
  /**
125
137
  * Unique identifier of the backup policy.
@@ -130,23 +142,23 @@ export interface CloudBackupScheduleState {
130
142
  */
131
143
  nextSnapshot?: pulumi.Input<string>;
132
144
  /**
133
- * Daily policy item
145
+ * Daily policy item. See below
134
146
  */
135
147
  policyItemDaily?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemDaily>;
136
148
  /**
137
- * Hourly policy item
149
+ * Hourly policy item. See below
138
150
  */
139
151
  policyItemHourly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemHourly>;
140
152
  /**
141
- * Monthly policy item
153
+ * Monthly policy item. See below
142
154
  */
143
155
  policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>[]>;
144
156
  /**
145
- * Weekly policy item
157
+ * Weekly policy item. See below
146
158
  */
147
159
  policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
148
160
  /**
149
- * Yearly policy item
161
+ * Yearly policy item. See below
150
162
  */
151
163
  policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemYearly>[]>;
152
164
  /**
@@ -185,26 +197,32 @@ export interface CloudBackupScheduleArgs {
185
197
  * The name of the Atlas cluster that contains the snapshot backup policy you want to retrieve.
186
198
  */
187
199
  clusterName: pulumi.Input<string>;
200
+ /**
201
+ * List that contains a document for each copy setting item in the desired backup policy. See below
202
+ */
188
203
  copySettings?: pulumi.Input<pulumi.Input<inputs.CloudBackupScheduleCopySetting>[]>;
204
+ /**
205
+ * Policy for automatically exporting Cloud Backup Snapshots. See below
206
+ */
189
207
  export?: pulumi.Input<inputs.CloudBackupScheduleExport>;
190
208
  /**
191
- * Daily policy item
209
+ * Daily policy item. See below
192
210
  */
193
211
  policyItemDaily?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemDaily>;
194
212
  /**
195
- * Hourly policy item
213
+ * Hourly policy item. See below
196
214
  */
197
215
  policyItemHourly?: pulumi.Input<inputs.CloudBackupSchedulePolicyItemHourly>;
198
216
  /**
199
- * Monthly policy item
217
+ * Monthly policy item. See below
200
218
  */
201
219
  policyItemMonthlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemMonthly>[]>;
202
220
  /**
203
- * Weekly policy item
221
+ * Weekly policy item. See below
204
222
  */
205
223
  policyItemWeeklies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemWeekly>[]>;
206
224
  /**
207
- * Yearly policy item
225
+ * Yearly policy item. See below
208
226
  */
209
227
  policyItemYearlies?: pulumi.Input<pulumi.Input<inputs.CloudBackupSchedulePolicyItemYearly>[]>;
210
228
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"cloudBackupSchedule.js","sourceRoot":"","sources":["../cloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC1E,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,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IA4ED,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,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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BAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,uBAAuB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,SAAS,CAAC;YACxF,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,mCAAmC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iCAAiC,CAAC,CAAC,CAAC,SAAS,CAAC;YAChH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AAhKL,kDAiKC;AAnJG,gBAAgB;AACO,gCAAY,GAAG,4DAA4D,CAAC"}
@@ -8,6 +8,8 @@ import * as pulumi from "@pulumi/pulumi";
8
8
  *
9
9
  * ## Example Usage
10
10
  *
11
+ * ### AWS Example
12
+ *
11
13
  * ```typescript
12
14
  * import * as pulumi from "@pulumi/pulumi";
13
15
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -20,6 +22,22 @@ import * as pulumi from "@pulumi/pulumi";
20
22
  * });
21
23
  * ```
22
24
  *
25
+ * ### Azure Example
26
+ *
27
+ * ```typescript
28
+ * import * as pulumi from "@pulumi/pulumi";
29
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
30
+ *
31
+ * const test = new mongodbatlas.CloudBackupSnapshotExportBucket("test", {
32
+ * projectId: "{PROJECT_ID}",
33
+ * roleId: "{ROLE_ID}",
34
+ * serviceUrl: "{SERVICE_URL}",
35
+ * tenantId: "{TENANT_ID}",
36
+ * bucketName: "example-bucket",
37
+ * cloudProvider: "AZURE",
38
+ * });
39
+ * ```
40
+ *
23
41
  * ## Import
24
42
  *
25
43
  * Cloud Backup Snapshot Export Backup entries can be imported using project project_id, and bucket_id (Unique identifier of the snapshot export bucket), in the format `PROJECTID-BUCKETID`, e.g.
@@ -46,11 +64,11 @@ export declare class CloudBackupSnapshotExportBucket extends pulumi.CustomResour
46
64
  */
47
65
  static isInstance(obj: any): obj is CloudBackupSnapshotExportBucket;
48
66
  /**
49
- * Name of the bucket that the provided role ID is authorized to access. You must also specify the `iamRoleId`.
67
+ * Name of the bucket that the provided role ID is authorized to access.
50
68
  */
51
69
  readonly bucketName: pulumi.Output<string>;
52
70
  /**
53
- * Name of the provider of the cloud service where Atlas can access the S3 bucket. Atlas only supports `AWS`.
71
+ * Name of the provider of the cloud service where Atlas can access the S3 bucket.
54
72
  */
55
73
  readonly cloudProvider: pulumi.Output<string>;
56
74
  /**
@@ -58,13 +76,25 @@ export declare class CloudBackupSnapshotExportBucket extends pulumi.CustomResour
58
76
  */
59
77
  readonly exportBucketId: pulumi.Output<string>;
60
78
  /**
61
- * Unique identifier of the role that Atlas can use to access the bucket. You must also specify the `bucketName`.
79
+ * Unique identifier of the role that Atlas can use to access the bucket. Required if `cloudProvider` is set to `AWS`.
62
80
  */
63
- readonly iamRoleId: pulumi.Output<string>;
81
+ readonly iamRoleId: pulumi.Output<string | undefined>;
64
82
  /**
65
83
  * The unique identifier of the project for the Atlas cluster.
66
84
  */
67
85
  readonly projectId: pulumi.Output<string>;
86
+ /**
87
+ * Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if `cloudProvider` is set to `AZURE`.
88
+ */
89
+ readonly roleId: pulumi.Output<string | undefined>;
90
+ /**
91
+ * URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if `cloudProvider` is set to `AZURE`.
92
+ */
93
+ readonly serviceUrl: pulumi.Output<string | undefined>;
94
+ /**
95
+ * UUID that identifies the Azure Active Directory Tenant ID. Required if `cloudProvider` is set to `AZURE`.
96
+ */
97
+ readonly tenantId: pulumi.Output<string | undefined>;
68
98
  /**
69
99
  * Create a CloudBackupSnapshotExportBucket resource with the given unique name, arguments, and options.
70
100
  *
@@ -79,11 +109,11 @@ export declare class CloudBackupSnapshotExportBucket extends pulumi.CustomResour
79
109
  */
80
110
  export interface CloudBackupSnapshotExportBucketState {
81
111
  /**
82
- * Name of the bucket that the provided role ID is authorized to access. You must also specify the `iamRoleId`.
112
+ * Name of the bucket that the provided role ID is authorized to access.
83
113
  */
84
114
  bucketName?: pulumi.Input<string>;
85
115
  /**
86
- * Name of the provider of the cloud service where Atlas can access the S3 bucket. Atlas only supports `AWS`.
116
+ * Name of the provider of the cloud service where Atlas can access the S3 bucket.
87
117
  */
88
118
  cloudProvider?: pulumi.Input<string>;
89
119
  /**
@@ -91,32 +121,56 @@ export interface CloudBackupSnapshotExportBucketState {
91
121
  */
92
122
  exportBucketId?: pulumi.Input<string>;
93
123
  /**
94
- * Unique identifier of the role that Atlas can use to access the bucket. You must also specify the `bucketName`.
124
+ * Unique identifier of the role that Atlas can use to access the bucket. Required if `cloudProvider` is set to `AWS`.
95
125
  */
96
126
  iamRoleId?: pulumi.Input<string>;
97
127
  /**
98
128
  * The unique identifier of the project for the Atlas cluster.
99
129
  */
100
130
  projectId?: pulumi.Input<string>;
131
+ /**
132
+ * Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if `cloudProvider` is set to `AZURE`.
133
+ */
134
+ roleId?: pulumi.Input<string>;
135
+ /**
136
+ * URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if `cloudProvider` is set to `AZURE`.
137
+ */
138
+ serviceUrl?: pulumi.Input<string>;
139
+ /**
140
+ * UUID that identifies the Azure Active Directory Tenant ID. Required if `cloudProvider` is set to `AZURE`.
141
+ */
142
+ tenantId?: pulumi.Input<string>;
101
143
  }
102
144
  /**
103
145
  * The set of arguments for constructing a CloudBackupSnapshotExportBucket resource.
104
146
  */
105
147
  export interface CloudBackupSnapshotExportBucketArgs {
106
148
  /**
107
- * Name of the bucket that the provided role ID is authorized to access. You must also specify the `iamRoleId`.
149
+ * Name of the bucket that the provided role ID is authorized to access.
108
150
  */
109
151
  bucketName: pulumi.Input<string>;
110
152
  /**
111
- * Name of the provider of the cloud service where Atlas can access the S3 bucket. Atlas only supports `AWS`.
153
+ * Name of the provider of the cloud service where Atlas can access the S3 bucket.
112
154
  */
113
155
  cloudProvider: pulumi.Input<string>;
114
156
  /**
115
- * Unique identifier of the role that Atlas can use to access the bucket. You must also specify the `bucketName`.
157
+ * Unique identifier of the role that Atlas can use to access the bucket. Required if `cloudProvider` is set to `AWS`.
116
158
  */
117
- iamRoleId: pulumi.Input<string>;
159
+ iamRoleId?: pulumi.Input<string>;
118
160
  /**
119
161
  * The unique identifier of the project for the Atlas cluster.
120
162
  */
121
163
  projectId: pulumi.Input<string>;
164
+ /**
165
+ * Unique identifier of the Azure Service Principal that Atlas can use to access the Azure Blob Storage Container. Required if `cloudProvider` is set to `AZURE`.
166
+ */
167
+ roleId?: pulumi.Input<string>;
168
+ /**
169
+ * URL that identifies the blob Endpoint of the Azure Blob Storage Account. Required if `cloudProvider` is set to `AZURE`.
170
+ */
171
+ serviceUrl?: pulumi.Input<string>;
172
+ /**
173
+ * UUID that identifies the Azure Active Directory Tenant ID. Required if `cloudProvider` is set to `AZURE`.
174
+ */
175
+ tenantId?: pulumi.Input<string>;
122
176
  }
@@ -14,6 +14,8 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * ## Example Usage
16
16
  *
17
+ * ### AWS Example
18
+ *
17
19
  * ```typescript
18
20
  * import * as pulumi from "@pulumi/pulumi";
19
21
  * import * as mongodbatlas from "@pulumi/mongodbatlas";
@@ -26,6 +28,22 @@ const utilities = require("./utilities");
26
28
  * });
27
29
  * ```
28
30
  *
31
+ * ### Azure Example
32
+ *
33
+ * ```typescript
34
+ * import * as pulumi from "@pulumi/pulumi";
35
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
36
+ *
37
+ * const test = new mongodbatlas.CloudBackupSnapshotExportBucket("test", {
38
+ * projectId: "{PROJECT_ID}",
39
+ * roleId: "{ROLE_ID}",
40
+ * serviceUrl: "{SERVICE_URL}",
41
+ * tenantId: "{TENANT_ID}",
42
+ * bucketName: "example-bucket",
43
+ * cloudProvider: "AZURE",
44
+ * });
45
+ * ```
46
+ *
29
47
  * ## Import
30
48
  *
31
49
  * Cloud Backup Snapshot Export Backup entries can be imported using project project_id, and bucket_id (Unique identifier of the snapshot export bucket), in the format `PROJECTID-BUCKETID`, e.g.
@@ -68,6 +86,9 @@ class CloudBackupSnapshotExportBucket extends pulumi.CustomResource {
68
86
  resourceInputs["exportBucketId"] = state ? state.exportBucketId : undefined;
69
87
  resourceInputs["iamRoleId"] = state ? state.iamRoleId : undefined;
70
88
  resourceInputs["projectId"] = state ? state.projectId : undefined;
89
+ resourceInputs["roleId"] = state ? state.roleId : undefined;
90
+ resourceInputs["serviceUrl"] = state ? state.serviceUrl : undefined;
91
+ resourceInputs["tenantId"] = state ? state.tenantId : undefined;
71
92
  }
72
93
  else {
73
94
  const args = argsOrState;
@@ -77,9 +98,6 @@ class CloudBackupSnapshotExportBucket extends pulumi.CustomResource {
77
98
  if ((!args || args.cloudProvider === undefined) && !opts.urn) {
78
99
  throw new Error("Missing required property 'cloudProvider'");
79
100
  }
80
- if ((!args || args.iamRoleId === undefined) && !opts.urn) {
81
- throw new Error("Missing required property 'iamRoleId'");
82
- }
83
101
  if ((!args || args.projectId === undefined) && !opts.urn) {
84
102
  throw new Error("Missing required property 'projectId'");
85
103
  }
@@ -87,6 +105,9 @@ class CloudBackupSnapshotExportBucket extends pulumi.CustomResource {
87
105
  resourceInputs["cloudProvider"] = args ? args.cloudProvider : undefined;
88
106
  resourceInputs["iamRoleId"] = args ? args.iamRoleId : undefined;
89
107
  resourceInputs["projectId"] = args ? args.projectId : undefined;
108
+ resourceInputs["roleId"] = args ? args.roleId : undefined;
109
+ resourceInputs["serviceUrl"] = args ? args.serviceUrl : undefined;
110
+ resourceInputs["tenantId"] = args ? args.tenantId : undefined;
90
111
  resourceInputs["exportBucketId"] = undefined /*out*/;
91
112
  }
92
113
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"cloudBackupSnapshotExportBucket.js","sourceRoot":"","sources":["../cloudBackupSnapshotExportBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,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;IA+BD,YAAY,IAAY,EAAE,WAAwF,EAAE,IAAmC;QACnJ,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;Q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AC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACxD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AAxGL,0EAyGC;AA3FG,gBAAgB;AACO,4CAAY,GAAG,oFAAoF,CAAC"}
@@ -165,12 +165,6 @@ export declare class CloudBackupSnapshotRestoreJob extends pulumi.CustomResource
165
165
  * The name of the Atlas cluster whose snapshot you want to restore.
166
166
  */
167
167
  readonly clusterName: pulumi.Output<string>;
168
- /**
169
- * UTC ISO 8601 formatted point in time when Atlas created the restore job.
170
- *
171
- * @deprecated This parameter is deprecated and will be removed in version 1.18.0.
172
- */
173
- readonly createdAt: pulumi.Output<string>;
174
168
  /**
175
169
  * Type of restore job to create. Possible configurations are: **download**, **automated**, or **pointInTime** only one must be set it in ``true``.
176
170
  * * `delivery_type_config.automated` - Set to `true` to use the automated configuration.
@@ -250,12 +244,6 @@ export interface CloudBackupSnapshotRestoreJobState {
250
244
  * The name of the Atlas cluster whose snapshot you want to restore.
251
245
  */
252
246
  clusterName?: pulumi.Input<string>;
253
- /**
254
- * UTC ISO 8601 formatted point in time when Atlas created the restore job.
255
- *
256
- * @deprecated This parameter is deprecated and will be removed in version 1.18.0.
257
- */
258
- createdAt?: pulumi.Input<string>;
259
247
  /**
260
248
  * Type of restore job to create. Possible configurations are: **download**, **automated**, or **pointInTime** only one must be set it in ``true``.
261
249
  * * `delivery_type_config.automated` - Set to `true` to use the automated configuration.
@@ -175,7 +175,6 @@ class CloudBackupSnapshotRestoreJob extends pulumi.CustomResource {
175
175
  const state = argsOrState;
176
176
  resourceInputs["cancelled"] = state ? state.cancelled : undefined;
177
177
  resourceInputs["clusterName"] = state ? state.clusterName : undefined;
178
- resourceInputs["createdAt"] = state ? state.createdAt : undefined;
179
178
  resourceInputs["deliveryTypeConfig"] = state ? state.deliveryTypeConfig : undefined;
180
179
  resourceInputs["deliveryUrls"] = state ? state.deliveryUrls : undefined;
181
180
  resourceInputs["expired"] = state ? state.expired : undefined;
@@ -199,7 +198,6 @@ class CloudBackupSnapshotRestoreJob extends pulumi.CustomResource {
199
198
  resourceInputs["projectId"] = args ? args.projectId : undefined;
200
199
  resourceInputs["snapshotId"] = args ? args.snapshotId : undefined;
201
200
  resourceInputs["cancelled"] = undefined /*out*/;
202
- resourceInputs["createdAt"] = undefined /*out*/;
203
201
  resourceInputs["deliveryUrls"] = undefined /*out*/;
204
202
  resourceInputs["expired"] = undefined /*out*/;
205
203
  resourceInputs["expiresAt"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"cloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../cloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2IG;AACH,MAAa,6BAA8B,SAAQ,MAAM,CAAC,cAAc;IACpE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0C,EAAE,IAAmC;QACxI,OAAO,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C,CAAC,IAAI,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AA7IL,sEA8IC;AAhIG,gBAAgB;AACO,0CAAY,GAAG,gFAAgF,CAAC"}
@@ -38,6 +38,51 @@ import * as outputs from "./types/output";
38
38
  * name: exampleAdvancedCluster.name,
39
39
  * });
40
40
  * ```
41
+ *
42
+ * ## Example using latest sharding schema with independent shard scaling in the cluster
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
47
+ *
48
+ * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
49
+ * projectId: "<YOUR-PROJECT-ID>",
50
+ * name: "cluster-test",
51
+ * backupEnabled: false,
52
+ * clusterType: "SHARDED",
53
+ * replicationSpecs: [
54
+ * {
55
+ * regionConfigs: [{
56
+ * electableSpecs: {
57
+ * instanceSize: "M30",
58
+ * diskIops: 3000,
59
+ * nodeCount: 3,
60
+ * },
61
+ * providerName: "AWS",
62
+ * priority: 7,
63
+ * regionName: "EU_WEST_1",
64
+ * }],
65
+ * },
66
+ * {
67
+ * regionConfigs: [{
68
+ * electableSpecs: {
69
+ * instanceSize: "M40",
70
+ * diskIops: 3000,
71
+ * nodeCount: 3,
72
+ * },
73
+ * providerName: "AWS",
74
+ * priority: 7,
75
+ * regionName: "EU_WEST_1",
76
+ * }],
77
+ * },
78
+ * ],
79
+ * });
80
+ * const example = mongodbatlas.getAdvancedClusterOutput({
81
+ * projectId: exampleAdvancedCluster.projectId,
82
+ * name: exampleAdvancedCluster.name,
83
+ * useReplicationSpecPerShard: true,
84
+ * });
85
+ * ```
41
86
  */
42
87
  export declare function getAdvancedCluster(args: GetAdvancedClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetAdvancedClusterResult>;
43
88
  /**
@@ -56,6 +101,10 @@ export interface GetAdvancedClusterArgs {
56
101
  * The unique ID for the project to create the database user.
57
102
  */
58
103
  projectId: string;
104
+ /**
105
+ * Set this field to true to allow the data source to use the latest schema representing each shard with an individual `replicationSpecs` object. This enables representing clusters with independent shard scaling.
106
+ */
107
+ useReplicationSpecPerShard?: boolean;
59
108
  }
60
109
  /**
61
110
  * A collection of values returned by getAdvancedCluster.
@@ -80,7 +129,9 @@ export interface GetAdvancedClusterResult {
80
129
  readonly connectionStrings: outputs.GetAdvancedClusterConnectionString[];
81
130
  readonly createDate: string;
82
131
  /**
83
- * Capacity, in gigabytes, of the host's root volume.
132
+ * Storage capacity that the host's root volume possesses expressed in gigabytes. If disk size specified is below the minimum (10 GB), this parameter defaults to the minimum disk size value. Storage charge calculations depend on whether you choose the default value or a custom value. The maximum value for disk storage cannot exceed 50 times the maximum RAM for the selected cluster. If you require more storage space, consider upgrading your cluster to a higher tier.
133
+ *
134
+ * @deprecated This parameter is deprecated. Please refer to our examples, documentation, and 1.18.0 migration guide for more details at https://registry.terraform.io/providers/mongodb/mongodbatlas/latest/docs/guides/1.18.0-upgrade-guide.html.markdown
84
135
  */
85
136
  readonly diskSizeGb: number;
86
137
  /**
@@ -96,7 +147,7 @@ export interface GetAdvancedClusterResult {
96
147
  */
97
148
  readonly id: string;
98
149
  /**
99
- * Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. **DEPRECATED** Use `tags` instead.
150
+ * Set that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the cluster. See below. **(DEPRECATED.)** Use `tags` instead.
100
151
  *
101
152
  * @deprecated This parameter is deprecated and will be removed by September 2024. Please transition to tags.
102
153
  */
@@ -120,7 +171,7 @@ export interface GetAdvancedClusterResult {
120
171
  readonly pitEnabled: boolean;
121
172
  readonly projectId: string;
122
173
  /**
123
- * Configuration for cluster regions and the hardware provisioned in them. See below.
174
+ * List of settings that configure your cluster regions. If `useReplicationSpecPerShard = true`, this array has one object per shard representing node configurations in each shard. For replica sets there is only one object representing node configurations. See below.
124
175
  */
125
176
  readonly replicationSpecs: outputs.GetAdvancedClusterReplicationSpec[];
126
177
  /**
@@ -139,6 +190,7 @@ export interface GetAdvancedClusterResult {
139
190
  * Flag that indicates whether termination protection is enabled on the cluster. If set to true, MongoDB Cloud won't delete the cluster. If set to false, MongoDB Cloud will delete the cluster.
140
191
  */
141
192
  readonly terminationProtectionEnabled: boolean;
193
+ readonly useReplicationSpecPerShard?: boolean;
142
194
  /**
143
195
  * Release cadence that Atlas uses for this cluster.
144
196
  */
@@ -182,6 +234,51 @@ export interface GetAdvancedClusterResult {
182
234
  * name: exampleAdvancedCluster.name,
183
235
  * });
184
236
  * ```
237
+ *
238
+ * ## Example using latest sharding schema with independent shard scaling in the cluster
239
+ *
240
+ * ```typescript
241
+ * import * as pulumi from "@pulumi/pulumi";
242
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
243
+ *
244
+ * const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
245
+ * projectId: "<YOUR-PROJECT-ID>",
246
+ * name: "cluster-test",
247
+ * backupEnabled: false,
248
+ * clusterType: "SHARDED",
249
+ * replicationSpecs: [
250
+ * {
251
+ * regionConfigs: [{
252
+ * electableSpecs: {
253
+ * instanceSize: "M30",
254
+ * diskIops: 3000,
255
+ * nodeCount: 3,
256
+ * },
257
+ * providerName: "AWS",
258
+ * priority: 7,
259
+ * regionName: "EU_WEST_1",
260
+ * }],
261
+ * },
262
+ * {
263
+ * regionConfigs: [{
264
+ * electableSpecs: {
265
+ * instanceSize: "M40",
266
+ * diskIops: 3000,
267
+ * nodeCount: 3,
268
+ * },
269
+ * providerName: "AWS",
270
+ * priority: 7,
271
+ * regionName: "EU_WEST_1",
272
+ * }],
273
+ * },
274
+ * ],
275
+ * });
276
+ * const example = mongodbatlas.getAdvancedClusterOutput({
277
+ * projectId: exampleAdvancedCluster.projectId,
278
+ * name: exampleAdvancedCluster.name,
279
+ * useReplicationSpecPerShard: true,
280
+ * });
281
+ * ```
185
282
  */
186
283
  export declare function getAdvancedClusterOutput(args: GetAdvancedClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAdvancedClusterResult>;
187
284
  /**
@@ -200,4 +297,8 @@ export interface GetAdvancedClusterOutputArgs {
200
297
  * The unique ID for the project to create the database user.
201
298
  */
202
299
  projectId: pulumi.Input<string>;
300
+ /**
301
+ * Set this field to true to allow the data source to use the latest schema representing each shard with an individual `replicationSpecs` object. This enables representing clusters with independent shard scaling.
302
+ */
303
+ useReplicationSpecPerShard?: pulumi.Input<boolean>;
203
304
  }