@pulumi/mongodbatlas 3.37.0-alpha.1762410787 → 3.37.0-alpha.1763072353

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 (80) hide show
  1. package/dataLakePipeline.d.ts +54 -0
  2. package/dataLakePipeline.js +54 -0
  3. package/dataLakePipeline.js.map +1 -1
  4. package/eventTrigger.d.ts +2 -2
  5. package/eventTrigger.js +2 -2
  6. package/flexCluster.d.ts +26 -0
  7. package/flexCluster.js +26 -0
  8. package/flexCluster.js.map +1 -1
  9. package/get509AuthenticationDatabaseUser.d.ts +58 -2
  10. package/get509AuthenticationDatabaseUser.js +58 -2
  11. package/get509AuthenticationDatabaseUser.js.map +1 -1
  12. package/getAccessListApiKey.d.ts +30 -0
  13. package/getAccessListApiKey.js +30 -0
  14. package/getAccessListApiKey.js.map +1 -1
  15. package/getAccessListApiKeys.d.ts +30 -0
  16. package/getAccessListApiKeys.js +30 -0
  17. package/getAccessListApiKeys.js.map +1 -1
  18. package/getCloudBackupSchedule.d.ts +108 -0
  19. package/getCloudBackupSchedule.js +108 -0
  20. package/getCloudBackupSchedule.js.map +1 -1
  21. package/getCloudBackupSnapshotRestoreJob.d.ts +54 -0
  22. package/getCloudBackupSnapshotRestoreJob.js +54 -0
  23. package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
  24. package/getCustomDbRoles.d.ts +50 -0
  25. package/getCustomDbRoles.js +50 -0
  26. package/getCustomDbRoles.js.map +1 -1
  27. package/getDataLakePipeline.d.ts +116 -0
  28. package/getDataLakePipeline.js +116 -0
  29. package/getDataLakePipeline.js.map +1 -1
  30. package/getDataLakePipelineRuns.d.ts +74 -0
  31. package/getDataLakePipelineRuns.js +74 -0
  32. package/getDataLakePipelineRuns.js.map +1 -1
  33. package/getFederatedSettingsOrgRoleMappings.d.ts +68 -0
  34. package/getFederatedSettingsOrgRoleMappings.js +68 -0
  35. package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
  36. package/getFlexCluster.d.ts +50 -0
  37. package/getFlexCluster.js +50 -0
  38. package/getFlexCluster.js.map +1 -1
  39. package/getFlexClusters.d.ts +50 -0
  40. package/getFlexClusters.js +50 -0
  41. package/getFlexClusters.js.map +1 -1
  42. package/getSearchDeployment.d.ts +78 -0
  43. package/getSearchDeployment.js +78 -0
  44. package/getSearchDeployment.js.map +1 -1
  45. package/getStreamPrivatelinkEndpoint.d.ts +140 -0
  46. package/getStreamPrivatelinkEndpoint.js +140 -0
  47. package/getStreamPrivatelinkEndpoint.js.map +1 -1
  48. package/getStreamPrivatelinkEndpoints.d.ts +140 -0
  49. package/getStreamPrivatelinkEndpoints.js +140 -0
  50. package/getStreamPrivatelinkEndpoints.js.map +1 -1
  51. package/getStreamProcessor.d.ts +264 -0
  52. package/getStreamProcessor.js +264 -0
  53. package/getStreamProcessor.js.map +1 -1
  54. package/getStreamProcessors.d.ts +264 -0
  55. package/getStreamProcessors.js +264 -0
  56. package/getStreamProcessors.js.map +1 -1
  57. package/getX509AuthenticationDatabaseUser.d.ts +58 -2
  58. package/getX509AuthenticationDatabaseUser.js +58 -2
  59. package/getX509AuthenticationDatabaseUser.js.map +1 -1
  60. package/package.json +2 -2
  61. package/searchDeployment.d.ts +40 -0
  62. package/searchDeployment.js +40 -0
  63. package/searchDeployment.js.map +1 -1
  64. package/searchIndex.d.ts +39 -39
  65. package/searchIndex.js +39 -39
  66. package/streamConnection.d.ts +40 -0
  67. package/streamConnection.js +40 -0
  68. package/streamConnection.js.map +1 -1
  69. package/streamInstance.d.ts +14 -0
  70. package/streamInstance.js +14 -0
  71. package/streamInstance.js.map +1 -1
  72. package/streamPrivatelinkEndpoint.d.ts +70 -0
  73. package/streamPrivatelinkEndpoint.js +70 -0
  74. package/streamPrivatelinkEndpoint.js.map +1 -1
  75. package/streamProcessor.d.ts +133 -0
  76. package/streamProcessor.js +133 -0
  77. package/streamProcessor.js.map +1 -1
  78. package/x509authenticationDatabaseUser.d.ts +63 -0
  79. package/x509authenticationDatabaseUser.js +63 -0
  80. package/x509authenticationDatabaseUser.js.map +1 -1
