@pulumi/mongodbatlas 3.37.0-alpha.1762410787 → 3.37.0-alpha.1763072353
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/dataLakePipeline.d.ts +54 -0
- package/dataLakePipeline.js +54 -0
- package/dataLakePipeline.js.map +1 -1
- package/eventTrigger.d.ts +2 -2
- package/eventTrigger.js +2 -2
- package/flexCluster.d.ts +26 -0
- package/flexCluster.js +26 -0
- package/flexCluster.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +58 -2
- package/get509AuthenticationDatabaseUser.js +58 -2
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAccessListApiKey.d.ts +30 -0
- package/getAccessListApiKey.js +30 -0
- package/getAccessListApiKey.js.map +1 -1
- package/getAccessListApiKeys.d.ts +30 -0
- package/getAccessListApiKeys.js +30 -0
- package/getAccessListApiKeys.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +108 -0
- package/getCloudBackupSchedule.js +108 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +54 -0
- package/getCloudBackupSnapshotRestoreJob.js +54 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCustomDbRoles.d.ts +50 -0
- package/getCustomDbRoles.js +50 -0
- package/getCustomDbRoles.js.map +1 -1
- package/getDataLakePipeline.d.ts +116 -0
- package/getDataLakePipeline.js +116 -0
- package/getDataLakePipeline.js.map +1 -1
- package/getDataLakePipelineRuns.d.ts +74 -0
- package/getDataLakePipelineRuns.js +74 -0
- package/getDataLakePipelineRuns.js.map +1 -1
- package/getFederatedSettingsOrgRoleMappings.d.ts +68 -0
- package/getFederatedSettingsOrgRoleMappings.js +68 -0
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -1
- package/getFlexCluster.d.ts +50 -0
- package/getFlexCluster.js +50 -0
- package/getFlexCluster.js.map +1 -1
- package/getFlexClusters.d.ts +50 -0
- package/getFlexClusters.js +50 -0
- package/getFlexClusters.js.map +1 -1
- package/getSearchDeployment.d.ts +78 -0
- package/getSearchDeployment.js +78 -0
- package/getSearchDeployment.js.map +1 -1
- package/getStreamPrivatelinkEndpoint.d.ts +140 -0
- package/getStreamPrivatelinkEndpoint.js +140 -0
- package/getStreamPrivatelinkEndpoint.js.map +1 -1
- package/getStreamPrivatelinkEndpoints.d.ts +140 -0
- package/getStreamPrivatelinkEndpoints.js +140 -0
- package/getStreamPrivatelinkEndpoints.js.map +1 -1
- package/getStreamProcessor.d.ts +264 -0
- package/getStreamProcessor.js +264 -0
- package/getStreamProcessor.js.map +1 -1
- package/getStreamProcessors.d.ts +264 -0
- package/getStreamProcessors.js +264 -0
- package/getStreamProcessors.js.map +1 -1
- package/getX509AuthenticationDatabaseUser.d.ts +58 -2
- package/getX509AuthenticationDatabaseUser.js +58 -2
- package/getX509AuthenticationDatabaseUser.js.map +1 -1
- package/package.json +2 -2
- package/searchDeployment.d.ts +40 -0
- package/searchDeployment.js +40 -0
- package/searchDeployment.js.map +1 -1
- package/searchIndex.d.ts +39 -39
- package/searchIndex.js +39 -39
- package/streamConnection.d.ts +40 -0
- package/streamConnection.js +40 -0
- package/streamConnection.js.map +1 -1
- package/streamInstance.d.ts +14 -0
- package/streamInstance.js +14 -0
- package/streamInstance.js.map +1 -1
- package/streamPrivatelinkEndpoint.d.ts +70 -0
- package/streamPrivatelinkEndpoint.js +70 -0
- package/streamPrivatelinkEndpoint.js.map +1 -1
- package/streamProcessor.d.ts +133 -0
- package/streamProcessor.js +133 -0
- package/streamProcessor.js.map +1 -1
- package/x509authenticationDatabaseUser.d.ts +63 -0
- package/x509authenticationDatabaseUser.js +63 -0
- package/x509authenticationDatabaseUser.js.map +1 -1
package/dataLakePipeline.d.ts
CHANGED
|
@@ -12,6 +12,60 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* ### S
|
|
14
14
|
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const projectTest = new mongodbatlas.Project("projectTest", {
|
|
20
|
+
* name: "NAME OF THE PROJECT",
|
|
21
|
+
* orgId: "ORGANIZATION ID",
|
|
22
|
+
* });
|
|
23
|
+
* const automatedBackupTest = new mongodbatlas.AdvancedCluster("automated_backup_test", {
|
|
24
|
+
* projectId: projectId,
|
|
25
|
+
* name: "automated-backup-test",
|
|
26
|
+
* clusterType: "REPLICASET",
|
|
27
|
+
* backupEnabled: true,
|
|
28
|
+
* replicationSpecs: [{
|
|
29
|
+
* regionConfigs: [{
|
|
30
|
+
* priority: 7,
|
|
31
|
+
* providerName: "GCP",
|
|
32
|
+
* regionName: "US_EAST_4",
|
|
33
|
+
* electableSpecs: {
|
|
34
|
+
* instanceSize: "M10",
|
|
35
|
+
* nodeCount: 3,
|
|
36
|
+
* },
|
|
37
|
+
* }],
|
|
38
|
+
* }],
|
|
39
|
+
* });
|
|
40
|
+
* const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
|
|
41
|
+
* projectId: projectTest.projectId,
|
|
42
|
+
* name: "DataLakePipelineName",
|
|
43
|
+
* sink: {
|
|
44
|
+
* type: "DLS",
|
|
45
|
+
* partitionFields: [{
|
|
46
|
+
* name: "access",
|
|
47
|
+
* order: 0,
|
|
48
|
+
* }],
|
|
49
|
+
* },
|
|
50
|
+
* source: {
|
|
51
|
+
* type: "ON_DEMAND_CPS",
|
|
52
|
+
* clusterName: automatedBackupTest.name,
|
|
53
|
+
* databaseName: "sample_airbnb",
|
|
54
|
+
* collectionName: "listingsAndReviews",
|
|
55
|
+
* },
|
|
56
|
+
* transformations: [
|
|
57
|
+
* {
|
|
58
|
+
* field: "test",
|
|
59
|
+
* type: "EXCLUDE",
|
|
60
|
+
* },
|
|
61
|
+
* {
|
|
62
|
+
* field: "test22",
|
|
63
|
+
* type: "EXCLUDE",
|
|
64
|
+
* },
|
|
65
|
+
* ],
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
15
69
|
* ## Import
|
|
16
70
|
*
|
|
17
71
|
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
package/dataLakePipeline.js
CHANGED
|
@@ -16,6 +16,60 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* ### S
|
|
18
18
|
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const projectTest = new mongodbatlas.Project("projectTest", {
|
|
24
|
+
* name: "NAME OF THE PROJECT",
|
|
25
|
+
* orgId: "ORGANIZATION ID",
|
|
26
|
+
* });
|
|
27
|
+
* const automatedBackupTest = new mongodbatlas.AdvancedCluster("automated_backup_test", {
|
|
28
|
+
* projectId: projectId,
|
|
29
|
+
* name: "automated-backup-test",
|
|
30
|
+
* clusterType: "REPLICASET",
|
|
31
|
+
* backupEnabled: true,
|
|
32
|
+
* replicationSpecs: [{
|
|
33
|
+
* regionConfigs: [{
|
|
34
|
+
* priority: 7,
|
|
35
|
+
* providerName: "GCP",
|
|
36
|
+
* regionName: "US_EAST_4",
|
|
37
|
+
* electableSpecs: {
|
|
38
|
+
* instanceSize: "M10",
|
|
39
|
+
* nodeCount: 3,
|
|
40
|
+
* },
|
|
41
|
+
* }],
|
|
42
|
+
* }],
|
|
43
|
+
* });
|
|
44
|
+
* const pipeline = new mongodbatlas.DataLakePipeline("pipeline", {
|
|
45
|
+
* projectId: projectTest.projectId,
|
|
46
|
+
* name: "DataLakePipelineName",
|
|
47
|
+
* sink: {
|
|
48
|
+
* type: "DLS",
|
|
49
|
+
* partitionFields: [{
|
|
50
|
+
* name: "access",
|
|
51
|
+
* order: 0,
|
|
52
|
+
* }],
|
|
53
|
+
* },
|
|
54
|
+
* source: {
|
|
55
|
+
* type: "ON_DEMAND_CPS",
|
|
56
|
+
* clusterName: automatedBackupTest.name,
|
|
57
|
+
* databaseName: "sample_airbnb",
|
|
58
|
+
* collectionName: "listingsAndReviews",
|
|
59
|
+
* },
|
|
60
|
+
* transformations: [
|
|
61
|
+
* {
|
|
62
|
+
* field: "test",
|
|
63
|
+
* type: "EXCLUDE",
|
|
64
|
+
* },
|
|
65
|
+
* {
|
|
66
|
+
* field: "test22",
|
|
67
|
+
* type: "EXCLUDE",
|
|
68
|
+
* },
|
|
69
|
+
* ],
|
|
70
|
+
* });
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
19
73
|
* ## Import
|
|
20
74
|
*
|
|
21
75
|
* Data Lake Pipeline can be imported using project ID, name of the data lake and name of the AWS s3 bucket, in the format `project_id`--`name`, e.g.
|
package/dataLakePipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dataLakePipeline.js","sourceRoot":"","sources":["../dataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"dataLakePipeline.js","sourceRoot":"","sources":["../dataLakePipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0EG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;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5D;YACD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7HL,4CA8HC;AAhHG,gBAAgB;AACO,6BAAY,GAAG,sDAAsD,CAAC"}
|
package/eventTrigger.d.ts
CHANGED
|
@@ -32,8 +32,8 @@ import * as outputs from "./types/output";
|
|
|
32
32
|
* configCollection: "COLLECTION NAME",
|
|
33
33
|
* configServiceId: "SERVICE ID",
|
|
34
34
|
* configMatch: `{
|
|
35
|
-
* "updateDescription.updatedFields": {
|
|
36
|
-
* "status": "blocked"
|
|
35
|
+
* \\"updateDescription.updatedFields\\": {
|
|
36
|
+
* \\"status\\": \\"blocked\\"
|
|
37
37
|
* }
|
|
38
38
|
* }
|
|
39
39
|
* `,
|
package/eventTrigger.js
CHANGED
|
@@ -36,8 +36,8 @@ const utilities = require("./utilities");
|
|
|
36
36
|
* configCollection: "COLLECTION NAME",
|
|
37
37
|
* configServiceId: "SERVICE ID",
|
|
38
38
|
* configMatch: `{
|
|
39
|
-
* "updateDescription.updatedFields": {
|
|
40
|
-
* "status": "blocked"
|
|
39
|
+
* \\"updateDescription.updatedFields\\": {
|
|
40
|
+
* \\"status\\": \\"blocked\\"
|
|
41
41
|
* }
|
|
42
42
|
* }
|
|
43
43
|
* `,
|
package/flexCluster.d.ts
CHANGED
|
@@ -10,6 +10,32 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
|
+
* ### S
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
|
|
20
|
+
* projectId: projectId,
|
|
21
|
+
* name: clusterName,
|
|
22
|
+
* providerSettings: {
|
|
23
|
+
* backingProviderName: "AWS",
|
|
24
|
+
* regionName: "US_EAST_1",
|
|
25
|
+
* },
|
|
26
|
+
* terminationProtectionEnabled: true,
|
|
27
|
+
* });
|
|
28
|
+
* const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
|
|
29
|
+
* projectId: projectId,
|
|
30
|
+
* name: name,
|
|
31
|
+
* }));
|
|
32
|
+
* const example_clusters = mongodbatlas.getFlexClusters({
|
|
33
|
+
* projectId: projectId,
|
|
34
|
+
* });
|
|
35
|
+
* export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
|
|
36
|
+
* export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
13
39
|
* ## Import
|
|
14
40
|
*
|
|
15
41
|
* You can import the Flex Cluster resource by using the Project ID and Flex Cluster name, in the format `PROJECT_ID-FLEX_CLUSTER_NAME`. For example:
|
package/flexCluster.js
CHANGED
|
@@ -14,6 +14,32 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* ## Example Usage
|
|
16
16
|
*
|
|
17
|
+
* ### S
|
|
18
|
+
*
|
|
19
|
+
* ```typescript
|
|
20
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
+
*
|
|
23
|
+
* const example_clusterFlexCluster = new mongodbatlas.FlexCluster("example-cluster", {
|
|
24
|
+
* projectId: projectId,
|
|
25
|
+
* name: clusterName,
|
|
26
|
+
* providerSettings: {
|
|
27
|
+
* backingProviderName: "AWS",
|
|
28
|
+
* regionName: "US_EAST_1",
|
|
29
|
+
* },
|
|
30
|
+
* terminationProtectionEnabled: true,
|
|
31
|
+
* });
|
|
32
|
+
* const example_cluster = example_clusterFlexCluster.name.apply(name => mongodbatlas.getFlexClusterOutput({
|
|
33
|
+
* projectId: projectId,
|
|
34
|
+
* name: name,
|
|
35
|
+
* }));
|
|
36
|
+
* const example_clusters = mongodbatlas.getFlexClusters({
|
|
37
|
+
* projectId: projectId,
|
|
38
|
+
* });
|
|
39
|
+
* export const mongodbatlasFlexCluster = example_cluster.apply(example_cluster => example_cluster.name);
|
|
40
|
+
* export const mongodbatlasFlexClustersNames = example_clusters.then(example_clusters => .map(cluster => (cluster.name)));
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
17
43
|
* ## Import
|
|
18
44
|
*
|
|
19
45
|
* You can import the Flex Cluster resource by using the Project ID and Flex Cluster name, in the format `PROJECT_ID-FLEX_CLUSTER_NAME`. For example:
|
package/flexCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flexCluster.js","sourceRoot":"","sources":["../flexCluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;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,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AA7HL,kCA8HC;AAhHG,gBAAgB;AACO,wBAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -12,6 +12,34 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* ### S
|
|
13
13
|
*
|
|
14
14
|
* ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
18
|
+
*
|
|
19
|
+
* const user = new mongodbatlas.DatabaseUser("user", {
|
|
20
|
+
* projectId: "<PROJECT-ID>",
|
|
21
|
+
* username: "myUsername",
|
|
22
|
+
* x509Type: "MANAGED",
|
|
23
|
+
* databaseName: "$external",
|
|
24
|
+
* roles: [{
|
|
25
|
+
* roleName: "atlasAdmin",
|
|
26
|
+
* databaseName: "admin",
|
|
27
|
+
* }],
|
|
28
|
+
* labels: [{
|
|
29
|
+
* key: "My Key",
|
|
30
|
+
* value: "My Value",
|
|
31
|
+
* }],
|
|
32
|
+
* });
|
|
33
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
34
|
+
* projectId: user.projectId,
|
|
35
|
+
* username: user.username,
|
|
36
|
+
* monthsUntilExpiration: 2,
|
|
37
|
+
* });
|
|
38
|
+
* const test = pulumi.all([testX509AuthenticationDatabaseUser.projectId, testX509AuthenticationDatabaseUser.username]).apply(([projectId, username]) => mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
39
|
+
* projectId: projectId,
|
|
40
|
+
* username: username,
|
|
41
|
+
* }));
|
|
42
|
+
* ```
|
|
15
43
|
*
|
|
16
44
|
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
17
45
|
* ```typescript
|
|
@@ -35,7 +63,7 @@ import * as outputs from "./types/output";
|
|
|
35
63
|
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
36
64
|
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
37
65
|
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
38
|
-
* -----END CERTIFICATE
|
|
66
|
+
* -----END CERTIFICATE-----\\"
|
|
39
67
|
* `,
|
|
40
68
|
* });
|
|
41
69
|
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
@@ -86,6 +114,34 @@ export interface Get509AuthenticationDatabaseUserResult {
|
|
|
86
114
|
* ### S
|
|
87
115
|
*
|
|
88
116
|
* ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user
|
|
117
|
+
* ```typescript
|
|
118
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
119
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
120
|
+
*
|
|
121
|
+
* const user = new mongodbatlas.DatabaseUser("user", {
|
|
122
|
+
* projectId: "<PROJECT-ID>",
|
|
123
|
+
* username: "myUsername",
|
|
124
|
+
* x509Type: "MANAGED",
|
|
125
|
+
* databaseName: "$external",
|
|
126
|
+
* roles: [{
|
|
127
|
+
* roleName: "atlasAdmin",
|
|
128
|
+
* databaseName: "admin",
|
|
129
|
+
* }],
|
|
130
|
+
* labels: [{
|
|
131
|
+
* key: "My Key",
|
|
132
|
+
* value: "My Value",
|
|
133
|
+
* }],
|
|
134
|
+
* });
|
|
135
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
136
|
+
* projectId: user.projectId,
|
|
137
|
+
* username: user.username,
|
|
138
|
+
* monthsUntilExpiration: 2,
|
|
139
|
+
* });
|
|
140
|
+
* const test = pulumi.all([testX509AuthenticationDatabaseUser.projectId, testX509AuthenticationDatabaseUser.username]).apply(([projectId, username]) => mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
141
|
+
* projectId: projectId,
|
|
142
|
+
* username: username,
|
|
143
|
+
* }));
|
|
144
|
+
* ```
|
|
89
145
|
*
|
|
90
146
|
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
91
147
|
* ```typescript
|
|
@@ -109,7 +165,7 @@ export interface Get509AuthenticationDatabaseUserResult {
|
|
|
109
165
|
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
110
166
|
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
111
167
|
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
112
|
-
* -----END CERTIFICATE
|
|
168
|
+
* -----END CERTIFICATE-----\\"
|
|
113
169
|
* `,
|
|
114
170
|
* });
|
|
115
171
|
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
@@ -17,6 +17,34 @@ const utilities = require("./utilities");
|
|
|
17
17
|
* ### S
|
|
18
18
|
*
|
|
19
19
|
* ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
23
|
+
*
|
|
24
|
+
* const user = new mongodbatlas.DatabaseUser("user", {
|
|
25
|
+
* projectId: "<PROJECT-ID>",
|
|
26
|
+
* username: "myUsername",
|
|
27
|
+
* x509Type: "MANAGED",
|
|
28
|
+
* databaseName: "$external",
|
|
29
|
+
* roles: [{
|
|
30
|
+
* roleName: "atlasAdmin",
|
|
31
|
+
* databaseName: "admin",
|
|
32
|
+
* }],
|
|
33
|
+
* labels: [{
|
|
34
|
+
* key: "My Key",
|
|
35
|
+
* value: "My Value",
|
|
36
|
+
* }],
|
|
37
|
+
* });
|
|
38
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
39
|
+
* projectId: user.projectId,
|
|
40
|
+
* username: user.username,
|
|
41
|
+
* monthsUntilExpiration: 2,
|
|
42
|
+
* });
|
|
43
|
+
* const test = pulumi.all([testX509AuthenticationDatabaseUser.projectId, testX509AuthenticationDatabaseUser.username]).apply(([projectId, username]) => mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
44
|
+
* projectId: projectId,
|
|
45
|
+
* username: username,
|
|
46
|
+
* }));
|
|
47
|
+
* ```
|
|
20
48
|
*
|
|
21
49
|
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
22
50
|
* ```typescript
|
|
@@ -40,7 +68,7 @@ const utilities = require("./utilities");
|
|
|
40
68
|
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
41
69
|
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
42
70
|
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
43
|
-
* -----END CERTIFICATE
|
|
71
|
+
* -----END CERTIFICATE-----\\"
|
|
44
72
|
* `,
|
|
45
73
|
* });
|
|
46
74
|
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
@@ -70,6 +98,34 @@ exports.get509AuthenticationDatabaseUser = get509AuthenticationDatabaseUser;
|
|
|
70
98
|
* ### S
|
|
71
99
|
*
|
|
72
100
|
* ### Example Usage: Generate an Atlas-managed X.509 certificate for a MongoDB user
|
|
101
|
+
* ```typescript
|
|
102
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
103
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
104
|
+
*
|
|
105
|
+
* const user = new mongodbatlas.DatabaseUser("user", {
|
|
106
|
+
* projectId: "<PROJECT-ID>",
|
|
107
|
+
* username: "myUsername",
|
|
108
|
+
* x509Type: "MANAGED",
|
|
109
|
+
* databaseName: "$external",
|
|
110
|
+
* roles: [{
|
|
111
|
+
* roleName: "atlasAdmin",
|
|
112
|
+
* databaseName: "admin",
|
|
113
|
+
* }],
|
|
114
|
+
* labels: [{
|
|
115
|
+
* key: "My Key",
|
|
116
|
+
* value: "My Value",
|
|
117
|
+
* }],
|
|
118
|
+
* });
|
|
119
|
+
* const testX509AuthenticationDatabaseUser = new mongodbatlas.X509AuthenticationDatabaseUser("test", {
|
|
120
|
+
* projectId: user.projectId,
|
|
121
|
+
* username: user.username,
|
|
122
|
+
* monthsUntilExpiration: 2,
|
|
123
|
+
* });
|
|
124
|
+
* const test = pulumi.all([testX509AuthenticationDatabaseUser.projectId, testX509AuthenticationDatabaseUser.username]).apply(([projectId, username]) => mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
125
|
+
* projectId: projectId,
|
|
126
|
+
* username: username,
|
|
127
|
+
* }));
|
|
128
|
+
* ```
|
|
73
129
|
*
|
|
74
130
|
* ### Example Usage: Save a customer-managed X.509 configuration for an Atlas project
|
|
75
131
|
* ```typescript
|
|
@@ -93,7 +149,7 @@ exports.get509AuthenticationDatabaseUser = get509AuthenticationDatabaseUser;
|
|
|
93
149
|
* SIb3DQEBCwUAA4GBADMUncjEPV/MiZUcVNGmktP6BPmEqMXQWUDpdGW2+Tg2JtUA
|
|
94
150
|
* 7MMILtepBkFzLO+GlpZxeAlXO0wxiNgEmCRONgh4+t2w3e7a8GFijYQ99FHrAC5A
|
|
95
151
|
* iul59bdl18gVqXia1Yeq/iK7Ohfy/Jwd7Hsm530elwkM/ZEkYDjBlZSXYdyz
|
|
96
|
-
* -----END CERTIFICATE
|
|
152
|
+
* -----END CERTIFICATE-----\\"
|
|
97
153
|
* `,
|
|
98
154
|
* });
|
|
99
155
|
* const test = mongodbatlas.getX509AuthenticationDatabaseUserOutput({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get509AuthenticationDatabaseUser.js","sourceRoot":"","sources":["../get509AuthenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"get509AuthenticationDatabaseUser.js","sourceRoot":"","sources":["../get509AuthenticationDatabaseUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,8NAA8N;AAC9N,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6PAA6P,CAAC,CAAA;IAC9Q,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,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC;AAgCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsEG;AACH,8NAA8N;AAC9N,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,6PAA6P,CAAC,CAAA;IAC9Q,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,sFAAsF,EAAE;QACvH,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wFAOC"}
|
package/getAccessListApiKey.d.ts
CHANGED
|
@@ -5,6 +5,21 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
5
5
|
* ### Using CIDR Block
|
|
6
6
|
*
|
|
7
7
|
* ### Using IP Address
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
|
+
*
|
|
12
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
13
|
+
* orgId: "<ORG_ID>",
|
|
14
|
+
* ipAddress: "2.3.4.5",
|
|
15
|
+
* apiKey: "a29120e123cd",
|
|
16
|
+
* });
|
|
17
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
18
|
+
* orgId: testAccessListApiKey.orgId,
|
|
19
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
20
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
8
23
|
*/
|
|
9
24
|
export declare function getAccessListApiKey(args: GetAccessListApiKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessListApiKeyResult>;
|
|
10
25
|
/**
|
|
@@ -49,6 +64,21 @@ export interface GetAccessListApiKeyResult {
|
|
|
49
64
|
* ### Using CIDR Block
|
|
50
65
|
*
|
|
51
66
|
* ### Using IP Address
|
|
67
|
+
* ```typescript
|
|
68
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
69
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
70
|
+
*
|
|
71
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
72
|
+
* orgId: "<ORG_ID>",
|
|
73
|
+
* ipAddress: "2.3.4.5",
|
|
74
|
+
* apiKey: "a29120e123cd",
|
|
75
|
+
* });
|
|
76
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
77
|
+
* orgId: testAccessListApiKey.orgId,
|
|
78
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
79
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
80
|
+
* });
|
|
81
|
+
* ```
|
|
52
82
|
*/
|
|
53
83
|
export declare function getAccessListApiKeyOutput(args: GetAccessListApiKeyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessListApiKeyResult>;
|
|
54
84
|
/**
|
package/getAccessListApiKey.js
CHANGED
|
@@ -11,6 +11,21 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* ### Using CIDR Block
|
|
12
12
|
*
|
|
13
13
|
* ### Using IP Address
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
19
|
+
* orgId: "<ORG_ID>",
|
|
20
|
+
* ipAddress: "2.3.4.5",
|
|
21
|
+
* apiKey: "a29120e123cd",
|
|
22
|
+
* });
|
|
23
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
24
|
+
* orgId: testAccessListApiKey.orgId,
|
|
25
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
26
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
14
29
|
*/
|
|
15
30
|
function getAccessListApiKey(args, opts) {
|
|
16
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -27,6 +42,21 @@ exports.getAccessListApiKey = getAccessListApiKey;
|
|
|
27
42
|
* ### Using CIDR Block
|
|
28
43
|
*
|
|
29
44
|
* ### Using IP Address
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
48
|
+
*
|
|
49
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
50
|
+
* orgId: "<ORG_ID>",
|
|
51
|
+
* ipAddress: "2.3.4.5",
|
|
52
|
+
* apiKey: "a29120e123cd",
|
|
53
|
+
* });
|
|
54
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
55
|
+
* orgId: testAccessListApiKey.orgId,
|
|
56
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
57
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
58
|
+
* });
|
|
59
|
+
* ```
|
|
30
60
|
*/
|
|
31
61
|
function getAccessListApiKeyOutput(args, opts) {
|
|
32
62
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccessListApiKey.js","sourceRoot":"","sources":["../getAccessListApiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccessListApiKey.js","sourceRoot":"","sources":["../getAccessListApiKey.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAuCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC"}
|
|
@@ -6,6 +6,21 @@ import * as outputs from "./types/output";
|
|
|
6
6
|
* ### Using CIDR Block
|
|
7
7
|
*
|
|
8
8
|
* ### Using IP Address
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
12
|
+
*
|
|
13
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
14
|
+
* orgId: "<ORG_ID>",
|
|
15
|
+
* ipAddress: "2.3.4.5",
|
|
16
|
+
* apiKey: "a29120e123cd",
|
|
17
|
+
* });
|
|
18
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
19
|
+
* orgId: testAccessListApiKey.orgId,
|
|
20
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
21
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
22
|
+
* });
|
|
23
|
+
* ```
|
|
9
24
|
*/
|
|
10
25
|
export declare function getAccessListApiKeys(args: GetAccessListApiKeysArgs, opts?: pulumi.InvokeOptions): Promise<GetAccessListApiKeysResult>;
|
|
11
26
|
/**
|
|
@@ -43,6 +58,21 @@ export interface GetAccessListApiKeysResult {
|
|
|
43
58
|
* ### Using CIDR Block
|
|
44
59
|
*
|
|
45
60
|
* ### Using IP Address
|
|
61
|
+
* ```typescript
|
|
62
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
63
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
64
|
+
*
|
|
65
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
66
|
+
* orgId: "<ORG_ID>",
|
|
67
|
+
* ipAddress: "2.3.4.5",
|
|
68
|
+
* apiKey: "a29120e123cd",
|
|
69
|
+
* });
|
|
70
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
71
|
+
* orgId: testAccessListApiKey.orgId,
|
|
72
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
73
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
74
|
+
* });
|
|
75
|
+
* ```
|
|
46
76
|
*/
|
|
47
77
|
export declare function getAccessListApiKeysOutput(args: GetAccessListApiKeysOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAccessListApiKeysResult>;
|
|
48
78
|
/**
|
package/getAccessListApiKeys.js
CHANGED
|
@@ -11,6 +11,21 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* ### Using CIDR Block
|
|
12
12
|
*
|
|
13
13
|
* ### Using IP Address
|
|
14
|
+
* ```typescript
|
|
15
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
+
*
|
|
18
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
19
|
+
* orgId: "<ORG_ID>",
|
|
20
|
+
* ipAddress: "2.3.4.5",
|
|
21
|
+
* apiKey: "a29120e123cd",
|
|
22
|
+
* });
|
|
23
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
24
|
+
* orgId: testAccessListApiKey.orgId,
|
|
25
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
26
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
27
|
+
* });
|
|
28
|
+
* ```
|
|
14
29
|
*/
|
|
15
30
|
function getAccessListApiKeys(args, opts) {
|
|
16
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -28,6 +43,21 @@ exports.getAccessListApiKeys = getAccessListApiKeys;
|
|
|
28
43
|
* ### Using CIDR Block
|
|
29
44
|
*
|
|
30
45
|
* ### Using IP Address
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
49
|
+
*
|
|
50
|
+
* const testAccessListApiKey = new mongodbatlas.AccessListApiKey("test", {
|
|
51
|
+
* orgId: "<ORG_ID>",
|
|
52
|
+
* ipAddress: "2.3.4.5",
|
|
53
|
+
* apiKey: "a29120e123cd",
|
|
54
|
+
* });
|
|
55
|
+
* const test = mongodbatlas.getAccessListApiKeyOutput({
|
|
56
|
+
* orgId: testAccessListApiKey.orgId,
|
|
57
|
+
* ipAddress: testAccessListApiKey.ipAddress,
|
|
58
|
+
* apiKeyId: testAccessListApiKey.apiKeyId,
|
|
59
|
+
* });
|
|
60
|
+
* ```
|
|
31
61
|
*/
|
|
32
62
|
function getAccessListApiKeysOutput(args, opts) {
|
|
33
63
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAccessListApiKeys.js","sourceRoot":"","sources":["../getAccessListApiKeys.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAccessListApiKeys.js","sourceRoot":"","sources":["../getAccessListApiKeys.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC;AAgCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gEAQC"}
|