@pulumi/mongodbatlas 3.37.0-alpha.1756361796 → 3.37.0-alpha.1756506837

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 (132) hide show
  1. package/accessListApiKey.js +11 -11
  2. package/accessListApiKey.js.map +1 -1
  3. package/advancedCluster.js +60 -60
  4. package/advancedCluster.js.map +1 -1
  5. package/alertConfiguration.js +20 -20
  6. package/alertConfiguration.js.map +1 -1
  7. package/apiKey.js +13 -13
  8. package/apiKey.js.map +1 -1
  9. package/apiKeyProjectAssignment.d.ts +3 -6
  10. package/apiKeyProjectAssignment.js +10 -10
  11. package/apiKeyProjectAssignment.js.map +1 -1
  12. package/auditing.js +11 -11
  13. package/auditing.js.map +1 -1
  14. package/backupCompliancePolicy.js +36 -36
  15. package/backupCompliancePolicy.js.map +1 -1
  16. package/cloudBackupSchedule.js +36 -36
  17. package/cloudBackupSchedule.js.map +1 -1
  18. package/cloudBackupSnapshot.js +26 -26
  19. package/cloudBackupSnapshot.js.map +1 -1
  20. package/cloudBackupSnapshotExportBucket.js +19 -19
  21. package/cloudBackupSnapshotExportBucket.js.map +1 -1
  22. package/cloudBackupSnapshotExportJob.js +23 -23
  23. package/cloudBackupSnapshotExportJob.js.map +1 -1
  24. package/cloudBackupSnapshotRestoreJob.js +19 -19
  25. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  26. package/cloudProviderAccessAuthorization.js +13 -13
  27. package/cloudProviderAccessAuthorization.js.map +1 -1
  28. package/cloudProviderAccessSetup.js +13 -13
  29. package/cloudProviderAccessSetup.js.map +1 -1
  30. package/cluster.js +87 -87
  31. package/cluster.js.map +1 -1
  32. package/clusterOutageSimulation.js +13 -13
  33. package/clusterOutageSimulation.js.map +1 -1
  34. package/customDbRole.js +11 -11
  35. package/customDbRole.js.map +1 -1
  36. package/customDnsConfigurationClusterAws.js +7 -7
  37. package/customDnsConfigurationClusterAws.js.map +1 -1
  38. package/dataLakePipeline.js +17 -17
  39. package/dataLakePipeline.js.map +1 -1
  40. package/databaseUser.js +28 -28
  41. package/databaseUser.js.map +1 -1
  42. package/encryptionAtRest.js +12 -12
  43. package/encryptionAtRest.js.map +1 -1
  44. package/encryptionAtRestPrivateEndpoint.js +13 -13
  45. package/encryptionAtRestPrivateEndpoint.js.map +1 -1
  46. package/eventTrigger.js +45 -45
  47. package/eventTrigger.js.map +1 -1
  48. package/federatedDatabaseInstance.js +16 -16
  49. package/federatedDatabaseInstance.js.map +1 -1
  50. package/federatedQueryLimit.js +22 -22
  51. package/federatedQueryLimit.js.map +1 -1
  52. package/federatedSettingsIdentityProvider.js +41 -41
  53. package/federatedSettingsIdentityProvider.js.map +1 -1
  54. package/federatedSettingsOrgConfig.js +19 -19
  55. package/federatedSettingsOrgConfig.js.map +1 -1
  56. package/federatedSettingsOrgRoleMapping.js +14 -14
  57. package/federatedSettingsOrgRoleMapping.js.map +1 -1
  58. package/flexCluster.js +20 -20
  59. package/flexCluster.js.map +1 -1
  60. package/globalClusterConfig.js +13 -13
  61. package/globalClusterConfig.js.map +1 -1
  62. package/ldapConfiguration.js +26 -26
  63. package/ldapConfiguration.js.map +1 -1
  64. package/ldapVerify.js +24 -24
  65. package/ldapVerify.js.map +1 -1
  66. package/maintenanceWindow.js +21 -21
  67. package/maintenanceWindow.js.map +1 -1
  68. package/mongodbEmployeeAccessGrant.js +13 -13
  69. package/mongodbEmployeeAccessGrant.js.map +1 -1
  70. package/networkContainer.js +22 -22
  71. package/networkContainer.js.map +1 -1
  72. package/networkPeering.js +44 -44
  73. package/networkPeering.js.map +1 -1
  74. package/onlineArchive.js +32 -32
  75. package/onlineArchive.js.map +1 -1
  76. package/orgInvitation.js +16 -16
  77. package/orgInvitation.js.map +1 -1
  78. package/organization.js +26 -26
  79. package/organization.js.map +1 -1
  80. package/package.json +2 -2
  81. package/privateEndpointRegionalMode.js +6 -6
  82. package/privateEndpointRegionalMode.js.map +1 -1
  83. package/privateLinkEndpoint.js +21 -21
  84. package/privateLinkEndpoint.js.map +1 -1
  85. package/privateLinkEndpointService.js +28 -28
  86. package/privateLinkEndpointService.js.map +1 -1
  87. package/privatelinkEndpointServerless.js +14 -14
  88. package/privatelinkEndpointServerless.js.map +1 -1
  89. package/privatelinkEndpointServiceDataFederationOnlineArchive.js +17 -17
  90. package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
  91. package/privatelinkEndpointServiceServerless.js +21 -21
  92. package/privatelinkEndpointServiceServerless.js.map +1 -1
  93. package/project.js +35 -35
  94. package/project.js.map +1 -1
  95. package/projectApiKey.js +10 -10
  96. package/projectApiKey.js.map +1 -1
  97. package/projectInvitation.js +14 -14
  98. package/projectInvitation.js.map +1 -1
  99. package/projectIpAccessList.js +14 -14
  100. package/projectIpAccessList.js.map +1 -1
  101. package/provider.js +12 -12
  102. package/provider.js.map +1 -1
  103. package/pushBasedLogExport.js +16 -16
  104. package/pushBasedLogExport.js.map +1 -1
  105. package/resourcePolicy.js +16 -16
  106. package/resourcePolicy.js.map +1 -1
  107. package/searchDeployment.js +18 -18
  108. package/searchDeployment.js.map +1 -1
  109. package/searchIndex.js +37 -37
  110. package/searchIndex.js.map +1 -1
  111. package/serverlessInstance.js +31 -31
  112. package/serverlessInstance.js.map +1 -1
  113. package/streamConnection.js +35 -35
  114. package/streamConnection.js.map +1 -1
  115. package/streamInstance.js +13 -13
  116. package/streamInstance.js.map +1 -1
  117. package/streamPrivatelinkEndpoint.d.ts +42 -54
  118. package/streamPrivatelinkEndpoint.js +25 -25
  119. package/streamPrivatelinkEndpoint.js.map +1 -1
  120. package/streamProcessor.d.ts +11 -21
  121. package/streamProcessor.js +18 -18
  122. package/streamProcessor.js.map +1 -1
  123. package/team.js +10 -10
  124. package/team.js.map +1 -1
  125. package/teams.js +10 -10
  126. package/teams.js.map +1 -1
  127. package/thirdPartyIntegration.js +39 -39
  128. package/thirdPartyIntegration.js.map +1 -1
  129. package/utilities.js +18 -29
  130. package/utilities.js.map +1 -1
  131. package/x509authenticationDatabaseUser.js +12 -12
  132. package/x509authenticationDatabaseUser.js.map +1 -1