@@ -15,6 +15,64 @@ const utilities = require("./utilities");
15
15
  * ## Example Usage
16
16
  *
17
17
  * ### S
18
+ *
19
+ * ```typescript
20
+ * import * as pulumi from "@pulumi/pulumi";
21
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
22
+ *
23
+ * const projectTest = new mongodbatlas.Project("projectTest", {
24
+ * name: "NAME OF THE PROJECT",
25
+ * orgId: "ORGANIZATION ID",
26
+ * });
27
+ * const automatedBackupTest = new mongodbatlas.AdvancedCluster("automated_backup_test", {
28
+ * projectId: projectId,
29
+ * name: "automated-backup-test",
30
+ * clusterType: "REPLICASET",
31
+ * backupEnabled: true,
32
+ * replicationSpecs: [{
33
+ * regionConfigs: [{
34
+ * priority: 7,
35
+ * providerName: "GCP",
36
+ * regionName: "US_EAST_4",
37
+ * electableSpecs: {
38
+ * instanceSize: "M10",
39
+ * nodeCount: 3,
40
+ * },
41
+ * }],
42
+ * }],
43
+ * });
44
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
45
+ * projectId: projectTest.projectId,
46
+ * name: "DataLakePipelineName",
47
+ * sink: {
48
+ * type: "DLS",
49
+ * partitionFields: [{
50
+ * name: "access",
51
+ * order: 0,
52
+ * }],
53
+ * },
54
+ * source: {
55
+ * type: "ON_DEMAND_CPS",
56
+ * clusterName: automatedBackupTest.name,
57
+ * databaseName: "sample_airbnb",
58
+ * collectionName: "listingsAndReviews",
59
+ * },
60
+ * transformations: [
61
+ * {
62
+ * field: "test",
63
+ * type: "EXCLUDE",
64
+ * },
65
+ * {
66
+ * field: "test22",
67
+ * type: "EXCLUDE",
68
+ * },
69
+ * ],
70
+ * });
71
+ * const pipelineDataSource = mongodbatlas.getDataLakePipelineOutput({
72
+ * projectId: pipeline.projectId,
73
+ * name: pipeline.name,
74
+ * });
75
+ * ```
18
76
  */
