@pulumi/mongodbatlas 3.15.0-alpha.1712987729 → 3.15.0-alpha.1713461951
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/accessListApiKey.d.ts +4 -4
- package/accessListApiKey.js +4 -4
- package/advancedCluster.d.ts +28 -45
- package/advancedCluster.js +28 -45
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -44
- package/alertConfiguration.js +44 -44
- package/auditing.d.ts +2 -2
- package/auditing.js +2 -2
- package/backupCompliancePolicy.d.ts +85 -0
- package/backupCompliancePolicy.js +85 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -7
- package/cloudBackupSnapshot.js +7 -7
- package/cloudBackupSnapshotExportBucket.d.ts +2 -2
- package/cloudBackupSnapshotExportBucket.js +2 -2
- package/cloudBackupSnapshotExportJob.d.ts +3 -3
- package/cloudBackupSnapshotExportJob.js +3 -3
- package/cloudBackupSnapshotRestoreJob.d.ts +78 -11
- package/cloudBackupSnapshotRestoreJob.js +78 -11
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -64
- package/cluster.js +48 -64
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -2
- package/clusterOutageSimulation.js +2 -2
- package/customDbRole.d.ts +6 -6
- package/customDbRole.js +6 -6
- package/customDnsConfigurationClusterAws.d.ts +1 -1
- package/customDnsConfigurationClusterAws.js +1 -1
- package/databaseUser.d.ts +19 -19
- package/databaseUser.js +19 -19
- package/eventTrigger.d.ts +24 -20
- package/eventTrigger.js +24 -20
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -8
- package/federatedDatabaseInstance.js +10 -8
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -2
- package/federatedQueryLimit.js +2 -2
- package/federatedSettingsIdentityProvider.d.ts +6 -5
- package/federatedSettingsIdentityProvider.js +6 -5
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -2
- package/federatedSettingsOrgRoleMapping.js +2 -2
- package/get509AuthenticationDatabaseUser.d.ts +64 -0
- package/get509AuthenticationDatabaseUser.js +64 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAdvancedCluster.d.ts +60 -0
- package/getAdvancedCluster.js +60 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +202 -0
- package/getAlertConfiguration.js +202 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -2
- package/getAtlasUsers.js +2 -2
- package/getAuditing.d.ts +38 -0
- package/getAuditing.js +38 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +170 -0
- package/getBackupCompliancePolicy.js +170 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +58 -0
- package/getCloudBackupSchedule.js +58 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +42 -0
- package/getCloudBackupSnapshot.js +42 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +40 -0
- package/getCloudBackupSnapshotExportBucket.js +40 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -8
- package/getCloudBackupSnapshotExportBuckets.js +8 -8
- package/getCloudBackupSnapshotExportJob.d.ts +62 -0
- package/getCloudBackupSnapshotExportJob.js +62 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -6
- package/getCloudBackupSnapshotExportJobs.js +6 -6
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -6
- package/getCloudBackupSnapshotRestoreJobs.js +6 -6
- package/getCloudProviderAccessSetup.d.ts +4 -4
- package/getCloudProviderAccessSetup.js +4 -4
- package/getCluster.d.ts +64 -0
- package/getCluster.js +64 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -2
- package/getClusterOutageSimulation.js +2 -2
- package/getClusters.d.ts +6 -4
- package/getClusters.js +6 -4
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -2
- package/getCustomDbRole.js +2 -2
- package/getCustomDnsConfigurationClusterAws.d.ts +34 -0
- package/getCustomDnsConfigurationClusterAws.js +34 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +132 -0
- package/getDatabaseUser.js +132 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -14
- package/getDatabaseUsers.js +14 -14
- package/getFederatedDatabaseInstance.d.ts +6 -6
- package/getFederatedDatabaseInstance.js +6 -6
- package/getFederatedQueryLimit.d.ts +2 -2
- package/getFederatedQueryLimit.js +2 -2
- package/getFederatedSettingsIdentityProvider.d.ts +4 -2
- package/getFederatedSettingsIdentityProvider.js +4 -2
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -2
- package/getFederatedSettingsIdentityProviders.js +4 -2
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -6
- package/getFederatedSettingsOrgConfig.js +6 -6
- package/getFederatedSettingsOrgConfigs.d.ts +6 -6
- package/getFederatedSettingsOrgConfigs.js +6 -6
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -4
- package/getFederatedSettingsOrgRoleMapping.js +4 -4
- package/getGlobalClusterConfig.d.ts +114 -0
- package/getGlobalClusterConfig.js +114 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +50 -0
- package/getLdapConfiguration.js +50 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +70 -0
- package/getLdapVerify.js +70 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +68 -0
- package/getMaintenanceWindow.js +68 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +40 -0
- package/getNetworkContainer.js +40 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -4
- package/getNetworkContainers.js +4 -4
- package/getNetworkPeering.d.ts +46 -0
- package/getNetworkPeering.js +46 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -4
- package/getNetworkPeerings.js +4 -4
- package/getOrganizations.d.ts +2 -2
- package/getOrganizations.js +2 -2
- package/getPrivateLinkEndpoint.d.ts +46 -0
- package/getPrivateLinkEndpoint.js +46 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -2
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointServiceServerless.js +20 -16
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js +20 -16
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +134 -0
- package/getProject.js +134 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +40 -0
- package/getProjectApiKey.js +40 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -2
- package/getProjectApiKeys.js +2 -2
- package/getProjectInvitation.d.ts +38 -0
- package/getProjectInvitation.js +38 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +146 -0
- package/getProjectIpAccessList.js +146 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -8
- package/getProjects.js +10 -8
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +2 -2
- package/getSearchIndex.js +2 -2
- package/getThirdPartyIntegration.d.ts +2 -2
- package/getThirdPartyIntegration.js +2 -2
- package/getThirdPartyIntegrations.d.ts +4 -4
- package/getThirdPartyIntegrations.js +4 -4
- package/getX509AuthenticationDatabaseUser.d.ts +64 -0
- package/getX509AuthenticationDatabaseUser.js +64 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -2
- package/globalClusterConfig.js +4 -2
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -6
- package/ldapConfiguration.js +12 -6
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -6
- package/ldapVerify.js +9 -6
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -2
- package/maintenanceWindow.js +2 -2
- package/networkContainer.d.ts +3 -3
- package/networkContainer.js +3 -3
- package/networkPeering.d.ts +38 -143
- package/networkPeering.js +38 -143
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -8
- package/onlineArchive.js +8 -8
- package/orgInvitation.d.ts +4 -4
- package/orgInvitation.js +4 -4
- package/organization.d.ts +2 -1
- package/organization.js +2 -1
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpointService.d.ts +95 -22
- package/privateLinkEndpointService.js +95 -22
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -2
- package/privatelinkEndpointServerless.js +3 -2
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +54 -6
- package/privatelinkEndpointServiceServerless.js +54 -6
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -3
- package/project.js +4 -3
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +2 -2
- package/projectInvitation.js +2 -2
- package/projectIpAccessList.d.ts +8 -8
- package/projectIpAccessList.js +8 -8
- package/searchIndex.d.ts +4 -2
- package/searchIndex.js +4 -2
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -0
- package/serverlessInstance.js +1 -0
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -3
- package/thirdPartyIntegration.js +3 -3
|
@@ -2,6 +2,91 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
|
+
*
|
|
11
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
12
|
+
* projectId: "<PROJECT-ID>",
|
|
13
|
+
* name: "clusterTest",
|
|
14
|
+
* providerName: "AWS",
|
|
15
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
16
|
+
* providerInstanceSizeName: "M10",
|
|
17
|
+
* cloudBackup: true,
|
|
18
|
+
* });
|
|
19
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
20
|
+
* projectId: myCluster.projectId,
|
|
21
|
+
* clusterName: myCluster.name,
|
|
22
|
+
* referenceHourOfDay: 3,
|
|
23
|
+
* referenceMinuteOfHour: 45,
|
|
24
|
+
* restoreWindowDays: 4,
|
|
25
|
+
* policyItemHourly: {
|
|
26
|
+
* frequencyInterval: 1,
|
|
27
|
+
* retentionUnit: "days",
|
|
28
|
+
* retentionValue: 1,
|
|
29
|
+
* },
|
|
30
|
+
* policyItemDaily: {
|
|
31
|
+
* frequencyInterval: 1,
|
|
32
|
+
* retentionUnit: "days",
|
|
33
|
+
* retentionValue: 2,
|
|
34
|
+
* },
|
|
35
|
+
* policyItemWeeklies: [{
|
|
36
|
+
* frequencyInterval: 4,
|
|
37
|
+
* retentionUnit: "weeks",
|
|
38
|
+
* retentionValue: 3,
|
|
39
|
+
* }],
|
|
40
|
+
* policyItemMonthlies: [{
|
|
41
|
+
* frequencyInterval: 5,
|
|
42
|
+
* retentionUnit: "months",
|
|
43
|
+
* retentionValue: 4,
|
|
44
|
+
* }],
|
|
45
|
+
* });
|
|
46
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
47
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
48
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
49
|
+
* });
|
|
50
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
51
|
+
* projectId: testCloudBackupSchedule.id,
|
|
52
|
+
* });
|
|
53
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
54
|
+
* projectId: "<PROJECT-ID>",
|
|
55
|
+
* authorizedEmail: "user@email.com",
|
|
56
|
+
* authorizedUserFirstName: "First",
|
|
57
|
+
* authorizedUserLastName: "Last",
|
|
58
|
+
* copyProtectionEnabled: false,
|
|
59
|
+
* pitEnabled: false,
|
|
60
|
+
* encryptionAtRestEnabled: false,
|
|
61
|
+
* restoreWindowDays: 7,
|
|
62
|
+
* onDemandPolicyItem: {
|
|
63
|
+
* frequencyInterval: 0,
|
|
64
|
+
* retentionUnit: "days",
|
|
65
|
+
* retentionValue: 3,
|
|
66
|
+
* },
|
|
67
|
+
* policyItemHourly: {
|
|
68
|
+
* frequencyInterval: 6,
|
|
69
|
+
* retentionUnit: "days",
|
|
70
|
+
* retentionValue: 7,
|
|
71
|
+
* },
|
|
72
|
+
* policyItemDaily: {
|
|
73
|
+
* frequencyInterval: 0,
|
|
74
|
+
* retentionUnit: "days",
|
|
75
|
+
* retentionValue: 7,
|
|
76
|
+
* },
|
|
77
|
+
* policyItemWeeklies: [{
|
|
78
|
+
* frequencyInterval: 0,
|
|
79
|
+
* retentionUnit: "weeks",
|
|
80
|
+
* retentionValue: 4,
|
|
81
|
+
* }],
|
|
82
|
+
* policyItemMonthlies: [{
|
|
83
|
+
* frequencyInterval: 0,
|
|
84
|
+
* retentionUnit: "months",
|
|
85
|
+
* retentionValue: 12,
|
|
86
|
+
* }],
|
|
87
|
+
* });
|
|
88
|
+
* ```
|
|
89
|
+
* <!--End PulumiCodeChooser -->
|
|
5
90
|
*/
|
|
6
91
|
export declare function getBackupCompliancePolicy(args: GetBackupCompliancePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupCompliancePolicyResult>;
|
|
7
92
|
/**
|
|
@@ -70,6 +155,91 @@ export interface GetBackupCompliancePolicyResult {
|
|
|
70
155
|
}
|
|
71
156
|
/**
|
|
72
157
|
* ## Example Usage
|
|
158
|
+
*
|
|
159
|
+
* <!--Start PulumiCodeChooser -->
|
|
160
|
+
* ```typescript
|
|
161
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
162
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
|
+
*
|
|
164
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
165
|
+
* projectId: "<PROJECT-ID>",
|
|
166
|
+
* name: "clusterTest",
|
|
167
|
+
* providerName: "AWS",
|
|
168
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
169
|
+
* providerInstanceSizeName: "M10",
|
|
170
|
+
* cloudBackup: true,
|
|
171
|
+
* });
|
|
172
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
173
|
+
* projectId: myCluster.projectId,
|
|
174
|
+
* clusterName: myCluster.name,
|
|
175
|
+
* referenceHourOfDay: 3,
|
|
176
|
+
* referenceMinuteOfHour: 45,
|
|
177
|
+
* restoreWindowDays: 4,
|
|
178
|
+
* policyItemHourly: {
|
|
179
|
+
* frequencyInterval: 1,
|
|
180
|
+
* retentionUnit: "days",
|
|
181
|
+
* retentionValue: 1,
|
|
182
|
+
* },
|
|
183
|
+
* policyItemDaily: {
|
|
184
|
+
* frequencyInterval: 1,
|
|
185
|
+
* retentionUnit: "days",
|
|
186
|
+
* retentionValue: 2,
|
|
187
|
+
* },
|
|
188
|
+
* policyItemWeeklies: [{
|
|
189
|
+
* frequencyInterval: 4,
|
|
190
|
+
* retentionUnit: "weeks",
|
|
191
|
+
* retentionValue: 3,
|
|
192
|
+
* }],
|
|
193
|
+
* policyItemMonthlies: [{
|
|
194
|
+
* frequencyInterval: 5,
|
|
195
|
+
* retentionUnit: "months",
|
|
196
|
+
* retentionValue: 4,
|
|
197
|
+
* }],
|
|
198
|
+
* });
|
|
199
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
200
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
201
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
202
|
+
* });
|
|
203
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
204
|
+
* projectId: testCloudBackupSchedule.id,
|
|
205
|
+
* });
|
|
206
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
207
|
+
* projectId: "<PROJECT-ID>",
|
|
208
|
+
* authorizedEmail: "user@email.com",
|
|
209
|
+
* authorizedUserFirstName: "First",
|
|
210
|
+
* authorizedUserLastName: "Last",
|
|
211
|
+
* copyProtectionEnabled: false,
|
|
212
|
+
* pitEnabled: false,
|
|
213
|
+
* encryptionAtRestEnabled: false,
|
|
214
|
+
* restoreWindowDays: 7,
|
|
215
|
+
* onDemandPolicyItem: {
|
|
216
|
+
* frequencyInterval: 0,
|
|
217
|
+
* retentionUnit: "days",
|
|
218
|
+
* retentionValue: 3,
|
|
219
|
+
* },
|
|
220
|
+
* policyItemHourly: {
|
|
221
|
+
* frequencyInterval: 6,
|
|
222
|
+
* retentionUnit: "days",
|
|
223
|
+
* retentionValue: 7,
|
|
224
|
+
* },
|
|
225
|
+
* policyItemDaily: {
|
|
226
|
+
* frequencyInterval: 0,
|
|
227
|
+
* retentionUnit: "days",
|
|
228
|
+
* retentionValue: 7,
|
|
229
|
+
* },
|
|
230
|
+
* policyItemWeeklies: [{
|
|
231
|
+
* frequencyInterval: 0,
|
|
232
|
+
* retentionUnit: "weeks",
|
|
233
|
+
* retentionValue: 4,
|
|
234
|
+
* }],
|
|
235
|
+
* policyItemMonthlies: [{
|
|
236
|
+
* frequencyInterval: 0,
|
|
237
|
+
* retentionUnit: "months",
|
|
238
|
+
* retentionValue: 12,
|
|
239
|
+
* }],
|
|
240
|
+
* });
|
|
241
|
+
* ```
|
|
242
|
+
* <!--End PulumiCodeChooser -->
|
|
73
243
|
*/
|
|
74
244
|
export declare function getBackupCompliancePolicyOutput(args: GetBackupCompliancePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackupCompliancePolicyResult>;
|
|
75
245
|
/**
|
|
@@ -7,6 +7,91 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
12
|
+
* ```typescript
|
|
13
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
14
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
15
|
+
*
|
|
16
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
17
|
+
* projectId: "<PROJECT-ID>",
|
|
18
|
+
* name: "clusterTest",
|
|
19
|
+
* providerName: "AWS",
|
|
20
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
21
|
+
* providerInstanceSizeName: "M10",
|
|
22
|
+
* cloudBackup: true,
|
|
23
|
+
* });
|
|
24
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
25
|
+
* projectId: myCluster.projectId,
|
|
26
|
+
* clusterName: myCluster.name,
|
|
27
|
+
* referenceHourOfDay: 3,
|
|
28
|
+
* referenceMinuteOfHour: 45,
|
|
29
|
+
* restoreWindowDays: 4,
|
|
30
|
+
* policyItemHourly: {
|
|
31
|
+
* frequencyInterval: 1,
|
|
32
|
+
* retentionUnit: "days",
|
|
33
|
+
* retentionValue: 1,
|
|
34
|
+
* },
|
|
35
|
+
* policyItemDaily: {
|
|
36
|
+
* frequencyInterval: 1,
|
|
37
|
+
* retentionUnit: "days",
|
|
38
|
+
* retentionValue: 2,
|
|
39
|
+
* },
|
|
40
|
+
* policyItemWeeklies: [{
|
|
41
|
+
* frequencyInterval: 4,
|
|
42
|
+
* retentionUnit: "weeks",
|
|
43
|
+
* retentionValue: 3,
|
|
44
|
+
* }],
|
|
45
|
+
* policyItemMonthlies: [{
|
|
46
|
+
* frequencyInterval: 5,
|
|
47
|
+
* retentionUnit: "months",
|
|
48
|
+
* retentionValue: 4,
|
|
49
|
+
* }],
|
|
50
|
+
* });
|
|
51
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
52
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
53
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
54
|
+
* });
|
|
55
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
56
|
+
* projectId: testCloudBackupSchedule.id,
|
|
57
|
+
* });
|
|
58
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
59
|
+
* projectId: "<PROJECT-ID>",
|
|
60
|
+
* authorizedEmail: "user@email.com",
|
|
61
|
+
* authorizedUserFirstName: "First",
|
|
62
|
+
* authorizedUserLastName: "Last",
|
|
63
|
+
* copyProtectionEnabled: false,
|
|
64
|
+
* pitEnabled: false,
|
|
65
|
+
* encryptionAtRestEnabled: false,
|
|
66
|
+
* restoreWindowDays: 7,
|
|
67
|
+
* onDemandPolicyItem: {
|
|
68
|
+
* frequencyInterval: 0,
|
|
69
|
+
* retentionUnit: "days",
|
|
70
|
+
* retentionValue: 3,
|
|
71
|
+
* },
|
|
72
|
+
* policyItemHourly: {
|
|
73
|
+
* frequencyInterval: 6,
|
|
74
|
+
* retentionUnit: "days",
|
|
75
|
+
* retentionValue: 7,
|
|
76
|
+
* },
|
|
77
|
+
* policyItemDaily: {
|
|
78
|
+
* frequencyInterval: 0,
|
|
79
|
+
* retentionUnit: "days",
|
|
80
|
+
* retentionValue: 7,
|
|
81
|
+
* },
|
|
82
|
+
* policyItemWeeklies: [{
|
|
83
|
+
* frequencyInterval: 0,
|
|
84
|
+
* retentionUnit: "weeks",
|
|
85
|
+
* retentionValue: 4,
|
|
86
|
+
* }],
|
|
87
|
+
* policyItemMonthlies: [{
|
|
88
|
+
* frequencyInterval: 0,
|
|
89
|
+
* retentionUnit: "months",
|
|
90
|
+
* retentionValue: 12,
|
|
91
|
+
* }],
|
|
92
|
+
* });
|
|
93
|
+
* ```
|
|
94
|
+
* <!--End PulumiCodeChooser -->
|
|
10
95
|
*/
|
|
11
96
|
function getBackupCompliancePolicy(args, opts) {
|
|
12
97
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -17,6 +102,91 @@ function getBackupCompliancePolicy(args, opts) {
|
|
|
17
102
|
exports.getBackupCompliancePolicy = getBackupCompliancePolicy;
|
|
18
103
|
/**
|
|
19
104
|
* ## Example Usage
|
|
105
|
+
*
|
|
106
|
+
* <!--Start PulumiCodeChooser -->
|
|
107
|
+
* ```typescript
|
|
108
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
109
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
110
|
+
*
|
|
111
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
112
|
+
* projectId: "<PROJECT-ID>",
|
|
113
|
+
* name: "clusterTest",
|
|
114
|
+
* providerName: "AWS",
|
|
115
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
116
|
+
* providerInstanceSizeName: "M10",
|
|
117
|
+
* cloudBackup: true,
|
|
118
|
+
* });
|
|
119
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
120
|
+
* projectId: myCluster.projectId,
|
|
121
|
+
* clusterName: myCluster.name,
|
|
122
|
+
* referenceHourOfDay: 3,
|
|
123
|
+
* referenceMinuteOfHour: 45,
|
|
124
|
+
* restoreWindowDays: 4,
|
|
125
|
+
* policyItemHourly: {
|
|
126
|
+
* frequencyInterval: 1,
|
|
127
|
+
* retentionUnit: "days",
|
|
128
|
+
* retentionValue: 1,
|
|
129
|
+
* },
|
|
130
|
+
* policyItemDaily: {
|
|
131
|
+
* frequencyInterval: 1,
|
|
132
|
+
* retentionUnit: "days",
|
|
133
|
+
* retentionValue: 2,
|
|
134
|
+
* },
|
|
135
|
+
* policyItemWeeklies: [{
|
|
136
|
+
* frequencyInterval: 4,
|
|
137
|
+
* retentionUnit: "weeks",
|
|
138
|
+
* retentionValue: 3,
|
|
139
|
+
* }],
|
|
140
|
+
* policyItemMonthlies: [{
|
|
141
|
+
* frequencyInterval: 5,
|
|
142
|
+
* retentionUnit: "months",
|
|
143
|
+
* retentionValue: 4,
|
|
144
|
+
* }],
|
|
145
|
+
* });
|
|
146
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
147
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
148
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
149
|
+
* });
|
|
150
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
151
|
+
* projectId: testCloudBackupSchedule.id,
|
|
152
|
+
* });
|
|
153
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
154
|
+
* projectId: "<PROJECT-ID>",
|
|
155
|
+
* authorizedEmail: "user@email.com",
|
|
156
|
+
* authorizedUserFirstName: "First",
|
|
157
|
+
* authorizedUserLastName: "Last",
|
|
158
|
+
* copyProtectionEnabled: false,
|
|
159
|
+
* pitEnabled: false,
|
|
160
|
+
* encryptionAtRestEnabled: false,
|
|
161
|
+
* restoreWindowDays: 7,
|
|
162
|
+
* onDemandPolicyItem: {
|
|
163
|
+
* frequencyInterval: 0,
|
|
164
|
+
* retentionUnit: "days",
|
|
165
|
+
* retentionValue: 3,
|
|
166
|
+
* },
|
|
167
|
+
* policyItemHourly: {
|
|
168
|
+
* frequencyInterval: 6,
|
|
169
|
+
* retentionUnit: "days",
|
|
170
|
+
* retentionValue: 7,
|
|
171
|
+
* },
|
|
172
|
+
* policyItemDaily: {
|
|
173
|
+
* frequencyInterval: 0,
|
|
174
|
+
* retentionUnit: "days",
|
|
175
|
+
* retentionValue: 7,
|
|
176
|
+
* },
|
|
177
|
+
* policyItemWeeklies: [{
|
|
178
|
+
* frequencyInterval: 0,
|
|
179
|
+
* retentionUnit: "weeks",
|
|
180
|
+
* retentionValue: 4,
|
|
181
|
+
* }],
|
|
182
|
+
* policyItemMonthlies: [{
|
|
183
|
+
* frequencyInterval: 0,
|
|
184
|
+
* retentionUnit: "months",
|
|
185
|
+
* retentionValue: 12,
|
|
186
|
+
* }],
|
|
187
|
+
* });
|
|
188
|
+
* ```
|
|
189
|
+
* <!--End PulumiCodeChooser -->
|
|
20
190
|
*/
|
|
21
191
|
function getBackupCompliancePolicyOutput(args, opts) {
|
|
22
192
|
return pulumi.output(args).apply((a) => getBackupCompliancePolicy(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBackupCompliancePolicy.js","sourceRoot":"","sources":["../getBackupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getBackupCompliancePolicy.js","sourceRoot":"","sources":["../getBackupCompliancePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IAEtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC;AAmED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuFG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,yBAAyB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpF,CAAC;AAFD,0EAEC"}
|
|
@@ -4,6 +4,35 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
5
5
|
*
|
|
6
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
16
|
+
* projectId: "<PROJECT-ID>",
|
|
17
|
+
* name: "clusterTest",
|
|
18
|
+
* providerName: "AWS",
|
|
19
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
20
|
+
* providerInstanceSizeName: "M10",
|
|
21
|
+
* cloudBackup: true,
|
|
22
|
+
* });
|
|
23
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
24
|
+
* projectId: myCluster.projectId,
|
|
25
|
+
* clusterName: myCluster.name,
|
|
26
|
+
* referenceHourOfDay: 3,
|
|
27
|
+
* referenceMinuteOfHour: 45,
|
|
28
|
+
* restoreWindowDays: 4,
|
|
29
|
+
* });
|
|
30
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
31
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
32
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
33
|
+
* });
|
|
34
|
+
* ```
|
|
35
|
+
* <!--End PulumiCodeChooser -->
|
|
7
36
|
*/
|
|
8
37
|
export declare function getCloudBackupSchedule(args: GetCloudBackupScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudBackupScheduleResult>;
|
|
9
38
|
/**
|
|
@@ -84,6 +113,35 @@ export interface GetCloudBackupScheduleResult {
|
|
|
84
113
|
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
85
114
|
*
|
|
86
115
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
116
|
+
*
|
|
117
|
+
* ## Example Usage
|
|
118
|
+
*
|
|
119
|
+
* <!--Start PulumiCodeChooser -->
|
|
120
|
+
* ```typescript
|
|
121
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
122
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
123
|
+
*
|
|
124
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
125
|
+
* projectId: "<PROJECT-ID>",
|
|
126
|
+
* name: "clusterTest",
|
|
127
|
+
* providerName: "AWS",
|
|
128
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
129
|
+
* providerInstanceSizeName: "M10",
|
|
130
|
+
* cloudBackup: true,
|
|
131
|
+
* });
|
|
132
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
133
|
+
* projectId: myCluster.projectId,
|
|
134
|
+
* clusterName: myCluster.name,
|
|
135
|
+
* referenceHourOfDay: 3,
|
|
136
|
+
* referenceMinuteOfHour: 45,
|
|
137
|
+
* restoreWindowDays: 4,
|
|
138
|
+
* });
|
|
139
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
140
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
141
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
142
|
+
* });
|
|
143
|
+
* ```
|
|
144
|
+
* <!--End PulumiCodeChooser -->
|
|
87
145
|
*/
|
|
88
146
|
export declare function getCloudBackupScheduleOutput(args: GetCloudBackupScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudBackupScheduleResult>;
|
|
89
147
|
/**
|
|
@@ -9,6 +9,35 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
21
|
+
* projectId: "<PROJECT-ID>",
|
|
22
|
+
* name: "clusterTest",
|
|
23
|
+
* providerName: "AWS",
|
|
24
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
25
|
+
* providerInstanceSizeName: "M10",
|
|
26
|
+
* cloudBackup: true,
|
|
27
|
+
* });
|
|
28
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
29
|
+
* projectId: myCluster.projectId,
|
|
30
|
+
* clusterName: myCluster.name,
|
|
31
|
+
* referenceHourOfDay: 3,
|
|
32
|
+
* referenceMinuteOfHour: 45,
|
|
33
|
+
* restoreWindowDays: 4,
|
|
34
|
+
* });
|
|
35
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
36
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
37
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
38
|
+
* });
|
|
39
|
+
* ```
|
|
40
|
+
* <!--End PulumiCodeChooser -->
|
|
12
41
|
*/
|
|
13
42
|
function getCloudBackupSchedule(args, opts) {
|
|
14
43
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -22,6 +51,35 @@ exports.getCloudBackupSchedule = getCloudBackupSchedule;
|
|
|
22
51
|
* `mongodbatlas.CloudBackupSchedule` provides a Cloud Backup Schedule datasource. An Atlas Cloud Backup Schedule provides the current cloud backup schedule for the cluster.
|
|
23
52
|
*
|
|
24
53
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
54
|
+
*
|
|
55
|
+
* ## Example Usage
|
|
56
|
+
*
|
|
57
|
+
* <!--Start PulumiCodeChooser -->
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
61
|
+
*
|
|
62
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
63
|
+
* projectId: "<PROJECT-ID>",
|
|
64
|
+
* name: "clusterTest",
|
|
65
|
+
* providerName: "AWS",
|
|
66
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
67
|
+
* providerInstanceSizeName: "M10",
|
|
68
|
+
* cloudBackup: true,
|
|
69
|
+
* });
|
|
70
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
71
|
+
* projectId: myCluster.projectId,
|
|
72
|
+
* clusterName: myCluster.name,
|
|
73
|
+
* referenceHourOfDay: 3,
|
|
74
|
+
* referenceMinuteOfHour: 45,
|
|
75
|
+
* restoreWindowDays: 4,
|
|
76
|
+
* });
|
|
77
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
78
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
79
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
* <!--End PulumiCodeChooser -->
|
|
25
83
|
*/
|
|
26
84
|
function getCloudBackupScheduleOutput(args, opts) {
|
|
27
85
|
return pulumi.output(args).apply((a) => getCloudBackupSchedule(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AA6ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -4,6 +4,27 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
* `mongodbatlas.CloudBackupSnapshot` 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
5
|
*
|
|
6
6
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
7
|
+
*
|
|
8
|
+
* ## Example Usage
|
|
9
|
+
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("test", {
|
|
16
|
+
* projectId: "5d0f1f73cf09a29120e173cf",
|
|
17
|
+
* clusterName: "MyClusterTest",
|
|
18
|
+
* description: "SomeDescription",
|
|
19
|
+
* retentionInDays: 1,
|
|
20
|
+
* });
|
|
21
|
+
* const test = mongodbatlas.getCloudBackupSnapshotOutput({
|
|
22
|
+
* snapshotId: "5d1285acd5ec13b6c2d1726a",
|
|
23
|
+
* projectId: testCloudBackupSnapshot.projectId,
|
|
24
|
+
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
7
28
|
*/
|
|
8
29
|
export declare function getCloudBackupSnapshot(args: GetCloudBackupSnapshotArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudBackupSnapshotResult>;
|
|
9
30
|
/**
|
|
@@ -91,6 +112,27 @@ export interface GetCloudBackupSnapshotResult {
|
|
|
91
112
|
* `mongodbatlas.CloudBackupSnapshot` 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.
|
|
92
113
|
*
|
|
93
114
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
115
|
+
*
|
|
116
|
+
* ## Example Usage
|
|
117
|
+
*
|
|
118
|
+
* <!--Start PulumiCodeChooser -->
|
|
119
|
+
* ```typescript
|
|
120
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
121
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
122
|
+
*
|
|
123
|
+
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("test", {
|
|
124
|
+
* projectId: "5d0f1f73cf09a29120e173cf",
|
|
125
|
+
* clusterName: "MyClusterTest",
|
|
126
|
+
* description: "SomeDescription",
|
|
127
|
+
* retentionInDays: 1,
|
|
128
|
+
* });
|
|
129
|
+
* const test = mongodbatlas.getCloudBackupSnapshotOutput({
|
|
130
|
+
* snapshotId: "5d1285acd5ec13b6c2d1726a",
|
|
131
|
+
* projectId: testCloudBackupSnapshot.projectId,
|
|
132
|
+
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
133
|
+
* });
|
|
134
|
+
* ```
|
|
135
|
+
* <!--End PulumiCodeChooser -->
|
|
94
136
|
*/
|
|
95
137
|
export declare function getCloudBackupSnapshotOutput(args: GetCloudBackupSnapshotOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudBackupSnapshotResult>;
|
|
96
138
|
/**
|
|
@@ -9,6 +9,27 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.CloudBackupSnapshot` 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
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
19
|
+
*
|
|
20
|
+
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("test", {
|
|
21
|
+
* projectId: "5d0f1f73cf09a29120e173cf",
|
|
22
|
+
* clusterName: "MyClusterTest",
|
|
23
|
+
* description: "SomeDescription",
|
|
24
|
+
* retentionInDays: 1,
|
|
25
|
+
* });
|
|
26
|
+
* const test = mongodbatlas.getCloudBackupSnapshotOutput({
|
|
27
|
+
* snapshotId: "5d1285acd5ec13b6c2d1726a",
|
|
28
|
+
* projectId: testCloudBackupSnapshot.projectId,
|
|
29
|
+
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
30
|
+
* });
|
|
31
|
+
* ```
|
|
32
|
+
* <!--End PulumiCodeChooser -->
|
|
12
33
|
*/
|
|
13
34
|
function getCloudBackupSnapshot(args, opts) {
|
|
14
35
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +44,27 @@ exports.getCloudBackupSnapshot = getCloudBackupSnapshot;
|
|
|
23
44
|
* `mongodbatlas.CloudBackupSnapshot` 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.
|
|
24
45
|
*
|
|
25
46
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
47
|
+
*
|
|
48
|
+
* ## Example Usage
|
|
49
|
+
*
|
|
50
|
+
* <!--Start PulumiCodeChooser -->
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
+
*
|
|
55
|
+
* const testCloudBackupSnapshot = new mongodbatlas.CloudBackupSnapshot("test", {
|
|
56
|
+
* projectId: "5d0f1f73cf09a29120e173cf",
|
|
57
|
+
* clusterName: "MyClusterTest",
|
|
58
|
+
* description: "SomeDescription",
|
|
59
|
+
* retentionInDays: 1,
|
|
60
|
+
* });
|
|
61
|
+
* const test = mongodbatlas.getCloudBackupSnapshotOutput({
|
|
62
|
+
* snapshotId: "5d1285acd5ec13b6c2d1726a",
|
|
63
|
+
* projectId: testCloudBackupSnapshot.projectId,
|
|
64
|
+
* clusterName: testCloudBackupSnapshot.clusterName,
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
* <!--End PulumiCodeChooser -->
|
|
26
68
|
*/
|
|
27
69
|
function getCloudBackupSnapshotOutput(args, opts) {
|
|
28
70
|
return pulumi.output(args).apply((a) => getCloudBackupSnapshot(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSnapshot.js","sourceRoot":"","sources":["../getCloudBackupSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCloudBackupSnapshot.js","sourceRoot":"","sources":["../getCloudBackupSnapshot.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,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;AARD,wDAQC;AAoFD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|