@@ -65,13 +65,15 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
65
65
  */
66
66
  readonly arn: pulumi.Output<string | undefined>;
67
67
  /**
68
- * The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
69
- * * AZURE provider with EVENTHUB or CONFLUENT vendor.
68
+ * The domain hostname. Required for the following provider and vendor combinations:
69
+ *
70
+ * * AWS provider with CONFLUENT vendor.
71
+ *
72
+ * * AZURE provider with EVENTHUB or CONFLUENT vendor.
70
73
  */
71
74
  readonly dnsDomain: pulumi.Output<string | undefined>;
72
75
  /**
73
- * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
74
- * CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
76
+ * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
75
77
  */
76
78
  readonly dnsSubDomains: pulumi.Output<string[] | undefined>;
77
79
  /**
@@ -87,10 +89,7 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
87
89
  */
88
90
  readonly interfaceEndpointName: pulumi.Output<string>;
89
91
  /**
90
- * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
91
- * which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
92
- * same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
93
- * endpoints use the term groups.
92
+ * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
94
93
  */
95
94
  readonly projectId: pulumi.Output<string>;
96
95
  /**
@@ -102,17 +101,11 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
102
101
  */
103
102
  readonly providerName: pulumi.Output<string>;
104
103
  /**
105
- * The region of the Provider’s cluster. See
106
- * [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
107
- * [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
108
- * vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
109
- * API from the provided `arn`.
104
+ * The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
110
105
  */