19
77
  function getDataLakePipeline(args, opts) {
20
78
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -34,6 +92,64 @@ exports.getDataLakePipeline = getDataLakePipeline;
34
92
  * ## Example Usage
35
93
  *
36
94
  * ### S
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
99
+ *
100
+ * const projectTest = new mongodbatlas.Project("projectTest", {
101
+ * name: "NAME OF THE PROJECT",
102
+ * orgId: "ORGANIZATION ID",
103
+ * });
104
+ * const automatedBackupTest = new mongodbatlas.AdvancedCluster("automated_backup_test", {
105
+ * projectId: projectId,
106
+ * name: "automated-backup-test",
107
+ * clusterType: "REPLICASET",
108
+ * backupEnabled: true,
109
+ * replicationSpecs: [{
110
+ * regionConfigs: [{
111
+ * priority: 7,
112
+ * providerName: "GCP",
113
+ * regionName: "US_EAST_4",
114
+ * electableSpecs: {
115
+ * instanceSize: "M10",
116
+ * nodeCount: 3,
117
+ * },
118
+ * }],
119
+ * }],
120
+ * });
121
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
122
+ * projectId: projectTest.projectId,
123
+ * name: "DataLakePipelineName",
124
+ * sink: {
125
+ * type: "DLS",
126
+ * partitionFields: [{
127
+ * name: "access",
128
+ * order: 0,
129
+ * }],
130
+ * },
131
+ * source: {
132
+ * type: "ON_DEMAND_CPS",
133
+ * clusterName: automatedBackupTest.name,
134
+ * databaseName: "sample_airbnb",
135
+ * collectionName: "listingsAndReviews",
136
+ * },
137
+ * transformations: [
138
+ * {
139
+ * field: "test",
140
+ * type: "EXCLUDE",
141
+ * },
142
+ * {
143
+ * field: "test22",
144
+ * type: "EXCLUDE",
145
+ * },
146
+ * ],
147
+ * });
148
+ * const pipelineDataSource = mongodbatlas.getDataLakePipelineOutput({
149
+ * projectId: pipeline.projectId,
150
+ * name: pipeline.name,
151
+ * });
152
+ * ```
37
153
  */
38
154
  function getDataLakePipelineOutput(args, opts) {
39
155
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getDataLakePipeline.js","sourceRoot":"","sources":["../getDataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AA8ED;;;;;;;;;;GAUG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
1
+ {"version":3,"file":"getDataLakePipeline.js","sourceRoot":"","sources":["../getDataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AA8ED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -8,6 +8,43 @@ import * as outputs from "./types/output";
8
8
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
9
9
  *
10
10
  * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
15
+ *
16
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
17
+ * projectId: projectTest.projectId,
18
+ * name: "DataLakePipelineName",
19
+ * sink: {
20
+ * type: "DLS",
21
+ * partitionFields: [{
22
+ * name: "access",
23
+ * order: 0,
24
+ * }],
25
+ * },
26
+ * source: {
27
+ * type: "ON_DEMAND_CPS",
28
+ * clusterName: clusterTest.name,
29
+ * databaseName: "sample_airbnb",
30
+ * collectionName: "listingsAndReviews",
31
+ * },
32
+ * transformations: [
33
+ * {
34
+ * field: "test",
35
+ * type: "EXCLUDE",
36
+ * },
37
+ * {
38
+ * field: "test22",
39
+ * type: "EXCLUDE",
40
+ * },
41
+ * ],
42
+ * });
43
+ * const test = pipeline.name.apply(name => mongodbatlas.getDataLakePipelineRunsOutput({
44
+ * projectId: projectTest.projectId,
45
+ * pipelineName: name,
46
+ * }));
47
+ * ```
11
48
  */
12
49
  export declare function getDataLakePipelineRuns(args: GetDataLakePipelineRunsArgs, opts?: pulumi.InvokeOptions): Promise<GetDataLakePipelineRunsResult>;
13
50
  /**
@@ -46,6 +83,43 @@ export interface GetDataLakePipelineRunsResult {
46
83
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
47
84
  *
48
85
  * ## Example Usage
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
90
+ *
91
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
92
+ * projectId: projectTest.projectId,
93
+ * name: "DataLakePipelineName",
94
+ * sink: {
95
+ * type: "DLS",
96
+ * partitionFields: [{
97
+ * name: "access",
98
+ * order: 0,
99
+ * }],
100
+ * },
101
+ * source: {
102
+ * type: "ON_DEMAND_CPS",
103
+ * clusterName: clusterTest.name,
104
+ * databaseName: "sample_airbnb",
105
+ * collectionName: "listingsAndReviews",
106
+ * },
107
+ * transformations: [
108
+ * {
109
+ * field: "test",
110
+ * type: "EXCLUDE",
111
+ * },
112
+ * {
113
+ * field: "test22",
114
+ * type: "EXCLUDE",
115
+ * },
116
+ * ],
117
+ * });
118
+ * const test = pipeline.name.apply(name => mongodbatlas.getDataLakePipelineRunsOutput({
119
+ * projectId: projectTest.projectId,
120
+ * pipelineName: name,
121
+ * }));
122
+ * ```
49
123
  */
