@pulumi/mongodbatlas 3.11.0 → 3.11.1
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/alertConfiguration.d.ts +9 -4
- package/alertConfiguration.js +3 -1
- package/alertConfiguration.js.map +1 -1
- package/cloudProviderAccess.d.ts +1 -1
- package/cloudProviderAccess.js +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +2 -58
- package/get509AuthenticationDatabaseUser.js +3 -58
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAlertConfiguration.d.ts +9 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getOnlineArchive.d.ts +19 -2
- package/getOnlineArchive.js +18 -2
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +44 -28
- package/getOnlineArchives.js +44 -28
- package/getOnlineArchives.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +64 -0
- package/getX509AuthenticationDatabaseUser.js +38 -0
- package/getX509AuthenticationDatabaseUser.js.map +1 -0
- package/index.d.ts +3 -18
- package/index.js +8 -27
- package/index.js.map +1 -1
- package/onlineArchive.d.ts +33 -12
- package/onlineArchive.js +2 -0
- package/onlineArchive.js.map +1 -1
- package/package.json +1 -1
- package/types/input.d.ts +10 -53
- package/types/output.d.ts +151 -227
- package/dataLake.d.ts +0 -204
- package/dataLake.js +0 -107
- package/dataLake.js.map +0 -1
- package/getDataLake.d.ts +0 -100
- package/getDataLake.js +0 -30
- package/getDataLake.js.map +0 -1
- package/getDataLakes.d.ts +0 -68
- package/getDataLakes.js +0 -51
- package/getDataLakes.js.map +0 -1
- package/getPrivatelinkEndpointServiceAdl.d.ts +0 -66
- package/getPrivatelinkEndpointServiceAdl.js +0 -34
- package/getPrivatelinkEndpointServiceAdl.js.map +0 -1
- package/getPrivatelinkEndpointsServiceAdl.d.ts +0 -89
- package/getPrivatelinkEndpointsServiceAdl.js +0 -65
- package/getPrivatelinkEndpointsServiceAdl.js.map +0 -1
- package/privatelinkEndpointServiceAdl.d.ts +0 -125
- package/privatelinkEndpointServiceAdl.js +0 -98
- package/privatelinkEndpointServiceAdl.js.map +0 -1
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getPrivatelinkEndpointServiceAdlOutput = exports.getPrivatelinkEndpointServiceAdl = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* `privatelinkEndpointServiceAdl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource.
|
|
10
|
-
*
|
|
11
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
*/
|
|
15
|
-
function getPrivatelinkEndpointServiceAdl(args, opts) {
|
|
16
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
17
|
-
return pulumi.runtime.invoke("mongodbatlas:index/getPrivatelinkEndpointServiceAdl:getPrivatelinkEndpointServiceAdl", {
|
|
18
|
-
"endpointId": args.endpointId,
|
|
19
|
-
"projectId": args.projectId,
|
|
20
|
-
}, opts);
|
|
21
|
-
}
|
|
22
|
-
exports.getPrivatelinkEndpointServiceAdl = getPrivatelinkEndpointServiceAdl;
|
|
23
|
-
/**
|
|
24
|
-
* `privatelinkEndpointServiceAdl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource.
|
|
25
|
-
*
|
|
26
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
27
|
-
*
|
|
28
|
-
* ## Example Usage
|
|
29
|
-
*/
|
|
30
|
-
function getPrivatelinkEndpointServiceAdlOutput(args, opts) {
|
|
31
|
-
return pulumi.output(args).apply((a) => getPrivatelinkEndpointServiceAdl(a, opts));
|
|
32
|
-
}
|
|
33
|
-
exports.getPrivatelinkEndpointServiceAdlOutput = getPrivatelinkEndpointServiceAdlOutput;
|
|
34
|
-
//# sourceMappingURL=getPrivatelinkEndpointServiceAdl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPrivatelinkEndpointServiceAdl.js","sourceRoot":"","sources":["../getPrivatelinkEndpointServiceAdl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IAEpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC;AAuCD;;;;;;GAMG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gCAAgC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3F,CAAC;AAFD,wFAEC"}
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
import * as outputs from "./types/output";
|
|
3
|
-
/**
|
|
4
|
-
* `privatelinkEndpointsServiceAdl` Describes the list of all Atlas Data Lake (ADL) and Online Archive PrivateLink endpoints resource.
|
|
5
|
-
*
|
|
6
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
7
|
-
*
|
|
8
|
-
* ## Example Usage
|
|
9
|
-
* ### Basic
|
|
10
|
-
* ```typescript
|
|
11
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
12
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
13
|
-
*
|
|
14
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
15
|
-
* projectId: "<PROJECT_ID>",
|
|
16
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
17
|
-
* comment: "Comment for PrivateLink endpoint ADL",
|
|
18
|
-
* type: "DATA_LAKE",
|
|
19
|
-
* providerName: "AWS",
|
|
20
|
-
* });
|
|
21
|
-
* const test = mongodbatlas.getPrivatelinkEndpointsServiceAdlOutput({
|
|
22
|
-
* projectId: adlTest.projectId,
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*/
|
|
26
|
-
export declare function getPrivatelinkEndpointsServiceAdl(args: GetPrivatelinkEndpointsServiceAdlArgs, opts?: pulumi.InvokeOptions): Promise<GetPrivatelinkEndpointsServiceAdlResult>;
|
|
27
|
-
/**
|
|
28
|
-
* A collection of arguments for invoking getPrivatelinkEndpointsServiceAdl.
|
|
29
|
-
*/
|
|
30
|
-
export interface GetPrivatelinkEndpointsServiceAdlArgs {
|
|
31
|
-
/**
|
|
32
|
-
* The unique ID for the project.
|
|
33
|
-
*
|
|
34
|
-
* # Attributes Reference
|
|
35
|
-
*
|
|
36
|
-
* In addition to all arguments above, the following attributes are exported:
|
|
37
|
-
*/
|
|
38
|
-
projectId: string;
|
|
39
|
-
}
|
|
40
|
-
/**
|
|
41
|
-
* A collection of values returned by getPrivatelinkEndpointsServiceAdl.
|
|
42
|
-
*/
|
|
43
|
-
export interface GetPrivatelinkEndpointsServiceAdlResult {
|
|
44
|
-
/**
|
|
45
|
-
* The provider-assigned unique ID for this managed resource.
|
|
46
|
-
*/
|
|
47
|
-
readonly id: string;
|
|
48
|
-
readonly links: outputs.GetPrivatelinkEndpointsServiceAdlLink[];
|
|
49
|
-
readonly projectId: string;
|
|
50
|
-
readonly results: outputs.GetPrivatelinkEndpointsServiceAdlResult[];
|
|
51
|
-
readonly totalCount: number;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* `privatelinkEndpointsServiceAdl` Describes the list of all Atlas Data Lake (ADL) and Online Archive PrivateLink endpoints resource.
|
|
55
|
-
*
|
|
56
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
57
|
-
*
|
|
58
|
-
* ## Example Usage
|
|
59
|
-
* ### Basic
|
|
60
|
-
* ```typescript
|
|
61
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
63
|
-
*
|
|
64
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
65
|
-
* projectId: "<PROJECT_ID>",
|
|
66
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
67
|
-
* comment: "Comment for PrivateLink endpoint ADL",
|
|
68
|
-
* type: "DATA_LAKE",
|
|
69
|
-
* providerName: "AWS",
|
|
70
|
-
* });
|
|
71
|
-
* const test = mongodbatlas.getPrivatelinkEndpointsServiceAdlOutput({
|
|
72
|
-
* projectId: adlTest.projectId,
|
|
73
|
-
* });
|
|
74
|
-
* ```
|
|
75
|
-
*/
|
|
76
|
-
export declare function getPrivatelinkEndpointsServiceAdlOutput(args: GetPrivatelinkEndpointsServiceAdlOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetPrivatelinkEndpointsServiceAdlResult>;
|
|
77
|
-
/**
|
|
78
|
-
* A collection of arguments for invoking getPrivatelinkEndpointsServiceAdl.
|
|
79
|
-
*/
|
|
80
|
-
export interface GetPrivatelinkEndpointsServiceAdlOutputArgs {
|
|
81
|
-
/**
|
|
82
|
-
* The unique ID for the project.
|
|
83
|
-
*
|
|
84
|
-
* # Attributes Reference
|
|
85
|
-
*
|
|
86
|
-
* In addition to all arguments above, the following attributes are exported:
|
|
87
|
-
*/
|
|
88
|
-
projectId: pulumi.Input<string>;
|
|
89
|
-
}
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.getPrivatelinkEndpointsServiceAdlOutput = exports.getPrivatelinkEndpointsServiceAdl = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* `privatelinkEndpointsServiceAdl` Describes the list of all Atlas Data Lake (ADL) and Online Archive PrivateLink endpoints resource.
|
|
10
|
-
*
|
|
11
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
12
|
-
*
|
|
13
|
-
* ## Example Usage
|
|
14
|
-
* ### Basic
|
|
15
|
-
* ```typescript
|
|
16
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
-
*
|
|
19
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
20
|
-
* projectId: "<PROJECT_ID>",
|
|
21
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
22
|
-
* comment: "Comment for PrivateLink endpoint ADL",
|
|
23
|
-
* type: "DATA_LAKE",
|
|
24
|
-
* providerName: "AWS",
|
|
25
|
-
* });
|
|
26
|
-
* const test = mongodbatlas.getPrivatelinkEndpointsServiceAdlOutput({
|
|
27
|
-
* projectId: adlTest.projectId,
|
|
28
|
-
* });
|
|
29
|
-
* ```
|
|
30
|
-
*/
|
|
31
|
-
function getPrivatelinkEndpointsServiceAdl(args, opts) {
|
|
32
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
33
|
-
return pulumi.runtime.invoke("mongodbatlas:index/getPrivatelinkEndpointsServiceAdl:getPrivatelinkEndpointsServiceAdl", {
|
|
34
|
-
"projectId": args.projectId,
|
|
35
|
-
}, opts);
|
|
36
|
-
}
|
|
37
|
-
exports.getPrivatelinkEndpointsServiceAdl = getPrivatelinkEndpointsServiceAdl;
|
|
38
|
-
/**
|
|
39
|
-
* `privatelinkEndpointsServiceAdl` Describes the list of all Atlas Data Lake (ADL) and Online Archive PrivateLink endpoints resource.
|
|
40
|
-
*
|
|
41
|
-
* > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
|
|
42
|
-
*
|
|
43
|
-
* ## Example Usage
|
|
44
|
-
* ### Basic
|
|
45
|
-
* ```typescript
|
|
46
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
48
|
-
*
|
|
49
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
50
|
-
* projectId: "<PROJECT_ID>",
|
|
51
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
52
|
-
* comment: "Comment for PrivateLink endpoint ADL",
|
|
53
|
-
* type: "DATA_LAKE",
|
|
54
|
-
* providerName: "AWS",
|
|
55
|
-
* });
|
|
56
|
-
* const test = mongodbatlas.getPrivatelinkEndpointsServiceAdlOutput({
|
|
57
|
-
* projectId: adlTest.projectId,
|
|
58
|
-
* });
|
|
59
|
-
* ```
|
|
60
|
-
*/
|
|
61
|
-
function getPrivatelinkEndpointsServiceAdlOutput(args, opts) {
|
|
62
|
-
return pulumi.output(args).apply((a) => getPrivatelinkEndpointsServiceAdl(a, opts));
|
|
63
|
-
}
|
|
64
|
-
exports.getPrivatelinkEndpointsServiceAdlOutput = getPrivatelinkEndpointsServiceAdlOutput;
|
|
65
|
-
//# sourceMappingURL=getPrivatelinkEndpointsServiceAdl.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"getPrivatelinkEndpointsServiceAdl.js","sourceRoot":"","sources":["../getPrivatelinkEndpointsServiceAdl.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IAEtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8EAMC;AA6BD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAA2B;IAClI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,iCAAiC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC5F,CAAC;AAFD,0FAEC"}
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
-
/**
|
|
3
|
-
* `privatelinkEndpointServiceAdl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource. The same configuration will provide a PrivateLink connection for either Atlas Data Lake or Online Archive.
|
|
4
|
-
*
|
|
5
|
-
* ## Example Usage
|
|
6
|
-
* ### Basic
|
|
7
|
-
* ```typescript
|
|
8
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
|
-
*
|
|
11
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
12
|
-
* comment: "comments for private link endpoint adl",
|
|
13
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
14
|
-
* projectId: "<PROJECT_ID>",
|
|
15
|
-
* providerName: "AWS",
|
|
16
|
-
* type: "DATA_LAKE",
|
|
17
|
-
* });
|
|
18
|
-
* ```
|
|
19
|
-
*
|
|
20
|
-
* ## Import
|
|
21
|
-
*
|
|
22
|
-
* ADL privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
23
|
-
*
|
|
24
|
-
* ```sh
|
|
25
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServiceAdl:PrivatelinkEndpointServiceAdl test 1112222b3bf99403840e8934--vpce-jjg5e24qp93513h03
|
|
26
|
-
* ```
|
|
27
|
-
* For more information see[MongoDB Atlas API - DataLake](https://docs.mongodb.com/datalake/reference/api/datalakes-api/)
|
|
28
|
-
*
|
|
29
|
-
* and [MongoDB Atlas API - Online Archive](https://docs.atlas.mongodb.com/reference/api/online-archive/) Documentation.
|
|
30
|
-
*/
|
|
31
|
-
export declare class PrivatelinkEndpointServiceAdl extends pulumi.CustomResource {
|
|
32
|
-
/**
|
|
33
|
-
* Get an existing PrivatelinkEndpointServiceAdl resource's state with the given name, ID, and optional extra
|
|
34
|
-
* properties used to qualify the lookup.
|
|
35
|
-
*
|
|
36
|
-
* @param name The _unique_ name of the resulting resource.
|
|
37
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
-
* @param state Any extra arguments used during the lookup.
|
|
39
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
-
*/
|
|
41
|
-
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PrivatelinkEndpointServiceAdlState, opts?: pulumi.CustomResourceOptions): PrivatelinkEndpointServiceAdl;
|
|
42
|
-
/**
|
|
43
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServiceAdl. This is designed to work even
|
|
44
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
-
*/
|
|
46
|
-
static isInstance(obj: any): obj is PrivatelinkEndpointServiceAdl;
|
|
47
|
-
/**
|
|
48
|
-
* Human-readable string to associate with this private endpoint.
|
|
49
|
-
*/
|
|
50
|
-
readonly comment: pulumi.Output<string | undefined>;
|
|
51
|
-
/**
|
|
52
|
-
* Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [|aws| PrivateLink](https://aws.amazon.com/privatelink/) feature.
|
|
53
|
-
*/
|
|
54
|
-
readonly endpointId: pulumi.Output<string>;
|
|
55
|
-
/**
|
|
56
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
57
|
-
*/
|
|
58
|
-
readonly projectId: pulumi.Output<string>;
|
|
59
|
-
/**
|
|
60
|
-
* Human-readable label that identifies the cloud provider for this endpoint. Atlas supports AWS only. If empty, defaults to AWS.
|
|
61
|
-
*/
|
|
62
|
-
readonly providerName: pulumi.Output<string>;
|
|
63
|
-
/**
|
|
64
|
-
* Human-readable label that identifies the type of resource to associate with this private endpoint. Atlas supports `DATA_LAKE` only. If empty, defaults to `DATA_LAKE`.
|
|
65
|
-
*/
|
|
66
|
-
readonly type: pulumi.Output<string>;
|
|
67
|
-
/**
|
|
68
|
-
* Create a PrivatelinkEndpointServiceAdl resource with the given unique name, arguments, and options.
|
|
69
|
-
*
|
|
70
|
-
* @param name The _unique_ name of the resource.
|
|
71
|
-
* @param args The arguments to use to populate this resource's properties.
|
|
72
|
-
* @param opts A bag of options that control this resource's behavior.
|
|
73
|
-
*/
|
|
74
|
-
constructor(name: string, args: PrivatelinkEndpointServiceAdlArgs, opts?: pulumi.CustomResourceOptions);
|
|
75
|
-
}
|
|
76
|
-
/**
|
|
77
|
-
* Input properties used for looking up and filtering PrivatelinkEndpointServiceAdl resources.
|
|
78
|
-
*/
|
|
79
|
-
export interface PrivatelinkEndpointServiceAdlState {
|
|
80
|
-
/**
|
|
81
|
-
* Human-readable string to associate with this private endpoint.
|
|
82
|
-
*/
|
|
83
|
-
comment?: pulumi.Input<string>;
|
|
84
|
-
/**
|
|
85
|
-
* Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [|aws| PrivateLink](https://aws.amazon.com/privatelink/) feature.
|
|
86
|
-
*/
|
|
87
|
-
endpointId?: pulumi.Input<string>;
|
|
88
|
-
/**
|
|
89
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
90
|
-
*/
|
|
91
|
-
projectId?: pulumi.Input<string>;
|
|
92
|
-
/**
|
|
93
|
-
* Human-readable label that identifies the cloud provider for this endpoint. Atlas supports AWS only. If empty, defaults to AWS.
|
|
94
|
-
*/
|
|
95
|
-
providerName?: pulumi.Input<string>;
|
|
96
|
-
/**
|
|
97
|
-
* Human-readable label that identifies the type of resource to associate with this private endpoint. Atlas supports `DATA_LAKE` only. If empty, defaults to `DATA_LAKE`.
|
|
98
|
-
*/
|
|
99
|
-
type?: pulumi.Input<string>;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* The set of arguments for constructing a PrivatelinkEndpointServiceAdl resource.
|
|
103
|
-
*/
|
|
104
|
-
export interface PrivatelinkEndpointServiceAdlArgs {
|
|
105
|
-
/**
|
|
106
|
-
* Human-readable string to associate with this private endpoint.
|
|
107
|
-
*/
|
|
108
|
-
comment?: pulumi.Input<string>;
|
|
109
|
-
/**
|
|
110
|
-
* Unique 22-character alphanumeric string that identifies the private endpoint. Atlas supports AWS private endpoints using the [|aws| PrivateLink](https://aws.amazon.com/privatelink/) feature.
|
|
111
|
-
*/
|
|
112
|
-
endpointId: pulumi.Input<string>;
|
|
113
|
-
/**
|
|
114
|
-
* Unique 24-digit hexadecimal string that identifies the project.
|
|
115
|
-
*/
|
|
116
|
-
projectId: pulumi.Input<string>;
|
|
117
|
-
/**
|
|
118
|
-
* Human-readable label that identifies the cloud provider for this endpoint. Atlas supports AWS only. If empty, defaults to AWS.
|
|
119
|
-
*/
|
|
120
|
-
providerName: pulumi.Input<string>;
|
|
121
|
-
/**
|
|
122
|
-
* Human-readable label that identifies the type of resource to associate with this private endpoint. Atlas supports `DATA_LAKE` only. If empty, defaults to `DATA_LAKE`.
|
|
123
|
-
*/
|
|
124
|
-
type: pulumi.Input<string>;
|
|
125
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
-
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
-
exports.PrivatelinkEndpointServiceAdl = void 0;
|
|
6
|
-
const pulumi = require("@pulumi/pulumi");
|
|
7
|
-
const utilities = require("./utilities");
|
|
8
|
-
/**
|
|
9
|
-
* `privatelinkEndpointServiceAdl` Provides an Atlas Data Lake (ADL) and Online Archive PrivateLink endpoint resource. The same configuration will provide a PrivateLink connection for either Atlas Data Lake or Online Archive.
|
|
10
|
-
*
|
|
11
|
-
* ## Example Usage
|
|
12
|
-
* ### Basic
|
|
13
|
-
* ```typescript
|
|
14
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
-
*
|
|
17
|
-
* const adlTest = new mongodbatlas.PrivatelinkEndpointServiceAdl("adlTest", {
|
|
18
|
-
* comment: "comments for private link endpoint adl",
|
|
19
|
-
* endpointId: "<ENDPOINT_ID>",
|
|
20
|
-
* projectId: "<PROJECT_ID>",
|
|
21
|
-
* providerName: "AWS",
|
|
22
|
-
* type: "DATA_LAKE",
|
|
23
|
-
* });
|
|
24
|
-
* ```
|
|
25
|
-
*
|
|
26
|
-
* ## Import
|
|
27
|
-
*
|
|
28
|
-
* ADL privatelink endpoint can be imported using project ID and endpoint ID, in the format `project_id`--`endpoint_id`, e.g.
|
|
29
|
-
*
|
|
30
|
-
* ```sh
|
|
31
|
-
* $ pulumi import mongodbatlas:index/privatelinkEndpointServiceAdl:PrivatelinkEndpointServiceAdl test 1112222b3bf99403840e8934--vpce-jjg5e24qp93513h03
|
|
32
|
-
* ```
|
|
33
|
-
* For more information see[MongoDB Atlas API - DataLake](https://docs.mongodb.com/datalake/reference/api/datalakes-api/)
|
|
34
|
-
*
|
|
35
|
-
* and [MongoDB Atlas API - Online Archive](https://docs.atlas.mongodb.com/reference/api/online-archive/) Documentation.
|
|
36
|
-
*/
|
|
37
|
-
class PrivatelinkEndpointServiceAdl extends pulumi.CustomResource {
|
|
38
|
-
/**
|
|
39
|
-
* Get an existing PrivatelinkEndpointServiceAdl resource's state with the given name, ID, and optional extra
|
|
40
|
-
* properties used to qualify the lookup.
|
|
41
|
-
*
|
|
42
|
-
* @param name The _unique_ name of the resulting resource.
|
|
43
|
-
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
-
* @param state Any extra arguments used during the lookup.
|
|
45
|
-
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
-
*/
|
|
47
|
-
static get(name, id, state, opts) {
|
|
48
|
-
return new PrivatelinkEndpointServiceAdl(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
49
|
-
}
|
|
50
|
-
/**
|
|
51
|
-
* Returns true if the given object is an instance of PrivatelinkEndpointServiceAdl. This is designed to work even
|
|
52
|
-
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
-
*/
|
|
54
|
-
static isInstance(obj) {
|
|
55
|
-
if (obj === undefined || obj === null) {
|
|
56
|
-
return false;
|
|
57
|
-
}
|
|
58
|
-
return obj['__pulumiType'] === PrivatelinkEndpointServiceAdl.__pulumiType;
|
|
59
|
-
}
|
|
60
|
-
constructor(name, argsOrState, opts) {
|
|
61
|
-
let resourceInputs = {};
|
|
62
|
-
opts = opts || {};
|
|
63
|
-
if (opts.id) {
|
|
64
|
-
const state = argsOrState;
|
|
65
|
-
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
66
|
-
resourceInputs["endpointId"] = state ? state.endpointId : undefined;
|
|
67
|
-
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
68
|
-
resourceInputs["providerName"] = state ? state.providerName : undefined;
|
|
69
|
-
resourceInputs["type"] = state ? state.type : undefined;
|
|
70
|
-
}
|
|
71
|
-
else {
|
|
72
|
-
const args = argsOrState;
|
|
73
|
-
if ((!args || args.endpointId === undefined) && !opts.urn) {
|
|
74
|
-
throw new Error("Missing required property 'endpointId'");
|
|
75
|
-
}
|
|
76
|
-
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
77
|
-
throw new Error("Missing required property 'projectId'");
|
|
78
|
-
}
|
|
79
|
-
if ((!args || args.providerName === undefined) && !opts.urn) {
|
|
80
|
-
throw new Error("Missing required property 'providerName'");
|
|
81
|
-
}
|
|
82
|
-
if ((!args || args.type === undefined) && !opts.urn) {
|
|
83
|
-
throw new Error("Missing required property 'type'");
|
|
84
|
-
}
|
|
85
|
-
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
86
|
-
resourceInputs["endpointId"] = args ? args.endpointId : undefined;
|
|
87
|
-
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
88
|
-
resourceInputs["providerName"] = args ? args.providerName : undefined;
|
|
89
|
-
resourceInputs["type"] = args ? args.type : undefined;
|
|
90
|
-
}
|
|
91
|
-
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
-
super(PrivatelinkEndpointServiceAdl.__pulumiType, name, resourceInputs, opts);
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
exports.PrivatelinkEndpointServiceAdl = PrivatelinkEndpointServiceAdl;
|
|
96
|
-
/** @internal */
|
|
97
|
-
PrivatelinkEndpointServiceAdl.__pulumiType = 'mongodbatlas:index/privatelinkEndpointServiceAdl:PrivatelinkEndpointServiceAdl';
|
|
98
|
-
//# sourceMappingURL=privatelinkEndpointServiceAdl.js.map
|
|
@@ -1 +0,0 @@
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