@pulumi/mongodbatlas 3.7.0-alpha.1675878257 → 3.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/accessListApiKey.d.ts +119 -0
  2. package/accessListApiKey.js +96 -0
  3. package/accessListApiKey.js.map +1 -0
  4. package/advancedCluster.d.ts +15 -3
  5. package/advancedCluster.js +2 -0
  6. package/advancedCluster.js.map +1 -1
  7. package/apiKey.d.ts +98 -0
  8. package/apiKey.js +81 -0
  9. package/apiKey.js.map +1 -0
  10. package/cloudBackupSchedule.d.ts +3 -0
  11. package/cloudBackupSchedule.js +2 -0
  12. package/cloudBackupSchedule.js.map +1 -1
  13. package/encryptionAtRest.d.ts +11 -0
  14. package/encryptionAtRest.js +11 -0
  15. package/encryptionAtRest.js.map +1 -1
  16. package/getAccessListApiKey.d.ts +64 -0
  17. package/getAccessListApiKey.js +27 -0
  18. package/getAccessListApiKey.js.map +1 -0
  19. package/getAccessListApiKeys.d.ts +70 -0
  20. package/getAccessListApiKeys.js +28 -0
  21. package/getAccessListApiKeys.js.map +1 -0
  22. package/getAdvancedCluster.d.ts +2 -2
  23. package/getAlertConfiguration.d.ts +12 -10
  24. package/getAlertConfiguration.js +1 -10
  25. package/getAlertConfiguration.js.map +1 -1
  26. package/getAlertConfigurations.d.ts +68 -0
  27. package/getAlertConfigurations.js +21 -0
  28. package/getAlertConfigurations.js.map +1 -0
  29. package/getApiKey.d.ts +56 -0
  30. package/getApiKey.js +26 -0
  31. package/getApiKey.js.map +1 -0
  32. package/getApiKeys.d.ts +51 -0
  33. package/getApiKeys.js +21 -0
  34. package/getApiKeys.js.map +1 -0
  35. package/getCloudBackupSchedule.d.ts +1 -0
  36. package/getCloudBackupSchedule.js.map +1 -1
  37. package/getCluster.d.ts +1 -1
  38. package/getProjectApiKey.d.ts +60 -0
  39. package/getProjectApiKey.js +26 -0
  40. package/getProjectApiKey.js.map +1 -0
  41. package/getProjectApiKeys.d.ts +51 -0
  42. package/getProjectApiKeys.js +21 -0
  43. package/getProjectApiKeys.js.map +1 -0
  44. package/getProjects.d.ts +18 -16
  45. package/getProjects.js +18 -16
  46. package/getProjects.js.map +1 -1
  47. package/getRolesOrgId.d.ts +28 -0
  48. package/getRolesOrgId.js +26 -0
  49. package/getRolesOrgId.js.map +1 -0
  50. package/getThirdPartyIntegration.d.ts +4 -4
  51. package/index.d.ts +32 -0
  52. package/index.js +43 -4
  53. package/index.js.map +1 -1
  54. package/package.json +2 -2
  55. package/package.json.dev +2 -2
  56. package/project.d.ts +15 -14
  57. package/project.js +15 -14
  58. package/project.js.map +1 -1
  59. package/projectApiKey.d.ts +89 -0
  60. package/projectApiKey.js +81 -0
  61. package/projectApiKey.js.map +1 -0
  62. package/thirdPartyIntegration.d.ts +12 -6
  63. package/thirdPartyIntegration.js.map +1 -1
  64. package/types/input.d.ts +124 -15
  65. package/types/output.d.ts +370 -37