50
124
  export declare function getDataLakePipelineRunsOutput(args: GetDataLakePipelineRunsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDataLakePipelineRunsResult>;
51
125
  /**
@@ -13,6 +13,43 @@ const utilities = require("./utilities");
13
13
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
14
14
  *
15
15
  * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
20
+ *
21
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
22
+ * projectId: projectTest.projectId,
23
+ * name: "DataLakePipelineName",
24
+ * sink: {
25
+ * type: "DLS",
26
+ * partitionFields: [{
27
+ * name: "access",
28
+ * order: 0,
29
+ * }],
30
+ * },
31
+ * source: {
32
+ * type: "ON_DEMAND_CPS",
33
+ * clusterName: clusterTest.name,
34
+ * databaseName: "sample_airbnb",
35
+ * collectionName: "listingsAndReviews",
36
+ * },
37
+ * transformations: [
38
+ * {
39
+ * field: "test",
40
+ * type: "EXCLUDE",
41
+ * },
42
+ * {
43
+ * field: "test22",
44
+ * type: "EXCLUDE",
45
+ * },
46
+ * ],
47
+ * });
48
+ * const test = pipeline.name.apply(name => mongodbatlas.getDataLakePipelineRunsOutput({
49
+ * projectId: projectTest.projectId,
50
+ * pipelineName: name,
51
+ * }));
52
+ * ```
16
53
  */
17
54
  function getDataLakePipelineRuns(args, opts) {
18
55
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -30,6 +67,43 @@ exports.getDataLakePipelineRuns = getDataLakePipelineRuns;
30
67
  * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
31
68
  *
32
69
  * ## Example Usage
70
+ *
71
+ * ```typescript
72
+ * import * as pulumi from "@pulumi/pulumi";
73
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
74
+ *
75
+ * const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
76
+ * projectId: projectTest.projectId,
77
+ * name: "DataLakePipelineName",
78
+ * sink: {
79
+ * type: "DLS",
80
+ * partitionFields: [{
81
+ * name: "access",
82
+ * order: 0,
83
+ * }],
84
+ * },
85
+ * source: {
86
+ * type: "ON_DEMAND_CPS",
87
+ * clusterName: clusterTest.name,
88
+ * databaseName: "sample_airbnb",
89
+ * collectionName: "listingsAndReviews",
90
+ * },
91
+ * transformations: [
92
+ * {
93
+ * field: "test",
94
+ * type: "EXCLUDE",
95
+ * },
96
+ * {
97
+ * field: "test22",
98
+ * type: "EXCLUDE",
99
+ * },
100
+ * ],
101
+ * });
102
+ * const test = pipeline.name.apply(name => mongodbatlas.getDataLakePipelineRunsOutput({
103
+ * projectId: projectTest.projectId,
104
+ * pipelineName: name,
105
+ * }));
106
+ * ```
33
107
  */
34
108
  function getDataLakePipelineRunsOutput(args, opts) {
35
109
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getDataLakePipelineRuns.js","sourceRoot":"","sources":["../getDataLakePipelineRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AA+BD;;;;;;;;GAQG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
1
+ {"version":3,"file":"getDataLakePipelineRuns.js","sourceRoot":"","sources":["../getDataLakePipelineRuns.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
@@ -6,6 +6,40 @@ import * as outputs from "./types/output";
6
6
  * `mongodbatlas.getFederatedSettingsOrgRoleMappings` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
7
7
  *
8
8
  * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
13
+ *
14
+ * const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
15
+ * federationSettingsId: "",
16
+ * orgId: "627a9683e7f7f7ff7fe306f14",
17
+ * groupId: "628aa20d7f7f7f7f7098b81b8",
18
+ * externalGroupName: "myGrouptest",
19
+ * organizationRoles: [
20
+ * "ORG_OWNER",
21
+ * "ORG_MEMBER",
22
+ * "ORG_BILLING_ADMIN",
23
+ * "ORG_GROUP_CREATOR",
24
+ * "ORG_READ_ONLY",
25
+ * ],
26
+ * groupRoles: [
27
+ * "GROUP_OWNER",
28
+ * "GROUP_CLUSTER_MANAGER",
29
+ * "GROUP_DATA_ACCESS_ADMIN",
30
+ * "GROUP_DATA_ACCESS_READ_WRITE",
31
+ * "GROUP_SEARCH_INDEX_EDITOR",
32
+ * "GROUP_DATA_ACCESS_READ_ONLY",
33
+ * "GROUP_READ_ONLY",
34
+ * ],
35
+ * });
36
+ * const roleMappings = orgGroupRoleMappingImport.id.apply(id => mongodbatlas.getFederatedSettingsOrgRoleMappingsOutput({
37
+ * federationSettingsId: id,
38
+ * orgId: "627a9683e7f7f7ff7fe306f14",
39
+ * pageNum: 1,
40
+ * itemsPerPage: 5,
41
+ * }));
42
+ * ```
9
43
  */
10
44
  export declare function getFederatedSettingsOrgRoleMappings(args: GetFederatedSettingsOrgRoleMappingsArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsOrgRoleMappingsResult>;
11
45
  /**
@@ -53,6 +87,40 @@ export interface GetFederatedSettingsOrgRoleMappingsResult {
53
87
  * `mongodbatlas.getFederatedSettingsOrgRoleMappings` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
54
88
  *
55
89
  * ## Example Usage
90
+ *
91
+ * ```typescript
92
+ * import * as pulumi from "@pulumi/pulumi";
93
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
94
+ *
95
+ * const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
96
+ * federationSettingsId: "",
97
+ * orgId: "627a9683e7f7f7ff7fe306f14",
98
+ * groupId: "628aa20d7f7f7f7f7098b81b8",
99
+ * externalGroupName: "myGrouptest",
100
+ * organizationRoles: [
101
+ * "ORG_OWNER",
102
+ * "ORG_MEMBER",
103
+ * "ORG_BILLING_ADMIN",
104
+ * "ORG_GROUP_CREATOR",
105
+ * "ORG_READ_ONLY",
106
+ * ],
107
+ * groupRoles: [
108
+ * "GROUP_OWNER",
109
+ * "GROUP_CLUSTER_MANAGER",
110
+ * "GROUP_DATA_ACCESS_ADMIN",
111
+ * "GROUP_DATA_ACCESS_READ_WRITE",
112
+ * "GROUP_SEARCH_INDEX_EDITOR",
113
+ * "GROUP_DATA_ACCESS_READ_ONLY",
114
+ * "GROUP_READ_ONLY",
115
+ * ],
116
+ * });
117
+ * const roleMappings = orgGroupRoleMappingImport.id.apply(id => mongodbatlas.getFederatedSettingsOrgRoleMappingsOutput({
118
+ * federationSettingsId: id,
119
+ * orgId: "627a9683e7f7f7ff7fe306f14",
120
+ * pageNum: 1,
121
+ * itemsPerPage: 5,
122
+ * }));
123
+ * ```
56
124
  */
57
125
  export declare function getFederatedSettingsOrgRoleMappingsOutput(args: GetFederatedSettingsOrgRoleMappingsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFederatedSettingsOrgRoleMappingsResult>;
58
126
  /**
@@ -11,6 +11,40 @@ const utilities = require("./utilities");
11
11
  * `mongodbatlas.getFederatedSettingsOrgRoleMappings` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
12
12
  *
13
13
  * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
20
+ * federationSettingsId: "",
21
+ * orgId: "627a9683e7f7f7ff7fe306f14",
22
+ * groupId: "628aa20d7f7f7f7f7098b81b8",
23
+ * externalGroupName: "myGrouptest",
24
+ * organizationRoles: [
25
+ * "ORG_OWNER",
26
+ * "ORG_MEMBER",
27
+ * "ORG_BILLING_ADMIN",
28
+ * "ORG_GROUP_CREATOR",
29
+ * "ORG_READ_ONLY",
30
+ * ],
31
+ * groupRoles: [
32
+ * "GROUP_OWNER",
33
+ * "GROUP_CLUSTER_MANAGER",
34
+ * "GROUP_DATA_ACCESS_ADMIN",
35
+ * "GROUP_DATA_ACCESS_READ_WRITE",
36
+ * "GROUP_SEARCH_INDEX_EDITOR",
37
+ * "GROUP_DATA_ACCESS_READ_ONLY",
38
+ * "GROUP_READ_ONLY",
39
+ * ],
40
+ * });
41
+ * const roleMappings = orgGroupRoleMappingImport.id.apply(id => mongodbatlas.getFederatedSettingsOrgRoleMappingsOutput({
42
+ * federationSettingsId: id,
43
+ * orgId: "627a9683e7f7f7ff7fe306f14",
44
+ * pageNum: 1,
45
+ * itemsPerPage: 5,
46
+ * }));
47
+ * ```
14
48
  */
15
49
  function getFederatedSettingsOrgRoleMappings(args, opts) {
16
50
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -28,6 +62,40 @@ exports.getFederatedSettingsOrgRoleMappings = getFederatedSettingsOrgRoleMapping
28
62
  * `mongodbatlas.getFederatedSettingsOrgRoleMappings` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
29
63
  *
30
64
  * ## Example Usage
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
69
+ *
70
+ * const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
71
+ * federationSettingsId: "",
72
+ * orgId: "627a9683e7f7f7ff7fe306f14",
73
+ * groupId: "628aa20d7f7f7f7f7098b81b8",
74
+ * externalGroupName: "myGrouptest",
75
+ * organizationRoles: [
76
+ * "ORG_OWNER",
77
+ * "ORG_MEMBER",
78
+ * "ORG_BILLING_ADMIN",
79
+ * "ORG_GROUP_CREATOR",
80
+ * "ORG_READ_ONLY",
81
+ * ],
82
+ * groupRoles: [
83
+ * "GROUP_OWNER",
84
+ * "GROUP_CLUSTER_MANAGER",
85
+ * "GROUP_DATA_ACCESS_ADMIN",
86
+ * "GROUP_DATA_ACCESS_READ_WRITE",
87
+ * "GROUP_SEARCH_INDEX_EDITOR",
88
+ * "GROUP_DATA_ACCESS_READ_ONLY",
89
+ * "GROUP_READ_ONLY",
90
+ * ],
91
+ * });
92
+ * const roleMappings = orgGroupRoleMappingImport.id.apply(id => mongodbatlas.getFederatedSettingsOrgRoleMappingsOutput({
93
+ * federationSettingsId: id,
94
+ * orgId: "627a9683e7f7f7ff7fe306f14",
95
+ * pageNum: 1,
96
+ * itemsPerPage: 5,
97
+ * }));
98
+ * ```
31
99
  */
32
100
  function getFederatedSettingsOrgRoleMappingsOutput(args, opts) {
33
101
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getFederatedSettingsOrgRoleMappings.js","sourceRoot":"","sources":["../getFederatedSettingsOrgRoleMappings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,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,kFAQC;AA0CD;;;;;;GAMG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAAiC;IAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4FAA4F,EAAE;QAC7H,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,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,8FAQC"}
1
+ {"version":3,"file":"getFederatedSettingsOrgRoleMappings.js","sourceRoot":"","sources":["../getFederatedSettingsOrgRoleMappings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,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,kFAQC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAAiC;IAC5I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4FAA4F,EAAE;QAC7H,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,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,8FAQC"}
@@ -8,6 +8,31 @@ import * as outputs from "./types/output";
8
8
  * **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` data source instead of `mongodbatlas.FlexCluster` data source to retrieve Flex clusters. The `mongodbatlas.AdvancedCluster` data source not only supports Flex clusters, but also supports free and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster data source.
