@pulumi/mongodbatlas 3.36.0 → 3.36.1-alpha.1761153782
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.d.ts +7 -0
- package/cluster.js +94 -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.d.ts +2 -0
- package/dataLakePipeline.js +19 -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/get509AuthenticationDatabaseUser.d.ts +4 -0
- package/get509AuthenticationDatabaseUser.js +4 -0
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAccessListApiKey.d.ts +8 -0
- package/getAccessListApiKey.js +8 -0
- package/getAccessListApiKey.js.map +1 -1
- package/getAccessListApiKeys.d.ts +8 -0
- package/getAccessListApiKeys.js +8 -0
- package/getAccessListApiKeys.js.map +1 -1
- package/getAlertConfiguration.d.ts +0 -38
- package/getAlertConfiguration.js +0 -38
- package/getAlertConfiguration.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +8 -0
- package/getCloudBackupSnapshotRestoreJob.js +8 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudBackupSnapshots.d.ts +4 -0
- package/getCloudBackupSnapshots.js +4 -0
- package/getCloudBackupSnapshots.js.map +1 -1
- package/getCustomDbRoles.d.ts +4 -0
- package/getCustomDbRoles.js +4 -0
- package/getCustomDbRoles.js.map +1 -1
- package/getDataLakePipeline.d.ts +4 -0
- package/getDataLakePipeline.js +4 -0
- package/getDataLakePipeline.js.map +1 -1
- package/getDataLakePipelineRun.d.ts +4 -0
- package/getDataLakePipelineRun.js +4 -0
- package/getDataLakePipelineRun.js.map +1 -1
- package/getDataLakePipelineRuns.d.ts +4 -0
- package/getDataLakePipelineRuns.js +4 -0
- package/getDataLakePipelineRuns.js.map +1 -1
- package/getFederatedDatabaseInstances.d.ts +4 -0
- package/getFederatedDatabaseInstances.js +4 -0
- package/getFederatedDatabaseInstances.js.map +1 -1
- package/getFederatedSettingsIdentityProviders.d.ts +4 -0
- package/getFederatedSettingsIdentityProviders.js +4 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -1
- package/getFederatedSettingsOrgRoleMappings.d.ts +4 -0
- package/getFederatedSettingsOrgRoleMappings.js +4 -0
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +14 -0
- package/getPrivateLinkEndpointService.js +14 -0
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getSearchDeployment.d.ts +4 -0
- package/getSearchDeployment.js +4 -0
- package/getSearchDeployment.js.map +1 -1
- package/getSearchIndexes.d.ts +4 -0
- package/getSearchIndexes.js +4 -0
- package/getSearchIndexes.js.map +1 -1
- package/getStreamProcessor.d.ts +4 -0
- package/getStreamProcessor.js +4 -0
- package/getStreamProcessor.js.map +1 -1
- package/getStreamProcessors.d.ts +4 -0
- package/getStreamProcessors.js +4 -0
- package/getStreamProcessors.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +4 -0
- package/getX509AuthenticationDatabaseUser.js +4 -0
- package/getX509AuthenticationDatabaseUser.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.d.ts +2 -0
- package/searchDeployment.js +20 -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.d.ts +4 -0
- package/streamConnection.js +39 -35
- package/streamConnection.js.map +1 -1
- package/streamInstance.d.ts +2 -0
- package/streamInstance.js +15 -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 +13 -21
- package/streamProcessor.js +20 -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.d.ts +4 -0
- package/x509authenticationDatabaseUser.js +16 -12
- package/x509authenticationDatabaseUser.js.map +1 -1
package/serverlessInstance.js
CHANGED
|
@@ -59,7 +59,7 @@ class ServerlessInstance extends pulumi.CustomResource {
|
|
|
59
59
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
60
|
*/
|
|
61
61
|
static get(name, id, state, opts) {
|
|
62
|
-
return new ServerlessInstance(name, state,
|
|
62
|
+
return new ServerlessInstance(name, state, { ...opts, id: id });
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
65
|
* Returns true if the given object is an instance of ServerlessInstance. This is designed to work even
|
|
@@ -76,47 +76,47 @@ class ServerlessInstance extends pulumi.CustomResource {
|
|
|
76
76
|
opts = opts || {};
|
|
77
77
|
if (opts.id) {
|
|
78
78
|
const state = argsOrState;
|
|
79
|
-
resourceInputs["autoIndexing"] = state
|
|
80
|
-
resourceInputs["connectionStringsPrivateEndpointSrvs"] = state
|
|
81
|
-
resourceInputs["connectionStringsStandardSrv"] = state
|
|
82
|
-
resourceInputs["continuousBackupEnabled"] = state
|
|
83
|
-
resourceInputs["createDate"] = state
|
|
84
|
-
resourceInputs["links"] = state
|
|
85
|
-
resourceInputs["mongoDbVersion"] = state
|
|
86
|
-
resourceInputs["name"] = state
|
|
87
|
-
resourceInputs["projectId"] = state
|
|
88
|
-
resourceInputs["providerSettingsBackingProviderName"] = state
|
|
89
|
-
resourceInputs["providerSettingsProviderName"] = state
|
|
90
|
-
resourceInputs["providerSettingsRegionName"] = state
|
|
91
|
-
resourceInputs["stateName"] = state
|
|
92
|
-
resourceInputs["tags"] = state
|
|
93
|
-
resourceInputs["terminationProtectionEnabled"] = state
|
|
79
|
+
resourceInputs["autoIndexing"] = state?.autoIndexing;
|
|
80
|
+
resourceInputs["connectionStringsPrivateEndpointSrvs"] = state?.connectionStringsPrivateEndpointSrvs;
|
|
81
|
+
resourceInputs["connectionStringsStandardSrv"] = state?.connectionStringsStandardSrv;
|
|
82
|
+
resourceInputs["continuousBackupEnabled"] = state?.continuousBackupEnabled;
|
|
83
|
+
resourceInputs["createDate"] = state?.createDate;
|
|
84
|
+
resourceInputs["links"] = state?.links;
|
|
85
|
+
resourceInputs["mongoDbVersion"] = state?.mongoDbVersion;
|
|
86
|
+
resourceInputs["name"] = state?.name;
|
|
87
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
88
|
+
resourceInputs["providerSettingsBackingProviderName"] = state?.providerSettingsBackingProviderName;
|
|
89
|
+
resourceInputs["providerSettingsProviderName"] = state?.providerSettingsProviderName;
|
|
90
|
+
resourceInputs["providerSettingsRegionName"] = state?.providerSettingsRegionName;
|
|
91
|
+
resourceInputs["stateName"] = state?.stateName;
|
|
92
|
+
resourceInputs["tags"] = state?.tags;
|
|
93
|
+
resourceInputs["terminationProtectionEnabled"] = state?.terminationProtectionEnabled;
|
|
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?.providerSettingsBackingProviderName === undefined && !opts.urn) {
|
|
101
101
|
throw new Error("Missing required property 'providerSettingsBackingProviderName'");
|
|
102
102
|
}
|
|
103
|
-
if (
|
|
103
|
+
if (args?.providerSettingsProviderName === undefined && !opts.urn) {
|
|
104
104
|
throw new Error("Missing required property 'providerSettingsProviderName'");
|
|
105
105
|
}
|
|
106
|
-
if (
|
|
106
|
+
if (args?.providerSettingsRegionName === undefined && !opts.urn) {
|
|
107
107
|
throw new Error("Missing required property 'providerSettingsRegionName'");
|
|
108
108
|
}
|
|
109
|
-
resourceInputs["autoIndexing"] = args
|
|
110
|
-
resourceInputs["continuousBackupEnabled"] = args
|
|
111
|
-
resourceInputs["links"] = args
|
|
112
|
-
resourceInputs["name"] = args
|
|
113
|
-
resourceInputs["projectId"] = args
|
|
114
|
-
resourceInputs["providerSettingsBackingProviderName"] = args
|
|
115
|
-
resourceInputs["providerSettingsProviderName"] = args
|
|
116
|
-
resourceInputs["providerSettingsRegionName"] = args
|
|
117
|
-
resourceInputs["stateName"] = args
|
|
118
|
-
resourceInputs["tags"] = args
|
|
119
|
-
resourceInputs["terminationProtectionEnabled"] = args
|
|
109
|
+
resourceInputs["autoIndexing"] = args?.autoIndexing;
|
|
110
|
+
resourceInputs["continuousBackupEnabled"] = args?.continuousBackupEnabled;
|
|
111
|
+
resourceInputs["links"] = args?.links;
|
|
112
|
+
resourceInputs["name"] = args?.name;
|
|
113
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
114
|
+
resourceInputs["providerSettingsBackingProviderName"] = args?.providerSettingsBackingProviderName;
|
|
115
|
+
resourceInputs["providerSettingsProviderName"] = args?.providerSettingsProviderName;
|
|
116
|
+
resourceInputs["providerSettingsRegionName"] = args?.providerSettingsRegionName;
|
|
117
|
+
resourceInputs["stateName"] = args?.stateName;
|
|
118
|
+
resourceInputs["tags"] = args?.tags;
|
|
119
|
+
resourceInputs["terminationProtectionEnabled"] = args?.terminationProtectionEnabled;
|
|
120
120
|
resourceInputs["connectionStringsPrivateEndpointSrvs"] = undefined /*out*/;
|
|
121
121
|
resourceInputs["connectionStringsStandardSrv"] = undefined /*out*/;
|
|
122
122
|
resourceInputs["createDate"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serverlessInstance.js","sourceRoot":"","sources":["../serverlessInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAG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S,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAtJL,gDAuJC;AAzIG,gBAAgB;AACO,+BAAY,GAAG,0DAA0D,CAAC"}
|
package/streamConnection.d.ts
CHANGED
package/streamConnection.js
CHANGED
|
@@ -71,6 +71,10 @@ const utilities = require("./utilities");
|
|
|
71
71
|
* });
|
|
72
72
|
* ```
|
|
73
73
|
*
|
|
74
|
+
* ### Example Kafka SASL SSL Connection
|
|
75
|
+
*
|
|
76
|
+
* ### Example AWSLambda Connection
|
|
77
|
+
*
|
|
74
78
|
* ### Example Https Connection
|
|
75
79
|
*
|
|
76
80
|
* ```typescript
|
|
@@ -111,7 +115,7 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
111
115
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
112
116
|
*/
|
|
113
117
|
static get(name, id, state, opts) {
|
|
114
|
-
return new StreamConnection(name, state,
|
|
118
|
+
return new StreamConnection(name, state, { ...opts, id: id });
|
|
115
119
|
}
|
|
116
120
|
/**
|
|
117
121
|
* Returns true if the given object is an instance of StreamConnection. This is designed to work even
|
|
@@ -128,51 +132,51 @@ class StreamConnection extends pulumi.CustomResource {
|
|
|
128
132
|
opts = opts || {};
|
|
129
133
|
if (opts.id) {
|
|
130
134
|
const state = argsOrState;
|
|
131
|
-
resourceInputs["authentication"] = state
|
|
132
|
-
resourceInputs["aws"] = state
|
|
133
|
-
resourceInputs["bootstrapServers"] = state
|
|
134
|
-
resourceInputs["clusterName"] = state
|
|
135
|
-
resourceInputs["clusterProjectId"] = state
|
|
136
|
-
resourceInputs["config"] = state
|
|
137
|
-
resourceInputs["connectionName"] = state
|
|
138
|
-
resourceInputs["dbRoleToExecute"] = state
|
|
139
|
-
resourceInputs["headers"] = state
|
|
140
|
-
resourceInputs["instanceName"] = state
|
|
141
|
-
resourceInputs["networking"] = state
|
|
142
|
-
resourceInputs["projectId"] = state
|
|
143
|
-
resourceInputs["security"] = state
|
|
144
|
-
resourceInputs["type"] = state
|
|
145
|
-
resourceInputs["url"] = state
|
|
135
|
+
resourceInputs["authentication"] = state?.authentication;
|
|
136
|
+
resourceInputs["aws"] = state?.aws;
|
|
137
|
+
resourceInputs["bootstrapServers"] = state?.bootstrapServers;
|
|
138
|
+
resourceInputs["clusterName"] = state?.clusterName;
|
|
139
|
+
resourceInputs["clusterProjectId"] = state?.clusterProjectId;
|
|
140
|
+
resourceInputs["config"] = state?.config;
|
|
141
|
+
resourceInputs["connectionName"] = state?.connectionName;
|
|
142
|
+
resourceInputs["dbRoleToExecute"] = state?.dbRoleToExecute;
|
|
143
|
+
resourceInputs["headers"] = state?.headers;
|
|
144
|
+
resourceInputs["instanceName"] = state?.instanceName;
|
|
145
|
+
resourceInputs["networking"] = state?.networking;
|
|
146
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
147
|
+
resourceInputs["security"] = state?.security;
|
|
148
|
+
resourceInputs["type"] = state?.type;
|
|
149
|
+
resourceInputs["url"] = state?.url;
|
|
146
150
|
}
|
|
147
151
|
else {
|
|
148
152
|
const args = argsOrState;
|
|
149
|
-
if (
|
|
153
|
+
if (args?.connectionName === undefined && !opts.urn) {
|
|
150
154
|
throw new Error("Missing required property 'connectionName'");
|
|
151
155
|
}
|
|
152
|
-
if (
|
|
156
|
+
if (args?.instanceName === undefined && !opts.urn) {
|
|
153
157
|
throw new Error("Missing required property 'instanceName'");
|
|
154
158
|
}
|
|
155
|
-
if (
|
|
159
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
156
160
|
throw new Error("Missing required property 'projectId'");
|
|
157
161
|
}
|
|
158
|
-
if (
|
|
162
|
+
if (args?.type === undefined && !opts.urn) {
|
|
159
163
|
throw new Error("Missing required property 'type'");
|
|
160
164
|
}
|
|
161
|
-
resourceInputs["authentication"] = args
|
|
162
|
-
resourceInputs["aws"] = args
|
|
163
|
-
resourceInputs["bootstrapServers"] = args
|
|
164
|
-
resourceInputs["clusterName"] = args
|
|
165
|
-
resourceInputs["clusterProjectId"] = args
|
|
166
|
-
resourceInputs["config"] = args
|
|
167
|
-
resourceInputs["connectionName"] = args
|
|
168
|
-
resourceInputs["dbRoleToExecute"] = args
|
|
169
|
-
resourceInputs["headers"] = args
|
|
170
|
-
resourceInputs["instanceName"] = args
|
|
171
|
-
resourceInputs["networking"] = args
|
|
172
|
-
resourceInputs["projectId"] = args
|
|
173
|
-
resourceInputs["security"] = args
|
|
174
|
-
resourceInputs["type"] = args
|
|
175
|
-
resourceInputs["url"] = args
|
|
165
|
+
resourceInputs["authentication"] = args?.authentication;
|
|
166
|
+
resourceInputs["aws"] = args?.aws;
|
|
167
|
+
resourceInputs["bootstrapServers"] = args?.bootstrapServers;
|
|
168
|
+
resourceInputs["clusterName"] = args?.clusterName;
|
|
169
|
+
resourceInputs["clusterProjectId"] = args?.clusterProjectId;
|
|
170
|
+
resourceInputs["config"] = args?.config;
|
|
171
|
+
resourceInputs["connectionName"] = args?.connectionName;
|
|
172
|
+
resourceInputs["dbRoleToExecute"] = args?.dbRoleToExecute;
|
|
173
|
+
resourceInputs["headers"] = args?.headers;
|
|
174
|
+
resourceInputs["instanceName"] = args?.instanceName;
|
|
175
|
+
resourceInputs["networking"] = args?.networking;
|
|
176
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
177
|
+
resourceInputs["security"] = args?.security;
|
|
178
|
+
resourceInputs["type"] = args?.type;
|
|
179
|
+
resourceInputs["url"] = args?.url;
|
|
176
180
|
}
|
|
177
181
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
178
182
|
super(StreamConnection.__pulumiType, name, resourceInputs, opts);
|
package/streamConnection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamConnection.js","sourceRoot":"","sources":["../streamConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFA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AAG,sDAAsD,CAAC"}
|
package/streamInstance.d.ts
CHANGED
|
@@ -6,6 +6,8 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
*
|
|
7
7
|
* `mongodbatlas.StreamInstance` provides a Stream Instance resource. The resource lets you create, edit, and delete stream instances in a project.
|
|
8
8
|
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
9
11
|
* ## Import
|
|
10
12
|
*
|
|
11
13
|
* You can import stream instance resource using the project ID and instance name, in the format `PROJECT_ID-INSTANCE_NAME`. For example:
|
package/streamInstance.js
CHANGED
|
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* `mongodbatlas.StreamInstance` provides a Stream Instance resource. The resource lets you create, edit, and delete stream instances in a project.
|
|
12
12
|
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
13
15
|
* ## Import
|
|
14
16
|
*
|
|
15
17
|
* You can import stream instance resource using the project ID and instance name, in the format `PROJECT_ID-INSTANCE_NAME`. For example:
|
|
@@ -31,7 +33,7 @@ class StreamInstance extends pulumi.CustomResource {
|
|
|
31
33
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
32
34
|
*/
|
|
33
35
|
static get(name, id, state, opts) {
|
|
34
|
-
return new StreamInstance(name, state,
|
|
36
|
+
return new StreamInstance(name, state, { ...opts, id: id });
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
39
|
* Returns true if the given object is an instance of StreamInstance. This is designed to work even
|
|
@@ -48,27 +50,27 @@ class StreamInstance extends pulumi.CustomResource {
|
|
|
48
50
|
opts = opts || {};
|
|
49
51
|
if (opts.id) {
|
|
50
52
|
const state = argsOrState;
|
|
51
|
-
resourceInputs["dataProcessRegion"] = state
|
|
52
|
-
resourceInputs["hostnames"] = state
|
|
53
|
-
resourceInputs["instanceName"] = state
|
|
54
|
-
resourceInputs["projectId"] = state
|
|
55
|
-
resourceInputs["streamConfig"] = state
|
|
53
|
+
resourceInputs["dataProcessRegion"] = state?.dataProcessRegion;
|
|
54
|
+
resourceInputs["hostnames"] = state?.hostnames;
|
|
55
|
+
resourceInputs["instanceName"] = state?.instanceName;
|
|
56
|
+
resourceInputs["projectId"] = state?.projectId;
|
|
57
|
+
resourceInputs["streamConfig"] = state?.streamConfig;
|
|
56
58
|
}
|
|
57
59
|
else {
|
|
58
60
|
const args = argsOrState;
|
|
59
|
-
if (
|
|
61
|
+
if (args?.dataProcessRegion === undefined && !opts.urn) {
|
|
60
62
|
throw new Error("Missing required property 'dataProcessRegion'");
|
|
61
63
|
}
|
|
62
|
-
if (
|
|
64
|
+
if (args?.instanceName === undefined && !opts.urn) {
|
|
63
65
|
throw new Error("Missing required property 'instanceName'");
|
|
64
66
|
}
|
|
65
|
-
if (
|
|
67
|
+
if (args?.projectId === undefined && !opts.urn) {
|
|
66
68
|
throw new Error("Missing required property 'projectId'");
|
|
67
69
|
}
|
|
68
|
-
resourceInputs["dataProcessRegion"] = args
|
|
69
|
-
resourceInputs["instanceName"] = args
|
|
70
|
-
resourceInputs["projectId"] = args
|
|
71
|
-
resourceInputs["streamConfig"] = args
|
|
70
|
+
resourceInputs["dataProcessRegion"] = args?.dataProcessRegion;
|
|
71
|
+
resourceInputs["instanceName"] = args?.instanceName;
|
|
72
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
73
|
+
resourceInputs["streamConfig"] = args?.streamConfig;
|
|
72
74
|
resourceInputs["hostnames"] = undefined /*out*/;
|
|
73
75
|
}
|
|
74
76
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
package/streamInstance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"streamInstance.js","sourceRoot":"","sources":["../streamInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"streamInstance.js","sourceRoot":"","sources":["../streamInstance.ts"],"names":[],"mapp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,IAAI,KAAK,CAAC,+CAA+C,CAAC,CAAC;aACpE;YACD,IAAI,IAAI,EAAE,YAAY,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,IAAI,IAAI,EAAE,SAAS,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC5C,MAAM,IAAI,KAAK,CAAC,uCAAuC,CAAC,CAAC;aAC5D;YACD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;;AAtFL,wCAuFC;AAzEG,gBAAgB;AACO,2BAAY,GAAG,kDAAkD,CAAC"}
|
|
@@ -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*/;
|