@pulumi/mongodbatlas 3.37.0-alpha.1756325783 → 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.
- package/accessListApiKey.js +11 -11
- package/accessListApiKey.js.map +1 -1
- package/advancedCluster.js +60 -60
- package/advancedCluster.js.map +1 -1
- package/alertConfiguration.js +20 -20
- package/alertConfiguration.js.map +1 -1
- package/apiKey.js +13 -13
- package/apiKey.js.map +1 -1
- package/apiKeyProjectAssignment.d.ts +3 -6
- package/apiKeyProjectAssignment.js +10 -10
- package/apiKeyProjectAssignment.js.map +1 -1
- package/auditing.js +11 -11
- package/auditing.js.map +1 -1
- package/backupCompliancePolicy.js +36 -36
- package/backupCompliancePolicy.js.map +1 -1
- package/cloudBackupSchedule.js +36 -36
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudBackupSnapshot.js +26 -26
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotExportBucket.js +19 -19
- package/cloudBackupSnapshotExportBucket.js.map +1 -1
- package/cloudBackupSnapshotExportJob.js +23 -23
- package/cloudBackupSnapshotExportJob.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.js +19 -19
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cloudProviderAccessAuthorization.js +13 -13
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.js +13 -13
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cluster.js +87 -87
- package/cluster.js.map +1 -1
- package/clusterOutageSimulation.js +13 -13
- package/clusterOutageSimulation.js.map +1 -1
- package/customDbRole.js +11 -11
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.js +7 -7
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLakePipeline.js +17 -17
- package/dataLakePipeline.js.map +1 -1
- package/databaseUser.js +28 -28
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.js +12 -12
- package/encryptionAtRest.js.map +1 -1
- package/encryptionAtRestPrivateEndpoint.js +13 -13
- package/encryptionAtRestPrivateEndpoint.js.map +1 -1
- package/eventTrigger.js +45 -45
- package/eventTrigger.js.map +1 -1
- package/federatedDatabaseInstance.js +16 -16
- package/federatedDatabaseInstance.js.map +1 -1
- package/federatedQueryLimit.js +22 -22
- package/federatedQueryLimit.js.map +1 -1
- package/federatedSettingsIdentityProvider.js +41 -41
- package/federatedSettingsIdentityProvider.js.map +1 -1
- package/federatedSettingsOrgConfig.js +19 -19
- package/federatedSettingsOrgConfig.js.map +1 -1
- package/federatedSettingsOrgRoleMapping.js +14 -14
- package/federatedSettingsOrgRoleMapping.js.map +1 -1
- package/flexCluster.js +20 -20
- package/flexCluster.js.map +1 -1
- package/globalClusterConfig.js +13 -13
- package/globalClusterConfig.js.map +1 -1
- package/ldapConfiguration.js +26 -26
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.js +24 -24
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.js +21 -21
- package/maintenanceWindow.js.map +1 -1
- package/mongodbEmployeeAccessGrant.js +13 -13
- package/mongodbEmployeeAccessGrant.js.map +1 -1
- package/networkContainer.js +22 -22
- package/networkContainer.js.map +1 -1
- package/networkPeering.js +44 -44
- package/networkPeering.js.map +1 -1
- package/onlineArchive.js +32 -32
- package/onlineArchive.js.map +1 -1
- package/orgInvitation.js +16 -16
- package/orgInvitation.js.map +1 -1
- package/organization.js +26 -26
- package/organization.js.map +1 -1
- package/package.json +2 -2
- package/privateEndpointRegionalMode.js +6 -6
- package/privateEndpointRegionalMode.js.map +1 -1
- package/privateLinkEndpoint.js +21 -21
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.js +28 -28
- package/privateLinkEndpointService.js.map +1 -1
- package/privatelinkEndpointServerless.js +14 -14
- package/privatelinkEndpointServerless.js.map +1 -1
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js +17 -17
- package/privatelinkEndpointServiceDataFederationOnlineArchive.js.map +1 -1
- package/privatelinkEndpointServiceServerless.js +21 -21
- package/privatelinkEndpointServiceServerless.js.map +1 -1
- package/project.js +35 -35
- package/project.js.map +1 -1
- package/projectApiKey.js +10 -10
- package/projectApiKey.js.map +1 -1
- package/projectInvitation.js +14 -14
- package/projectInvitation.js.map +1 -1
- package/projectIpAccessList.js +14 -14
- package/projectIpAccessList.js.map +1 -1
- package/provider.js +12 -12
- package/provider.js.map +1 -1
- package/pushBasedLogExport.js +16 -16
- package/pushBasedLogExport.js.map +1 -1
- package/resourcePolicy.js +16 -16
- package/resourcePolicy.js.map +1 -1
- package/searchDeployment.js +18 -18
- package/searchDeployment.js.map +1 -1
- package/searchIndex.js +37 -37
- package/searchIndex.js.map +1 -1
- package/serverlessInstance.js +31 -31
- package/serverlessInstance.js.map +1 -1
- package/streamConnection.js +35 -35
- package/streamConnection.js.map +1 -1
- package/streamInstance.js +13 -13
- package/streamInstance.js.map +1 -1
- package/streamPrivatelinkEndpoint.d.ts +42 -54
- package/streamPrivatelinkEndpoint.js +25 -25
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/streamProcessor.d.ts +11 -21
- package/streamProcessor.js +18 -18
- package/streamProcessor.js.map +1 -1
- package/team.js +10 -10
- package/team.js.map +1 -1
- package/teams.js +10 -10
- package/teams.js.map +1 -1
- package/thirdPartyIntegration.js +39 -39
- package/thirdPartyIntegration.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/x509authenticationDatabaseUser.js +12 -12
- 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:
|
|
69
|
-
*
|
|
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:
|
|
124
|
-
*
|
|
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:
|
|
146
|
-
*
|
|
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:
|
|
201
|
-
*
|
|
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:
|
|
215
|
-
*
|
|
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:
|
|
250
|
-
*
|
|
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,
|
|
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
|
|
82
|
-
resourceInputs["dnsDomain"] = state
|
|
83
|
-
resourceInputs["dnsSubDomains"] = state
|
|
84
|
-
resourceInputs["errorMessage"] = state
|
|
85
|
-
resourceInputs["interfaceEndpointId"] = state
|
|
86
|
-
resourceInputs["interfaceEndpointName"] = state
|
|
87
|
-
resourceInputs["projectId"] = state
|
|
88
|
-
resourceInputs["providerAccountId"] = state
|
|
89
|
-
resourceInputs["providerName"] = state
|
|
90
|
-
resourceInputs["region"] = state
|
|
91
|
-
resourceInputs["serviceEndpointId"] = state
|
|
92
|
-
resourceInputs["state"] = state
|
|
93
|
-
resourceInputs["vendor"] = state
|
|
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 (
|
|
97
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
98
98
|
throw new Error("Missing required property 'projectId'");
|
|
99
99
|
}
|
|
100
|
-
if (
|
|
100
|
+
if (args?.providerName === undefined && !opts.urn) {
|
|
101
101
|
throw new Error("Missing required property 'providerName'");
|
|
102
102
|
}
|
|
103
|
-
if (
|
|
103
|
+
if (args?.vendor === undefined && !opts.urn) {
|
|
104
104
|
throw new Error("Missing required property 'vendor'");
|
|
105
105
|
}
|
|
106
|
-
resourceInputs["arn"] = args
|
|
107
|
-
resourceInputs["dnsDomain"] = args
|
|
108
|
-
resourceInputs["dnsSubDomains"] = args
|
|
109
|
-
resourceInputs["projectId"] = args
|
|
110
|
-
resourceInputs["providerName"] = args
|
|
111
|
-
resourceInputs["region"] = args
|
|
112
|
-
resourceInputs["serviceEndpointId"] = args
|
|
113
|
-
resourceInputs["vendor"] = args
|
|
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,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAsC,EAAE,IAAmC;QACpI,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAO,KAAK,
|
|
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,GAAG,CAAC,IA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O,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"}
|
package/streamProcessor.d.ts
CHANGED
|
@@ -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
|
-
*
|
|
61
|
-
*
|
|
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
|
-
*
|
|
108
|
-
*
|
|
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
|
-
*
|
|
147
|
-
*
|
|
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
|
}
|
package/streamProcessor.js
CHANGED
|
@@ -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,
|
|
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
|
|
55
|
-
resourceInputs["options"] = state
|
|
56
|
-
resourceInputs["pipeline"] = state
|
|
57
|
-
resourceInputs["processorName"] = state
|
|
58
|
-
resourceInputs["projectId"] = state
|
|
59
|
-
resourceInputs["state"] = state
|
|
60
|
-
resourceInputs["stats"] = state
|
|
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 (
|
|
64
|
+
if (args?.instanceName === undefined && !opts.urn) {
|
|
65
65
|
throw new Error("Missing required property 'instanceName'");
|
|
66
66
|
}
|
|
67
|
-
if (
|
|
67
|
+
if (args?.pipeline === undefined && !opts.urn) {
|
|
68
68
|
throw new Error("Missing required property 'pipeline'");
|
|
69
69
|
}
|
|
70
|
-
if (
|
|
70
|
+
if (args?.processorName === undefined && !opts.urn) {
|
|
71
71
|
throw new Error("Missing required property 'processorName'");
|
|
72
72
|
}
|
|
73
|
-
if (
|
|
73
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
74
74
|
throw new Error("Missing required property 'projectId'");
|
|
75
75
|
}
|
|
76
|
-
resourceInputs["instanceName"] = args
|
|
77
|
-
resourceInputs["options"] = args
|
|
78
|
-
resourceInputs["pipeline"] = args
|
|
79
|
-
resourceInputs["processorName"] = args
|
|
80
|
-
resourceInputs["projectId"] = args
|
|
81
|
-
resourceInputs["state"] = args
|
|
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);
|
package/streamProcessor.js.map
CHANGED
|
@@ -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,
|
|
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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,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;IAyCD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,I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C;YAC1C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,EAAE,KAAK,CAAC;YACtC,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,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,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,
|
|
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
|
|
72
|
-
resourceInputs["orgId"] = state
|
|
73
|
-
resourceInputs["teamId"] = state
|
|
74
|
-
resourceInputs["usernames"] = state
|
|
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 (
|
|
78
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
79
79
|
throw new Error("Missing required property 'orgId'");
|
|
80
80
|
}
|
|
81
|
-
if (
|
|
81
|
+
if (args?.usernames === undefined && !opts.urn) {
|
|
82
82
|
throw new Error("Missing required property 'usernames'");
|
|
83
83
|
}
|
|
84
|
-
resourceInputs["name"] = args
|
|
85
|
-
resourceInputs["orgId"] = args
|
|
86
|
-
resourceInputs["usernames"] = args
|
|
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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC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,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,
|
|
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
|
|
42
|
-
resourceInputs["orgId"] = state
|
|
43
|
-
resourceInputs["teamId"] = state
|
|
44
|
-
resourceInputs["usernames"] = state
|
|
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 (
|
|
48
|
+
if (args?.orgId === undefined && !opts.urn) {
|
|
49
49
|
throw new Error("Missing required property 'orgId'");
|
|
50
50
|
}
|
|
51
|
-
if (
|
|
51
|
+
if (args?.usernames === undefined && !opts.urn) {
|
|
52
52
|
throw new Error("Missing required property 'usernames'");
|
|
53
53
|
}
|
|
54
|
-
resourceInputs["name"] = args
|
|
55
|
-
resourceInputs["orgId"] = args
|
|
56
|
-
resourceInputs["usernames"] = args
|
|
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,
|
|
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,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5D,CAAC;IAKD;;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