111
106
  readonly region: pulumi.Output<string>;
112
107
  /**
113
- * For AZURE EVENTHUB, this is the [namespace endpoint
114
- * ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
115
- * Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
108
+ * For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
116
109
  */
117
110
  readonly serviceEndpointId: pulumi.Output<string | undefined>;
118
111
  /**
@@ -120,8 +113,11 @@ export declare class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
120
113
  */
121
114
  readonly state: pulumi.Output<string>;
122
115
  /**
123
- * Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
124
- * **Azure**: EVENTHUB and CONFLUENT
116
+ * Vendor that manages the endpoint. The following are the vendor values per provider:
117
+ *
118
+ * * **AWS**: MSK, CONFLUENT, and S3
119
+ *
120
+ * * **Azure**: EVENTHUB and CONFLUENT
125
121
  */
126
122
  readonly vendor: pulumi.Output<string>;
127
123
  /**
@@ -142,13 +138,15 @@ export interface StreamPrivatelinkEndpointState {
142
138
  */
143
139
  arn?: pulumi.Input<string>;
144
140
  /**
145
- * The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
146
- * * AZURE provider with EVENTHUB or CONFLUENT vendor.
141
+ * The domain hostname. Required for the following provider and vendor combinations:
142
+ *
143
+ * * AWS provider with CONFLUENT vendor.
144
+ *
145
+ * * AZURE provider with EVENTHUB or CONFLUENT vendor.
147
146
  */
148
147
  dnsDomain?: pulumi.Input<string>;
149
148
  /**
150
- * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
151
- * CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
149
+ * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
152
150
  */
153
151
  dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
154
152
  /**
@@ -164,10 +162,7 @@ export interface StreamPrivatelinkEndpointState {
164
162
  */
165
163
  interfaceEndpointName?: pulumi.Input<string>;
166
164
  /**
167
- * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
168
- * which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
169
- * same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
170
- * endpoints use the term groups.
165
+ * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
171
166
  */
172
167
  projectId?: pulumi.Input<string>;
173
168
  /**
@@ -179,17 +174,11 @@ export interface StreamPrivatelinkEndpointState {
179
174
  */
180
175
  providerName?: pulumi.Input<string>;
181
176
  /**
182
- * The region of the Provider’s cluster. See
183
- * [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
184
- * [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
185
- * vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
186
- * API from the provided `arn`.
177
+ * The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
187
178
  */
188
179
  region?: pulumi.Input<string>;
189
180
  /**
190
- * For AZURE EVENTHUB, this is the [namespace endpoint
191
- * ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
192
- * Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
181
+ * For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
193
182
  */
194
183
  serviceEndpointId?: pulumi.Input<string>;
195
184
  /**
@@ -197,8 +186,11 @@ export interface StreamPrivatelinkEndpointState {
197
186
  */
198
187
  state?: pulumi.Input<string>;
199
188
  /**
200
- * Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
201
- * **Azure**: EVENTHUB and CONFLUENT
189
+ * Vendor that manages the endpoint. The following are the vendor values per provider:
190
+ *
191
+ * * **AWS**: MSK, CONFLUENT, and S3
192
+ *
193
+ * * **Azure**: EVENTHUB and CONFLUENT
202
194
  */
203
195
  vendor?: pulumi.Input<string>;
