@pulumi/mongodbatlas 3.17.0-alpha.1723037969 → 3.17.0-alpha.1723714844
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/advancedCluster.d.ts +95 -80
- package/advancedCluster.js +81 -74
- package/advancedCluster.js.map +1 -1
- package/apiKey.d.ts +6 -18
- package/apiKey.js +6 -0
- package/apiKey.js.map +1 -1
- package/cloudBackupSchedule.d.ts +33 -15
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +65 -11
- package/cloudBackupSnapshotExportBucket.js +24 -3
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +0 -12
- package/cloudBackupSnapshotRestoreJob.js +0 -2
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getAdvancedCluster.d.ts +104 -3
- package/getAdvancedCluster.js +91 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAdvancedClusters.d.ts +99 -0
- package/getAdvancedClusters.js +91 -0
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +20 -77
- package/getCloudBackupSchedule.js +1 -72
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +15 -14
- package/getCloudBackupSnapshotExportBucket.js +0 -1
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +0 -11
- package/getCloudBackupSnapshotExportJob.js +0 -1
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +5 -27
- package/getCloudBackupSnapshotRestoreJob.js +0 -1
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCluster.d.ts +4 -4
- package/getCluster.js +4 -4
- package/getClusters.d.ts +4 -4
- package/getClusters.js +4 -4
- package/getFederatedSettingsIdentityProviders.d.ts +2 -70
- package/getFederatedSettingsIdentityProviders.js +2 -40
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +76 -24
- package/getGlobalClusterConfig.js +76 -24
- package/getGlobalClusterConfig.js.map +1 -1
- package/getNetworkPeering.d.ts +0 -4
- package/getNetworkPeering.js +0 -4
- package/getNetworkPeering.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +0 -18
- package/getThirdPartyIntegration.js +0 -1
- package/getThirdPartyIntegration.js.map +1 -1
- package/globalClusterConfig.d.ts +16 -14
- package/globalClusterConfig.js +16 -14
- package/globalClusterConfig.js.map +1 -1
- package/networkContainer.d.ts +0 -2
- package/networkContainer.js +0 -2
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +7 -2
- package/networkPeering.js +7 -2
- package/networkPeering.js.map +1 -1
- package/package.json +2 -2
- package/thirdPartyIntegration.d.ts +0 -12
- package/thirdPartyIntegration.js +0 -2
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +48 -18
- package/types/output.d.ts +164 -70
package/apiKey.d.ts
CHANGED
|
@@ -13,6 +13,12 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
13
|
* });
|
|
14
14
|
* ```
|
|
15
15
|
*
|
|
16
|
+
* ## ## Attributes Reference
|
|
17
|
+
*
|
|
18
|
+
* In addition to all arguments above, the following attributes are exported:
|
|
19
|
+
*
|
|
20
|
+
* * `apiKeyId` - Unique identifier for this Organization API key.
|
|
21
|
+
*
|
|
16
22
|
* ## Import
|
|
17
23
|
*
|
|
18
24
|
* API Keys must be imported using org ID, API Key ID e.g.
|
|
@@ -38,9 +44,6 @@ export declare class ApiKey extends pulumi.CustomResource {
|
|
|
38
44
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
45
|
*/
|
|
40
46
|
static isInstance(obj: any): obj is ApiKey;
|
|
41
|
-
/**
|
|
42
|
-
* Unique identifier for this Organization API key.
|
|
43
|
-
*/
|
|
44
47
|
readonly apiKeyId: pulumi.Output<string>;
|
|
45
48
|
/**
|
|
46
49
|
* Description of this Organization API key.
|
|
@@ -60,10 +63,6 @@ export declare class ApiKey extends pulumi.CustomResource {
|
|
|
60
63
|
* * `ORG_BILLING_ADMIN`
|
|
61
64
|
* * `ORG_READ_ONLY`
|
|
62
65
|
* * `ORG_MEMBER`
|
|
63
|
-
*
|
|
64
|
-
* ## Attributes Reference
|
|
65
|
-
*
|
|
66
|
-
* In addition to all arguments above, the following attributes are exported:
|
|
67
66
|
*/
|
|
68
67
|
readonly roleNames: pulumi.Output<string[]>;
|
|
69
68
|
/**
|
|
@@ -79,9 +78,6 @@ export declare class ApiKey extends pulumi.CustomResource {
|
|
|
79
78
|
* Input properties used for looking up and filtering ApiKey resources.
|
|
80
79
|
*/
|
|
81
80
|
export interface ApiKeyState {
|
|
82
|
-
/**
|
|
83
|
-
* Unique identifier for this Organization API key.
|
|
84
|
-
*/
|
|
85
81
|
apiKeyId?: pulumi.Input<string>;
|
|
86
82
|
/**
|
|
87
83
|
* Description of this Organization API key.
|
|
@@ -101,10 +97,6 @@ export interface ApiKeyState {
|
|
|
101
97
|
* * `ORG_BILLING_ADMIN`
|
|
102
98
|
* * `ORG_READ_ONLY`
|
|
103
99
|
* * `ORG_MEMBER`
|
|
104
|
-
*
|
|
105
|
-
* ## Attributes Reference
|
|
106
|
-
*
|
|
107
|
-
* In addition to all arguments above, the following attributes are exported:
|
|
108
100
|
*/
|
|
109
101
|
roleNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
110
102
|
}
|
|
@@ -128,10 +120,6 @@ export interface ApiKeyArgs {
|
|
|
128
120
|
* * `ORG_BILLING_ADMIN`
|
|
129
121
|
* * `ORG_READ_ONLY`
|
|
130
122
|
* * `ORG_MEMBER`
|
|
131
|
-
*
|
|
132
|
-
* ## Attributes Reference
|
|
133
|
-
*
|
|
134
|
-
* In addition to all arguments above, the following attributes are exported:
|
|
135
123
|
*/
|
|
136
124
|
roleNames: pulumi.Input<pulumi.Input<string>[]>;
|
|
137
125
|
}
|
package/apiKey.js
CHANGED
|
@@ -19,6 +19,12 @@ const utilities = require("./utilities");
|
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*
|
|
22
|
+
* ## ## Attributes Reference
|
|
23
|
+
*
|
|
24
|
+
* In addition to all arguments above, the following attributes are exported:
|
|
25
|
+
*
|
|
26
|
+
* * `apiKeyId` - Unique identifier for this Organization API key.
|
|
27
|
+
*
|
|
22
28
|
* ## Import
|
|
23
29
|
*
|
|
24
30
|
* API Keys must be imported using org ID, API Key ID e.g.
|
package/apiKey.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"apiKey.js","sourceRoot":"","sources":["../apiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IAgCD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cA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S,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACtD,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA3FL,wBA4FC;AA9EG,gBAAgB;AACO,mBAAY,GAAG,kCAAkC,CAAC"}
|
package/cloudBackupSchedule.d.ts
CHANGED
|
@@ -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;
|
|
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,K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
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
1
|
+
{"version":3,"file":"cloudBackupSnapshotExportBucket.js","sourceRoot":"","sources":["../cloudBackupSnapshotExportBucket.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4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C,IAAI,CAAC,MAAM,CAAC,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,yCAAy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