@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
|
@@ -13,6 +13,36 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
15
|
* ### S
|
|
16
|
+
*
|
|
17
|
+
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
18
|
+
* ```typescript
|
|
19
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
20
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
21
|
+
*
|
|
22
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
23
|
+
* projectId: "<PROJECT-ID>",
|
|
24
|
+
* customerX509Cas: `-----BEGIN CERTIFICATE-----
|
|
25
|
+
* MIICmTCCAgICCQDZnHzklxsT9TANBgkqhkiG9w0BAQsFADCBkDELMAkGA1UEBhMC
|
|
26
|
+
* VVMxDjAMBgNVBAgMBVRleGFzMQ8wDQYDVQQHDAZBdXN0aW4xETAPBgNVBAoMCHRl
|
|
27
|
+
* c3QuY29tMQ0wCwYDVQQLDARUZXN0MREwDwYDVQQDDAh0ZXN0LmNvbTErMCkGCSqG
|
|
28
|
+
* SIb3DQEJARYcbWVsaXNzYS5wbHVua2V0dEBtb25nb2RiLmNvbTAeFw0yMDAyMDQy
|
|
29
|
+
* MDQ2MDFaFw0yMTAyMDMyMDQ2MDFaMIGQMQswCQYDVQQGEwJVUzEOMAwGA1UECAwF
|
|
30
|
+
* VGV4YXMxDzANBgNVBAcMBkF1c3RpbjERMA8GA1UECgwIdGVzdC5jb20xDTALBgNV
|
|
31
|
+
* BAsMBFRlc3QxETAPBgNVBAMMCHRlc3QuY29tMSswKQYJKoZIhvcNAQkBFhxtZWxp
|
|
32
|
+
* c3NhLnBsdW5rZXR0QG1vbmdvZGIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
|
|
33
|
+
* iQKBgQCf1LRqr1zftzdYx2Aj9G76tb0noMPtj6faGLlPji1+m6Rn7RWD9L0ntWAr
|
|
34
|
+
* cURxvypa9jZ9MXFzDtLevvd3tHEmfrUT3ukNDX6+Jtc4kWm+Dh2A70Pd+deKZ2/O
|
|
35
|
+
* Fh8audEKAESGXnTbeJCeQa1XKlIkjqQHBNwES5h1b9vJtFoLJwIDAQABMA0GCSqG
|
|
36
|
+
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
37
|
+
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
38
|
+
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
39
|
+
* -----END CERTIFICATE-----"
|
|
40
|
+
* `,
|
|
41
|
+
* });
|
|
42
|
+
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
43
|
+
* projectId: testX509AuthenticationDatabaseUser.projectId,
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
16
46
|
*/
|
|
17
47
|
/** @deprecated mongodbatlas.index/get509authenticationdatabaseuser.get509AuthenticationDatabaseUser has been deprecated in favor of mongodbatlas.index/getx509authenticationdatabaseuser.getX509AuthenticationDatabaseUser */
|
|
18
48
|
function get509AuthenticationDatabaseUser(args, opts) {
|
|
@@ -32,6 +62,36 @@ exports.get509AuthenticationDatabaseUser = get509AuthenticationDatabaseUser;
|
|
|
32
62
|
* ## Example Usage
|
|
33
63
|
*
|
|
34
64
|
* ### S
|
|
65
|
+
*
|
|
66
|
+
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
70
|
+
*
|
|
71
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
72
|
+
* projectId: "<PROJECT-ID>",
|
|
73
|
+
* customerX509Cas: `-----BEGIN CERTIFICATE-----
|
|
74
|
+
* MIICmTCCAgICCQDZnHzklxsT9TANBgkqhkiG9w0BAQsFADCBkDELMAkGA1UEBhMC
|
|
75
|
+
* VVMxDjAMBgNVBAgMBVRleGFzMQ8wDQYDVQQHDAZBdXN0aW4xETAPBgNVBAoMCHRl
|
|
76
|
+
* c3QuY29tMQ0wCwYDVQQLDARUZXN0MREwDwYDVQQDDAh0ZXN0LmNvbTErMCkGCSqG
|
|
77
|
+
* SIb3DQEJARYcbWVsaXNzYS5wbHVua2V0dEBtb25nb2RiLmNvbTAeFw0yMDAyMDQy
|
|
78
|
+
* MDQ2MDFaFw0yMTAyMDMyMDQ2MDFaMIGQMQswCQYDVQQGEwJVUzEOMAwGA1UECAwF
|
|
79
|
+
* VGV4YXMxDzANBgNVBAcMBkF1c3RpbjERMA8GA1UECgwIdGVzdC5jb20xDTALBgNV
|
|
80
|
+
* BAsMBFRlc3QxETAPBgNVBAMMCHRlc3QuY29tMSswKQYJKoZIhvcNAQkBFhxtZWxp
|
|
81
|
+
* c3NhLnBsdW5rZXR0QG1vbmdvZGIuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
|
|
82
|
+
* iQKBgQCf1LRqr1zftzdYx2Aj9G76tb0noMPtj6faGLlPji1+m6Rn7RWD9L0ntWAr
|
|
83
|
+
* cURxvypa9jZ9MXFzDtLevvd3tHEmfrUT3ukNDX6+Jtc4kWm+Dh2A70Pd+deKZ2/O
|
|
84
|
+
* Fh8audEKAESGXnTbeJCeQa1XKlIkjqQHBNwES5h1b9vJtFoLJwIDAQABMA0GCSqG
|
|
85
|
+
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
86
|
+
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
87
|
+
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
88
|
+
* -----END CERTIFICATE-----"
|
|
89
|
+
* `,
|
|
90
|
+
* });
|
|
91
|
+
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
92
|
+
* projectId: testX509AuthenticationDatabaseUser.projectId,
|
|
93
|
+
* });
|
|
94
|
+
* ```
|
|
35
95
|
*/
|
|
36
96
|
/** @deprecated mongodbatlas.index/get509authenticationdatabaseuser.get509AuthenticationDatabaseUser has been deprecated in favor of mongodbatlas.index/getx509authenticationdatabaseuser.getX509AuthenticationDatabaseUser */
|
|
37
97
|
function get509AuthenticationDatabaseUserOutput(args, opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get509AuthenticationDatabaseUser.js","sourceRoot":"","sources":["../get509AuthenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"get509AuthenticationDatabaseUser.js","sourceRoot":"","sources":["../get509AuthenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,8NAA8N;AAC9N,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6PAA6P,CAAC,CAAA;IAE9Q,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4EAQC;AAgCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,8NAA8N;AAC9N,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gCAAgC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3F,CAAC;AAFD,wFAEC"}
|
|
@@ -8,19 +8,11 @@ export declare function getAccessListApiKeys(args: GetAccessListApiKeysArgs, opt
|
|
|
8
8
|
* A collection of arguments for invoking getAccessListApiKeys.
|
|
9
9
|
*/
|
|
10
10
|
export interface GetAccessListApiKeysArgs {
|
|
11
|
-
/**
|
|
12
|
-
* Unique identifier for the Organization API Key for which you want to retrieve an access list entry.
|
|
13
|
-
* *
|
|
14
|
-
* > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress` not both.
|
|
15
|
-
*/
|
|
16
11
|
apiKeyId: string;
|
|
17
12
|
/**
|
|
18
13
|
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
19
14
|
*/
|
|
20
15
|
itemsPerPage?: number;
|
|
21
|
-
/**
|
|
22
|
-
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
23
|
-
*/
|
|
24
16
|
orgId: string;
|
|
25
17
|
/**
|
|
26
18
|
* The page to return. Defaults to `1`.
|
|
@@ -49,19 +41,11 @@ export declare function getAccessListApiKeysOutput(args: GetAccessListApiKeysOut
|
|
|
49
41
|
* A collection of arguments for invoking getAccessListApiKeys.
|
|
50
42
|
*/
|
|
51
43
|
export interface GetAccessListApiKeysOutputArgs {
|
|
52
|
-
/**
|
|
53
|
-
* Unique identifier for the Organization API Key for which you want to retrieve an access list entry.
|
|
54
|
-
* *
|
|
55
|
-
* > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress` not both.
|
|
56
|
-
*/
|
|
57
44
|
apiKeyId: pulumi.Input<string>;
|
|
58
45
|
/**
|
|
59
46
|
* Number of items to return per page, up to a maximum of 500. Defaults to `100`.
|
|
60
47
|
*/
|
|
61
48
|
itemsPerPage?: pulumi.Input<number>;
|
|
62
|
-
/**
|
|
63
|
-
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
64
|
-
*/
|
|
65
49
|
orgId: pulumi.Input<string>;
|
|
66
50
|
/**
|
|
67
51
|
* The page to return. Defaults to `1`.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccessListApiKeys.js","sourceRoot":"","sources":["../getAccessListApiKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;
|
|
1
|
+
{"version":3,"file":"getAccessListApiKeys.js","sourceRoot":"","sources":["../getAccessListApiKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAE5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;AAgCD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
|
package/getAdvancedCluster.d.ts
CHANGED
|
@@ -8,6 +8,34 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
* > **IMPORTANT:**
|
|
9
9
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
10
10
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
|
|
19
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
20
|
+
* name: "cluster-test",
|
|
21
|
+
* clusterType: "REPLICASET",
|
|
22
|
+
* replicationSpecs: [{
|
|
23
|
+
* regionConfigs: [{
|
|
24
|
+
* electableSpecs: {
|
|
25
|
+
* instanceSize: "M5",
|
|
26
|
+
* },
|
|
27
|
+
* providerName: "TENANT",
|
|
28
|
+
* backingProviderName: "AWS",
|
|
29
|
+
* regionName: "US_EAST_1",
|
|
30
|
+
* priority: 7,
|
|
31
|
+
* }],
|
|
32
|
+
* }],
|
|
33
|
+
* });
|
|
34
|
+
* const example = mongodbatlas.getAdvancedClusterOutput({
|
|
35
|
+
* projectId: exampleAdvancedCluster.projectId,
|
|
36
|
+
* name: exampleAdvancedCluster.name,
|
|
37
|
+
* });
|
|
38
|
+
* ```
|
|
11
39
|
*/
|
|
12
40
|
export declare function getAdvancedCluster(args: GetAdvancedClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetAdvancedClusterResult>;
|
|
13
41
|
/**
|
|
@@ -118,6 +146,34 @@ export interface GetAdvancedClusterResult {
|
|
|
118
146
|
* > **IMPORTANT:**
|
|
119
147
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
120
148
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
149
|
+
*
|
|
150
|
+
* ## Example Usage
|
|
151
|
+
*
|
|
152
|
+
* ```typescript
|
|
153
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
154
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
155
|
+
*
|
|
156
|
+
* const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
|
|
157
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
158
|
+
* name: "cluster-test",
|
|
159
|
+
* clusterType: "REPLICASET",
|
|
160
|
+
* replicationSpecs: [{
|
|
161
|
+
* regionConfigs: [{
|
|
162
|
+
* electableSpecs: {
|
|
163
|
+
* instanceSize: "M5",
|
|
164
|
+
* },
|
|
165
|
+
* providerName: "TENANT",
|
|
166
|
+
* backingProviderName: "AWS",
|
|
167
|
+
* regionName: "US_EAST_1",
|
|
168
|
+
* priority: 7,
|
|
169
|
+
* }],
|
|
170
|
+
* }],
|
|
171
|
+
* });
|
|
172
|
+
* const example = mongodbatlas.getAdvancedClusterOutput({
|
|
173
|
+
* projectId: exampleAdvancedCluster.projectId,
|
|
174
|
+
* name: exampleAdvancedCluster.name,
|
|
175
|
+
* });
|
|
176
|
+
* ```
|
|
121
177
|
*/
|
|
122
178
|
export declare function getAdvancedClusterOutput(args: GetAdvancedClusterOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAdvancedClusterResult>;
|
|
123
179
|
/**
|
package/getAdvancedCluster.js
CHANGED
|
@@ -13,6 +13,34 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > **IMPORTANT:**
|
|
14
14
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
15
15
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
|
|
24
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
25
|
+
* name: "cluster-test",
|
|
26
|
+
* clusterType: "REPLICASET",
|
|
27
|
+
* replicationSpecs: [{
|
|
28
|
+
* regionConfigs: [{
|
|
29
|
+
* electableSpecs: {
|
|
30
|
+
* instanceSize: "M5",
|
|
31
|
+
* },
|
|
32
|
+
* providerName: "TENANT",
|
|
33
|
+
* backingProviderName: "AWS",
|
|
34
|
+
* regionName: "US_EAST_1",
|
|
35
|
+
* priority: 7,
|
|
36
|
+
* }],
|
|
37
|
+
* }],
|
|
38
|
+
* });
|
|
39
|
+
* const example = mongodbatlas.getAdvancedClusterOutput({
|
|
40
|
+
* projectId: exampleAdvancedCluster.projectId,
|
|
41
|
+
* name: exampleAdvancedCluster.name,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
16
44
|
*/
|
|
17
45
|
function getAdvancedCluster(args, opts) {
|
|
18
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -31,6 +59,34 @@ exports.getAdvancedCluster = getAdvancedCluster;
|
|
|
31
59
|
* > **IMPORTANT:**
|
|
32
60
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
33
61
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
62
|
+
*
|
|
63
|
+
* ## Example Usage
|
|
64
|
+
*
|
|
65
|
+
* ```typescript
|
|
66
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
67
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
68
|
+
*
|
|
69
|
+
* const exampleAdvancedCluster = new mongodbatlas.AdvancedCluster("example", {
|
|
70
|
+
* projectId: "<YOUR-PROJECT-ID>",
|
|
71
|
+
* name: "cluster-test",
|
|
72
|
+
* clusterType: "REPLICASET",
|
|
73
|
+
* replicationSpecs: [{
|
|
74
|
+
* regionConfigs: [{
|
|
75
|
+
* electableSpecs: {
|
|
76
|
+
* instanceSize: "M5",
|
|
77
|
+
* },
|
|
78
|
+
* providerName: "TENANT",
|
|
79
|
+
* backingProviderName: "AWS",
|
|
80
|
+
* regionName: "US_EAST_1",
|
|
81
|
+
* priority: 7,
|
|
82
|
+
* }],
|
|
83
|
+
* }],
|
|
84
|
+
* });
|
|
85
|
+
* const example = mongodbatlas.getAdvancedClusterOutput({
|
|
86
|
+
* projectId: exampleAdvancedCluster.projectId,
|
|
87
|
+
* name: exampleAdvancedCluster.name,
|
|
88
|
+
* });
|
|
89
|
+
* ```
|
|
34
90
|
*/
|
|
35
91
|
function getAdvancedClusterOutput(args, opts) {
|
|
36
92
|
return pulumi.output(args).apply((a) => getAdvancedCluster(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAdvancedCluster.js","sourceRoot":"","sources":["../getAdvancedCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAuGD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -5,6 +5,101 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
|
|
6
6
|
*
|
|
7
7
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
14
|
+
*
|
|
15
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
16
|
+
* projectId: "<PROJECT-ID>",
|
|
17
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
18
|
+
* enabled: true,
|
|
19
|
+
* notifications: [{
|
|
20
|
+
* typeName: "GROUP",
|
|
21
|
+
* intervalMin: 5,
|
|
22
|
+
* delayMin: 0,
|
|
23
|
+
* smsEnabled: false,
|
|
24
|
+
* emailEnabled: true,
|
|
25
|
+
* }],
|
|
26
|
+
* matchers: [{
|
|
27
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
28
|
+
* operator: "EQUALS",
|
|
29
|
+
* value: "SECONDARY",
|
|
30
|
+
* }],
|
|
31
|
+
* metricThresholdConfig: {
|
|
32
|
+
* metricName: "ASSERT_REGULAR",
|
|
33
|
+
* operator: "LESS_THAN",
|
|
34
|
+
* threshold: 99,
|
|
35
|
+
* units: "RAW",
|
|
36
|
+
* mode: "AVERAGE",
|
|
37
|
+
* },
|
|
38
|
+
* });
|
|
39
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
40
|
+
* projectId: testAlertConfiguration.projectId,
|
|
41
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
50
|
+
*
|
|
51
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
52
|
+
* projectId: "<PROJECT-ID>",
|
|
53
|
+
* eventType: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
|
|
54
|
+
* enabled: true,
|
|
55
|
+
* notifications: [{
|
|
56
|
+
* typeName: "GROUP",
|
|
57
|
+
* intervalMin: 5,
|
|
58
|
+
* delayMin: 0,
|
|
59
|
+
* smsEnabled: false,
|
|
60
|
+
* emailEnabled: true,
|
|
61
|
+
* roles: [
|
|
62
|
+
* "GROUP_CHARTS_ADMIN",
|
|
63
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
64
|
+
* ],
|
|
65
|
+
* }],
|
|
66
|
+
* matchers: [{
|
|
67
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
68
|
+
* operator: "EQUALS",
|
|
69
|
+
* value: "SECONDARY",
|
|
70
|
+
* }],
|
|
71
|
+
* thresholdConfig: {
|
|
72
|
+
* operator: "LESS_THAN",
|
|
73
|
+
* threshold: 1,
|
|
74
|
+
* units: "HOURS",
|
|
75
|
+
* },
|
|
76
|
+
* });
|
|
77
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
78
|
+
* projectId: testAlertConfiguration.projectId,
|
|
79
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
82
|
+
*
|
|
83
|
+
* Utilize dataSource to generate resource hcl and import statement. Useful if you have a specific alertConfigurationId and are looking to manage it as is in state. To import all alerts, refer to the documentation on dataSourceMongodbatlasAlertConfigurations
|
|
84
|
+
* ```typescript
|
|
85
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
86
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
87
|
+
*
|
|
88
|
+
* const test = mongodbatlas.getAlertConfiguration({
|
|
89
|
+
* projectId: projectId,
|
|
90
|
+
* alertConfigurationId: alertConfigurationId,
|
|
91
|
+
* outputs: [
|
|
92
|
+
* {
|
|
93
|
+
* type: "resource_hcl",
|
|
94
|
+
* label: "test",
|
|
95
|
+
* },
|
|
96
|
+
* {
|
|
97
|
+
* type: "resource_import",
|
|
98
|
+
* label: "test",
|
|
99
|
+
* },
|
|
100
|
+
* ],
|
|
101
|
+
* });
|
|
102
|
+
* ```
|
|
8
103
|
*/
|
|
9
104
|
export declare function getAlertConfiguration(args: GetAlertConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertConfigurationResult>;
|
|
10
105
|
/**
|
|
@@ -67,6 +162,101 @@ export interface GetAlertConfigurationResult {
|
|
|
67
162
|
* `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
|
|
68
163
|
*
|
|
69
164
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
165
|
+
*
|
|
166
|
+
* ## Example Usage
|
|
167
|
+
*
|
|
168
|
+
* ```typescript
|
|
169
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
170
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
171
|
+
*
|
|
172
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
173
|
+
* projectId: "<PROJECT-ID>",
|
|
174
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
175
|
+
* enabled: true,
|
|
176
|
+
* notifications: [{
|
|
177
|
+
* typeName: "GROUP",
|
|
178
|
+
* intervalMin: 5,
|
|
179
|
+
* delayMin: 0,
|
|
180
|
+
* smsEnabled: false,
|
|
181
|
+
* emailEnabled: true,
|
|
182
|
+
* }],
|
|
183
|
+
* matchers: [{
|
|
184
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
185
|
+
* operator: "EQUALS",
|
|
186
|
+
* value: "SECONDARY",
|
|
187
|
+
* }],
|
|
188
|
+
* metricThresholdConfig: {
|
|
189
|
+
* metricName: "ASSERT_REGULAR",
|
|
190
|
+
* operator: "LESS_THAN",
|
|
191
|
+
* threshold: 99,
|
|
192
|
+
* units: "RAW",
|
|
193
|
+
* mode: "AVERAGE",
|
|
194
|
+
* },
|
|
195
|
+
* });
|
|
196
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
197
|
+
* projectId: testAlertConfiguration.projectId,
|
|
198
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
199
|
+
* });
|
|
200
|
+
* ```
|
|
201
|
+
*
|
|
202
|
+
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
203
|
+
*
|
|
204
|
+
* ```typescript
|
|
205
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
206
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
207
|
+
*
|
|
208
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
209
|
+
* projectId: "<PROJECT-ID>",
|
|
210
|
+
* eventType: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
|
|
211
|
+
* enabled: true,
|
|
212
|
+
* notifications: [{
|
|
213
|
+
* typeName: "GROUP",
|
|
214
|
+
* intervalMin: 5,
|
|
215
|
+
* delayMin: 0,
|
|
216
|
+
* smsEnabled: false,
|
|
217
|
+
* emailEnabled: true,
|
|
218
|
+
* roles: [
|
|
219
|
+
* "GROUP_CHARTS_ADMIN",
|
|
220
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
221
|
+
* ],
|
|
222
|
+
* }],
|
|
223
|
+
* matchers: [{
|
|
224
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
225
|
+
* operator: "EQUALS",
|
|
226
|
+
* value: "SECONDARY",
|
|
227
|
+
* }],
|
|
228
|
+
* thresholdConfig: {
|
|
229
|
+
* operator: "LESS_THAN",
|
|
230
|
+
* threshold: 1,
|
|
231
|
+
* units: "HOURS",
|
|
232
|
+
* },
|
|
233
|
+
* });
|
|
234
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
235
|
+
* projectId: testAlertConfiguration.projectId,
|
|
236
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
237
|
+
* });
|
|
238
|
+
* ```
|
|
239
|
+
*
|
|
240
|
+
* Utilize dataSource to generate resource hcl and import statement. Useful if you have a specific alertConfigurationId and are looking to manage it as is in state. To import all alerts, refer to the documentation on dataSourceMongodbatlasAlertConfigurations
|
|
241
|
+
* ```typescript
|
|
242
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
243
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
244
|
+
*
|
|
245
|
+
* const test = mongodbatlas.getAlertConfiguration({
|
|
246
|
+
* projectId: projectId,
|
|
247
|
+
* alertConfigurationId: alertConfigurationId,
|
|
248
|
+
* outputs: [
|
|
249
|
+
* {
|
|
250
|
+
* type: "resource_hcl",
|
|
251
|
+
* label: "test",
|
|
252
|
+
* },
|
|
253
|
+
* {
|
|
254
|
+
* type: "resource_import",
|
|
255
|
+
* label: "test",
|
|
256
|
+
* },
|
|
257
|
+
* ],
|
|
258
|
+
* });
|
|
259
|
+
* ```
|
|
70
260
|
*/
|
|
71
261
|
export declare function getAlertConfigurationOutput(args: GetAlertConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertConfigurationResult>;
|
|
72
262
|
/**
|
package/getAlertConfiguration.js
CHANGED
|
@@ -9,6 +9,101 @@ const utilities = require("./utilities");
|
|
|
9
9
|
* `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
|
|
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 testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
20
|
+
* projectId: "<PROJECT-ID>",
|
|
21
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
22
|
+
* enabled: true,
|
|
23
|
+
* notifications: [{
|
|
24
|
+
* typeName: "GROUP",
|
|
25
|
+
* intervalMin: 5,
|
|
26
|
+
* delayMin: 0,
|
|
27
|
+
* smsEnabled: false,
|
|
28
|
+
* emailEnabled: true,
|
|
29
|
+
* }],
|
|
30
|
+
* matchers: [{
|
|
31
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
32
|
+
* operator: "EQUALS",
|
|
33
|
+
* value: "SECONDARY",
|
|
34
|
+
* }],
|
|
35
|
+
* metricThresholdConfig: {
|
|
36
|
+
* metricName: "ASSERT_REGULAR",
|
|
37
|
+
* operator: "LESS_THAN",
|
|
38
|
+
* threshold: 99,
|
|
39
|
+
* units: "RAW",
|
|
40
|
+
* mode: "AVERAGE",
|
|
41
|
+
* },
|
|
42
|
+
* });
|
|
43
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
44
|
+
* projectId: testAlertConfiguration.projectId,
|
|
45
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
50
|
+
*
|
|
51
|
+
* ```typescript
|
|
52
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
53
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
54
|
+
*
|
|
55
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
56
|
+
* projectId: "<PROJECT-ID>",
|
|
57
|
+
* eventType: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
|
|
58
|
+
* enabled: true,
|
|
59
|
+
* notifications: [{
|
|
60
|
+
* typeName: "GROUP",
|
|
61
|
+
* intervalMin: 5,
|
|
62
|
+
* delayMin: 0,
|
|
63
|
+
* smsEnabled: false,
|
|
64
|
+
* emailEnabled: true,
|
|
65
|
+
* roles: [
|
|
66
|
+
* "GROUP_CHARTS_ADMIN",
|
|
67
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
68
|
+
* ],
|
|
69
|
+
* }],
|
|
70
|
+
* matchers: [{
|
|
71
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
72
|
+
* operator: "EQUALS",
|
|
73
|
+
* value: "SECONDARY",
|
|
74
|
+
* }],
|
|
75
|
+
* thresholdConfig: {
|
|
76
|
+
* operator: "LESS_THAN",
|
|
77
|
+
* threshold: 1,
|
|
78
|
+
* units: "HOURS",
|
|
79
|
+
* },
|
|
80
|
+
* });
|
|
81
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
82
|
+
* projectId: testAlertConfiguration.projectId,
|
|
83
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
84
|
+
* });
|
|
85
|
+
* ```
|
|
86
|
+
*
|
|
87
|
+
* Utilize dataSource to generate resource hcl and import statement. Useful if you have a specific alertConfigurationId and are looking to manage it as is in state. To import all alerts, refer to the documentation on dataSourceMongodbatlasAlertConfigurations
|
|
88
|
+
* ```typescript
|
|
89
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
90
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
91
|
+
*
|
|
92
|
+
* const test = mongodbatlas.getAlertConfiguration({
|
|
93
|
+
* projectId: projectId,
|
|
94
|
+
* alertConfigurationId: alertConfigurationId,
|
|
95
|
+
* outputs: [
|
|
96
|
+
* {
|
|
97
|
+
* type: "resource_hcl",
|
|
98
|
+
* label: "test",
|
|
99
|
+
* },
|
|
100
|
+
* {
|
|
101
|
+
* type: "resource_import",
|
|
102
|
+
* label: "test",
|
|
103
|
+
* },
|
|
104
|
+
* ],
|
|
105
|
+
* });
|
|
106
|
+
* ```
|
|
12
107
|
*/
|
|
13
108
|
function getAlertConfiguration(args, opts) {
|
|
14
109
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -23,6 +118,101 @@ exports.getAlertConfiguration = getAlertConfiguration;
|
|
|
23
118
|
* `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
|
|
24
119
|
*
|
|
25
120
|
* > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
|
|
121
|
+
*
|
|
122
|
+
* ## Example Usage
|
|
123
|
+
*
|
|
124
|
+
* ```typescript
|
|
125
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
126
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
127
|
+
*
|
|
128
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
129
|
+
* projectId: "<PROJECT-ID>",
|
|
130
|
+
* eventType: "OUTSIDE_METRIC_THRESHOLD",
|
|
131
|
+
* enabled: true,
|
|
132
|
+
* notifications: [{
|
|
133
|
+
* typeName: "GROUP",
|
|
134
|
+
* intervalMin: 5,
|
|
135
|
+
* delayMin: 0,
|
|
136
|
+
* smsEnabled: false,
|
|
137
|
+
* emailEnabled: true,
|
|
138
|
+
* }],
|
|
139
|
+
* matchers: [{
|
|
140
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
141
|
+
* operator: "EQUALS",
|
|
142
|
+
* value: "SECONDARY",
|
|
143
|
+
* }],
|
|
144
|
+
* metricThresholdConfig: {
|
|
145
|
+
* metricName: "ASSERT_REGULAR",
|
|
146
|
+
* operator: "LESS_THAN",
|
|
147
|
+
* threshold: 99,
|
|
148
|
+
* units: "RAW",
|
|
149
|
+
* mode: "AVERAGE",
|
|
150
|
+
* },
|
|
151
|
+
* });
|
|
152
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
153
|
+
* projectId: testAlertConfiguration.projectId,
|
|
154
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
155
|
+
* });
|
|
156
|
+
* ```
|
|
157
|
+
*
|
|
158
|
+
* > **NOTE:** In order to allow for a fast pace of change to alert variables some validations have been removed from this resource in order to unblock alert creation. Impacted areas have links to the MongoDB Atlas API documentation so always check it for the most current information: https://docs.atlas.mongodb.com/reference/api/alert-configurations-create-config/
|
|
159
|
+
*
|
|
160
|
+
* ```typescript
|
|
161
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
162
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
163
|
+
*
|
|
164
|
+
* const testAlertConfiguration = new mongodbatlas.AlertConfiguration("test", {
|
|
165
|
+
* projectId: "<PROJECT-ID>",
|
|
166
|
+
* eventType: "REPLICATION_OPLOG_WINDOW_RUNNING_OUT",
|
|
167
|
+
* enabled: true,
|
|
168
|
+
* notifications: [{
|
|
169
|
+
* typeName: "GROUP",
|
|
170
|
+
* intervalMin: 5,
|
|
171
|
+
* delayMin: 0,
|
|
172
|
+
* smsEnabled: false,
|
|
173
|
+
* emailEnabled: true,
|
|
174
|
+
* roles: [
|
|
175
|
+
* "GROUP_CHARTS_ADMIN",
|
|
176
|
+
* "GROUP_CLUSTER_MANAGER",
|
|
177
|
+
* ],
|
|
178
|
+
* }],
|
|
179
|
+
* matchers: [{
|
|
180
|
+
* fieldName: "HOSTNAME_AND_PORT",
|
|
181
|
+
* operator: "EQUALS",
|
|
182
|
+
* value: "SECONDARY",
|
|
183
|
+
* }],
|
|
184
|
+
* thresholdConfig: {
|
|
185
|
+
* operator: "LESS_THAN",
|
|
186
|
+
* threshold: 1,
|
|
187
|
+
* units: "HOURS",
|
|
188
|
+
* },
|
|
189
|
+
* });
|
|
190
|
+
* const test = mongodbatlas.getAlertConfigurationOutput({
|
|
191
|
+
* projectId: testAlertConfiguration.projectId,
|
|
192
|
+
* alertConfigurationId: testAlertConfiguration.alertConfigurationId,
|
|
193
|
+
* });
|
|
194
|
+
* ```
|
|
195
|
+
*
|
|
196
|
+
* Utilize dataSource to generate resource hcl and import statement. Useful if you have a specific alertConfigurationId and are looking to manage it as is in state. To import all alerts, refer to the documentation on dataSourceMongodbatlasAlertConfigurations
|
|
197
|
+
* ```typescript
|
|
198
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
199
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
200
|
+
*
|
|
201
|
+
* const test = mongodbatlas.getAlertConfiguration({
|
|
202
|
+
* projectId: projectId,
|
|
203
|
+
* alertConfigurationId: alertConfigurationId,
|
|
204
|
+
* outputs: [
|
|
205
|
+
* {
|
|
206
|
+
* type: "resource_hcl",
|
|
207
|
+
* label: "test",
|
|
208
|
+
* },
|
|
209
|
+
* {
|
|
210
|
+
* type: "resource_import",
|
|
211
|
+
* label: "test",
|
|
212
|
+
* },
|
|
213
|
+
* ],
|
|
214
|
+
* });
|
|
215
|
+
* ```
|
|
26
216
|
*/
|
|
27
217
|
function getAlertConfigurationOutput(args, opts) {
|
|
28
218
|
return pulumi.output(args).apply((a) => getAlertConfiguration(a, opts));
|