@pulumi/mongodbatlas 3.15.0-alpha.1714456335 → 3.15.0-alpha.1714507216

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 (93) hide show
  1. package/advancedCluster.d.ts +6 -6
  2. package/alertConfiguration.d.ts +21 -0
  3. package/alertConfiguration.js +21 -0
  4. package/alertConfiguration.js.map +1 -1
  5. package/backupCompliancePolicy.d.ts +13 -0
  6. package/backupCompliancePolicy.js +12 -0
  7. package/backupCompliancePolicy.js.map +1 -1
  8. package/cloudBackupSchedule.d.ts +18 -9
  9. package/cloudBackupSchedule.js +2 -0
  10. package/cloudBackupSchedule.js.map +1 -1
  11. package/cluster.d.ts +9 -9
  12. package/cluster.js +3 -3
  13. package/federatedDatabaseInstance.d.ts +33 -6
  14. package/federatedDatabaseInstance.js.map +1 -1
  15. package/federatedSettingsIdentityProvider.d.ts +1 -3
  16. package/federatedSettingsIdentityProvider.js +1 -3
  17. package/federatedSettingsIdentityProvider.js.map +1 -1
  18. package/getAdvancedCluster.d.ts +1 -1
  19. package/getBackupCompliancePolicy.d.ts +21 -0
  20. package/getBackupCompliancePolicy.js +20 -0
  21. package/getBackupCompliancePolicy.js.map +1 -1
  22. package/getCloudBackupSchedule.d.ts +6 -0
  23. package/getCloudBackupSchedule.js.map +1 -1
  24. package/getCluster.d.ts +1 -1
  25. package/getDatabaseUser.d.ts +0 -4
  26. package/getDatabaseUser.js.map +1 -1
  27. package/getFederatedSettingsIdentityProvider.d.ts +8 -2
  28. package/getFederatedSettingsIdentityProvider.js +2 -2
  29. package/getFederatedSettingsIdentityProvider.js.map +1 -1
  30. package/getFederatedSettingsIdentityProviders.d.ts +20 -6
  31. package/getFederatedSettingsIdentityProviders.js +2 -2
  32. package/getFederatedSettingsIdentityProviders.js.map +1 -1
  33. package/getOrganizations.d.ts +0 -12
  34. package/getOrganizations.js +0 -1
  35. package/getOrganizations.js.map +1 -1
  36. package/getPrivatelinkEndpointsServiceServerless.d.ts +6 -6
  37. package/getProject.d.ts +6 -0
  38. package/getProject.js.map +1 -1
  39. package/getPushBasedLogExport.d.ts +115 -0
  40. package/getPushBasedLogExport.js +95 -0
  41. package/getPushBasedLogExport.js.map +1 -0
  42. package/getServerlessInstance.d.ts +12 -0
  43. package/getServerlessInstance.js +1 -0
  44. package/getServerlessInstance.js.map +1 -1
  45. package/getStreamConnection.d.ts +109 -0
  46. package/getStreamConnection.js +53 -0
  47. package/getStreamConnection.js.map +1 -0
  48. package/getStreamConnections.d.ts +100 -0
  49. package/getStreamConnections.js +52 -0
  50. package/getStreamConnections.js.map +1 -0
  51. package/getStreamInstance.d.ts +80 -0
  52. package/getStreamInstance.js +50 -0
  53. package/getStreamInstance.js.map +1 -0
  54. package/getStreamInstances.d.ts +86 -0
  55. package/getStreamInstances.js +49 -0
  56. package/getStreamInstances.js.map +1 -0
  57. package/getThirdPartyIntegration.d.ts +12 -7
  58. package/getThirdPartyIntegration.js +2 -0
  59. package/getThirdPartyIntegration.js.map +1 -1
  60. package/getThirdPartyIntegrations.d.ts +1 -1
  61. package/globalClusterConfig.d.ts +1 -1
  62. package/globalClusterConfig.js +1 -1
  63. package/index.d.ts +24 -0
  64. package/index.js +32 -2
  65. package/index.js.map +1 -1
  66. package/networkPeering.d.ts +3 -3
  67. package/networkPeering.js +3 -3
  68. package/onlineArchive.d.ts +26 -0
  69. package/onlineArchive.js +26 -0
  70. package/onlineArchive.js.map +1 -1
  71. package/package.json +1 -1
  72. package/project.d.ts +18 -0
  73. package/project.js +2 -0
  74. package/project.js.map +1 -1
  75. package/projectApiKey.d.ts +0 -24
  76. package/projectApiKey.js +0 -2
  77. package/projectApiKey.js.map +1 -1
  78. package/pushBasedLogExport.d.ts +142 -0
  79. package/pushBasedLogExport.js +107 -0
  80. package/pushBasedLogExport.js.map +1 -0
  81. package/serverlessInstance.d.ts +12 -0
  82. package/serverlessInstance.js +2 -0
  83. package/serverlessInstance.js.map +1 -1
  84. package/streamConnection.d.ts +168 -0
  85. package/streamConnection.js +137 -0
  86. package/streamConnection.js.map +1 -0
  87. package/streamInstance.d.ts +107 -0
  88. package/streamInstance.js +79 -0
  89. package/streamInstance.js.map +1 -0
  90. package/thirdPartyIntegration.d.ts +9 -0
  91. package/thirdPartyIntegration.js.map +1 -1
  92. package/types/input.d.ts +135 -36
  93. package/types/output.d.ts +418 -87