9
9
  *
10
10
  * ## Example Usage
11
+ *
12
+ * ### S
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
18
+ * projectId: projectId,
19
+ * name: clusterName,
20
+ * providerSettings: {
21
+ * backingProviderName: "AWS",
22
+ * regionName: "US_EAST_1",
23
+ * },
24
+ * terminationProtectionEnabled: true,
25
+ * });
26
+ * const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
27
+ * projectId: projectId,
28
+ * name: name,
29
+ * }));
30
+ * const example_clusters = mongodbatlas.getFlexClusters({
31
+ * projectId: projectId,
32
+ * });
33
+ * export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
34
+ * export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
35
+ * ```
11
36
  */
12
37
  export declare function getFlexCluster(args: GetFlexClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetFlexClusterResult>;
13
38
  /**
@@ -90,6 +115,31 @@ export interface GetFlexClusterResult {
90
115
  * **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` data source instead of `mongodbatlas.FlexCluster` data source to retrieve Flex clusters. The `mongodbatlas.AdvancedCluster` data source not only supports Flex clusters, but also supports free and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster data source.
91
116
  *
92
117
  * ## Example Usage
118
+ *
119
+ * ### S
120
+ * ```typescript
121
+ * import * as pulumi from "@pulumi/pulumi";
122
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
123
+ *
124
+ * const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
125
+ * projectId: projectId,
126
+ * name: clusterName,
127
+ * providerSettings: {
128
+ * backingProviderName: "AWS",
129
+ * regionName: "US_EAST_1",
130
+ * },
131
+ * terminationProtectionEnabled: true,
132
+ * });
133
+ * const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
134
+ * projectId: projectId,
135
+ * name: name,
136
+ * }));
137
+ * const example_clusters = mongodbatlas.getFlexClusters({
138
+ * projectId: projectId,
139
+ * });
140
+ * export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
141
+ * export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
142
+ * ```
93
143
  */