204
196
  }
@@ -211,20 +203,19 @@ export interface StreamPrivatelinkEndpointArgs {
211
203
  */
212
204
  arn?: pulumi.Input<string>;
213
205
  /**
214
- * The domain hostname. Required for the following provider and vendor combinations: * AWS provider with CONFLUENT vendor.
215
- * * AZURE provider with EVENTHUB or CONFLUENT vendor.
206
+ * The domain hostname. Required for the following provider and vendor combinations:
207
+ *
208
+ * * AWS provider with CONFLUENT vendor.
209
+ *
210
+ * * AZURE provider with EVENTHUB or CONFLUENT vendor.
216
211
  */
217
212
  dnsDomain?: pulumi.Input<string>;
218
213
  /**
219
- * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and
220
- * CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
214
+ * Sub-Domain name of Confluent cluster. These are typically your availability zones. Required for AWS Provider and CONFLUENT vendor. If your AWS CONFLUENT cluster doesn't use subdomains, you must set this to the empty array [].
221
215
  */
222
216
  dnsSubDomains?: pulumi.Input<pulumi.Input<string>[]>;
223
217
  /**
224
- * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to
225
- * which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the
226
- * same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding
227
- * endpoints use the term groups.
218
+ * Unique 24-hexadecimal digit string that identifies your project. Use the /groups endpoint to retrieve all projects to which the authenticated user has access.<br>**NOTE**: Groups and projects are synonymous terms. Your group id is the same as your project id. For existing groups, your group or project id remains the same. The resource and corresponding endpoints use the term groups.
228
219
  */
229
220
  projectId: pulumi.Input<string>;
230
221
  /**
@@ -232,22 +223,19 @@ export interface StreamPrivatelinkEndpointArgs {
232
223
  */
233
224
  providerName: pulumi.Input<string>;
234
225
  /**
235
- * The region of the Provider’s cluster. See
236
- * [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and
237
- * [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the
238
- * vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the
239
- * API from the provided `arn`.
226
+ * The region of the Provider’s cluster. See [AZURE](https://www.mongodb.com/docs/atlas/reference/microsoft-azure/#stream-processing-instances) and [AWS](https://www.mongodb.com/docs/atlas/reference/amazon-aws/#stream-processing-instances) supported regions. When the vendor is `CONFLUENT`, this is the domain name of Confluent cluster. When the vendor is `MSK`, this is computed by the API from the provided `arn`.
240
227
  */
241
228
  region?: pulumi.Input<string>;
242
229
  /**
243
- * For AZURE EVENTHUB, this is the [namespace endpoint
244
- * ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC
245
- * Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
230
+ * For AZURE EVENTHUB, this is the [namespace endpoint ID](https://learn.microsoft.com/en-us/rest/api/eventhub/namespaces/get). For AWS CONFLUENT cluster, this is the [VPC Endpoint service name](https://docs.confluent.io/cloud/current/networking/private-links/aws-privatelink.html).
246
231
  */
247
232
  serviceEndpointId?: pulumi.Input<string>;
248
233
  /**
249
- * Vendor that manages the endpoint. The following are the vendor values per provider: * **AWS**: MSK, CONFLUENT, and S3 *
250
- * **Azure**: EVENTHUB and CONFLUENT
234
+ * Vendor that manages the endpoint. The following are the vendor values per provider:
235
+ *
236
+ * * **AWS**: MSK, CONFLUENT, and S3
237
+ *
238
+ * * **Azure**: EVENTHUB and CONFLUENT
251
239
  */
252
240
  vendor: pulumi.Input<string>;
253
241
  }
@@ -61,7 +61,7 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
61
61
  * @param opts Optional settings to control the behavior of the CustomResource.
62
62
  */
63
63
  static get(name, id, state, opts) {
64
- return new StreamPrivatelinkEndpoint(name, state, Object.assign(Object.assign({}, opts), { id: id }));
64
+ return new StreamPrivatelinkEndpoint(name, state, { ...opts, id: id });
65
65
  }
