@pulumi/mongodbatlas 3.15.0-alpha.1713333524 → 3.15.0-alpha.1713899327
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 -8
- package/accessListApiKey.js +4 -8
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.d.ts +28 -61
- package/advancedCluster.js +28 -61
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.d.ts +44 -50
- package/alertConfiguration.js +44 -50
- package/alertConfiguration.js.map +1 -1
- package/apiKey.d.ts +0 -2
- package/apiKey.js +0 -2
- package/apiKey.js.map +1 -1
- package/auditing.d.ts +2 -4
- package/auditing.js +2 -4
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.d.ts +83 -0
- package/backupCompliancePolicy.js +83 -0
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +7 -9
- package/cloudBackupSnapshot.js +7 -9
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.d.ts +2 -4
- package/cloudBackupSnapshotExportBucket.js +2 -4
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.d.ts +3 -7
- package/cloudBackupSnapshotExportJob.js +3 -7
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +74 -13
- package/cloudBackupSnapshotRestoreJob.js +74 -13
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +48 -82
- package/cluster.js +48 -82
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.d.ts +2 -4
- package/clusterOutageSimulation.js +2 -4
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.d.ts +6 -10
- package/customDbRole.js +6 -10
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +1 -3
- package/customDnsConfigurationClusterAws.js +1 -3
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/databaseUser.d.ts +19 -27
- package/databaseUser.js +19 -27
- package/databaseUser.js.map +1 -1
- package/eventTrigger.d.ts +24 -28
- package/eventTrigger.js +24 -28
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.d.ts +10 -12
- package/federatedDatabaseInstance.js +10 -12
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.d.ts +2 -4
- package/federatedQueryLimit.js +2 -4
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +6 -7
- package/federatedSettingsIdentityProvider.js +6 -7
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.d.ts +2 -4
- package/federatedSettingsOrgRoleMapping.js +2 -4
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +60 -0
- package/get509AuthenticationDatabaseUser.js +60 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAccessListApiKeys.d.ts +0 -16
- package/getAccessListApiKeys.js.map +1 -1
- package/getAdvancedCluster.d.ts +56 -0
- package/getAdvancedCluster.js +56 -0
- package/getAdvancedCluster.js.map +1 -1
- package/getAlertConfiguration.d.ts +190 -0
- package/getAlertConfiguration.js +190 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAtlasUser.d.ts +0 -8
- package/getAtlasUser.js +0 -8
- package/getAtlasUser.js.map +1 -1
- package/getAtlasUsers.d.ts +2 -14
- package/getAtlasUsers.js +2 -14
- package/getAtlasUsers.js.map +1 -1
- package/getAuditing.d.ts +34 -0
- package/getAuditing.js +34 -0
- package/getAuditing.js.map +1 -1
- package/getBackupCompliancePolicy.d.ts +166 -0
- package/getBackupCompliancePolicy.js +166 -0
- package/getBackupCompliancePolicy.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +54 -0
- package/getCloudBackupSchedule.js +54 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshot.d.ts +38 -0
- package/getCloudBackupSnapshot.js +38 -0
- package/getCloudBackupSnapshot.js.map +1 -1
- package/getCloudBackupSnapshotExportBucket.d.ts +36 -0
- package/getCloudBackupSnapshotExportBucket.js +36 -0
- package/getCloudBackupSnapshotExportBucket.js.map +1 -1
- package/getCloudBackupSnapshotExportBuckets.d.ts +8 -12
- package/getCloudBackupSnapshotExportBuckets.js +8 -12
- package/getCloudBackupSnapshotExportBuckets.js.map +1 -1
- package/getCloudBackupSnapshotExportJob.d.ts +58 -0
- package/getCloudBackupSnapshotExportJob.js +58 -0
- package/getCloudBackupSnapshotExportJob.js.map +1 -1
- package/getCloudBackupSnapshotExportJobs.d.ts +6 -10
- package/getCloudBackupSnapshotExportJobs.js +6 -10
- package/getCloudBackupSnapshotExportJobs.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJobs.d.ts +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js +6 -10
- package/getCloudBackupSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +4 -12
- package/getCloudProviderAccessSetup.js +4 -12
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCluster.d.ts +60 -0
- package/getCluster.js +60 -0
- package/getCluster.js.map +1 -1
- package/getClusterOutageSimulation.d.ts +2 -6
- package/getClusterOutageSimulation.js +2 -6
- package/getClusterOutageSimulation.js.map +1 -1
- package/getClusters.d.ts +6 -8
- package/getClusters.js +6 -8
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +2 -6
- package/getCustomDbRole.js +2 -6
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +30 -0
- package/getCustomDnsConfigurationClusterAws.js +30 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDatabaseUser.d.ts +124 -0
- package/getDatabaseUser.js +124 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -22
- package/getDatabaseUsers.js +14 -22
- package/getDatabaseUsers.js.map +1 -1
- package/getFederatedDatabaseInstance.d.ts +6 -14
- package/getFederatedDatabaseInstance.js +6 -14
- package/getFederatedDatabaseInstance.js.map +1 -1
- package/getFederatedQueryLimit.d.ts +2 -6
- package/getFederatedQueryLimit.js +2 -6
- package/getFederatedQueryLimit.js.map +1 -1
- package/getFederatedQueryLimits.d.ts +0 -4
- package/getFederatedQueryLimits.js +0 -4
- package/getFederatedQueryLimits.js.map +1 -1
- package/getFederatedSettings.d.ts +0 -4
- package/getFederatedSettings.js +0 -4
- package/getFederatedSettings.js.map +1 -1
- package/getFederatedSettingsIdentityProvider.d.ts +4 -6
- package/getFederatedSettingsIdentityProvider.js +4 -6
- package/getFederatedSettingsIdentityProvider.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -6
- package/getFederatedSettingsIdentityProviders.js +4 -6
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgConfig.d.ts +6 -10
- package/getFederatedSettingsOrgConfig.js +6 -10
- package/getFederatedSettingsOrgConfig.js.map +1 -1
- package/getFederatedSettingsOrgConfigs.d.ts +6 -10
- package/getFederatedSettingsOrgConfigs.js +6 -10
- package/getFederatedSettingsOrgConfigs.js.map +1 -1
- package/getFederatedSettingsOrgRoleMapping.d.ts +4 -8
- package/getFederatedSettingsOrgRoleMapping.js +4 -8
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +110 -0
- package/getGlobalClusterConfig.js +110 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +46 -0
- package/getLdapConfiguration.js +46 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +66 -0
- package/getLdapVerify.js +66 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +60 -0
- package/getMaintenanceWindow.js +60 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +36 -0
- package/getNetworkContainer.js +36 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +4 -8
- package/getNetworkContainers.js +4 -8
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +42 -0
- package/getNetworkPeering.js +42 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +4 -8
- package/getNetworkPeerings.js +4 -8
- package/getNetworkPeerings.js.map +1 -1
- package/getOrganization.d.ts +0 -4
- package/getOrganization.js +0 -4
- package/getOrganization.js.map +1 -1
- package/getOrganizations.d.ts +2 -12
- package/getOrganizations.js +2 -6
- package/getOrganizations.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +42 -0
- package/getPrivateLinkEndpoint.js +42 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.d.ts +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js +8 -6
- package/getPrivatelinkEndpointServiceDataFederationOnlineArchives.js.map +1 -1
- package/getPrivatelinkEndpointServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointServiceServerless.js +20 -24
- package/getPrivatelinkEndpointServiceServerless.js.map +1 -1
- package/getPrivatelinkEndpointsServiceServerless.d.ts +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js +20 -24
- package/getPrivatelinkEndpointsServiceServerless.js.map +1 -1
- package/getProject.d.ts +126 -0
- package/getProject.js +126 -0
- package/getProject.js.map +1 -1
- package/getProjectApiKey.d.ts +36 -0
- package/getProjectApiKey.js +36 -0
- package/getProjectApiKey.js.map +1 -1
- package/getProjectApiKeys.d.ts +2 -6
- package/getProjectApiKeys.js +2 -6
- package/getProjectApiKeys.js.map +1 -1
- package/getProjectInvitation.d.ts +34 -0
- package/getProjectInvitation.js +34 -0
- package/getProjectInvitation.js.map +1 -1
- package/getProjectIpAccessList.d.ts +134 -0
- package/getProjectIpAccessList.js +134 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +10 -12
- package/getProjects.js +10 -12
- package/getProjects.js.map +1 -1
- package/getRolesOrgId.d.ts +0 -4
- package/getRolesOrgId.js +0 -4
- package/getRolesOrgId.js.map +1 -1
- package/getSearchIndex.d.ts +2 -6
- package/getSearchIndex.js +2 -6
- package/getSearchIndex.js.map +1 -1
- package/getServerlessInstance.d.ts +0 -4
- package/getServerlessInstance.js +0 -4
- package/getServerlessInstance.js.map +1 -1
- package/getServerlessInstances.d.ts +0 -4
- package/getServerlessInstances.js +0 -4
- package/getServerlessInstances.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +2 -6
- package/getThirdPartyIntegration.js +2 -6
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +4 -8
- package/getThirdPartyIntegrations.js +4 -8
- package/getThirdPartyIntegrations.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +60 -0
- package/getX509AuthenticationDatabaseUser.js +60 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/globalClusterConfig.d.ts +4 -6
- package/globalClusterConfig.js +4 -6
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.d.ts +12 -10
- package/ldapConfiguration.js +12 -10
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +9 -8
- package/ldapVerify.js +9 -8
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +2 -6
- package/maintenanceWindow.js +2 -6
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +3 -9
- package/networkContainer.js +3 -9
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +38 -151
- package/networkPeering.js +38 -151
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +8 -12
- package/onlineArchive.js +8 -12
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.d.ts +4 -10
- package/orgInvitation.js +4 -10
- package/orgInvitation.js.map +1 -1
- package/organization.d.ts +2 -3
- package/organization.js +2 -3
- package/organization.js.map +1 -1
- package/package.json +1 -1
- package/privateLinkEndpoint.d.ts +0 -2
- package/privateLinkEndpoint.js +0 -2
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +93 -26
- package/privateLinkEndpointService.js +93 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.d.ts +3 -4
- package/privatelinkEndpointServerless.js +3 -4
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.d.ts +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +4 -3
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.d.ts +52 -8
- package/privatelinkEndpointServiceServerless.js +52 -8
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.d.ts +4 -5
- package/project.js +4 -5
- package/project.js.map +1 -1
- package/projectApiKey.d.ts +0 -4
- package/projectApiKey.js +0 -4
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.d.ts +2 -6
- package/projectInvitation.js +2 -6
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.d.ts +8 -14
- package/projectIpAccessList.js +8 -14
- package/projectIpAccessList.js.map +1 -1
- package/searchIndex.d.ts +7 -11
- package/searchIndex.js +7 -11
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.d.ts +1 -2
- package/serverlessInstance.js +1 -2
- package/serverlessInstance.js.map +1 -1
- package/thirdPartyIntegration.d.ts +3 -113
- package/thirdPartyIntegration.js +3 -5
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +1 -332
- package/types/output.d.ts +13 -408
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sDAQC;AA2DD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmGG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
package/getAtlasUser.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
10
|
* ### Using userId attribute to query
|
|
11
|
-
* <!--Start PulumiCodeChooser -->
|
|
12
11
|
* ```typescript
|
|
13
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
14
13
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -17,10 +16,8 @@ import * as outputs from "./types/output";
|
|
|
17
16
|
* userId: "<USER_ID>",
|
|
18
17
|
* });
|
|
19
18
|
* ```
|
|
20
|
-
* <!--End PulumiCodeChooser -->
|
|
21
19
|
*
|
|
22
20
|
* ### Using username attribute to query
|
|
23
|
-
* <!--Start PulumiCodeChooser -->
|
|
24
21
|
* ```typescript
|
|
25
22
|
* import * as pulumi from "@pulumi/pulumi";
|
|
26
23
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -29,7 +26,6 @@ import * as outputs from "./types/output";
|
|
|
29
26
|
* username: "<USERNAME>",
|
|
30
27
|
* });
|
|
31
28
|
* ```
|
|
32
|
-
* <!--End PulumiCodeChooser -->
|
|
33
29
|
*/
|
|
34
30
|
export declare function getAtlasUser(args?: GetAtlasUserArgs, opts?: pulumi.InvokeOptions): Promise<GetAtlasUserResult>;
|
|
35
31
|
/**
|
|
@@ -105,7 +101,6 @@ export interface GetAtlasUserResult {
|
|
|
105
101
|
* ## Example Usage
|
|
106
102
|
*
|
|
107
103
|
* ### Using userId attribute to query
|
|
108
|
-
* <!--Start PulumiCodeChooser -->
|
|
109
104
|
* ```typescript
|
|
110
105
|
* import * as pulumi from "@pulumi/pulumi";
|
|
111
106
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -114,10 +109,8 @@ export interface GetAtlasUserResult {
|
|
|
114
109
|
* userId: "<USER_ID>",
|
|
115
110
|
* });
|
|
116
111
|
* ```
|
|
117
|
-
* <!--End PulumiCodeChooser -->
|
|
118
112
|
*
|
|
119
113
|
* ### Using username attribute to query
|
|
120
|
-
* <!--Start PulumiCodeChooser -->
|
|
121
114
|
* ```typescript
|
|
122
115
|
* import * as pulumi from "@pulumi/pulumi";
|
|
123
116
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -126,7 +119,6 @@ export interface GetAtlasUserResult {
|
|
|
126
119
|
* username: "<USERNAME>",
|
|
127
120
|
* });
|
|
128
121
|
* ```
|
|
129
|
-
* <!--End PulumiCodeChooser -->
|
|
130
122
|
*/
|
|
131
123
|
export declare function getAtlasUserOutput(args?: GetAtlasUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAtlasUserResult>;
|
|
132
124
|
/**
|
package/getAtlasUser.js
CHANGED
|
@@ -13,7 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ### Using userId attribute to query
|
|
16
|
-
* <!--Start PulumiCodeChooser -->
|
|
17
16
|
* ```typescript
|
|
18
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
18
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -22,10 +21,8 @@ const utilities = require("./utilities");
|
|
|
22
21
|
* userId: "<USER_ID>",
|
|
23
22
|
* });
|
|
24
23
|
* ```
|
|
25
|
-
* <!--End PulumiCodeChooser -->
|
|
26
24
|
*
|
|
27
25
|
* ### Using username attribute to query
|
|
28
|
-
* <!--Start PulumiCodeChooser -->
|
|
29
26
|
* ```typescript
|
|
30
27
|
* import * as pulumi from "@pulumi/pulumi";
|
|
31
28
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -34,7 +31,6 @@ const utilities = require("./utilities");
|
|
|
34
31
|
* username: "<USERNAME>",
|
|
35
32
|
* });
|
|
36
33
|
* ```
|
|
37
|
-
* <!--End PulumiCodeChooser -->
|
|
38
34
|
*/
|
|
39
35
|
function getAtlasUser(args, opts) {
|
|
40
36
|
args = args || {};
|
|
@@ -53,7 +49,6 @@ exports.getAtlasUser = getAtlasUser;
|
|
|
53
49
|
* ## Example Usage
|
|
54
50
|
*
|
|
55
51
|
* ### Using userId attribute to query
|
|
56
|
-
* <!--Start PulumiCodeChooser -->
|
|
57
52
|
* ```typescript
|
|
58
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
54
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -62,10 +57,8 @@ exports.getAtlasUser = getAtlasUser;
|
|
|
62
57
|
* userId: "<USER_ID>",
|
|
63
58
|
* });
|
|
64
59
|
* ```
|
|
65
|
-
* <!--End PulumiCodeChooser -->
|
|
66
60
|
*
|
|
67
61
|
* ### Using username attribute to query
|
|
68
|
-
* <!--Start PulumiCodeChooser -->
|
|
69
62
|
* ```typescript
|
|
70
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
64
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -74,7 +67,6 @@ exports.getAtlasUser = getAtlasUser;
|
|
|
74
67
|
* username: "<USERNAME>",
|
|
75
68
|
* });
|
|
76
69
|
* ```
|
|
77
|
-
* <!--End PulumiCodeChooser -->
|
|
78
70
|
*/
|
|
79
71
|
function getAtlasUserOutput(args, opts) {
|
|
80
72
|
return pulumi.output(args).apply((a) => getAtlasUser(a, opts));
|
package/getAtlasUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtlasUser.js","sourceRoot":"","sources":["../getAtlasUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAtlasUser.js","sourceRoot":"","sources":["../getAtlasUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AAoED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getAtlasUsers.d.ts
CHANGED
|
@@ -9,7 +9,6 @@ import * as outputs from "./types/output";
|
|
|
9
9
|
*
|
|
10
10
|
* ### Using orgId attribute to query Organization Atlas Users
|
|
11
11
|
*
|
|
12
|
-
* <!--Start PulumiCodeChooser -->
|
|
13
12
|
* ```typescript
|
|
14
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
14
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -18,11 +17,9 @@ import * as outputs from "./types/output";
|
|
|
18
17
|
* orgId: "<ORG_ID>",
|
|
19
18
|
* });
|
|
20
19
|
* ```
|
|
21
|
-
* <!--End PulumiCodeChooser -->
|
|
22
20
|
*
|
|
23
21
|
* ### Using projectId attribute to query Project Atlas Users
|
|
24
22
|
*
|
|
25
|
-
* <!--Start PulumiCodeChooser -->
|
|
26
23
|
* ```typescript
|
|
27
24
|
* import * as pulumi from "@pulumi/pulumi";
|
|
28
25
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -31,21 +28,18 @@ import * as outputs from "./types/output";
|
|
|
31
28
|
* projectId: "<PROJECT_ID>",
|
|
32
29
|
* });
|
|
33
30
|
* ```
|
|
34
|
-
* <!--End PulumiCodeChooser -->
|
|
35
31
|
*
|
|
36
32
|
* ### Using teamId and orgId attribute to query Team Atlas Users
|
|
37
33
|
*
|
|
38
|
-
* <!--Start PulumiCodeChooser -->
|
|
39
34
|
* ```typescript
|
|
40
35
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
36
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
42
37
|
*
|
|
43
38
|
* const test = mongodbatlas.getAtlasUsers({
|
|
44
|
-
* orgId: "<ORG_ID>",
|
|
45
39
|
* teamId: "<TEAM_ID>",
|
|
40
|
+
* orgId: "<ORG_ID>",
|
|
46
41
|
* });
|
|
47
42
|
* ```
|
|
48
|
-
* <!--End PulumiCodeChooser -->
|
|
49
43
|
*/
|
|
50
44
|
export declare function getAtlasUsers(args?: GetAtlasUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetAtlasUsersResult>;
|
|
51
45
|
/**
|
|
@@ -106,7 +100,6 @@ export interface GetAtlasUsersResult {
|
|
|
106
100
|
*
|
|
107
101
|
* ### Using orgId attribute to query Organization Atlas Users
|
|
108
102
|
*
|
|
109
|
-
* <!--Start PulumiCodeChooser -->
|
|
110
103
|
* ```typescript
|
|
111
104
|
* import * as pulumi from "@pulumi/pulumi";
|
|
112
105
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -115,11 +108,9 @@ export interface GetAtlasUsersResult {
|
|
|
115
108
|
* orgId: "<ORG_ID>",
|
|
116
109
|
* });
|
|
117
110
|
* ```
|
|
118
|
-
* <!--End PulumiCodeChooser -->
|
|
119
111
|
*
|
|
120
112
|
* ### Using projectId attribute to query Project Atlas Users
|
|
121
113
|
*
|
|
122
|
-
* <!--Start PulumiCodeChooser -->
|
|
123
114
|
* ```typescript
|
|
124
115
|
* import * as pulumi from "@pulumi/pulumi";
|
|
125
116
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -128,21 +119,18 @@ export interface GetAtlasUsersResult {
|
|
|
128
119
|
* projectId: "<PROJECT_ID>",
|
|
129
120
|
* });
|
|
130
121
|
* ```
|
|
131
|
-
* <!--End PulumiCodeChooser -->
|
|
132
122
|
*
|
|
133
123
|
* ### Using teamId and orgId attribute to query Team Atlas Users
|
|
134
124
|
*
|
|
135
|
-
* <!--Start PulumiCodeChooser -->
|
|
136
125
|
* ```typescript
|
|
137
126
|
* import * as pulumi from "@pulumi/pulumi";
|
|
138
127
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
139
128
|
*
|
|
140
129
|
* const test = mongodbatlas.getAtlasUsers({
|
|
141
|
-
* orgId: "<ORG_ID>",
|
|
142
130
|
* teamId: "<TEAM_ID>",
|
|
131
|
+
* orgId: "<ORG_ID>",
|
|
143
132
|
* });
|
|
144
133
|
* ```
|
|
145
|
-
* <!--End PulumiCodeChooser -->
|
|
146
134
|
*/
|
|
147
135
|
export declare function getAtlasUsersOutput(args?: GetAtlasUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAtlasUsersResult>;
|
|
148
136
|
/**
|
package/getAtlasUsers.js
CHANGED
|
@@ -14,7 +14,6 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ### Using orgId attribute to query Organization Atlas Users
|
|
16
16
|
*
|
|
17
|
-
* <!--Start PulumiCodeChooser -->
|
|
18
17
|
* ```typescript
|
|
19
18
|
* import * as pulumi from "@pulumi/pulumi";
|
|
20
19
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -23,11 +22,9 @@ const utilities = require("./utilities");
|
|
|
23
22
|
* orgId: "<ORG_ID>",
|
|
24
23
|
* });
|
|
25
24
|
* ```
|
|
26
|
-
* <!--End PulumiCodeChooser -->
|
|
27
25
|
*
|
|
28
26
|
* ### Using projectId attribute to query Project Atlas Users
|
|
29
27
|
*
|
|
30
|
-
* <!--Start PulumiCodeChooser -->
|
|
31
28
|
* ```typescript
|
|
32
29
|
* import * as pulumi from "@pulumi/pulumi";
|
|
33
30
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -36,21 +33,18 @@ const utilities = require("./utilities");
|
|
|
36
33
|
* projectId: "<PROJECT_ID>",
|
|
37
34
|
* });
|
|
38
35
|
* ```
|
|
39
|
-
* <!--End PulumiCodeChooser -->
|
|
40
36
|
*
|
|
41
37
|
* ### Using teamId and orgId attribute to query Team Atlas Users
|
|
42
38
|
*
|
|
43
|
-
* <!--Start PulumiCodeChooser -->
|
|
44
39
|
* ```typescript
|
|
45
40
|
* import * as pulumi from "@pulumi/pulumi";
|
|
46
41
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
47
42
|
*
|
|
48
43
|
* const test = mongodbatlas.getAtlasUsers({
|
|
49
|
-
* orgId: "<ORG_ID>",
|
|
50
44
|
* teamId: "<TEAM_ID>",
|
|
45
|
+
* orgId: "<ORG_ID>",
|
|
51
46
|
* });
|
|
52
47
|
* ```
|
|
53
|
-
* <!--End PulumiCodeChooser -->
|
|
54
48
|
*/
|
|
55
49
|
function getAtlasUsers(args, opts) {
|
|
56
50
|
args = args || {};
|
|
@@ -73,7 +67,6 @@ exports.getAtlasUsers = getAtlasUsers;
|
|
|
73
67
|
*
|
|
74
68
|
* ### Using orgId attribute to query Organization Atlas Users
|
|
75
69
|
*
|
|
76
|
-
* <!--Start PulumiCodeChooser -->
|
|
77
70
|
* ```typescript
|
|
78
71
|
* import * as pulumi from "@pulumi/pulumi";
|
|
79
72
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -82,11 +75,9 @@ exports.getAtlasUsers = getAtlasUsers;
|
|
|
82
75
|
* orgId: "<ORG_ID>",
|
|
83
76
|
* });
|
|
84
77
|
* ```
|
|
85
|
-
* <!--End PulumiCodeChooser -->
|
|
86
78
|
*
|
|
87
79
|
* ### Using projectId attribute to query Project Atlas Users
|
|
88
80
|
*
|
|
89
|
-
* <!--Start PulumiCodeChooser -->
|
|
90
81
|
* ```typescript
|
|
91
82
|
* import * as pulumi from "@pulumi/pulumi";
|
|
92
83
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
@@ -95,21 +86,18 @@ exports.getAtlasUsers = getAtlasUsers;
|
|
|
95
86
|
* projectId: "<PROJECT_ID>",
|
|
96
87
|
* });
|
|
97
88
|
* ```
|
|
98
|
-
* <!--End PulumiCodeChooser -->
|
|
99
89
|
*
|
|
100
90
|
* ### Using teamId and orgId attribute to query Team Atlas Users
|
|
101
91
|
*
|
|
102
|
-
* <!--Start PulumiCodeChooser -->
|
|
103
92
|
* ```typescript
|
|
104
93
|
* import * as pulumi from "@pulumi/pulumi";
|
|
105
94
|
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
106
95
|
*
|
|
107
96
|
* const test = mongodbatlas.getAtlasUsers({
|
|
108
|
-
* orgId: "<ORG_ID>",
|
|
109
97
|
* teamId: "<TEAM_ID>",
|
|
98
|
+
* orgId: "<ORG_ID>",
|
|
110
99
|
* });
|
|
111
100
|
* ```
|
|
112
|
-
* <!--End PulumiCodeChooser -->
|
|
113
101
|
*/
|
|
114
102
|
function getAtlasUsersOutput(args, opts) {
|
|
115
103
|
return pulumi.output(args).apply((a) => getAtlasUsers(a, opts));
|
package/getAtlasUsers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAtlasUsers.js","sourceRoot":"","sources":["../getAtlasUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAtlasUsers.js","sourceRoot":"","sources":["../getAtlasUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sCAWC;AAoDD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
package/getAuditing.d.ts
CHANGED
|
@@ -3,6 +3,23 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
3
3
|
* `mongodbatlas.Auditing` describes a Auditing.
|
|
4
4
|
*
|
|
5
5
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
|
+
*
|
|
13
|
+
* const testAuditing = new mongodbatlas.Auditing("test", {
|
|
14
|
+
* projectId: "<project-id>",
|
|
15
|
+
* auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
|
|
16
|
+
* auditAuthorizationSuccess: false,
|
|
17
|
+
* enabled: true,
|
|
18
|
+
* });
|
|
19
|
+
* const test = mongodbatlas.getAuditingOutput({
|
|
20
|
+
* projectId: testAuditing.id,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
6
23
|
*/
|
|
7
24
|
export declare function getAuditing(args: GetAuditingArgs, opts?: pulumi.InvokeOptions): Promise<GetAuditingResult>;
|
|
8
25
|
/**
|
|
@@ -44,6 +61,23 @@ export interface GetAuditingResult {
|
|
|
44
61
|
* `mongodbatlas.Auditing` describes a Auditing.
|
|
45
62
|
*
|
|
46
63
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
64
|
+
*
|
|
65
|
+
* ## Example Usage
|
|
66
|
+
*
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
70
|
+
*
|
|
71
|
+
* const testAuditing = new mongodbatlas.Auditing("test", {
|
|
72
|
+
* projectId: "<project-id>",
|
|
73
|
+
* auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
|
|
74
|
+
* auditAuthorizationSuccess: false,
|
|
75
|
+
* enabled: true,
|
|
76
|
+
* });
|
|
77
|
+
* const test = mongodbatlas.getAuditingOutput({
|
|
78
|
+
* projectId: testAuditing.id,
|
|
79
|
+
* });
|
|
80
|
+
* ```
|
|
47
81
|
*/
|
|
48
82
|
export declare function getAuditingOutput(args: GetAuditingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAuditingResult>;
|
|
49
83
|
/**
|
package/getAuditing.js
CHANGED
|
@@ -9,6 +9,23 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.Auditing` describes a Auditing.
|
|
10
10
|
*
|
|
11
11
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const testAuditing = new mongodbatlas.Auditing("test", {
|
|
20
|
+
* projectId: "<project-id>",
|
|
21
|
+
* auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
|
|
22
|
+
* auditAuthorizationSuccess: false,
|
|
23
|
+
* enabled: true,
|
|
24
|
+
* });
|
|
25
|
+
* const test = mongodbatlas.getAuditingOutput({
|
|
26
|
+
* projectId: testAuditing.id,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
12
29
|
*/
|
|
13
30
|
function getAuditing(args, opts) {
|
|
14
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -21,6 +38,23 @@ exports.getAuditing = getAuditing;
|
|
|
21
38
|
* `mongodbatlas.Auditing` describes a Auditing.
|
|
22
39
|
*
|
|
23
40
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
47
|
+
*
|
|
48
|
+
* const testAuditing = new mongodbatlas.Auditing("test", {
|
|
49
|
+
* projectId: "<project-id>",
|
|
50
|
+
* auditFilter: "{ 'atype': 'authenticate', 'param': { 'user': 'auditAdmin', 'db': 'admin', 'mechanism': 'SCRAM-SHA-1' }}",
|
|
51
|
+
* auditAuthorizationSuccess: false,
|
|
52
|
+
* enabled: true,
|
|
53
|
+
* });
|
|
54
|
+
* const test = mongodbatlas.getAuditingOutput({
|
|
55
|
+
* projectId: testAuditing.id,
|
|
56
|
+
* });
|
|
57
|
+
* ```
|
|
24
58
|
*/
|
|
25
59
|
function getAuditingOutput(args, opts) {
|
|
26
60
|
return pulumi.output(args).apply((a) => getAuditing(a, opts));
|
package/getAuditing.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAuditing.js","sourceRoot":"","sources":["../getAuditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAuditing.js","sourceRoot":"","sources":["../getAuditing.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kCAMC;AAsCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
|
@@ -2,6 +2,89 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
4
|
* ## Example Usage
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
8
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
9
|
+
*
|
|
10
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
11
|
+
* projectId: "<PROJECT-ID>",
|
|
12
|
+
* name: "clusterTest",
|
|
13
|
+
* providerName: "AWS",
|
|
14
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
15
|
+
* providerInstanceSizeName: "M10",
|
|
16
|
+
* cloudBackup: true,
|
|
17
|
+
* });
|
|
18
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
19
|
+
* projectId: myCluster.projectId,
|
|
20
|
+
* clusterName: myCluster.name,
|
|
21
|
+
* referenceHourOfDay: 3,
|
|
22
|
+
* referenceMinuteOfHour: 45,
|
|
23
|
+
* restoreWindowDays: 4,
|
|
24
|
+
* policyItemHourly: {
|
|
25
|
+
* frequencyInterval: 1,
|
|
26
|
+
* retentionUnit: "days",
|
|
27
|
+
* retentionValue: 1,
|
|
28
|
+
* },
|
|
29
|
+
* policyItemDaily: {
|
|
30
|
+
* frequencyInterval: 1,
|
|
31
|
+
* retentionUnit: "days",
|
|
32
|
+
* retentionValue: 2,
|
|
33
|
+
* },
|
|
34
|
+
* policyItemWeeklies: [{
|
|
35
|
+
* frequencyInterval: 4,
|
|
36
|
+
* retentionUnit: "weeks",
|
|
37
|
+
* retentionValue: 3,
|
|
38
|
+
* }],
|
|
39
|
+
* policyItemMonthlies: [{
|
|
40
|
+
* frequencyInterval: 5,
|
|
41
|
+
* retentionUnit: "months",
|
|
42
|
+
* retentionValue: 4,
|
|
43
|
+
* }],
|
|
44
|
+
* });
|
|
45
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
46
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
47
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
48
|
+
* });
|
|
49
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
50
|
+
* projectId: testCloudBackupSchedule.id,
|
|
51
|
+
* });
|
|
52
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
53
|
+
* projectId: "<PROJECT-ID>",
|
|
54
|
+
* authorizedEmail: "user@email.com",
|
|
55
|
+
* authorizedUserFirstName: "First",
|
|
56
|
+
* authorizedUserLastName: "Last",
|
|
57
|
+
* copyProtectionEnabled: false,
|
|
58
|
+
* pitEnabled: false,
|
|
59
|
+
* encryptionAtRestEnabled: false,
|
|
60
|
+
* restoreWindowDays: 7,
|
|
61
|
+
* onDemandPolicyItem: {
|
|
62
|
+
* frequencyInterval: 0,
|
|
63
|
+
* retentionUnit: "days",
|
|
64
|
+
* retentionValue: 3,
|
|
65
|
+
* },
|
|
66
|
+
* policyItemHourly: {
|
|
67
|
+
* frequencyInterval: 6,
|
|
68
|
+
* retentionUnit: "days",
|
|
69
|
+
* retentionValue: 7,
|
|
70
|
+
* },
|
|
71
|
+
* policyItemDaily: {
|
|
72
|
+
* frequencyInterval: 0,
|
|
73
|
+
* retentionUnit: "days",
|
|
74
|
+
* retentionValue: 7,
|
|
75
|
+
* },
|
|
76
|
+
* policyItemWeeklies: [{
|
|
77
|
+
* frequencyInterval: 0,
|
|
78
|
+
* retentionUnit: "weeks",
|
|
79
|
+
* retentionValue: 4,
|
|
80
|
+
* }],
|
|
81
|
+
* policyItemMonthlies: [{
|
|
82
|
+
* frequencyInterval: 0,
|
|
83
|
+
* retentionUnit: "months",
|
|
84
|
+
* retentionValue: 12,
|
|
85
|
+
* }],
|
|
86
|
+
* });
|
|
87
|
+
* ```
|
|
5
88
|
*/
|
|
6
89
|
export declare function getBackupCompliancePolicy(args: GetBackupCompliancePolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupCompliancePolicyResult>;
|
|
7
90
|
/**
|
|
@@ -70,6 +153,89 @@ export interface GetBackupCompliancePolicyResult {
|
|
|
70
153
|
}
|
|
71
154
|
/**
|
|
72
155
|
* ## Example Usage
|
|
156
|
+
*
|
|
157
|
+
* ```typescript
|
|
158
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
159
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
160
|
+
*
|
|
161
|
+
* const myCluster = new mongodbatlas.Cluster("my_cluster", {
|
|
162
|
+
* projectId: "<PROJECT-ID>",
|
|
163
|
+
* name: "clusterTest",
|
|
164
|
+
* providerName: "AWS",
|
|
165
|
+
* providerRegionName: "EU_CENTRAL_1",
|
|
166
|
+
* providerInstanceSizeName: "M10",
|
|
167
|
+
* cloudBackup: true,
|
|
168
|
+
* });
|
|
169
|
+
* const testCloudBackupSchedule = new mongodbatlas.CloudBackupSchedule("test", {
|
|
170
|
+
* projectId: myCluster.projectId,
|
|
171
|
+
* clusterName: myCluster.name,
|
|
172
|
+
* referenceHourOfDay: 3,
|
|
173
|
+
* referenceMinuteOfHour: 45,
|
|
174
|
+
* restoreWindowDays: 4,
|
|
175
|
+
* policyItemHourly: {
|
|
176
|
+
* frequencyInterval: 1,
|
|
177
|
+
* retentionUnit: "days",
|
|
178
|
+
* retentionValue: 1,
|
|
179
|
+
* },
|
|
180
|
+
* policyItemDaily: {
|
|
181
|
+
* frequencyInterval: 1,
|
|
182
|
+
* retentionUnit: "days",
|
|
183
|
+
* retentionValue: 2,
|
|
184
|
+
* },
|
|
185
|
+
* policyItemWeeklies: [{
|
|
186
|
+
* frequencyInterval: 4,
|
|
187
|
+
* retentionUnit: "weeks",
|
|
188
|
+
* retentionValue: 3,
|
|
189
|
+
* }],
|
|
190
|
+
* policyItemMonthlies: [{
|
|
191
|
+
* frequencyInterval: 5,
|
|
192
|
+
* retentionUnit: "months",
|
|
193
|
+
* retentionValue: 4,
|
|
194
|
+
* }],
|
|
195
|
+
* });
|
|
196
|
+
* const test = mongodbatlas.getCloudBackupScheduleOutput({
|
|
197
|
+
* projectId: testCloudBackupSchedule.projectId,
|
|
198
|
+
* clusterName: testCloudBackupSchedule.clusterName,
|
|
199
|
+
* });
|
|
200
|
+
* const backupPolicy = mongodbatlas.getBackupCompliancePolicyOutput({
|
|
201
|
+
* projectId: testCloudBackupSchedule.id,
|
|
202
|
+
* });
|
|
203
|
+
* const backupPolicyBackupCompliancePolicy = new mongodbatlas.BackupCompliancePolicy("backup_policy", {
|
|
204
|
+
* projectId: "<PROJECT-ID>",
|
|
205
|
+
* authorizedEmail: "user@email.com",
|
|
206
|
+
* authorizedUserFirstName: "First",
|
|
207
|
+
* authorizedUserLastName: "Last",
|
|
208
|
+
* copyProtectionEnabled: false,
|
|
209
|
+
* pitEnabled: false,
|
|
210
|
+
* encryptionAtRestEnabled: false,
|
|
211
|
+
* restoreWindowDays: 7,
|
|
212
|
+
* onDemandPolicyItem: {
|
|
213
|
+
* frequencyInterval: 0,
|
|
214
|
+
* retentionUnit: "days",
|
|
215
|
+
* retentionValue: 3,
|
|
216
|
+
* },
|
|
217
|
+
* policyItemHourly: {
|
|
218
|
+
* frequencyInterval: 6,
|
|
219
|
+
* retentionUnit: "days",
|
|
220
|
+
* retentionValue: 7,
|
|
221
|
+
* },
|
|
222
|
+
* policyItemDaily: {
|
|
223
|
+
* frequencyInterval: 0,
|
|
224
|
+
* retentionUnit: "days",
|
|
225
|
+
* retentionValue: 7,
|
|
226
|
+
* },
|
|
227
|
+
* policyItemWeeklies: [{
|
|
228
|
+
* frequencyInterval: 0,
|
|
229
|
+
* retentionUnit: "weeks",
|
|
230
|
+
* retentionValue: 4,
|
|
231
|
+
* }],
|
|
232
|
+
* policyItemMonthlies: [{
|
|
233
|
+
* frequencyInterval: 0,
|
|
234
|
+
* retentionUnit: "months",
|
|
235
|
+
* retentionValue: 12,
|
|
236
|
+
* }],
|
|
237
|
+
* });
|
|
238
|
+
* ```
|
|
73
239
|
*/
|
|
74
240
|
export declare function getBackupCompliancePolicyOutput(args: GetBackupCompliancePolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetBackupCompliancePolicyResult>;
|
|
75
241
|
/**
|