94
144
  export declare function getFlexClusterOutput(args: GetFlexClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetFlexClusterResult>;
95
145
  /**
package/getFlexCluster.js CHANGED
@@ -13,6 +13,31 @@ const utilities = require("./utilities");
13
13
  * **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` data source instead of `mongodbatlas.FlexCluster` data source to retrieve Flex clusters. The `mongodbatlas.AdvancedCluster` data source not only supports Flex clusters, but also supports free and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster data source.
14
14
  *
15
15
  * ## Example Usage
16
+ *
17
+ * ### S
18
+ * ```typescript
19
+ * import * as pulumi from "@pulumi/pulumi";
20
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
21
+ *
22
+ * const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
23
+ * projectId: projectId,
24
+ * name: clusterName,
25
+ * providerSettings: {
26
+ * backingProviderName: "AWS",
27
+ * regionName: "US_EAST_1",
28
+ * },
29
+ * terminationProtectionEnabled: true,
30
+ * });
31
+ * const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
32
+ * projectId: projectId,
33
+ * name: name,
34
+ * }));
35
+ * const example_clusters = mongodbatlas.getFlexClusters({
36
+ * projectId: projectId,
37
+ * });
38
+ * export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
39
+ * export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
40
+ * ```
16
41
  */
17
42
  function getFlexCluster(args, opts) {
18
43
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -30,6 +55,31 @@ exports.getFlexCluster = getFlexCluster;
30
55
  * **RECOMMENDATION:** We recommend using the `mongodbatlas.AdvancedCluster` data source instead of `mongodbatlas.FlexCluster` data source to retrieve Flex clusters. The `mongodbatlas.AdvancedCluster` data source not only supports Flex clusters, but also supports free and dedicated clusters, providing easier migration between different cluster types. For more information, see the Advanced Cluster data source.
31
56
  *
32
57
  * ## Example Usage
58
+ *
59
+ * ### S
60
+ * ```typescript
61
+ * import * as pulumi from "@pulumi/pulumi";
62
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
63
+ *
64
+ * const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
65
+ * projectId: projectId,
66
+ * name: clusterName,
67
+ * providerSettings: {
68
+ * backingProviderName: "AWS",
69
+ * regionName: "US_EAST_1",
70
+ * },
71
+ * terminationProtectionEnabled: true,
72
+ * });
73
+ * const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
74
+ * projectId: projectId,
75
+ * name: name,
76
+ * }));
77
+ * const example_clusters = mongodbatlas.getFlexClusters({
78
+ * projectId: projectId,
79
+ * });
80
+ * export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
81
+ * export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
82
+ * ```
33
83
  */
34
84
  function getFlexClusterOutput(args, opts) {
35
85
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getFlexCluster.js","sourceRoot":"","sources":["../getFlexCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAyED;;;;;;;;GAQG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
1
+ {"version":3,"file":"getFlexCluster.js","sourceRoot":"","sources":["../getFlexCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAyED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}