66
66
  /**
67
67
  * Returns true if the given object is an instance of StreamPrivatelinkEndpoint. This is designed to work even
@@ -78,39 +78,39 @@ class StreamPrivatelinkEndpoint extends pulumi.CustomResource {
78
78
  opts = opts || {};
79
79
  if (opts.id) {
80
80
  const state = argsOrState;
81
- resourceInputs["arn"] = state ? state.arn : undefined;
82
- resourceInputs["dnsDomain"] = state ? state.dnsDomain : undefined;
83
- resourceInputs["dnsSubDomains"] = state ? state.dnsSubDomains : undefined;
84
- resourceInputs["errorMessage"] = state ? state.errorMessage : undefined;
85
- resourceInputs["interfaceEndpointId"] = state ? state.interfaceEndpointId : undefined;
86
- resourceInputs["interfaceEndpointName"] = state ? state.interfaceEndpointName : undefined;
87
- resourceInputs["projectId"] = state ? state.projectId : undefined;
88
- resourceInputs["providerAccountId"] = state ? state.providerAccountId : undefined;
89
- resourceInputs["providerName"] = state ? state.providerName : undefined;
90
- resourceInputs["region"] = state ? state.region : undefined;
91
- resourceInputs["serviceEndpointId"] = state ? state.serviceEndpointId : undefined;
92
- resourceInputs["state"] = state ? state.state : undefined;
93
- resourceInputs["vendor"] = state ? state.vendor : undefined;
81
+ resourceInputs["arn"] = state?.arn;
82
+ resourceInputs["dnsDomain"] = state?.dnsDomain;
83
+ resourceInputs["dnsSubDomains"] = state?.dnsSubDomains;
84
+ resourceInputs["errorMessage"] = state?.errorMessage;
85
+ resourceInputs["interfaceEndpointId"] = state?.interfaceEndpointId;
86
+ resourceInputs["interfaceEndpointName"] = state?.interfaceEndpointName;
87
+ resourceInputs["projectId"] = state?.projectId;
88
+ resourceInputs["providerAccountId"] = state?.providerAccountId;
89
+ resourceInputs["providerName"] = state?.providerName;
90
+ resourceInputs["region"] = state?.region;
91
+ resourceInputs["serviceEndpointId"] = state?.serviceEndpointId;
92
+ resourceInputs["state"] = state?.state;
93
+ resourceInputs["vendor"] = state?.vendor;
94
94
  }
95
95
  else {
96
96
  const args = argsOrState;
97
- if ((!args || args.projectId === undefined) && !opts.urn) {
97
+ if (args?.projectId === undefined && !opts.urn) {
98
98
  throw new Error("Missing required property 'projectId'");
99
99
  }
100
- if ((!args || args.providerName === undefined) && !opts.urn) {
100
+ if (args?.providerName === undefined && !opts.urn) {
101
101
  throw new Error("Missing required property 'providerName'");
102
102
  }
103
- if ((!args || args.vendor === undefined) && !opts.urn) {
103
+ if (args?.vendor === undefined && !opts.urn) {
104
104
  throw new Error("Missing required property 'vendor'");
105
105
  }
106
- resourceInputs["arn"] = args ? args.arn : undefined;
107
- resourceInputs["dnsDomain"] = args ? args.dnsDomain : undefined;
108
- resourceInputs["dnsSubDomains"] = args ? args.dnsSubDomains : undefined;
109
- resourceInputs["projectId"] = args ? args.projectId : undefined;
110
- resourceInputs["providerName"] = args ? args.providerName : undefined;
111
- resourceInputs["region"] = args ? args.region : undefined;
112
- resourceInputs["serviceEndpointId"] = args ? args.serviceEndpointId : undefined;
113
- resourceInputs["vendor"] = args ? args.vendor : undefined;
106
+ resourceInputs["arn"] = args?.arn;
107
+ resourceInputs["dnsDomain"] = args?.dnsDomain;
108
+ resourceInputs["dnsSubDomains"] = args?.dnsSubDomains;
109
+ resourceInputs["projectId"] = args?.projectId;
110
+ resourceInputs["providerName"] = args?.providerName;
111
+ resourceInputs["region"] = args?.region;
112
+ resourceInputs["serviceEndpointId"] = args?.serviceEndpointId;
113
+ resourceInputs["vendor"] = args?.vendor;
114
114
  resourceInputs["errorMessage"] = undefined /*out*/;
