@pulumi/mongodbatlas 3.1.1 → 3.2.0-alpha.1641575509
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/cloudProviderSnapshot.d.ts +15 -0
- package/cloudProviderSnapshot.js +5 -0
- package/cloudProviderSnapshot.js.map +1 -1
- package/cloudProviderSnapshotRestoreJob.d.ts +2 -0
- package/cloudProviderSnapshotRestoreJob.js +2 -0
- package/cloudProviderSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +3 -3
- package/customDbRole.d.ts +1 -1
- package/customDbRole.js +1 -1
- package/getCloudProviderSnapshot.d.ts +2 -0
- package/getCloudProviderSnapshot.js +2 -0
- package/getCloudProviderSnapshot.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +2 -0
- package/getCloudProviderSnapshotRestoreJob.js +2 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +2 -0
- package/getCloudProviderSnapshotRestoreJobs.js +2 -0
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderSnapshots.d.ts +22 -0
- package/getCloudProviderSnapshots.js +22 -0
- package/getCloudProviderSnapshots.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +15 -3
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +10 -0
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getSearchIndex.d.ts +14 -6
- package/getSearchIndex.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +23 -0
- package/getThirdPartyIntegrations.js +23 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/package.json +2 -2
- package/package.json.dev +1 -1
- package/privateLinkEndpoint.d.ts +36 -12
- package/privateLinkEndpoint.js +6 -0
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +113 -6
- package/privateLinkEndpointService.js +72 -0
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +12 -0
- package/project.js +2 -0
- package/project.js.map +1 -1
- package/searchIndex.d.ts +106 -15
- package/searchIndex.js +71 -0
- package/searchIndex.js.map +1 -1
- package/types/input.d.ts +50 -12
- package/types/output.d.ts +85 -0
package/privateLinkEndpoint.d.ts
CHANGED
|
@@ -49,16 +49,22 @@ export declare class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
49
49
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
50
|
*/
|
|
51
51
|
static isInstance(obj: any): obj is PrivateLinkEndpoint;
|
|
52
|
+
/**
|
|
53
|
+
* GCP network endpoint groups corresponding to the Private Service Connect endpoint service.
|
|
54
|
+
*/
|
|
55
|
+
readonly endpointGroupNames: pulumi.Output<string[]>;
|
|
52
56
|
/**
|
|
53
57
|
* Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
|
|
54
58
|
*/
|
|
55
59
|
readonly endpointServiceName: pulumi.Output<string>;
|
|
56
60
|
/**
|
|
57
61
|
* Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
|
|
62
|
+
* AWS:
|
|
58
63
|
*/
|
|
59
64
|
readonly errorMessage: pulumi.Output<string>;
|
|
60
65
|
/**
|
|
61
66
|
* Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
|
|
67
|
+
* AZURE:
|
|
62
68
|
*/
|
|
63
69
|
readonly interfaceEndpoints: pulumi.Output<string[]>;
|
|
64
70
|
/**
|
|
@@ -71,25 +77,31 @@ export declare class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
71
77
|
readonly privateLinkId: pulumi.Output<string>;
|
|
72
78
|
/**
|
|
73
79
|
* Name of the Azure Private Link Service that Atlas manages.
|
|
80
|
+
* GCP:
|
|
74
81
|
*/
|
|
75
82
|
readonly privateLinkServiceName: pulumi.Output<string>;
|
|
76
|
-
/**
|
|
77
|
-
* Resource ID of the Azure Private Link Service that Atlas manages.
|
|
78
|
-
*/
|
|
79
83
|
readonly privateLinkServiceResourceId: pulumi.Output<string>;
|
|
80
84
|
/**
|
|
81
85
|
* Required Unique identifier for the project.
|
|
82
86
|
*/
|
|
83
87
|
readonly projectId: pulumi.Output<string>;
|
|
84
88
|
/**
|
|
85
|
-
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS` or `
|
|
89
|
+
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
86
90
|
*/
|
|
87
91
|
readonly providerName: pulumi.Output<string>;
|
|
88
92
|
/**
|
|
89
93
|
* Cloud provider region in which you want to create the private endpoint connection.
|
|
90
|
-
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws)
|
|
94
|
+
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws), [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure) and [GCP regions](https://docs.atlas.mongodb.com/reference/google-gcp/#std-label-google-gcp)
|
|
91
95
|
*/
|
|
92
96
|
readonly region: pulumi.Output<string>;
|
|
97
|
+
/**
|
|
98
|
+
* GCP region for the Private Service Connect endpoint service.
|
|
99
|
+
*/
|
|
100
|
+
readonly regionName: pulumi.Output<string>;
|
|
101
|
+
/**
|
|
102
|
+
* Unique alphanumeric and special character strings that identify the service attachments associated with the GCP Private Service Connect endpoint service. Returns an empty list while Atlas creates the service attachments.
|
|
103
|
+
*/
|
|
104
|
+
readonly serviceAttachmentNames: pulumi.Output<string[]>;
|
|
93
105
|
/**
|
|
94
106
|
* Status of the AWS PrivateLink connection or Status of the Azure Private Link Service. Atlas returns one of the following values:
|
|
95
107
|
* AWS:
|
|
@@ -108,16 +120,22 @@ export declare class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
108
120
|
* Input properties used for looking up and filtering PrivateLinkEndpoint resources.
|
|
109
121
|
*/
|
|
110
122
|
export interface PrivateLinkEndpointState {
|
|
123
|
+
/**
|
|
124
|
+
* GCP network endpoint groups corresponding to the Private Service Connect endpoint service.
|
|
125
|
+
*/
|
|
126
|
+
endpointGroupNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
111
127
|
/**
|
|
112
128
|
* Name of the PrivateLink endpoint service in AWS. Returns null while the endpoint service is being created.
|
|
113
129
|
*/
|
|
114
130
|
endpointServiceName?: pulumi.Input<string>;
|
|
115
131
|
/**
|
|
116
132
|
* Error message pertaining to the AWS PrivateLink connection. Returns null if there are no errors.
|
|
133
|
+
* AWS:
|
|
117
134
|
*/
|
|
118
135
|
errorMessage?: pulumi.Input<string>;
|
|
119
136
|
/**
|
|
120
137
|
* Unique identifiers of the interface endpoints in your VPC that you added to the AWS PrivateLink connection.
|
|
138
|
+
* AZURE:
|
|
121
139
|
*/
|
|
122
140
|
interfaceEndpoints?: pulumi.Input<pulumi.Input<string>[]>;
|
|
123
141
|
/**
|
|
@@ -130,25 +148,31 @@ export interface PrivateLinkEndpointState {
|
|
|
130
148
|
privateLinkId?: pulumi.Input<string>;
|
|
131
149
|
/**
|
|
132
150
|
* Name of the Azure Private Link Service that Atlas manages.
|
|
151
|
+
* GCP:
|
|
133
152
|
*/
|
|
134
153
|
privateLinkServiceName?: pulumi.Input<string>;
|
|
135
|
-
/**
|
|
136
|
-
* Resource ID of the Azure Private Link Service that Atlas manages.
|
|
137
|
-
*/
|
|
138
154
|
privateLinkServiceResourceId?: pulumi.Input<string>;
|
|
139
155
|
/**
|
|
140
156
|
* Required Unique identifier for the project.
|
|
141
157
|
*/
|
|
142
158
|
projectId?: pulumi.Input<string>;
|
|
143
159
|
/**
|
|
144
|
-
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS` or `
|
|
160
|
+
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
145
161
|
*/
|
|
146
162
|
providerName?: pulumi.Input<string>;
|
|
147
163
|
/**
|
|
148
164
|
* Cloud provider region in which you want to create the private endpoint connection.
|
|
149
|
-
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws)
|
|
165
|
+
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws), [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure) and [GCP regions](https://docs.atlas.mongodb.com/reference/google-gcp/#std-label-google-gcp)
|
|
150
166
|
*/
|
|
151
167
|
region?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* GCP region for the Private Service Connect endpoint service.
|
|
170
|
+
*/
|
|
171
|
+
regionName?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* Unique alphanumeric and special character strings that identify the service attachments associated with the GCP Private Service Connect endpoint service. Returns an empty list while Atlas creates the service attachments.
|
|
174
|
+
*/
|
|
175
|
+
serviceAttachmentNames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
152
176
|
/**
|
|
153
177
|
* Status of the AWS PrivateLink connection or Status of the Azure Private Link Service. Atlas returns one of the following values:
|
|
154
178
|
* AWS:
|
|
@@ -164,12 +188,12 @@ export interface PrivateLinkEndpointArgs {
|
|
|
164
188
|
*/
|
|
165
189
|
projectId: pulumi.Input<string>;
|
|
166
190
|
/**
|
|
167
|
-
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS` or `
|
|
191
|
+
* Name of the cloud provider for which you want to create the private endpoint service. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
168
192
|
*/
|
|
169
193
|
providerName: pulumi.Input<string>;
|
|
170
194
|
/**
|
|
171
195
|
* Cloud provider region in which you want to create the private endpoint connection.
|
|
172
|
-
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws)
|
|
196
|
+
* Accepted values are: [AWS regions](https://docs.atlas.mongodb.com/reference/amazon-aws/#amazon-aws), [AZURE regions](https://docs.atlas.mongodb.com/reference/microsoft-azure/#microsoft-azure) and [GCP regions](https://docs.atlas.mongodb.com/reference/google-gcp/#std-label-google-gcp)
|
|
173
197
|
*/
|
|
174
198
|
region: pulumi.Input<string>;
|
|
175
199
|
}
|
package/privateLinkEndpoint.js
CHANGED
|
@@ -45,6 +45,7 @@ class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
45
45
|
opts = opts || {};
|
|
46
46
|
if (opts.id) {
|
|
47
47
|
const state = argsOrState;
|
|
48
|
+
resourceInputs["endpointGroupNames"] = state ? state.endpointGroupNames : undefined;
|
|
48
49
|
resourceInputs["endpointServiceName"] = state ? state.endpointServiceName : undefined;
|
|
49
50
|
resourceInputs["errorMessage"] = state ? state.errorMessage : undefined;
|
|
50
51
|
resourceInputs["interfaceEndpoints"] = state ? state.interfaceEndpoints : undefined;
|
|
@@ -55,6 +56,8 @@ class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
55
56
|
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
56
57
|
resourceInputs["providerName"] = state ? state.providerName : undefined;
|
|
57
58
|
resourceInputs["region"] = state ? state.region : undefined;
|
|
59
|
+
resourceInputs["regionName"] = state ? state.regionName : undefined;
|
|
60
|
+
resourceInputs["serviceAttachmentNames"] = state ? state.serviceAttachmentNames : undefined;
|
|
58
61
|
resourceInputs["status"] = state ? state.status : undefined;
|
|
59
62
|
}
|
|
60
63
|
else {
|
|
@@ -71,6 +74,7 @@ class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
71
74
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
72
75
|
resourceInputs["providerName"] = args ? args.providerName : undefined;
|
|
73
76
|
resourceInputs["region"] = args ? args.region : undefined;
|
|
77
|
+
resourceInputs["endpointGroupNames"] = undefined /*out*/;
|
|
74
78
|
resourceInputs["endpointServiceName"] = undefined /*out*/;
|
|
75
79
|
resourceInputs["errorMessage"] = undefined /*out*/;
|
|
76
80
|
resourceInputs["interfaceEndpoints"] = undefined /*out*/;
|
|
@@ -78,6 +82,8 @@ class PrivateLinkEndpoint extends pulumi.CustomResource {
|
|
|
78
82
|
resourceInputs["privateLinkId"] = undefined /*out*/;
|
|
79
83
|
resourceInputs["privateLinkServiceName"] = undefined /*out*/;
|
|
80
84
|
resourceInputs["privateLinkServiceResourceId"] = undefined /*out*/;
|
|
85
|
+
resourceInputs["regionName"] = undefined /*out*/;
|
|
86
|
+
resourceInputs["serviceAttachmentNames"] = undefined /*out*/;
|
|
81
87
|
resourceInputs["status"] = undefined /*out*/;
|
|
82
88
|
}
|
|
83
89
|
if (!opts.version) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkEndpoint.js","sourceRoot":"","sources":["../privateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;
|
|
1
|
+
{"version":3,"file":"privateLinkEndpoint.js","sourceRoot":"","sources":["../privateLinkEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IA+F1D,YAAY,IAAY,EAAE,WAAgE,EAAE,IAAmC;QAC3H,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAmD,CAAC;YAClE,cAAc,CAAC,oBAAoB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,kBAAkB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,C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,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
2
3
|
/**
|
|
3
4
|
* `mongodbatlas.PrivateLinkEndpointService` provides a Private Endpoint Interface Link resource. This represents a Private Endpoint Interface Link, which adds one interface endpoint to a private endpoint connection in an Atlas project.
|
|
4
5
|
*
|
|
@@ -67,6 +68,70 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
67
68
|
* });
|
|
68
69
|
* ```
|
|
69
70
|
*
|
|
71
|
+
* ## Example with GCP
|
|
72
|
+
*
|
|
73
|
+
* ```typescript
|
|
74
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
75
|
+
* import * as gcp from "@pulumi/gcp";
|
|
76
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
77
|
+
*
|
|
78
|
+
* const testPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", {
|
|
79
|
+
* projectId: _var.project_id,
|
|
80
|
+
* providerName: "GCP",
|
|
81
|
+
* region: _var.gcp_region,
|
|
82
|
+
* });
|
|
83
|
+
* // Create a Google Network
|
|
84
|
+
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {project: _var.gcp_project});
|
|
85
|
+
* // Create a Google Sub Network
|
|
86
|
+
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
87
|
+
* project: defaultNetwork.project,
|
|
88
|
+
* ipCidrRange: "10.0.0.0/16",
|
|
89
|
+
* region: _var.gcp_region,
|
|
90
|
+
* network: defaultNetwork.id,
|
|
91
|
+
* });
|
|
92
|
+
* // Create Google 50 Addresses
|
|
93
|
+
* const defaultAddress: gcp.compute.Address[];
|
|
94
|
+
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
95
|
+
* defaultAddress.push(new gcp.compute.Address(`defaultAddress-${range.value}`, {
|
|
96
|
+
* project: defaultSubnetwork.project,
|
|
97
|
+
* subnetwork: defaultSubnetwork.id,
|
|
98
|
+
* addressType: "INTERNAL",
|
|
99
|
+
* address: `10.0.42.${range.value}`,
|
|
100
|
+
* region: _var.gcp_region,
|
|
101
|
+
* }, {
|
|
102
|
+
* dependsOn: [testPrivateLinkEndpoint],
|
|
103
|
+
* }));
|
|
104
|
+
* }
|
|
105
|
+
* // Create 50 Forwarding rules
|
|
106
|
+
* const defaultForwardingRule: gcp.compute.ForwardingRule[];
|
|
107
|
+
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
108
|
+
* defaultForwardingRule.push(new gcp.compute.ForwardingRule(`defaultForwardingRule-${range.value}`, {
|
|
109
|
+
* project: _var.gcp_project,
|
|
110
|
+
* region: _var.gcp_region,
|
|
111
|
+
* target: testPrivateLinkEndpoint.serviceAttachmentNames,
|
|
112
|
+
* ipAddress: defaultAddress[range.value].id,
|
|
113
|
+
* network: defaultNetwork.id,
|
|
114
|
+
* loadBalancingScheme: "",
|
|
115
|
+
* }));
|
|
116
|
+
* }
|
|
117
|
+
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", {
|
|
118
|
+
* projectId: testPrivateLinkEndpoint.projectId,
|
|
119
|
+
* privateLinkId: testPrivateLinkEndpoint.privateLinkId,
|
|
120
|
+
* providerName: "GCP",
|
|
121
|
+
* endpointServiceId: defaultNetwork.name,
|
|
122
|
+
* gcpProjectId: _var.gcp_project,
|
|
123
|
+
* dynamic: [{
|
|
124
|
+
* forEach: testPrivateLinkEndpoint.serviceAttachmentNames,
|
|
125
|
+
* content: [{
|
|
126
|
+
* ipAddress: defaultAddress[endpoints.key].address,
|
|
127
|
+
* endpointName: defaultAddress[endpoints.key].name,
|
|
128
|
+
* }],
|
|
129
|
+
* }],
|
|
130
|
+
* }, {
|
|
131
|
+
* dependsOn: [defaultForwardingRule],
|
|
132
|
+
* });
|
|
133
|
+
* ```
|
|
134
|
+
*
|
|
70
135
|
* ## Import
|
|
71
136
|
*
|
|
72
137
|
* Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.
|
|
@@ -108,13 +173,30 @@ export declare class PrivateLinkEndpointService extends pulumi.CustomResource {
|
|
|
108
173
|
*/
|
|
109
174
|
readonly deleteRequested: pulumi.Output<boolean>;
|
|
110
175
|
/**
|
|
111
|
-
* Unique identifier of the
|
|
176
|
+
* (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
|
|
177
|
+
*/
|
|
178
|
+
readonly endpointGroupName: pulumi.Output<string>;
|
|
179
|
+
/**
|
|
180
|
+
* Unique identifier of the interface endpoint you created in your VPC with the `AWS`, `AZURE` or `GCP` resource.
|
|
112
181
|
*/
|
|
113
182
|
readonly endpointServiceId: pulumi.Output<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Collection of individual private endpoints that comprise your endpoint group. Only for `GCP`. See below.
|
|
185
|
+
*/
|
|
186
|
+
readonly endpoints: pulumi.Output<outputs.PrivateLinkEndpointServiceEndpoint[]>;
|
|
114
187
|
/**
|
|
115
188
|
* Error message pertaining to the interface endpoint. Returns null if there are no errors.
|
|
116
189
|
*/
|
|
117
190
|
readonly errorMessage: pulumi.Output<string>;
|
|
191
|
+
/**
|
|
192
|
+
* Unique identifier of the GCP project in which you created your endpoints. Only for `GCP`.
|
|
193
|
+
*/
|
|
194
|
+
readonly gcpProjectId: pulumi.Output<string | undefined>;
|
|
195
|
+
/**
|
|
196
|
+
* Status of the interface endpoint for GCP.
|
|
197
|
+
* Returns one of the following values:
|
|
198
|
+
*/
|
|
199
|
+
readonly gcpStatus: pulumi.Output<string>;
|
|
118
200
|
/**
|
|
119
201
|
* Unique identifier of the interface endpoint.
|
|
120
202
|
*/
|
|
@@ -140,7 +222,7 @@ export declare class PrivateLinkEndpointService extends pulumi.CustomResource {
|
|
|
140
222
|
*/
|
|
141
223
|
readonly projectId: pulumi.Output<string>;
|
|
142
224
|
/**
|
|
143
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `
|
|
225
|
+
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
144
226
|
*/
|
|
145
227
|
readonly providerName: pulumi.Output<string>;
|
|
146
228
|
/**
|
|
@@ -171,13 +253,30 @@ export interface PrivateLinkEndpointServiceState {
|
|
|
171
253
|
*/
|
|
172
254
|
deleteRequested?: pulumi.Input<boolean>;
|
|
173
255
|
/**
|
|
174
|
-
* Unique identifier of the
|
|
256
|
+
* (Optional) Unique identifier of the endpoint group. The endpoint group encompasses all of the endpoints that you created in GCP.
|
|
257
|
+
*/
|
|
258
|
+
endpointGroupName?: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Unique identifier of the interface endpoint you created in your VPC with the `AWS`, `AZURE` or `GCP` resource.
|
|
175
261
|
*/
|
|
176
262
|
endpointServiceId?: pulumi.Input<string>;
|
|
263
|
+
/**
|
|
264
|
+
* Collection of individual private endpoints that comprise your endpoint group. Only for `GCP`. See below.
|
|
265
|
+
*/
|
|
266
|
+
endpoints?: pulumi.Input<pulumi.Input<inputs.PrivateLinkEndpointServiceEndpoint>[]>;
|
|
177
267
|
/**
|
|
178
268
|
* Error message pertaining to the interface endpoint. Returns null if there are no errors.
|
|
179
269
|
*/
|
|
180
270
|
errorMessage?: pulumi.Input<string>;
|
|
271
|
+
/**
|
|
272
|
+
* Unique identifier of the GCP project in which you created your endpoints. Only for `GCP`.
|
|
273
|
+
*/
|
|
274
|
+
gcpProjectId?: pulumi.Input<string>;
|
|
275
|
+
/**
|
|
276
|
+
* Status of the interface endpoint for GCP.
|
|
277
|
+
* Returns one of the following values:
|
|
278
|
+
*/
|
|
279
|
+
gcpStatus?: pulumi.Input<string>;
|
|
181
280
|
/**
|
|
182
281
|
* Unique identifier of the interface endpoint.
|
|
183
282
|
*/
|
|
@@ -203,7 +302,7 @@ export interface PrivateLinkEndpointServiceState {
|
|
|
203
302
|
*/
|
|
204
303
|
projectId?: pulumi.Input<string>;
|
|
205
304
|
/**
|
|
206
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `
|
|
305
|
+
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
207
306
|
*/
|
|
208
307
|
providerName?: pulumi.Input<string>;
|
|
209
308
|
}
|
|
@@ -212,9 +311,17 @@ export interface PrivateLinkEndpointServiceState {
|
|
|
212
311
|
*/
|
|
213
312
|
export interface PrivateLinkEndpointServiceArgs {
|
|
214
313
|
/**
|
|
215
|
-
* Unique identifier of the interface endpoint you created in your VPC with the `AWS` or `
|
|
314
|
+
* Unique identifier of the interface endpoint you created in your VPC with the `AWS`, `AZURE` or `GCP` resource.
|
|
216
315
|
*/
|
|
217
316
|
endpointServiceId: pulumi.Input<string>;
|
|
317
|
+
/**
|
|
318
|
+
* Collection of individual private endpoints that comprise your endpoint group. Only for `GCP`. See below.
|
|
319
|
+
*/
|
|
320
|
+
endpoints?: pulumi.Input<pulumi.Input<inputs.PrivateLinkEndpointServiceEndpoint>[]>;
|
|
321
|
+
/**
|
|
322
|
+
* Unique identifier of the GCP project in which you created your endpoints. Only for `GCP`.
|
|
323
|
+
*/
|
|
324
|
+
gcpProjectId?: pulumi.Input<string>;
|
|
218
325
|
/**
|
|
219
326
|
* Private IP address of the private endpoint network interface you created in your Azure VNet. Only for `AZURE`.
|
|
220
327
|
*/
|
|
@@ -228,7 +335,7 @@ export interface PrivateLinkEndpointServiceArgs {
|
|
|
228
335
|
*/
|
|
229
336
|
projectId: pulumi.Input<string>;
|
|
230
337
|
/**
|
|
231
|
-
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS` or `
|
|
338
|
+
* Cloud provider for which you want to create a private endpoint. Atlas accepts `AWS`, `AZURE` or `GCP`.
|
|
232
339
|
*/
|
|
233
340
|
providerName: pulumi.Input<string>;
|
|
234
341
|
}
|
|
@@ -73,6 +73,70 @@ const utilities = require("./utilities");
|
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
75
75
|
*
|
|
76
|
+
* ## Example with GCP
|
|
77
|
+
*
|
|
78
|
+
* ```typescript
|
|
79
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
+
* import * as gcp from "@pulumi/gcp";
|
|
81
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
82
|
+
*
|
|
83
|
+
* const testPrivateLinkEndpoint = new mongodbatlas.PrivateLinkEndpoint("testPrivateLinkEndpoint", {
|
|
84
|
+
* projectId: _var.project_id,
|
|
85
|
+
* providerName: "GCP",
|
|
86
|
+
* region: _var.gcp_region,
|
|
87
|
+
* });
|
|
88
|
+
* // Create a Google Network
|
|
89
|
+
* const defaultNetwork = new gcp.compute.Network("defaultNetwork", {project: _var.gcp_project});
|
|
90
|
+
* // Create a Google Sub Network
|
|
91
|
+
* const defaultSubnetwork = new gcp.compute.Subnetwork("defaultSubnetwork", {
|
|
92
|
+
* project: defaultNetwork.project,
|
|
93
|
+
* ipCidrRange: "10.0.0.0/16",
|
|
94
|
+
* region: _var.gcp_region,
|
|
95
|
+
* network: defaultNetwork.id,
|
|
96
|
+
* });
|
|
97
|
+
* // Create Google 50 Addresses
|
|
98
|
+
* const defaultAddress: gcp.compute.Address[];
|
|
99
|
+
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
100
|
+
* defaultAddress.push(new gcp.compute.Address(`defaultAddress-${range.value}`, {
|
|
101
|
+
* project: defaultSubnetwork.project,
|
|
102
|
+
* subnetwork: defaultSubnetwork.id,
|
|
103
|
+
* addressType: "INTERNAL",
|
|
104
|
+
* address: `10.0.42.${range.value}`,
|
|
105
|
+
* region: _var.gcp_region,
|
|
106
|
+
* }, {
|
|
107
|
+
* dependsOn: [testPrivateLinkEndpoint],
|
|
108
|
+
* }));
|
|
109
|
+
* }
|
|
110
|
+
* // Create 50 Forwarding rules
|
|
111
|
+
* const defaultForwardingRule: gcp.compute.ForwardingRule[];
|
|
112
|
+
* for (const range = {value: 0}; range.value < 50; range.value++) {
|
|
113
|
+
* defaultForwardingRule.push(new gcp.compute.ForwardingRule(`defaultForwardingRule-${range.value}`, {
|
|
114
|
+
* project: _var.gcp_project,
|
|
115
|
+
* region: _var.gcp_region,
|
|
116
|
+
* target: testPrivateLinkEndpoint.serviceAttachmentNames,
|
|
117
|
+
* ipAddress: defaultAddress[range.value].id,
|
|
118
|
+
* network: defaultNetwork.id,
|
|
119
|
+
* loadBalancingScheme: "",
|
|
120
|
+
* }));
|
|
121
|
+
* }
|
|
122
|
+
* const testPrivateLinkEndpointService = new mongodbatlas.PrivateLinkEndpointService("testPrivateLinkEndpointService", {
|
|
123
|
+
* projectId: testPrivateLinkEndpoint.projectId,
|
|
124
|
+
* privateLinkId: testPrivateLinkEndpoint.privateLinkId,
|
|
125
|
+
* providerName: "GCP",
|
|
126
|
+
* endpointServiceId: defaultNetwork.name,
|
|
127
|
+
* gcpProjectId: _var.gcp_project,
|
|
128
|
+
* dynamic: [{
|
|
129
|
+
* forEach: testPrivateLinkEndpoint.serviceAttachmentNames,
|
|
130
|
+
* content: [{
|
|
131
|
+
* ipAddress: defaultAddress[endpoints.key].address,
|
|
132
|
+
* endpointName: defaultAddress[endpoints.key].name,
|
|
133
|
+
* }],
|
|
134
|
+
* }],
|
|
135
|
+
* }, {
|
|
136
|
+
* dependsOn: [defaultForwardingRule],
|
|
137
|
+
* });
|
|
138
|
+
* ```
|
|
139
|
+
*
|
|
76
140
|
* ## Import
|
|
77
141
|
*
|
|
78
142
|
* Private Endpoint Link Connection can be imported using project ID and username, in the format `{project_id}--{private_link_id}--{endpoint_service_id}--{provider_name}`, e.g.
|
|
@@ -92,8 +156,12 @@ class PrivateLinkEndpointService extends pulumi.CustomResource {
|
|
|
92
156
|
resourceInputs["awsConnectionStatus"] = state ? state.awsConnectionStatus : undefined;
|
|
93
157
|
resourceInputs["azureStatus"] = state ? state.azureStatus : undefined;
|
|
94
158
|
resourceInputs["deleteRequested"] = state ? state.deleteRequested : undefined;
|
|
159
|
+
resourceInputs["endpointGroupName"] = state ? state.endpointGroupName : undefined;
|
|
95
160
|
resourceInputs["endpointServiceId"] = state ? state.endpointServiceId : undefined;
|
|
161
|
+
resourceInputs["endpoints"] = state ? state.endpoints : undefined;
|
|
96
162
|
resourceInputs["errorMessage"] = state ? state.errorMessage : undefined;
|
|
163
|
+
resourceInputs["gcpProjectId"] = state ? state.gcpProjectId : undefined;
|
|
164
|
+
resourceInputs["gcpStatus"] = state ? state.gcpStatus : undefined;
|
|
97
165
|
resourceInputs["interfaceEndpointId"] = state ? state.interfaceEndpointId : undefined;
|
|
98
166
|
resourceInputs["privateEndpointConnectionName"] = state ? state.privateEndpointConnectionName : undefined;
|
|
99
167
|
resourceInputs["privateEndpointIpAddress"] = state ? state.privateEndpointIpAddress : undefined;
|
|
@@ -117,6 +185,8 @@ class PrivateLinkEndpointService extends pulumi.CustomResource {
|
|
|
117
185
|
throw new Error("Missing required property 'providerName'");
|
|
118
186
|
}
|
|
119
187
|
resourceInputs["endpointServiceId"] = args ? args.endpointServiceId : undefined;
|
|
188
|
+
resourceInputs["endpoints"] = args ? args.endpoints : undefined;
|
|
189
|
+
resourceInputs["gcpProjectId"] = args ? args.gcpProjectId : undefined;
|
|
120
190
|
resourceInputs["privateEndpointIpAddress"] = args ? args.privateEndpointIpAddress : undefined;
|
|
121
191
|
resourceInputs["privateLinkId"] = args ? args.privateLinkId : undefined;
|
|
122
192
|
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
@@ -124,7 +194,9 @@ class PrivateLinkEndpointService extends pulumi.CustomResource {
|
|
|
124
194
|
resourceInputs["awsConnectionStatus"] = undefined /*out*/;
|
|
125
195
|
resourceInputs["azureStatus"] = undefined /*out*/;
|
|
126
196
|
resourceInputs["deleteRequested"] = undefined /*out*/;
|
|
197
|
+
resourceInputs["endpointGroupName"] = undefined /*out*/;
|
|
127
198
|
resourceInputs["errorMessage"] = undefined /*out*/;
|
|
199
|
+
resourceInputs["gcpStatus"] = undefined /*out*/;
|
|
128
200
|
resourceInputs["interfaceEndpointId"] = undefined /*out*/;
|
|
129
201
|
resourceInputs["privateEndpointConnectionName"] = undefined /*out*/;
|
|
130
202
|
resourceInputs["privateEndpointResourceId"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"privateLinkEndpointService.js","sourceRoot":"","sources":["../privateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;
|
|
1
|
+
{"version":3,"file":"privateLinkEndpointService.js","sourceRoot":"","sources":["../privateLinkEndpointService.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6IG;AACH,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IAwGjE,YAAY,IAAY,EAAE,WAA8E,EAAE,IAAmC;QACzI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA0D,CAAC;YACzE,cAAc,CAAC,qBAAqB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACtF,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,iBAAiB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC,S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,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/E,CAAC;IA/JD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjF,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,0BAA0B,CAAC,YAAY,CAAC;IAC3E,CAAC;;AA1BL,gEAiKC;AAnJG,gBAAgB;AACO,uCAAY,GAAG,0EAA0E,CAAC"}
|
package/project.d.ts
CHANGED
|
@@ -48,6 +48,10 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
48
48
|
*/
|
|
49
49
|
readonly projectOwnerId: pulumi.Output<string | undefined>;
|
|
50
50
|
readonly teams: pulumi.Output<outputs.ProjectTeam[] | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
|
53
|
+
*/
|
|
54
|
+
readonly withDefaultAlertsSettings: pulumi.Output<boolean | undefined>;
|
|
51
55
|
/**
|
|
52
56
|
* Create a Project resource with the given unique name, arguments, and options.
|
|
53
57
|
*
|
|
@@ -82,6 +86,10 @@ export interface ProjectState {
|
|
|
82
86
|
*/
|
|
83
87
|
projectOwnerId?: pulumi.Input<string>;
|
|
84
88
|
teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
|
|
89
|
+
/**
|
|
90
|
+
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
|
91
|
+
*/
|
|
92
|
+
withDefaultAlertsSettings?: pulumi.Input<boolean>;
|
|
85
93
|
}
|
|
86
94
|
/**
|
|
87
95
|
* The set of arguments for constructing a Project resource.
|
|
@@ -100,4 +108,8 @@ export interface ProjectArgs {
|
|
|
100
108
|
*/
|
|
101
109
|
projectOwnerId?: pulumi.Input<string>;
|
|
102
110
|
teams?: pulumi.Input<pulumi.Input<inputs.ProjectTeam>[]>;
|
|
111
|
+
/**
|
|
112
|
+
* It allows users to disable the creation of the default alert settings. By default, this flag is set to true.
|
|
113
|
+
*/
|
|
114
|
+
withDefaultAlertsSettings?: pulumi.Input<boolean>;
|
|
103
115
|
}
|
package/project.js
CHANGED
|
@@ -28,6 +28,7 @@ class Project extends pulumi.CustomResource {
|
|
|
28
28
|
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
29
29
|
resourceInputs["projectOwnerId"] = state ? state.projectOwnerId : undefined;
|
|
30
30
|
resourceInputs["teams"] = state ? state.teams : undefined;
|
|
31
|
+
resourceInputs["withDefaultAlertsSettings"] = state ? state.withDefaultAlertsSettings : undefined;
|
|
31
32
|
}
|
|
32
33
|
else {
|
|
33
34
|
const args = argsOrState;
|
|
@@ -38,6 +39,7 @@ class Project extends pulumi.CustomResource {
|
|
|
38
39
|
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
39
40
|
resourceInputs["projectOwnerId"] = args ? args.projectOwnerId : undefined;
|
|
40
41
|
resourceInputs["teams"] = args ? args.teams : undefined;
|
|
42
|
+
resourceInputs["withDefaultAlertsSettings"] = args ? args.withDefaultAlertsSettings : undefined;
|
|
41
43
|
resourceInputs["clusterCount"] = undefined /*out*/;
|
|
42
44
|
resourceInputs["created"] = undefined /*out*/;
|
|
43
45
|
}
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MA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