@@ -0,0 +1,64 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ */
5
+ export declare function getAccessListApiKey(args: GetAccessListApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessListApiKeyResult>;
6
+ /**
7
+ * A collection of arguments for invoking getAccessListApiKey.
8
+ */
9
+ export interface GetAccessListApiKeyArgs {
10
+ /**
11
+ * Unique identifier for the Organization API Key for which you want to retrieve an access list entry.
12
+ * *
13
+ * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress`.
14
+ */
15
+ apiKeyId: string;
16
+ /**
17
+ * Single IP address to be added to the access list.
18
+ */
19
+ ipAddress: string;
20
+ /**
21
+ * Unique identifier for the Organization to which you want to retrieve one or more access list entries.
22
+ */
23
+ orgId: string;
24
+ }
25
+ /**
26
+ * A collection of values returned by getAccessListApiKey.
27
+ */
28
+ export interface GetAccessListApiKeyResult {
29
+ readonly accessCount: number;
30
+ readonly apiKeyId: string;
31
+ readonly cidrBlock: string;
32
+ readonly created: string;
33
+ /**
34
+ * The provider-assigned unique ID for this managed resource.
35
+ */
36
+ readonly id: string;
37
+ readonly ipAddress: string;
38
+ readonly lastUsed: string;
39
+ readonly lastUsedAddress: string;
40
+ readonly orgId: string;
41
+ }
42
+ /**
43
+ * ## Example Usage
44
+ */
45
+ export declare function getAccessListApiKeyOutput(args: GetAccessListApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessListApiKeyResult>;
46
+ /**
47
+ * A collection of arguments for invoking getAccessListApiKey.
48
+ */
49
+ export interface GetAccessListApiKeyOutputArgs {
50
+ /**
51
+ * Unique identifier for the Organization API Key for which you want to retrieve an access list entry.
52
+ * *
53
+ * > **NOTE:** One of the following attributes must set: `cidrBlock` or `ipAddress`.
54
+ */
55
+ apiKeyId: pulumi.Input<string>;
56
+ /**
57
+ * Single IP address to be added to the access list.
58
+ */
59
+ ipAddress: pulumi.Input<string>;
60
+ /**
61
+ * Unique identifier for the Organization to which you want to retrieve one or more access list entries.
62
+ */
63
+ orgId: pulumi.Input<string>;
64
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAccessListApiKeyOutput = exports.getAccessListApiKey = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ function getAccessListApiKey(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("mongodbatlas:index/getAccessListApiKey:getAccessListApiKey", {
14
+ "apiKeyId": args.apiKeyId,
15
+ "ipAddress": args.ipAddress,
16
+ "orgId": args.orgId,
17
+ }, opts);
18
+ }
19
+ exports.getAccessListApiKey = getAccessListApiKey;
20
+ /**
21
+ * ## Example Usage
22
+ */
23
+ function getAccessListApiKeyOutput(args, opts) {
24
+ return pulumi.output(args).apply((a) => getAccessListApiKey(a, opts));
25
+ }
26
+ exports.getAccessListApiKeyOutput = getAccessListApiKeyOutput;
27
+ //# sourceMappingURL=getAccessListApiKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAccessListApiKey.js","sourceRoot":"","sources":["../getAccessListApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAuCD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -0,0 +1,70 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * ## Example Usage
5
+ */
6
+ export declare function getAccessListApiKeys(args: GetAccessListApiKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessListApiKeysResult>;
7
+ /**
8
+ * A collection of arguments for invoking getAccessListApiKeys.
9
+ */
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`.
15
+ */
16
+ apiKeyId: string;
17
+ /**
18
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
19
+ */
20
+ itemsPerPage?: number;
21
+ /**
22
+ * Unique identifier for the Organization to which you want to retrieve one or more access list entries.
23
+ */
24
+ orgId: string;
25
+ /**
26
+ * The page to return. Defaults to `1`.
27
+ */
28
+ pageNum?: number;
29
+ }
30
+ /**
31
+ * A collection of values returned by getAccessListApiKeys.
32
+ */
33
+ export interface GetAccessListApiKeysResult {
34
+ readonly apiKeyId: string;
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ readonly itemsPerPage?: number;
40
+ readonly orgId: string;
41
+ readonly pageNum?: number;
42
+ readonly results: outputs.GetAccessListApiKeysResult[];
43
+ }
44
+ /**
45
+ * ## Example Usage
46
+ */
47
+ export declare function getAccessListApiKeysOutput(args: GetAccessListApiKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAccessListApiKeysResult>;
48
+ /**
49
+ * A collection of arguments for invoking getAccessListApiKeys.
50
+ */
51
+ 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`.
56
+ */
57
+ apiKeyId: pulumi.Input<string>;
58
+ /**
59
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
60
+ */
61
+ itemsPerPage?: pulumi.Input<number>;
62
+ /**
63
+ * Unique identifier for the Organization to which you want to retrieve one or more access list entries.
64
+ */
65
+ orgId: pulumi.Input<string>;
66
+ /**
67
+ * The page to return. Defaults to `1`.
68
+ */
69
+ pageNum?: pulumi.Input<number>;
70
+ }
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAccessListApiKeysOutput = exports.getAccessListApiKeys = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ function getAccessListApiKeys(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("mongodbatlas:index/getAccessListApiKeys:getAccessListApiKeys", {
14
+ "apiKeyId": args.apiKeyId,
15
+ "itemsPerPage": args.itemsPerPage,
16
+ "orgId": args.orgId,
17
+ "pageNum": args.pageNum,
18
+ }, opts);
19
+ }
20
+ exports.getAccessListApiKeys = getAccessListApiKeys;
21
+ /**
22
+ * ## Example Usage
23
+ */
24
+ function getAccessListApiKeysOutput(args, opts) {
25
+ return pulumi.output(args).apply((a) => getAccessListApiKeys(a, opts));
26
+ }
27
+ exports.getAccessListApiKeysOutput = getAccessListApiKeysOutput;
28
+ //# sourceMappingURL=getAccessListApiKeys.js.map
@@ -0,0 +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;AAwCD;;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"}
@@ -37,9 +37,9 @@ export interface GetAdvancedClusterResult {
37
37
  readonly advancedConfigurations: outputs.GetAdvancedClusterAdvancedConfiguration[];
38
38
  readonly backupEnabled: boolean;
39
39
  /**
40
- * Configuration settings applied to BI Connector for Atlas on this cluster. See below.
40
+ * Configuration settings applied to BI Connector for Atlas on this cluster. See below. **NOTE** Prior version of provider had parameter as `biConnector`
41
41
  */
42
- readonly biConnectors: outputs.GetAdvancedClusterBiConnector[];
42
+ readonly biConnectorConfigs: outputs.GetAdvancedClusterBiConnectorConfig[];
43
43
  /**
44
44
  * Type of the cluster that you want to create.
45
45
  */
@@ -1,10 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
2
3
  import * as outputs from "./types/output";
3
- /**
4
- * `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
5
- *
6
- * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
7
- */
8
4
  export declare function getAlertConfiguration(args: GetAlertConfigurationArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertConfigurationResult>;
9
5
  /**
10
6
  * A collection of arguments for invoking getAlertConfiguration.
@@ -14,6 +10,11 @@ export interface GetAlertConfigurationArgs {
14
10
  * Unique identifier for the alert configuration.
15
11
  */
16
12
  alertConfigurationId: string;
13
+ /**
14
+ * List of formatted output requested for this alert configuration
15
+ * * `output.#.type` - (Required) If the output is requested, you must specify its type. The format is computed as `output.#.value`, the following are the supported types:
16
+ */
17
+ outputs?: inputs.GetAlertConfigurationOutput[];
17
18
  /**
18
19
  * The ID of the project where the alert configuration will create.
19
20
  */
@@ -46,6 +47,7 @@ export interface GetAlertConfigurationResult {
46
47
  };
47
48
  readonly metricThresholdConfigs: outputs.GetAlertConfigurationMetricThresholdConfig[];
48
49
  readonly notifications: outputs.GetAlertConfigurationNotification[];
50
+ readonly outputs?: outputs.GetAlertConfigurationOutput[];
49
51
  readonly projectId: string;
50
52
  /**
51
53
  * Threshold value outside of which an alert will be triggered.
@@ -59,11 +61,6 @@ export interface GetAlertConfigurationResult {
59
61
  */
60
62
  readonly updated: string;
61
63
  }
62
- /**
63
- * `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
64
- *
65
- * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
66
- */
67
64
  export declare function getAlertConfigurationOutput(args: GetAlertConfigurationOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertConfigurationResult>;
68
65
  /**
69
66
  * A collection of arguments for invoking getAlertConfiguration.
@@ -73,6 +70,11 @@ export interface GetAlertConfigurationOutputArgs {
73
70
  * Unique identifier for the alert configuration.
74
71
  */
75
72
  alertConfigurationId: pulumi.Input<string>;
73
+ /**
74
+ * List of formatted output requested for this alert configuration
75
+ * * `output.#.type` - (Required) If the output is requested, you must specify its type. The format is computed as `output.#.value`, the following are the supported types:
76
+ */
77
+ outputs?: pulumi.Input<pulumi.Input<inputs.GetAlertConfigurationOutputArgs>[]>;
76
78
  /**
77
79
  * The ID of the project where the alert configuration will create.
78
80
  */
@@ -5,24 +5,15 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getAlertConfigurationOutput = exports.getAlertConfiguration = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
- /**
9
- * `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
10
- *
11
- * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
12
- */
13
8
  function getAlertConfiguration(args, opts) {
14
9
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
10
  return pulumi.runtime.invoke("mongodbatlas:index/getAlertConfiguration:getAlertConfiguration", {
16
11
  "alertConfigurationId": args.alertConfigurationId,
12
+ "outputs": args.outputs,
17
13
  "projectId": args.projectId,
18
14
  }, opts);
19
15
  }
20
16
  exports.getAlertConfiguration = getAlertConfiguration;
21
- /**
22
- * `mongodbatlas.AlertConfiguration` describes an Alert Configuration.
23
- *
24
- * > **NOTE:** Groups and projects are synonymous terms. You may find **group_id** in the official documentation.
25
- */
26
17
  function getAlertConfigurationOutput(args, opts) {
27
18
  return pulumi.output(args).apply((a) => getAlertConfiguration(a, opts));
28
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAoDD;;;;GAIG;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"}
1
+ {"version":3,"file":"getAlertConfiguration.js","sourceRoot":"","sources":["../getAlertConfiguration.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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;AA0DD,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"}
@@ -0,0 +1,68 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getAlertConfigurations(args: GetAlertConfigurationsArgs, opts?: pulumi.InvokeOptions): Promise<GetAlertConfigurationsResult>;
5
+ /**
6
+ * A collection of arguments for invoking getAlertConfigurations.
7
+ */
8
+ export interface GetAlertConfigurationsArgs {
9
+ /**
10
+ * Arguments that dictate how many and which results are returned by the data source
11
+ * * `list_options.page_num` - Which page of results to retrieve (default to first page)
12
+ * * `list_options.items_per_page` - How many alerts to retrieve per page (default 100)
13
+ * * `list_options.include_count` - Whether to include total count of results in the response (default false)
14
+ */
15
+ listOptions?: inputs.GetAlertConfigurationsListOption[];
16
+ /**
17
+ * List of requested string formatted output to be included on each individual result. Options are `resourceHcl` and `resourceImport`. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
18
+ */
19
+ outputTypes?: string[];
20
+ /**
21
+ * The unique ID for the project to get the alert configurations.
22
+ */
23
+ projectId: string;
24
+ }
25
+ /**
26
+ * A collection of values returned by getAlertConfigurations.
27
+ */
28
+ export interface GetAlertConfigurationsResult {
29
+ /**
30
+ * The provider-assigned unique ID for this managed resource.
31
+ */
32
+ readonly id: string;
33
+ readonly listOptions?: outputs.GetAlertConfigurationsListOption[];
34
+ readonly outputTypes?: string[];
35
+ /**
36
+ * The ID of the project where the alert configuration exists
37
+ */
38
+ readonly projectId: string;
39
+ /**
40
+ * A list of alert configurations for the project_id, constrained by the `listOptions`.
41
+ */
42
+ readonly results: outputs.GetAlertConfigurationsResult[];
43
+ /**
44
+ * Total count of results
45
+ */
46
+ readonly totalCount: number;
47
+ }
48
+ export declare function getAlertConfigurationsOutput(args: GetAlertConfigurationsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAlertConfigurationsResult>;
49
+ /**
50
+ * A collection of arguments for invoking getAlertConfigurations.
51
+ */
52
+ export interface GetAlertConfigurationsOutputArgs {
53
+ /**
54
+ * Arguments that dictate how many and which results are returned by the data source
55
+ * * `list_options.page_num` - Which page of results to retrieve (default to first page)
56
+ * * `list_options.items_per_page` - How many alerts to retrieve per page (default 100)
57
+ * * `list_options.include_count` - Whether to include total count of results in the response (default false)
58
+ */
59
+ listOptions?: pulumi.Input<pulumi.Input<inputs.GetAlertConfigurationsListOptionArgs>[]>;
60
+ /**
61
+ * List of requested string formatted output to be included on each individual result. Options are `resourceHcl` and `resourceImport`. Available to make it easy to gather resource statements for existing alert configurations, and corresponding import statements to import said resource state into the statefile.
62
+ */
63
+ outputTypes?: pulumi.Input<pulumi.Input<string>[]>;
64
+ /**
65
+ * The unique ID for the project to get the alert configurations.
66
+ */
67
+ projectId: pulumi.Input<string>;
68
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAlertConfigurationsOutput = exports.getAlertConfigurations = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getAlertConfigurations(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("mongodbatlas:index/getAlertConfigurations:getAlertConfigurations", {
11
+ "listOptions": args.listOptions,
12
+ "outputTypes": args.outputTypes,
13
+ "projectId": args.projectId,
14
+ }, opts);
15
+ }
16
+ exports.getAlertConfigurations = getAlertConfigurations;
17
+ function getAlertConfigurationsOutput(args, opts) {
18
+ return pulumi.output(args).apply((a) => getAlertConfigurations(a, opts));
19
+ }
20
+ exports.getAlertConfigurationsOutput = getAlertConfigurationsOutput;
21
+ //# sourceMappingURL=getAlertConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAlertConfigurations.js","sourceRoot":"","sources":["../getAlertConfigurations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,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,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wDAQC;AA8CD,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"}
package/getApiKey.d.ts ADDED
@@ -0,0 +1,56 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ */
5
+ export declare function getApiKey(args: GetApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetApiKeyResult>;
6
+ /**
7
+ * A collection of arguments for invoking getApiKey.
8
+ */
9
+ export interface GetApiKeyArgs {
10
+ apiKeyId: string;
11
+ /**
12
+ * The unique ID for the project.
13
+ */
14
+ orgId: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getApiKey.
18
+ */
19
+ export interface GetApiKeyResult {
20
+ readonly apiKeyId: string;
21
+ /**
22
+ * Description of this Organization API key.
23
+ */
24
+ readonly description: string;
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
31
+ */
32
+ readonly orgId: string;
33
+ /**
34
+ * Public key for this Organization API key.
35
+ */
36
+ readonly publicKey: string;
37
+ /**
38
+ * Name of the role. This resource returns all the roles the user has in Atlas.
39
+ * The following are valid roles:
40
+ */
41
+ readonly roleNames: string[];
42
+ }
43
+ /**
44
+ * ## Example Usage
45
+ */
46
+ export declare function getApiKeyOutput(args: GetApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiKeyResult>;
47
+ /**
48
+ * A collection of arguments for invoking getApiKey.
49
+ */
50
+ export interface GetApiKeyOutputArgs {
51
+ apiKeyId: pulumi.Input<string>;
52
+ /**
53
+ * The unique ID for the project.
54
+ */
55
+ orgId: pulumi.Input<string>;
56
+ }
package/getApiKey.js ADDED
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getApiKeyOutput = exports.getApiKey = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ */
11
+ function getApiKey(args, opts) {
12
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
13
+ return pulumi.runtime.invoke("mongodbatlas:index/getApiKey:getApiKey", {
14
+ "apiKeyId": args.apiKeyId,
15
+ "orgId": args.orgId,
16
+ }, opts);
17
+ }
18
+ exports.getApiKey = getApiKey;
19
+ /**
20
+ * ## Example Usage
21
+ */
22
+ function getApiKeyOutput(args, opts) {
23
+ return pulumi.output(args).apply((a) => getApiKey(a, opts));
24
+ }
25
+ exports.getApiKeyOutput = getApiKeyOutput;
26
+ //# sourceMappingURL=getApiKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiKey.js","sourceRoot":"","sources":["../getApiKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAwCD;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
@@ -0,0 +1,51 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getApiKeys(args: GetApiKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetApiKeysResult>;
4
+ /**
5
+ * A collection of arguments for invoking getApiKeys.
6
+ */
7
+ export interface GetApiKeysArgs {
8
+ /**
9
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
10
+ */
11
+ itemsPerPage?: number;
12
+ /**
13
+ * Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
14
+ */
15
+ orgId: string;
16
+ /**
17
+ * The page to return. Defaults to `1`.
18
+ */
19
+ pageNum?: number;
20
+ }
21
+ /**
22
+ * A collection of values returned by getApiKeys.
23
+ */
24
+ export interface GetApiKeysResult {
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ readonly itemsPerPage?: number;
30
+ readonly orgId: string;
31
+ readonly pageNum?: number;
32
+ readonly results: outputs.GetApiKeysResult[];
33
+ }
34
+ export declare function getApiKeysOutput(args: GetApiKeysOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetApiKeysResult>;
35
+ /**
36
+ * A collection of arguments for invoking getApiKeys.
37
+ */
38
+ export interface GetApiKeysOutputArgs {
39
+ /**
40
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
41
+ */
42
+ itemsPerPage?: pulumi.Input<number>;
43
+ /**
44
+ * Unique identifier for the organization whose API keys you want to retrieve. Use the /orgs endpoint to retrieve all organizations to which the authenticated user has access.
45
+ */
46
+ orgId: pulumi.Input<string>;
47
+ /**
48
+ * The page to return. Defaults to `1`.
49
+ */
50
+ pageNum?: pulumi.Input<number>;
51
+ }
package/getApiKeys.js ADDED
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getApiKeysOutput = exports.getApiKeys = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getApiKeys(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("mongodbatlas:index/getApiKeys:getApiKeys", {
11
+ "itemsPerPage": args.itemsPerPage,
12
+ "orgId": args.orgId,
13
+ "pageNum": args.pageNum,
14
+ }, opts);
15
+ }
16
+ exports.getApiKeys = getApiKeys;
17
+ function getApiKeysOutput(args, opts) {
18
+ return pulumi.output(args).apply((a) => getApiKeys(a, opts));
19
+ }
20
+ exports.getApiKeysOutput = getApiKeysOutput;
21
+ //# sourceMappingURL=getApiKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApiKeys.js","sourceRoot":"","sources":["../getApiKeys.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAiCD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
@@ -32,6 +32,7 @@ export interface GetCloudBackupScheduleResult {
32
32
  */
33
33
  readonly clusterId: string;
34
34
  readonly clusterName: string;
35
+ readonly copySettings: outputs.GetCloudBackupScheduleCopySetting[];
35
36
  readonly exports: outputs.GetCloudBackupScheduleExport[];
36
37
  /**
37
38
  * The provider-assigned unique ID for this managed resource.
@@ -1 +1 @@
1
- {"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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;AA4ED;;;;GAIG;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"}
1
+ {"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;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;;;;GAIG;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"}
package/getCluster.d.ts CHANGED
@@ -79,7 +79,7 @@ export interface GetClusterResult {
79
79
  * - `connection_strings.private_endpoint.#.srv_connection_string` - Private-endpoint-aware `mongodb+srv://` connection string for this private endpoint.
80
80
  * - `connection_strings.private_endpoint.#.type` - Type of MongoDB process that you connect to with the connection strings. Atlas returns `MONGOD` for replica sets, or `MONGOS` for sharded clusters.
81
81
  * - `connection_strings.private_endpoint.#.endpoints` - Private endpoint through which you connect to Atlas when you use `connection_strings.private_endpoint[n].connection_string` or `connection_strings.private_endpoint[n].srv_connection_string`
82
- * - `connection_strings.private_endoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
82
+ * - `connection_strings.private_endpoint.#.endpoints.#.endpoint_id` - Unique identifier of the private endpoint.
83
83
  * - `connection_strings.private_endpoint.#.endpoints.#.provider_name` - Cloud provider to which you deployed the private endpoint. Atlas returns `AWS` or `AZURE`.
84
84
  * - `connection_strings.private_endpoint.#.endpoints.#.region` - Region to which you deployed the private endpoint.
85
85
  */
@@ -0,0 +1,60 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ */
5
+ export declare function getProjectApiKey(args: GetProjectApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetProjectApiKeyResult>;
6
+ /**
7
+ * A collection of arguments for invoking getProjectApiKey.
8
+ */
9
+ export interface GetProjectApiKeyArgs {
10
+ apiKeyId: string;
11
+ /**
12
+ * The unique ID for the project.
13
+ */
14
+ projectId: string;
15
+ }
16
+ /**
17
+ * A collection of values returned by getProjectApiKey.
18
+ */
19
+ export interface GetProjectApiKeyResult {
20
+ readonly apiKeyId: string;
21
+ /**
22
+ * Description of this Project API key.
23
+ */
24
+ readonly description: string;
25
+ /**
26
+ * The provider-assigned unique ID for this managed resource.
27
+ */
28
+ readonly id: string;
29
+ /**
30
+ * Private key for this Organization API key.
31
+ */
32
+ readonly privateKey: string;
33
+ /**
34
+ * Unique identifier for the project whose API keys you want to retrieve. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.
35
+ */
36
+ readonly projectId: string;
37
+ /**
38
+ * Public key for this Organization API key.
39
+ */
40
+ readonly publicKey: string;
41
+ /**
42
+ * Name of the role. This resource returns all the roles the user has in Atlas.
43
+ * The following are valid roles:
44
+ */
45
+ readonly roleNames: string[];
46
+ }
47
+ /**
48
+ * ## Example Usage
49
+ */
50
+ export declare function getProjectApiKeyOutput(args: GetProjectApiKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetProjectApiKeyResult>;
51
+ /**
52
+ * A collection of arguments for invoking getProjectApiKey.
53
+ */
54
+ export interface GetProjectApiKeyOutputArgs {
55
+ apiKeyId: pulumi.Input<string>;
56
+ /**
57
+ * The unique ID for the project.
58
+ */
59
+ projectId: pulumi.Input<string>;
60
+ }