115
115
  resourceInputs["interfaceEndpointId"] = undefined /*out*/;
116
116
  resourceInputs["interfaceEndpointName"] = undefined /*out*/;
@@ -1 +1 @@
1
- {"version":3,"file":"streamPrivatelinkEndpoint.js","sourceRoot":"","sources":["../streamPrivatelinkEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;;OAQG;IACI,MAAM,CAAC,GA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AAC,oCAAoC,CAAC,CAAC;aACzD;YACD,cAAc,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,GAAG,CAAC;YAClC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5D,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AA9IL,8DA+IC;AAjIG,gBAAgB;AACO,sCAAY,GAAG,wEAAwE,CAAC"}
@@ -56,17 +56,13 @@ export declare class StreamProcessor extends pulumi.CustomResource {
56
56
  */
57
57
  readonly projectId: pulumi.Output<string>;
58
58
  /**
59
- * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
60
- * start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
61
- * created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
62
- * specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
63
- * specifying the state, it is stopped and then restored to previous state upon update completion.
59
+ * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without specifying the state, it will default to the Previous state.
60
+ *
61
+ * **NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
64
62
  */
65
63
  readonly state: pulumi.Output<string>;
66
64
  /**
67
- * The stats associated with the stream processor. Refer to the [MongoDB Atlas
68
- * Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor)
69
- * for more information.
65
+ * The stats associated with the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor) for more information.
70
66
  */
71
67
  readonly stats: pulumi.Output<string>;
72
68
  /**
@@ -103,17 +99,13 @@ export interface StreamProcessorState {
103
99
  */
104
100
  projectId?: pulumi.Input<string>;
105
101
  /**
106
- * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
107
- * start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
108
- * created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
109
- * specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
110
- * specifying the state, it is stopped and then restored to previous state upon update completion.
102
+ * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without specifying the state, it will default to the Previous state.
103
+ *
104
+ * **NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
111
105
  */
112
106
  state?: pulumi.Input<string>;
113
107
  /**
114
- * The stats associated with the stream processor. Refer to the [MongoDB Atlas
115
- * Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor)
116
- * for more information.
108
+ * The stats associated with the stream processor. Refer to the [MongoDB Atlas Docs](https://www.mongodb.com/docs/atlas/atlas-stream-processing/manage-stream-processor/#view-statistics-of-a-stream-processor) for more information.
117
109
  */
118
110
  stats?: pulumi.Input<string>;
119
111
  }
@@ -142,11 +134,9 @@ export interface StreamProcessorArgs {
142
134
  */
143
135
  projectId: pulumi.Input<string>;
144
136
  /**
145
- * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to
146
- * start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is
147
- * created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without
148
- * specifying the state, it will default to the Previous state. **NOTE** When a Stream Processor is updated without
149
- * specifying the state, it is stopped and then restored to previous state upon update completion.
137
+ * The state of the stream processor. Commonly occurring states are 'CREATED', 'STARTED', 'STOPPED' and 'FAILED'. Used to start or stop the Stream Processor. Valid values are `CREATED`, `STARTED` or `STOPPED`. When a Stream Processor is created without specifying the state, it will default to `CREATED` state. When a Stream Processor is updated without specifying the state, it will default to the Previous state.
138
+ *
139
+ * **NOTE** When a Stream Processor is updated without specifying the state, it is stopped and then restored to previous state upon update completion.
150
140
  */
151
141
  state?: pulumi.Input<string>;
152
142
  }
@@ -34,7 +34,7 @@ class StreamProcessor extends pulumi.CustomResource {
34
34
  * @param opts Optional settings to control the behavior of the CustomResource.
35
35
  */
36
36
  static get(name, id, state, opts) {
37
- return new StreamProcessor(name, state, Object.assign(Object.assign({}, opts), { id: id }));
37
+ return new StreamProcessor(name, state, { ...opts, id: id });
38
38
  }
39
39
  /**
40
40
  * Returns true if the given object is an instance of StreamProcessor. This is designed to work even
@@ -51,34 +51,34 @@ class StreamProcessor extends pulumi.CustomResource {
51
51
  opts = opts || {};
52
52
  if (opts.id) {
53
53
  const state = argsOrState;
54
- resourceInputs["instanceName"] = state ? state.instanceName : undefined;
55
- resourceInputs["options"] = state ? state.options : undefined;
56
- resourceInputs["pipeline"] = state ? state.pipeline : undefined;
57
- resourceInputs["processorName"] = state ? state.processorName : undefined;
58
- resourceInputs["projectId"] = state ? state.projectId : undefined;
59
- resourceInputs["state"] = state ? state.state : undefined;
60
- resourceInputs["stats"] = state ? state.stats : undefined;
54
+ resourceInputs["instanceName"] = state?.instanceName;
55
+ resourceInputs["options"] = state?.options;
56
+ resourceInputs["pipeline"] = state?.pipeline;
57
+ resourceInputs["processorName"] = state?.processorName;
58
+ resourceInputs["projectId"] = state?.projectId;
59
+ resourceInputs["state"] = state?.state;
60
+ resourceInputs["stats"] = state?.stats;
61
61
  }
62
62
  else {
63
63
  const args = argsOrState;
64
- if ((!args || args.instanceName === undefined) && !opts.urn) {
64
+ if (args?.instanceName === undefined && !opts.urn) {
65
65
  throw new Error("Missing required property 'instanceName'");
66
66
  }
67
- if ((!args || args.pipeline === undefined) && !opts.urn) {
67
+ if (args?.pipeline === undefined && !opts.urn) {
68
68
  throw new Error("Missing required property 'pipeline'");
69
69
  }
70
- if ((!args || args.processorName === undefined) && !opts.urn) {
70
+ if (args?.processorName === undefined && !opts.urn) {
71
71
  throw new Error("Missing required property 'processorName'");
72
72
  }
73
- if ((!args || args.projectId === undefined) && !opts.urn) {
73
+ if (args?.projectId === undefined && !opts.urn) {
74
74
  throw new Error("Missing required property 'projectId'");
75
75
  }
76
- resourceInputs["instanceName"] = args ? args.instanceName : undefined;
77
- resourceInputs["options"] = args ? args.options : undefined;
78
- resourceInputs["pipeline"] = args ? args.pipeline : undefined;
79
- resourceInputs["processorName"] = args ? args.processorName : undefined;
80
- resourceInputs["projectId"] = args ? args.projectId : undefined;
81
- resourceInputs["state"] = args ? args.state : undefined;
76
+ resourceInputs["instanceName"] = args?.instanceName;
77
+ resourceInputs["options"] = args?.options;
78
+ resourceInputs["pipeline"] = args?.pipeline;
79
+ resourceInputs["processorName"] = args?.processorName;
80
+ resourceInputs["projectId"] = args?.projectId;
81
+ resourceInputs["state"] = args?.state;
82
82
  resourceInputs["stats"] = undefined /*out*/;
83
83
  }
84
84
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"streamProcessor.js","sourceRoot":"","sources":["../streamProcessor.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,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AAI,CAAC,CAAC;IACpE,CAAC;;AAvGL,0CAwGC;AA1FG,gBAAgB;AACO,4BAAY,GAAG,oDAAoD,CAAC"}
package/team.js CHANGED
@@ -51,7 +51,7 @@ class Team extends pulumi.CustomResource {
51
51
  * @param opts Optional settings to control the behavior of the CustomResource.
52
52
  */
53
53
  static get(name, id, state, opts) {
54
- return new Team(name, state, Object.assign(Object.assign({}, opts), { id: id }));
54
+ return new Team(name, state, { ...opts, id: id });
55
55
  }
56
56
  /**
57
57
  * Returns true if the given object is an instance of Team. This is designed to work even
@@ -68,22 +68,22 @@ class Team extends pulumi.CustomResource {
68
68
  opts = opts || {};
69
69
  if (opts.id) {
70
70
  const state = argsOrState;
71
- resourceInputs["name"] = state ? state.name : undefined;
72
- resourceInputs["orgId"] = state ? state.orgId : undefined;
73
- resourceInputs["teamId"] = state ? state.teamId : undefined;
74
- resourceInputs["usernames"] = state ? state.usernames : undefined;
71
+ resourceInputs["name"] = state?.name;
72
+ resourceInputs["orgId"] = state?.orgId;
73
+ resourceInputs["teamId"] = state?.teamId;
74
+ resourceInputs["usernames"] = state?.usernames;
75
75
  }
76
76
  else {
77
77
  const args = argsOrState;
78
- if ((!args || args.orgId === undefined) && !opts.urn) {
78
+ if (args?.orgId === undefined && !opts.urn) {
79
79
  throw new Error("Missing required property 'orgId'");
80
80
  }
81
- if ((!args || args.usernames === undefined) && !opts.urn) {
81
+ if (args?.usernames === undefined && !opts.urn) {
82
82
  throw new Error("Missing required property 'usernames'");
83
83
  }
84
- resourceInputs["name"] = args ? args.name : undefined;
85
- resourceInputs["orgId"] = args ? args.orgId : undefined;
86
- resourceInputs["usernames"] = args ? args.usernames : undefined;
84
+ resourceInputs["name"] = args?.name;
85
+ resourceInputs["orgId"] = args?.orgId;
86
+ resourceInputs["usernames"] = args?.usernames;
87
87
  resourceInputs["teamId"] = undefined /*out*/;
88
88
  }
89
89
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
package/team.js.map CHANGED
@@ -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KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7EL,oBA8EC;AAhEG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
package/teams.js CHANGED
@@ -21,7 +21,7 @@ class Teams extends pulumi.CustomResource {
21
21
  * @param opts Optional settings to control the behavior of the CustomResource.
22
22
  */
23
23
  static get(name, id, state, opts) {
24
- return new Teams(name, state, Object.assign(Object.assign({}, opts), { id: id }));
24
+ return new Teams(name, state, { ...opts, id: id });
25
25
  }
26
26
  /**
27
27
  * Returns true if the given object is an instance of Teams. This is designed to work even
@@ -38,22 +38,22 @@ class Teams extends pulumi.CustomResource {
38
38
  opts = opts || {};
39
39
  if (opts.id) {
40
40
  const state = argsOrState;
41
- resourceInputs["name"] = state ? state.name : undefined;
42
- resourceInputs["orgId"] = state ? state.orgId : undefined;
43
- resourceInputs["teamId"] = state ? state.teamId : undefined;
44
- resourceInputs["usernames"] = state ? state.usernames : undefined;
41
+ resourceInputs["name"] = state?.name;
42
+ resourceInputs["orgId"] = state?.orgId;
43
+ resourceInputs["teamId"] = state?.teamId;
44
+ resourceInputs["usernames"] = state?.usernames;
45
45
  }
46
46
  else {
47
47
  const args = argsOrState;
48
- if ((!args || args.orgId === undefined) && !opts.urn) {
48
+ if (args?.orgId === undefined && !opts.urn) {
49
49
  throw new Error("Missing required property 'orgId'");
50
50
  }
51
- if ((!args || args.usernames === undefined) && !opts.urn) {
51
+ if (args?.usernames === undefined && !opts.urn) {
52
52
  throw new Error("Missing required property 'usernames'");
53
53
  }
54
- resourceInputs["name"] = args ? args.name : undefined;
55
- resourceInputs["orgId"] = args ? args.orgId : undefined;
56
- resourceInputs["usernames"] = args ? args.usernames : undefined;
54
+ resourceInputs["name"] = args?.name;
55
+ resourceInputs["orgId"] = args?.orgId;
56
+ resourceInputs["usernames"] = args?.usernames;
57
57
  resourceInputs["teamId"] = undefined /*out*/;
58
58
  }
59
59
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
package/teams.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"teams.js","sourceRoot":"","sources":["../teams.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IAeD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;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