@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.
- 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
package/dataLakePipeline.js
CHANGED
|
@@ -35,7 +35,7 @@ class DataLakePipeline extends pulumi.CustomResource {
|
|
|
35
35
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
36
36
|
*/
|
|
37
37
|
static get(name, id, state, opts) {
|
|
38
|
-
return new DataLakePipeline(name, state,
|
|
38
|
+
return new DataLakePipeline(name, state, { ...opts, id: id });
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* Returns true if the given object is an instance of DataLakePipeline. This is designed to work even
|
|
@@ -52,27 +52,27 @@ class DataLakePipeline extends pulumi.CustomResource {
|
|
|
52
52
|
opts = opts || {};
|
|
53
53
|
if (opts.id) {
|
|
54
54
|
const state = argsOrState;
|
|
55
|
-
resourceInputs["createdDate"] = state
|
|
56
|
-
resourceInputs["ingestionSchedules"] = state
|
|
57
|
-
resourceInputs["lastUpdatedDate"] = state
|
|
58
|
-
resourceInputs["name"] = state
|
|
59
|
-
resourceInputs["projectId"] = state
|
|
60
|
-
resourceInputs["sink"] = state
|
|
61
|
-
resourceInputs["snapshots"] = state
|
|
62
|
-
resourceInputs["source"] = state
|
|
63
|
-
resourceInputs["state"] = state
|
|
64
|
-
resourceInputs["transformations"] = state
|
|
55
|
+
resourceInputs["createdDate"] = state?.createdDate;
|
|
56
|
+
resourceInputs["ingestionSchedules"] = state?.ingestionSchedules;
|
|
57
|
+
resourceInputs["lastUpdatedDate"] = state?.lastUpdatedDate;
|
|
58
|
+
resourceInputs["name"] = state?.name;
|
|
59
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
60
|
+
resourceInputs["sink"] = state?.sink;
|
|
61
|
+
resourceInputs["snapshots"] = state?.snapshots;
|
|
62
|
+
resourceInputs["source"] = state?.source;
|
|
63
|
+
resourceInputs["state"] = state?.state;
|
|
64
|
+
resourceInputs["transformations"] = state?.transformations;
|
|
65
65
|
}
|
|
66
66
|
else {
|
|
67
67
|
const args = argsOrState;
|
|
68
|
-
if (
|
|
68
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
69
69
|
throw new Error("Missing required property 'projectId'");
|
|
70
70
|
}
|
|
71
|
-
resourceInputs["name"] = args
|
|
72
|
-
resourceInputs["projectId"] = args
|
|
73
|
-
resourceInputs["sink"] = args
|
|
74
|
-
resourceInputs["source"] = args
|
|
75
|
-
resourceInputs["transformations"] = args
|
|
71
|
+
resourceInputs["name"] = args?.name;
|
|
72
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
73
|
+
resourceInputs["sink"] = args?.sink;
|
|
74
|
+
resourceInputs["source"] = args?.source;
|
|
75
|
+
resourceInputs["transformations"] = args?.transformations;
|
|
76
76
|
resourceInputs["createdDate"] = undefined /*out*/;
|
|
77
77
|
resourceInputs["ingestionSchedules"] = undefined /*out*/;
|
|
78
78
|
resourceInputs["lastUpdatedDate"] = undefined /*out*/;
|
package/dataLakePipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataLakePipeline.js","sourceRoot":"","sources":["../dataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"dataLakePipeline.js","sourceRoot":"","sources":["../dataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,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cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,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,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7HL,4CA8HC;AAhHG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
package/databaseUser.js
CHANGED
|
@@ -154,7 +154,7 @@ class DatabaseUser extends pulumi.CustomResource {
|
|
|
154
154
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
155
155
|
*/
|
|
156
156
|
static get(name, id, state, opts) {
|
|
157
|
-
return new DatabaseUser(name, state,
|
|
157
|
+
return new DatabaseUser(name, state, { ...opts, id: id });
|
|
158
158
|
}
|
|
159
159
|
/**
|
|
160
160
|
* Returns true if the given object is an instance of DatabaseUser. This is designed to work even
|
|
@@ -171,42 +171,42 @@ class DatabaseUser extends pulumi.CustomResource {
|
|
|
171
171
|
opts = opts || {};
|
|
172
172
|
if (opts.id) {
|
|
173
173
|
const state = argsOrState;
|
|
174
|
-
resourceInputs["authDatabaseName"] = state
|
|
175
|
-
resourceInputs["awsIamType"] = state
|
|
176
|
-
resourceInputs["description"] = state
|
|
177
|
-
resourceInputs["labels"] = state
|
|
178
|
-
resourceInputs["ldapAuthType"] = state
|
|
179
|
-
resourceInputs["oidcAuthType"] = state
|
|
180
|
-
resourceInputs["password"] = state
|
|
181
|
-
resourceInputs["projectId"] = state
|
|
182
|
-
resourceInputs["roles"] = state
|
|
183
|
-
resourceInputs["scopes"] = state
|
|
184
|
-
resourceInputs["username"] = state
|
|
185
|
-
resourceInputs["x509Type"] = state
|
|
174
|
+
resourceInputs["authDatabaseName"] = state?.authDatabaseName;
|
|
175
|
+
resourceInputs["awsIamType"] = state?.awsIamType;
|
|
176
|
+
resourceInputs["description"] = state?.description;
|
|
177
|
+
resourceInputs["labels"] = state?.labels;
|
|
178
|
+
resourceInputs["ldapAuthType"] = state?.ldapAuthType;
|
|
179
|
+
resourceInputs["oidcAuthType"] = state?.oidcAuthType;
|
|
180
|
+
resourceInputs["password"] = state?.password;
|
|
181
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
182
|
+
resourceInputs["roles"] = state?.roles;
|
|
183
|
+
resourceInputs["scopes"] = state?.scopes;
|
|
184
|
+
resourceInputs["username"] = state?.username;
|
|
185
|
+
resourceInputs["x509Type"] = state?.x509Type;
|
|
186
186
|
}
|
|
187
187
|
else {
|
|
188
188
|
const args = argsOrState;
|
|
189
|
-
if (
|
|
189
|
+
if (args?.authDatabaseName === undefined && !opts.urn) {
|
|
190
190
|
throw new Error("Missing required property 'authDatabaseName'");
|
|
191
191
|
}
|
|
192
|
-
if (
|
|
192
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
193
193
|
throw new Error("Missing required property 'projectId'");
|
|
194
194
|
}
|
|
195
|
-
if (
|
|
195
|
+
if (args?.username === undefined && !opts.urn) {
|
|
196
196
|
throw new Error("Missing required property 'username'");
|
|
197
197
|
}
|
|
198
|
-
resourceInputs["authDatabaseName"] = args
|
|
199
|
-
resourceInputs["awsIamType"] = args
|
|
200
|
-
resourceInputs["description"] = args
|
|
201
|
-
resourceInputs["labels"] = args
|
|
202
|
-
resourceInputs["ldapAuthType"] = args
|
|
203
|
-
resourceInputs["oidcAuthType"] = args
|
|
204
|
-
resourceInputs["password"] =
|
|
205
|
-
resourceInputs["projectId"] = args
|
|
206
|
-
resourceInputs["roles"] = args
|
|
207
|
-
resourceInputs["scopes"] = args
|
|
208
|
-
resourceInputs["username"] = args
|
|
209
|
-
resourceInputs["x509Type"] = args
|
|
198
|
+
resourceInputs["authDatabaseName"] = args?.authDatabaseName;
|
|
199
|
+
resourceInputs["awsIamType"] = args?.awsIamType;
|
|
200
|
+
resourceInputs["description"] = args?.description;
|
|
201
|
+
resourceInputs["labels"] = args?.labels;
|
|
202
|
+
resourceInputs["ldapAuthType"] = args?.ldapAuthType;
|
|
203
|
+
resourceInputs["oidcAuthType"] = args?.oidcAuthType;
|
|
204
|
+
resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
|
|
205
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
206
|
+
resourceInputs["roles"] = args?.roles;
|
|
207
|
+
resourceInputs["scopes"] = args?.scopes;
|
|
208
|
+
resourceInputs["username"] = args?.username;
|
|
209
|
+
resourceInputs["x509Type"] = args?.x509Type;
|
|
210
210
|
}
|
|
211
211
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
212
212
|
const secretOpts = { additionalSecretOutputs: ["password"] };
|
package/databaseUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseUser.js","sourceRoot":"","sources":["../databaseUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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est extends pulumi.CustomResource {
|
|
|
16
16
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
17
|
*/
|
|
18
18
|
static get(name, id, state, opts) {
|
|
19
|
-
return new EncryptionAtRest(name, state,
|
|
19
|
+
return new EncryptionAtRest(name, state, { ...opts, id: id });
|
|
20
20
|
}
|
|
21
21
|
/**
|
|
22
22
|
* Returns true if the given object is an instance of EncryptionAtRest. This is designed to work even
|
|
@@ -33,22 +33,22 @@ class EncryptionAtRest extends pulumi.CustomResource {
|
|
|
33
33
|
opts = opts || {};
|
|
34
34
|
if (opts.id) {
|
|
35
35
|
const state = argsOrState;
|
|
36
|
-
resourceInputs["awsKmsConfig"] = state
|
|
37
|
-
resourceInputs["azureKeyVaultConfig"] = state
|
|
38
|
-
resourceInputs["enabledForSearchNodes"] = state
|
|
39
|
-
resourceInputs["googleCloudKmsConfig"] = state
|
|
40
|
-
resourceInputs["projectId"] = state
|
|
36
|
+
resourceInputs["awsKmsConfig"] = state?.awsKmsConfig;
|
|
37
|
+
resourceInputs["azureKeyVaultConfig"] = state?.azureKeyVaultConfig;
|
|
38
|
+
resourceInputs["enabledForSearchNodes"] = state?.enabledForSearchNodes;
|
|
39
|
+
resourceInputs["googleCloudKmsConfig"] = state?.googleCloudKmsConfig;
|
|
40
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
41
41
|
}
|
|
42
42
|
else {
|
|
43
43
|
const args = argsOrState;
|
|
44
|
-
if (
|
|
44
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
45
45
|
throw new Error("Missing required property 'projectId'");
|
|
46
46
|
}
|
|
47
|
-
resourceInputs["awsKmsConfig"] = args
|
|
48
|
-
resourceInputs["azureKeyVaultConfig"] = args
|
|
49
|
-
resourceInputs["enabledForSearchNodes"] = args
|
|
50
|
-
resourceInputs["googleCloudKmsConfig"] = args
|
|
51
|
-
resourceInputs["projectId"] = args
|
|
47
|
+
resourceInputs["awsKmsConfig"] = args?.awsKmsConfig;
|
|
48
|
+
resourceInputs["azureKeyVaultConfig"] = args?.azureKeyVaultConfig;
|
|
49
|
+
resourceInputs["enabledForSearchNodes"] = args?.enabledForSearchNodes;
|
|
50
|
+
resourceInputs["googleCloudKmsConfig"] = args?.googleCloudKmsConfig;
|
|
51
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
52
52
|
}
|
|
53
53
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
54
54
|
super(EncryptionAtRest.__pulumiType, name, resourceInputs, opts);
|
package/encryptionAtRest.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionAtRest.js","sourceRoot":"","sources":["../encryptionAtRest.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"encryptionAtRest.js","sourceRoot":"","sources":["../encryptionAtRest.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC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AC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAhFL,4CAiFC;AAnEG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
|
@@ -113,7 +113,7 @@ class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResource {
|
|
|
113
113
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
114
114
|
*/
|
|
115
115
|
static get(name, id, state, opts) {
|
|
116
|
-
return new EncryptionAtRestPrivateEndpoint(name, state,
|
|
116
|
+
return new EncryptionAtRestPrivateEndpoint(name, state, { ...opts, id: id });
|
|
117
117
|
}
|
|
118
118
|
/**
|
|
119
119
|
* Returns true if the given object is an instance of EncryptionAtRestPrivateEndpoint. This is designed to work even
|
|
@@ -130,27 +130,27 @@ class EncryptionAtRestPrivateEndpoint extends pulumi.CustomResource {
|
|
|
130
130
|
opts = opts || {};
|
|
131
131
|
if (opts.id) {
|
|
132
132
|
const state = argsOrState;
|
|
133
|
-
resourceInputs["cloudProvider"] = state
|
|
134
|
-
resourceInputs["errorMessage"] = state
|
|
135
|
-
resourceInputs["privateEndpointConnectionName"] = state
|
|
136
|
-
resourceInputs["projectId"] = state
|
|
137
|
-
resourceInputs["regionName"] = state
|
|
138
|
-
resourceInputs["status"] = state
|
|
133
|
+
resourceInputs["cloudProvider"] = state?.cloudProvider;
|
|
134
|
+
resourceInputs["errorMessage"] = state?.errorMessage;
|
|
135
|
+
resourceInputs["privateEndpointConnectionName"] = state?.privateEndpointConnectionName;
|
|
136
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
137
|
+
resourceInputs["regionName"] = state?.regionName;
|
|
138
|
+
resourceInputs["status"] = state?.status;
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
141
141
|
const args = argsOrState;
|
|
142
|
-
if (
|
|
142
|
+
if (args?.cloudProvider === undefined && !opts.urn) {
|
|
143
143
|
throw new Error("Missing required property 'cloudProvider'");
|
|
144
144
|
}
|
|
145
|
-
if (
|
|
145
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
146
146
|
throw new Error("Missing required property 'projectId'");
|
|
147
147
|
}
|
|
148
|
-
if (
|
|
148
|
+
if (args?.regionName === undefined && !opts.urn) {
|
|
149
149
|
throw new Error("Missing required property 'regionName'");
|
|
150
150
|
}
|
|
151
|
-
resourceInputs["cloudProvider"] = args
|
|
152
|
-
resourceInputs["projectId"] = args
|
|
153
|
-
resourceInputs["regionName"] = args
|
|
151
|
+
resourceInputs["cloudProvider"] = args?.cloudProvider;
|
|
152
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
153
|
+
resourceInputs["regionName"] = args?.regionName;
|
|
154
154
|
resourceInputs["errorMessage"] = undefined /*out*/;
|
|
155
155
|
resourceInputs["privateEndpointConnectionName"] = undefined /*out*/;
|
|
156
156
|
resourceInputs["status"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgGG;AACH,MAAa,+BAAgC,SAAQ,MAAM,CAAC,cAAc;IACtE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4C,EAAE,IAAmC;QAC1I,OAAO,IAAI,+BAA+B,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"encryptionAtRestPrivateEndpoint.js","sourceRoot":"","sources":["../encryptionAtRestPrivateEndpoint.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;A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AC;YAC5E,IAAI,IAAI,EAAE,aAAa,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAChD,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,IAAI,IAAI,EAAE,UAAU,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC7C,MAAM,IAAI,KAAK,CAAC,wCAAwC,CAAC,CAAC;aAC7D;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,+BAA+B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpE,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,+BAA+B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpF,CAAC;;AA5FL,0EA6FC;AA/EG,gBAAgB;AACO,4CAAY,GAAG,oFAAoF,CAAC"}
|
package/eventTrigger.js
CHANGED
|
@@ -141,7 +141,7 @@ class EventTrigger extends pulumi.CustomResource {
|
|
|
141
141
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
142
142
|
*/
|
|
143
143
|
static get(name, id, state, opts) {
|
|
144
|
-
return new EventTrigger(name, state,
|
|
144
|
+
return new EventTrigger(name, state, { ...opts, id: id });
|
|
145
145
|
}
|
|
146
146
|
/**
|
|
147
147
|
* Returns true if the given object is an instance of EventTrigger. This is designed to work even
|
|
@@ -158,59 +158,59 @@ class EventTrigger extends pulumi.CustomResource {
|
|
|
158
158
|
opts = opts || {};
|
|
159
159
|
if (opts.id) {
|
|
160
160
|
const state = argsOrState;
|
|
161
|
-
resourceInputs["appId"] = state
|
|
162
|
-
resourceInputs["configCollection"] = state
|
|
163
|
-
resourceInputs["configDatabase"] = state
|
|
164
|
-
resourceInputs["configFullDocument"] = state
|
|
165
|
-
resourceInputs["configFullDocumentBefore"] = state
|
|
166
|
-
resourceInputs["configMatch"] = state
|
|
167
|
-
resourceInputs["configOperationType"] = state
|
|
168
|
-
resourceInputs["configOperationTypes"] = state
|
|
169
|
-
resourceInputs["configProject"] = state
|
|
170
|
-
resourceInputs["configProviders"] = state
|
|
171
|
-
resourceInputs["configSchedule"] = state
|
|
172
|
-
resourceInputs["configScheduleType"] = state
|
|
173
|
-
resourceInputs["configServiceId"] = state
|
|
174
|
-
resourceInputs["disabled"] = state
|
|
175
|
-
resourceInputs["eventProcessors"] = state
|
|
176
|
-
resourceInputs["functionId"] = state
|
|
177
|
-
resourceInputs["functionName"] = state
|
|
178
|
-
resourceInputs["name"] = state
|
|
179
|
-
resourceInputs["projectId"] = state
|
|
180
|
-
resourceInputs["triggerId"] = state
|
|
181
|
-
resourceInputs["type"] = state
|
|
182
|
-
resourceInputs["unordered"] = state
|
|
161
|
+
resourceInputs["appId"] = state?.appId;
|
|
162
|
+
resourceInputs["configCollection"] = state?.configCollection;
|
|
163
|
+
resourceInputs["configDatabase"] = state?.configDatabase;
|
|
164
|
+
resourceInputs["configFullDocument"] = state?.configFullDocument;
|
|
165
|
+
resourceInputs["configFullDocumentBefore"] = state?.configFullDocumentBefore;
|
|
166
|
+
resourceInputs["configMatch"] = state?.configMatch;
|
|
167
|
+
resourceInputs["configOperationType"] = state?.configOperationType;
|
|
168
|
+
resourceInputs["configOperationTypes"] = state?.configOperationTypes;
|
|
169
|
+
resourceInputs["configProject"] = state?.configProject;
|
|
170
|
+
resourceInputs["configProviders"] = state?.configProviders;
|
|
171
|
+
resourceInputs["configSchedule"] = state?.configSchedule;
|
|
172
|
+
resourceInputs["configScheduleType"] = state?.configScheduleType;
|
|
173
|
+
resourceInputs["configServiceId"] = state?.configServiceId;
|
|
174
|
+
resourceInputs["disabled"] = state?.disabled;
|
|
175
|
+
resourceInputs["eventProcessors"] = state?.eventProcessors;
|
|
176
|
+
resourceInputs["functionId"] = state?.functionId;
|
|
177
|
+
resourceInputs["functionName"] = state?.functionName;
|
|
178
|
+
resourceInputs["name"] = state?.name;
|
|
179
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
180
|
+
resourceInputs["triggerId"] = state?.triggerId;
|
|
181
|
+
resourceInputs["type"] = state?.type;
|
|
182
|
+
resourceInputs["unordered"] = state?.unordered;
|
|
183
183
|
}
|
|
184
184
|
else {
|
|
185
185
|
const args = argsOrState;
|
|
186
|
-
if (
|
|
186
|
+
if (args?.appId === undefined && !opts.urn) {
|
|
187
187
|
throw new Error("Missing required property 'appId'");
|
|
188
188
|
}
|
|
189
|
-
if (
|
|
189
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
190
190
|
throw new Error("Missing required property 'projectId'");
|
|
191
191
|
}
|
|
192
|
-
if (
|
|
192
|
+
if (args?.type === undefined && !opts.urn) {
|
|
193
193
|
throw new Error("Missing required property 'type'");
|
|
194
194
|
}
|
|
195
|
-
resourceInputs["appId"] = args
|
|
196
|
-
resourceInputs["configCollection"] = args
|
|
197
|
-
resourceInputs["configDatabase"] = args
|
|
198
|
-
resourceInputs["configFullDocument"] = args
|
|
199
|
-
resourceInputs["configFullDocumentBefore"] = args
|
|
200
|
-
resourceInputs["configMatch"] = args
|
|
201
|
-
resourceInputs["configOperationType"] = args
|
|
202
|
-
resourceInputs["configOperationTypes"] = args
|
|
203
|
-
resourceInputs["configProject"] = args
|
|
204
|
-
resourceInputs["configProviders"] = args
|
|
205
|
-
resourceInputs["configSchedule"] = args
|
|
206
|
-
resourceInputs["configServiceId"] = args
|
|
207
|
-
resourceInputs["disabled"] = args
|
|
208
|
-
resourceInputs["eventProcessors"] = args
|
|
209
|
-
resourceInputs["functionId"] = args
|
|
210
|
-
resourceInputs["name"] = args
|
|
211
|
-
resourceInputs["projectId"] = args
|
|
212
|
-
resourceInputs["type"] = args
|
|
213
|
-
resourceInputs["unordered"] = args
|
|
195
|
+
resourceInputs["appId"] = args?.appId;
|
|
196
|
+
resourceInputs["configCollection"] = args?.configCollection;
|
|
197
|
+
resourceInputs["configDatabase"] = args?.configDatabase;
|
|
198
|
+
resourceInputs["configFullDocument"] = args?.configFullDocument;
|
|
199
|
+
resourceInputs["configFullDocumentBefore"] = args?.configFullDocumentBefore;
|
|
200
|
+
resourceInputs["configMatch"] = args?.configMatch;
|
|
201
|
+
resourceInputs["configOperationType"] = args?.configOperationType;
|
|
202
|
+
resourceInputs["configOperationTypes"] = args?.configOperationTypes;
|
|
203
|
+
resourceInputs["configProject"] = args?.configProject;
|
|
204
|
+
resourceInputs["configProviders"] = args?.configProviders;
|
|
205
|
+
resourceInputs["configSchedule"] = args?.configSchedule;
|
|
206
|
+
resourceInputs["configServiceId"] = args?.configServiceId;
|
|
207
|
+
resourceInputs["disabled"] = args?.disabled;
|
|
208
|
+
resourceInputs["eventProcessors"] = args?.eventProcessors;
|
|
209
|
+
resourceInputs["functionId"] = args?.functionId;
|
|
210
|
+
resourceInputs["name"] = args?.name;
|
|
211
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
212
|
+
resourceInputs["type"] = args?.type;
|
|
213
|
+
resourceInputs["unordered"] = args?.unordered;
|
|
214
214
|
resourceInputs["configScheduleType"] = undefined /*out*/;
|
|
215
215
|
resourceInputs["functionName"] = undefined /*out*/;
|
|
216
216
|
resourceInputs["triggerId"] = undefined /*out*/;
|
package/eventTrigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"eventTrigger.js","sourceRoot":"","sources":["../eventTrigger.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4HG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACnE,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,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GAAG,8CAA8C,CAAC"}
|
|
@@ -192,7 +192,7 @@ class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
|
192
192
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
193
193
|
*/
|
|
194
194
|
static get(name, id, state, opts) {
|
|
195
|
-
return new FederatedDatabaseInstance(name, state,
|
|
195
|
+
return new FederatedDatabaseInstance(name, state, { ...opts, id: id });
|
|
196
196
|
}
|
|
197
197
|
/**
|
|
198
198
|
* Returns true if the given object is an instance of FederatedDatabaseInstance. This is designed to work even
|
|
@@ -209,26 +209,26 @@ class FederatedDatabaseInstance extends pulumi.CustomResource {
|
|
|
209
209
|
opts = opts || {};
|
|
210
210
|
if (opts.id) {
|
|
211
211
|
const state = argsOrState;
|
|
212
|
-
resourceInputs["cloudProviderConfig"] = state
|
|
213
|
-
resourceInputs["dataProcessRegion"] = state
|
|
214
|
-
resourceInputs["hostnames"] = state
|
|
215
|
-
resourceInputs["name"] = state
|
|
216
|
-
resourceInputs["projectId"] = state
|
|
217
|
-
resourceInputs["state"] = state
|
|
218
|
-
resourceInputs["storageDatabases"] = state
|
|
219
|
-
resourceInputs["storageStores"] = state
|
|
212
|
+
resourceInputs["cloudProviderConfig"] = state?.cloudProviderConfig;
|
|
213
|
+
resourceInputs["dataProcessRegion"] = state?.dataProcessRegion;
|
|
214
|
+
resourceInputs["hostnames"] = state?.hostnames;
|
|
215
|
+
resourceInputs["name"] = state?.name;
|
|
216
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
217
|
+
resourceInputs["state"] = state?.state;
|
|
218
|
+
resourceInputs["storageDatabases"] = state?.storageDatabases;
|
|
219
|
+
resourceInputs["storageStores"] = state?.storageStores;
|
|
220
220
|
}
|
|
221
221
|
else {
|
|
222
222
|
const args = argsOrState;
|
|
223
|
-
if (
|
|
223
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
224
224
|
throw new Error("Missing required property 'projectId'");
|
|
225
225
|
}
|
|
226
|
-
resourceInputs["cloudProviderConfig"] = args
|
|
227
|
-
resourceInputs["dataProcessRegion"] = args
|
|
228
|
-
resourceInputs["name"] = args
|
|
229
|
-
resourceInputs["projectId"] = args
|
|
230
|
-
resourceInputs["storageDatabases"] = args
|
|
231
|
-
resourceInputs["storageStores"] = args
|
|
226
|
+
resourceInputs["cloudProviderConfig"] = args?.cloudProviderConfig;
|
|
227
|
+
resourceInputs["dataProcessRegion"] = args?.dataProcessRegion;
|
|
228
|
+
resourceInputs["name"] = args?.name;
|
|
229
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
230
|
+
resourceInputs["storageDatabases"] = args?.storageDatabases;
|
|
231
|
+
resourceInputs["storageStores"] = args?.storageStores;
|
|
232
232
|
resourceInputs["hostnames"] = undefined /*out*/;
|
|
233
233
|
resourceInputs["state"] = undefined /*out*/;
|
|
234
234
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"federatedDatabaseInstance.js","sourceRoot":"","sources":["../federatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+KG;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":"federatedDatabaseInstance.js","sourceRoot":"","sources":["../federatedDatabaseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAE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Resource {
|
|
|
50
50
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
51
51
|
*/
|
|
52
52
|
static get(name, id, state, opts) {
|
|
53
|
-
return new FederatedQueryLimit(name, state,
|
|
53
|
+
return new FederatedQueryLimit(name, state, { ...opts, id: id });
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Returns true if the given object is an instance of FederatedQueryLimit. This is designed to work even
|
|
@@ -67,40 +67,40 @@ class FederatedQueryLimit extends pulumi.CustomResource {
|
|
|
67
67
|
opts = opts || {};
|
|
68
68
|
if (opts.id) {
|
|
69
69
|
const state = argsOrState;
|
|
70
|
-
resourceInputs["currentUsage"] = state
|
|
71
|
-
resourceInputs["defaultLimit"] = state
|
|
72
|
-
resourceInputs["lastModifiedDate"] = state
|
|
73
|
-
resourceInputs["limitName"] = state
|
|
74
|
-
resourceInputs["maximumLimit"] = state
|
|
75
|
-
resourceInputs["overrunPolicy"] = state
|
|
76
|
-
resourceInputs["projectId"] = state
|
|
77
|
-
resourceInputs["tenantName"] = state
|
|
78
|
-
resourceInputs["value"] = state
|
|
70
|
+
resourceInputs["currentUsage"] = state?.currentUsage;
|
|
71
|
+
resourceInputs["defaultLimit"] = state?.defaultLimit;
|
|
72
|
+
resourceInputs["lastModifiedDate"] = state?.lastModifiedDate;
|
|
73
|
+
resourceInputs["limitName"] = state?.limitName;
|
|
74
|
+
resourceInputs["maximumLimit"] = state?.maximumLimit;
|
|
75
|
+
resourceInputs["overrunPolicy"] = state?.overrunPolicy;
|
|
76
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
77
|
+
resourceInputs["tenantName"] = state?.tenantName;
|
|
78
|
+
resourceInputs["value"] = state?.value;
|
|
79
79
|
}
|
|
80
80
|
else {
|
|
81
81
|
const args = argsOrState;
|
|
82
|
-
if (
|
|
82
|
+
if (args?.limitName === undefined && !opts.urn) {
|
|
83
83
|
throw new Error("Missing required property 'limitName'");
|
|
84
84
|
}
|
|
85
|
-
if (
|
|
85
|
+
if (args?.overrunPolicy === undefined && !opts.urn) {
|
|
86
86
|
throw new Error("Missing required property 'overrunPolicy'");
|
|
87
87
|
}
|
|
88
|
-
if (
|
|
88
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
89
89
|
throw new Error("Missing required property 'projectId'");
|
|
90
90
|
}
|
|
91
|
-
if (
|
|
91
|
+
if (args?.tenantName === undefined && !opts.urn) {
|
|
92
92
|
throw new Error("Missing required property 'tenantName'");
|
|
93
93
|
}
|
|
94
|
-
if (
|
|
94
|
+
if (args?.value === undefined && !opts.urn) {
|
|
95
95
|
throw new Error("Missing required property 'value'");
|
|
96
96
|
}
|
|
97
|
-
resourceInputs["defaultLimit"] = args
|
|
98
|
-
resourceInputs["limitName"] = args
|
|
99
|
-
resourceInputs["maximumLimit"] = args
|
|
100
|
-
resourceInputs["overrunPolicy"] = args
|
|
101
|
-
resourceInputs["projectId"] = args
|
|
102
|
-
resourceInputs["tenantName"] = args
|
|
103
|
-
resourceInputs["value"] = args
|
|
97
|
+
resourceInputs["defaultLimit"] = args?.defaultLimit;
|
|
98
|
+
resourceInputs["limitName"] = args?.limitName;
|
|
99
|
+
resourceInputs["maximumLimit"] = args?.maximumLimit;
|
|
100
|
+
resourceInputs["overrunPolicy"] = args?.overrunPolicy;
|
|
101
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
102
|
+
resourceInputs["tenantName"] = args?.tenantName;
|
|
103
|
+
resourceInputs["value"] = args?.value;
|
|
104
104
|
resourceInputs["currentUsage"] = undefined /*out*/;
|
|
105
105
|
resourceInputs["lastModifiedDate"] = undefined /*out*/;
|
|
106
106
|
}
|