@@ -35,6 +35,10 @@ export declare function getServerlessInstance(args: GetServerlessInstanceArgs, o
35
35
  * A collection of arguments for invoking getServerlessInstance.
36
36
  */
37
37
  export interface GetServerlessInstanceArgs {
38
+ /**
39
+ * Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/).
40
+ */
41
+ autoIndexing?: boolean;
38
42
  /**
39
43
  * Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
40
44
  */
@@ -57,6 +61,10 @@ export interface GetServerlessInstanceArgs {
57
61
  * A collection of values returned by getServerlessInstance.
58
62
  */
59
63
  export interface GetServerlessInstanceResult {
64
+ /**
65
+ * Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/).
66
+ */
67
+ readonly autoIndexing: boolean;
60
68
  /**
61
69
  * List of Serverless Private Endpoint Connections
62
70
  */
@@ -140,6 +148,10 @@ export declare function getServerlessInstanceOutput(args: GetServerlessInstanceO
140
148
  * A collection of arguments for invoking getServerlessInstance.
141
149
  */
142
150
  export interface GetServerlessInstanceOutputArgs {
151
+ /**
152
+ * Flag that indicates whether the serverless instance uses [Serverless Auto Indexing](https://www.mongodb.com/docs/atlas/performance-advisor/auto-index-serverless/).
153
+ */
154
+ autoIndexing?: pulumi.Input<boolean>;
143
155
  /**
144
156
  * Flag that indicates whether the serverless instance uses Serverless Continuous Backup.
145
157
  */
@@ -37,6 +37,7 @@ const utilities = require("./utilities");
37
37
  function getServerlessInstance(args, opts) {
38
38
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
39
39
  return pulumi.runtime.invoke("mongodbatlas:index/getServerlessInstance:getServerlessInstance", {
40
+ "autoIndexing": args.autoIndexing,
40
41
  "continuousBackupEnabled": args.continuousBackupEnabled,
41
42
  "links": args.links,
42
43
  "name": args.name,
@@ -1 +1 @@
1
- {"version":3,"file":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sDAUC;AA8ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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":"getServerlessInstance.js","sourceRoot":"","sources":["../getServerlessInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sDAWC;AAsFD;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;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"}
@@ -0,0 +1,109 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.StreamConnection` describes a stream connection.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const example = mongodbatlas.getStreamConnection({
13
+ * projectId: "<PROJECT_ID>",
14
+ * instanceName: "<INSTANCE_NAME>",
15
+ * connectionName: "<CONNECTION_NAME>",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getStreamConnection(args: GetStreamConnectionArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamConnectionResult>;
20
+ /**
21
+ * A collection of arguments for invoking getStreamConnection.
22
+ */
23
+ export interface GetStreamConnectionArgs {
24
+ /**
25
+ * Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
26
+ */
27
+ connectionName: string;
28
+ /**
29
+ * Human-readable label that identifies the stream instance.
30
+ */
31
+ instanceName: string;
32
+ /**
33
+ * Unique 24-hexadecimal digit string that identifies your project.
34
+ */
35
+ projectId: string;
36
+ }
37
+ /**
38
+ * A collection of values returned by getStreamConnection.
39
+ */
40
+ export interface GetStreamConnectionResult {
41
+ /**
42
+ * User credentials required to connect to a Kafka cluster. Includes the authentication type, as well as the parameters for that authentication mode. See authentication.
43
+ */
44
+ readonly authentication: outputs.GetStreamConnectionAuthentication;
45
+ /**
46
+ * Comma separated list of server addresses.
47
+ */
48
+ readonly bootstrapServers: string;
49
+ /**
50
+ * Name of the cluster configured for this connection.
51
+ */
52
+ readonly clusterName: string;
53
+ /**
54
+ * A map of Kafka key-value pairs for optional configuration. This is a flat object, and keys can have '.' characters.
55
+ */
56
+ readonly config: {
57
+ [key: string]: string;
58
+ };
59
+ readonly connectionName: string;
60
+ /**
61
+ * The name of a Built in or Custom DB Role to connect to an Atlas Cluster. See DBRoleToExecute.
62
+ */
63
+ readonly dbRoleToExecute: outputs.GetStreamConnectionDbRoleToExecute;
64
+ readonly id: string;
65
+ readonly instanceName: string;
66
+ readonly projectId: string;
67
+ /**
68
+ * Properties for the secure transport connection to Kafka. For SSL, this can include the trusted certificate to use. See security.
69
+ */
70
+ readonly security: outputs.GetStreamConnectionSecurity;
71
+ /**
72
+ * Type of the DB role. Can be either BUILT_IN or CUSTOM.
73
+ */
74
+ readonly type: string;
75
+ }
76
+ /**
77
+ * `mongodbatlas.StreamConnection` describes a stream connection.
78
+ *
79
+ * ## Example Usage
80
+ *
81
+ * ```typescript
82
+ * import * as pulumi from "@pulumi/pulumi";
83
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
84
+ *
85
+ * const example = mongodbatlas.getStreamConnection({
86
+ * projectId: "<PROJECT_ID>",
87
+ * instanceName: "<INSTANCE_NAME>",
88
+ * connectionName: "<CONNECTION_NAME>",
89
+ * });
90
+ * ```
91
+ */
92
+ export declare function getStreamConnectionOutput(args: GetStreamConnectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStreamConnectionResult>;
93
+ /**
94
+ * A collection of arguments for invoking getStreamConnection.
95
+ */
96
+ export interface GetStreamConnectionOutputArgs {
97
+ /**
98
+ * Human-readable label that identifies the stream connection. In the case of the Sample type, this is the name of the sample source.
99
+ */
100
+ connectionName: pulumi.Input<string>;
101
+ /**
102
+ * Human-readable label that identifies the stream instance.
103
+ */
104
+ instanceName: pulumi.Input<string>;
105
+ /**
106
+ * Unique 24-hexadecimal digit string that identifies your project.
107
+ */
108
+ projectId: pulumi.Input<string>;
109
+ }
@@ -0,0 +1,53 @@
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.getStreamConnectionOutput = exports.getStreamConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.StreamConnection` describes a stream connection.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const example = mongodbatlas.getStreamConnection({
18
+ * projectId: "<PROJECT_ID>",
19
+ * instanceName: "<INSTANCE_NAME>",
20
+ * connectionName: "<CONNECTION_NAME>",
21
+ * });
22
+ * ```
23
+ */
24
+ function getStreamConnection(args, opts) {
25
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
26
+ return pulumi.runtime.invoke("mongodbatlas:index/getStreamConnection:getStreamConnection", {
27
+ "connectionName": args.connectionName,
28
+ "instanceName": args.instanceName,
29
+ "projectId": args.projectId,
30
+ }, opts);
31
+ }
32
+ exports.getStreamConnection = getStreamConnection;
33
+ /**
34
+ * `mongodbatlas.StreamConnection` describes a stream connection.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
41
+ *
42
+ * const example = mongodbatlas.getStreamConnection({
43
+ * projectId: "<PROJECT_ID>",
44
+ * instanceName: "<INSTANCE_NAME>",
45
+ * connectionName: "<CONNECTION_NAME>",
46
+ * });
47
+ * ```
48
+ */
49
+ function getStreamConnectionOutput(args, opts) {
50
+ return pulumi.output(args).apply((a) => getStreamConnection(a, opts));
51
+ }
52
+ exports.getStreamConnectionOutput = getStreamConnectionOutput;
53
+ //# sourceMappingURL=getStreamConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamConnection.js","sourceRoot":"","sources":["../getStreamConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,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,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAyDD;;;;;;;;;;;;;;;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,100 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.getStreamConnections` describes all connections of a stream instance for the specified project.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const test = mongodbatlas.getStreamConnections({
13
+ * projectId: "<PROJECT_ID>",
14
+ * instanceName: "<INSTANCE_NAME>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getStreamConnections(args: GetStreamConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamConnectionsResult>;
19
+ /**
20
+ * A collection of arguments for invoking getStreamConnections.
21
+ */
22
+ export interface GetStreamConnectionsArgs {
23
+ /**
24
+ * Human-readable label that identifies the stream instance.
25
+ */
26
+ instanceName: string;
27
+ /**
28
+ * Number of items that the response returns per page, up to a maximum of `500`. Defaults to `100`.
29
+ */
30
+ itemsPerPage?: number;
31
+ /**
32
+ * Number of the page that displays the current set of the total objects that the response returns. Defaults to `1`.
33
+ */
34
+ pageNum?: number;
35
+ /**
36
+ * Unique 24-hexadecimal digit string that identifies your project.
37
+ */
38
+ projectId: string;
39
+ }
40
+ /**
41
+ * A collection of values returned by getStreamConnections.
42
+ */
43
+ export interface GetStreamConnectionsResult {
44
+ readonly id: string;
45
+ /**
46
+ * Human-readable label that identifies the stream instance.
47
+ */
48
+ readonly instanceName: string;
49
+ readonly itemsPerPage?: number;
50
+ readonly pageNum?: number;
51
+ /**
52
+ * Unique 24-hexadecimal digit string that identifies your project.
53
+ */
54
+ readonly projectId: string;
55
+ /**
56
+ * A list where each element contains a stream connection.
57
+ */
58
+ readonly results: outputs.GetStreamConnectionsResult[];
59
+ /**
60
+ * Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
61
+ */
62
+ readonly totalCount: number;
63
+ }
64
+ /**
65
+ * `mongodbatlas.getStreamConnections` describes all connections of a stream instance for the specified project.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
72
+ *
73
+ * const test = mongodbatlas.getStreamConnections({
74
+ * projectId: "<PROJECT_ID>",
75
+ * instanceName: "<INSTANCE_NAME>",
76
+ * });
77
+ * ```
78
+ */
79
+ export declare function getStreamConnectionsOutput(args: GetStreamConnectionsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStreamConnectionsResult>;
80
+ /**
81
+ * A collection of arguments for invoking getStreamConnections.
82
+ */
83
+ export interface GetStreamConnectionsOutputArgs {
84
+ /**
85
+ * Human-readable label that identifies the stream instance.
86
+ */
87
+ instanceName: pulumi.Input<string>;
88
+ /**
89
+ * Number of items that the response returns per page, up to a maximum of `500`. Defaults to `100`.
90
+ */
91
+ itemsPerPage?: pulumi.Input<number>;
92
+ /**
93
+ * Number of the page that displays the current set of the total objects that the response returns. Defaults to `1`.
94
+ */
95
+ pageNum?: pulumi.Input<number>;
96
+ /**
97
+ * Unique 24-hexadecimal digit string that identifies your project.
98
+ */
99
+ projectId: pulumi.Input<string>;
100
+ }
@@ -0,0 +1,52 @@
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.getStreamConnectionsOutput = exports.getStreamConnections = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.getStreamConnections` describes all connections of a stream instance for the specified project.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const test = mongodbatlas.getStreamConnections({
18
+ * projectId: "<PROJECT_ID>",
19
+ * instanceName: "<INSTANCE_NAME>",
20
+ * });
21
+ * ```
22
+ */
23
+ function getStreamConnections(args, opts) {
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("mongodbatlas:index/getStreamConnections:getStreamConnections", {
26
+ "instanceName": args.instanceName,
27
+ "itemsPerPage": args.itemsPerPage,
28
+ "pageNum": args.pageNum,
29
+ "projectId": args.projectId,
30
+ }, opts);
31
+ }
32
+ exports.getStreamConnections = getStreamConnections;
33
+ /**
34
+ * `mongodbatlas.getStreamConnections` describes all connections of a stream instance for the specified project.
35
+ *
36
+ * ## Example Usage
37
+ *
38
+ * ```typescript
39
+ * import * as pulumi from "@pulumi/pulumi";
40
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
41
+ *
42
+ * const test = mongodbatlas.getStreamConnections({
43
+ * projectId: "<PROJECT_ID>",
44
+ * instanceName: "<INSTANCE_NAME>",
45
+ * });
46
+ * ```
47
+ */
48
+ function getStreamConnectionsOutput(args, opts) {
49
+ return pulumi.output(args).apply((a) => getStreamConnections(a, opts));
50
+ }
51
+ exports.getStreamConnectionsOutput = getStreamConnectionsOutput;
52
+ //# sourceMappingURL=getStreamConnections.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamConnections.js","sourceRoot":"","sources":["../getStreamConnections.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;AAgDD;;;;;;;;;;;;;;GAcG;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"}
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.StreamInstance` describes a stream instance.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const example = mongodbatlas.getStreamInstance({
13
+ * projectId: "<PROJECT_ID>",
14
+ * instanceName: "<INSTANCE_NAME>",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getStreamInstance(args: GetStreamInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamInstanceResult>;
19
+ /**
20
+ * A collection of arguments for invoking getStreamInstance.
21
+ */
22
+ export interface GetStreamInstanceArgs {
23
+ /**
24
+ * Human-readable label that identifies the stream instance.
25
+ */
26
+ instanceName: string;
27
+ /**
28
+ * Unique 24-hexadecimal digit string that identifies your project.
29
+ */
30
+ projectId: string;
31
+ }
32
+ /**
33
+ * A collection of values returned by getStreamInstance.
34
+ */
35
+ export interface GetStreamInstanceResult {
36
+ /**
37
+ * Defines the cloud service provider and region where MongoDB Cloud performs stream processing. See data process region.
38
+ */
39
+ readonly dataProcessRegion: outputs.GetStreamInstanceDataProcessRegion;
40
+ /**
41
+ * List that contains the hostnames assigned to the stream instance.
42
+ */
43
+ readonly hostnames: string[];
44
+ readonly id: string;
45
+ readonly instanceName: string;
46
+ readonly projectId: string;
47
+ /**
48
+ * Defines the configuration options for an Atlas Stream Processing Instance. See stream config
49
+ */
50
+ readonly streamConfig: outputs.GetStreamInstanceStreamConfig;
51
+ }
52
+ /**
53
+ * `mongodbatlas.StreamInstance` describes a stream instance.
54
+ *
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
60
+ *
61
+ * const example = mongodbatlas.getStreamInstance({
62
+ * projectId: "<PROJECT_ID>",
63
+ * instanceName: "<INSTANCE_NAME>",
64
+ * });
65
+ * ```
66
+ */
67
+ export declare function getStreamInstanceOutput(args: GetStreamInstanceOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStreamInstanceResult>;
68
+ /**
69
+ * A collection of arguments for invoking getStreamInstance.
70
+ */
71
+ export interface GetStreamInstanceOutputArgs {
72
+ /**
73
+ * Human-readable label that identifies the stream instance.
74
+ */
75
+ instanceName: pulumi.Input<string>;
76
+ /**
77
+ * Unique 24-hexadecimal digit string that identifies your project.
78
+ */
79
+ projectId: pulumi.Input<string>;
80
+ }
@@ -0,0 +1,50 @@
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.getStreamInstanceOutput = exports.getStreamInstance = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.StreamInstance` describes a stream instance.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const example = mongodbatlas.getStreamInstance({
18
+ * projectId: "<PROJECT_ID>",
19
+ * instanceName: "<INSTANCE_NAME>",
20
+ * });
21
+ * ```
22
+ */
23
+ function getStreamInstance(args, opts) {
24
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
25
+ return pulumi.runtime.invoke("mongodbatlas:index/getStreamInstance:getStreamInstance", {
26
+ "instanceName": args.instanceName,
27
+ "projectId": args.projectId,
28
+ }, opts);
29
+ }
30
+ exports.getStreamInstance = getStreamInstance;
31
+ /**
32
+ * `mongodbatlas.StreamInstance` describes a stream instance.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
39
+ *
40
+ * const example = mongodbatlas.getStreamInstance({
41
+ * projectId: "<PROJECT_ID>",
42
+ * instanceName: "<INSTANCE_NAME>",
43
+ * });
44
+ * ```
45
+ */
46
+ function getStreamInstanceOutput(args, opts) {
47
+ return pulumi.output(args).apply((a) => getStreamInstance(a, opts));
48
+ }
49
+ exports.getStreamInstanceOutput = getStreamInstanceOutput;
50
+ //# sourceMappingURL=getStreamInstance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamInstance.js","sourceRoot":"","sources":["../getStreamInstance.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IAEtF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AAoCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5E,CAAC;AAFD,0DAEC"}
@@ -0,0 +1,86 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * `mongodbatlas.getStreamInstances` describes the stream instances defined in a project.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const test = mongodbatlas.getStreamInstances({
13
+ * projectId: "<PROJECT_ID>",
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getStreamInstances(args: GetStreamInstancesArgs, opts?: pulumi.InvokeOptions): Promise<GetStreamInstancesResult>;
18
+ /**
19
+ * A collection of arguments for invoking getStreamInstances.
20
+ */
21
+ export interface GetStreamInstancesArgs {
22
+ /**
23
+ * Number of items that the response returns per page, up to a maximum of `500`. Defaults to `100`.
24
+ */
25
+ itemsPerPage?: number;
26
+ /**
27
+ * Number of the page that displays the current set of the total objects that the response returns. Defaults to `1`.
28
+ */
29
+ pageNum?: number;
30
+ /**
31
+ * Unique 24-hexadecimal digit string that identifies your project.
32
+ */
33
+ projectId: string;
34
+ }
35
+ /**
36
+ * A collection of values returned by getStreamInstances.
37
+ */
38
+ export interface GetStreamInstancesResult {
39
+ readonly id: string;
40
+ readonly itemsPerPage?: number;
41
+ readonly pageNum?: number;
42
+ /**
43
+ * Unique 24-hexadecimal digit string that identifies your project.
44
+ */
45
+ readonly projectId: string;
46
+ /**
47
+ * A list where each element contains a Stream Instance.
48
+ */
49
+ readonly results: outputs.GetStreamInstancesResult[];
50
+ /**
51
+ * Count of the total number of items in the result set. The count might be greater than the number of objects in the results array if the entire result set is paginated.
52
+ */
53
+ readonly totalCount: number;
54
+ }
55
+ /**
56
+ * `mongodbatlas.getStreamInstances` describes the stream instances defined in a project.
57
+ *
58
+ * ## Example Usage
59
+ *
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
63
+ *
64
+ * const test = mongodbatlas.getStreamInstances({
65
+ * projectId: "<PROJECT_ID>",
66
+ * });
67
+ * ```
68
+ */
69
+ export declare function getStreamInstancesOutput(args: GetStreamInstancesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetStreamInstancesResult>;
70
+ /**
71
+ * A collection of arguments for invoking getStreamInstances.
72
+ */
73
+ export interface GetStreamInstancesOutputArgs {
74
+ /**
75
+ * Number of items that the response returns per page, up to a maximum of `500`. Defaults to `100`.
76
+ */
77
+ itemsPerPage?: pulumi.Input<number>;
78
+ /**
79
+ * Number of the page that displays the current set of the total objects that the response returns. Defaults to `1`.
80
+ */
81
+ pageNum?: pulumi.Input<number>;
82
+ /**
83
+ * Unique 24-hexadecimal digit string that identifies your project.
84
+ */
85
+ projectId: pulumi.Input<string>;
86
+ }
@@ -0,0 +1,49 @@
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.getStreamInstancesOutput = exports.getStreamInstances = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.getStreamInstances` describes the stream instances defined in a project.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const test = mongodbatlas.getStreamInstances({
18
+ * projectId: "<PROJECT_ID>",
19
+ * });
20
+ * ```
21
+ */
22
+ function getStreamInstances(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("mongodbatlas:index/getStreamInstances:getStreamInstances", {
25
+ "itemsPerPage": args.itemsPerPage,
26
+ "pageNum": args.pageNum,
27
+ "projectId": args.projectId,
28
+ }, opts);
29
+ }
30
+ exports.getStreamInstances = getStreamInstances;
31
+ /**
32
+ * `mongodbatlas.getStreamInstances` describes the stream instances defined in a project.
33
+ *
34
+ * ## Example Usage
35
+ *
36
+ * ```typescript
37
+ * import * as pulumi from "@pulumi/pulumi";
38
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
39
+ *
40
+ * const test = mongodbatlas.getStreamInstances({
41
+ * projectId: "<PROJECT_ID>",
42
+ * });
43
+ * ```
44
+ */
45
+ function getStreamInstancesOutput(args, opts) {
46
+ return pulumi.output(args).apply((a) => getStreamInstances(a, opts));
47
+ }
48
+ exports.getStreamInstancesOutput = getStreamInstancesOutput;
49
+ //# sourceMappingURL=getStreamInstances.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getStreamInstances.js","sourceRoot":"","sources":["../getStreamInstances.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;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,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAwCD;;;;;;;;;;;;;GAaG;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"}