@pulumi/mongodbatlas 3.4.0 → 3.6.0-alpha.1662645483
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/advancedCluster.d.ts +0 -8
- package/advancedCluster.js +0 -8
- package/advancedCluster.js.map +1 -1
- package/cloudBackupSchedule.d.ts +33 -6
- package/cloudBackupSchedule.js +10 -4
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudBackupSnapshot.d.ts +0 -31
- package/cloudBackupSnapshot.js +0 -31
- package/cloudBackupSnapshot.js.map +1 -1
- package/cloudBackupSnapshotRestoreJob.d.ts +28 -4
- package/cloudBackupSnapshotRestoreJob.js +1 -1
- package/cloudBackupSnapshotRestoreJob.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +0 -32
- package/cloudProviderSnapshot.js +0 -32
- package/cloudProviderSnapshot.js.map +1 -1
- package/cluster.d.ts +3 -3
- package/eventTrigger.d.ts +13 -0
- package/eventTrigger.js +3 -0
- package/eventTrigger.js.map +1 -1
- package/federatedSettingsIdentityProvider.d.ts +190 -0
- package/federatedSettingsIdentityProvider.js +120 -0
- package/federatedSettingsIdentityProvider.js.map +1 -0
- package/federatedSettingsOrgConfig.d.ts +54 -0
- package/federatedSettingsOrgConfig.js +71 -0
- package/federatedSettingsOrgConfig.js.map +1 -0
- package/federatedSettingsOrgRoleMapping.d.ts +140 -0
- package/federatedSettingsOrgRoleMapping.js +122 -0
- package/federatedSettingsOrgRoleMapping.js.map +1 -0
- package/getAdvancedCluster.d.ts +1 -1
- package/getAdvancedCluster.js +1 -1
- package/getAdvancedClusters.d.ts +0 -26
- package/getAdvancedClusters.js +0 -26
- package/getAdvancedClusters.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +9 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudBackupSnapshotRestoreJob.d.ts +3 -0
- package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +3 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js +0 -32
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getEventTrigger.d.ts +4 -0
- package/getEventTrigger.js.map +1 -1
- package/getFederatedSettings.d.ts +61 -0
- package/getFederatedSettings.js +36 -0
- package/getFederatedSettings.js.map +1 -0
- package/getFederatedSettingsIdentityProvider.d.ts +122 -0
- package/getFederatedSettingsIdentityProvider.js +48 -0
- package/getFederatedSettingsIdentityProvider.js.map +1 -0
- package/getFederatedSettingsIdentityProviders.d.ts +79 -0
- package/getFederatedSettingsIdentityProviders.js +46 -0
- package/getFederatedSettingsIdentityProviders.js.map +1 -0
- package/getFederatedSettingsOrgConfig.d.ts +83 -0
- package/getFederatedSettingsOrgConfig.js +44 -0
- package/getFederatedSettingsOrgConfig.js.map +1 -0
- package/getFederatedSettingsOrgConfigs.d.ts +77 -0
- package/getFederatedSettingsOrgConfigs.js +44 -0
- package/getFederatedSettingsOrgConfigs.js.map +1 -0
- package/getFederatedSettingsOrgRoleMapping.d.ts +102 -0
- package/getFederatedSettingsOrgRoleMapping.js +74 -0
- package/getFederatedSettingsOrgRoleMapping.js.map +1 -0
- package/getFederatedSettingsOrgRoleMappings.d.ts +66 -0
- package/getFederatedSettingsOrgRoleMappings.js +28 -0
- package/getFederatedSettingsOrgRoleMappings.js.map +1 -0
- package/getPrivateEndpointRegionalMode.d.ts +45 -0
- package/getPrivateEndpointRegionalMode.js +28 -0
- package/getPrivateEndpointRegionalMode.js.map +1 -0
- package/getPrivatelinkEndpointServiceAdl.d.ts +0 -17
- package/getPrivatelinkEndpointServiceAdl.js +0 -17
- package/getPrivatelinkEndpointServiceAdl.js.map +1 -1
- package/getProject.d.ts +20 -0
- package/getProject.js.map +1 -1
- package/getServerlessInstance.d.ts +96 -0
- package/getServerlessInstance.js +44 -0
- package/getServerlessInstance.js.map +1 -0
- package/getServerlessInstances.d.ts +55 -0
- package/getServerlessInstances.js +41 -0
- package/getServerlessInstances.js.map +1 -0
- package/getThirdPartyIntegration.d.ts +68 -0
- package/getThirdPartyIntegration.js +5 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/globalClusterConfig.d.ts +2 -2
- package/globalClusterConfig.js +2 -2
- package/index.d.ts +15 -0
- package/index.js +35 -0
- package/index.js.map +1 -1
- package/orgInvitation.d.ts +1 -13
- package/orgInvitation.js +1 -13
- package/orgInvitation.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +2 -1
- package/package.json.dev +4 -3
- package/privateEndpointRegionalMode.d.ts +80 -0
- package/privateEndpointRegionalMode.js +65 -0
- package/privateEndpointRegionalMode.js.map +1 -0
- package/privateLinkEndpointService.d.ts +0 -32
- package/privateLinkEndpointService.js +0 -32
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +65 -0
- package/project.js +15 -0
- package/project.js.map +1 -1
- package/projectInvitation.d.ts +1 -16
- package/projectInvitation.js +1 -16
- package/projectInvitation.js.map +1 -1
- package/provider.d.ts +5 -5
- package/provider.js +0 -6
- package/provider.js.map +1 -1
- package/searchIndex.d.ts +4 -4
- package/searchIndex.js +4 -4
- package/serverlessInstance.d.ts +166 -0
- package/serverlessInstance.js +109 -0
- package/serverlessInstance.js.map +1 -0
- package/thirdPartyIntegration.d.ts +78 -0
- package/thirdPartyIntegration.js +12 -0
- package/thirdPartyIntegration.js.map +1 -1
- package/types/input.d.ts +60 -8
- package/types/output.d.ts +559 -5
|
@@ -0,0 +1,122 @@
|
|
|
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.FederatedSettingsOrgRoleMapping = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.FederatedSettingsOrgRoleMapping` provides an Role Mapping resource. This allows organization role mapping to be created.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("org_group_role_mapping_import", {
|
|
18
|
+
* externalGroupName: "myGrouptest",
|
|
19
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
20
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
21
|
+
* roleAssignments: [
|
|
22
|
+
* {
|
|
23
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
24
|
+
* roles: [
|
|
25
|
+
* "ORG_MEMBER",
|
|
26
|
+
* "ORG_GROUP_CREATOR",
|
|
27
|
+
* "ORG_BILLING_ADMIN",
|
|
28
|
+
* ],
|
|
29
|
+
* },
|
|
30
|
+
* {
|
|
31
|
+
* groupId: "628aa20d7f7f7f7f7098b81b8",
|
|
32
|
+
* roles: [
|
|
33
|
+
* "GROUP_OWNER",
|
|
34
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
35
|
+
* "GROUP_SEARCH_INDEX_EDITOR",
|
|
36
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
37
|
+
* ],
|
|
38
|
+
* },
|
|
39
|
+
* {
|
|
40
|
+
* groupId: "628aa20d7f7f7f7f7078b81b8",
|
|
41
|
+
* roles: [
|
|
42
|
+
* "GROUP_OWNER",
|
|
43
|
+
* "GROUP_DATA_ACCESS_ADMIN",
|
|
44
|
+
* "GROUP_SEARCH_INDEX_EDITOR",
|
|
45
|
+
* "GROUP_DATA_ACCESS_READ_ONLY",
|
|
46
|
+
* "GROUP_DATA_ACCESS_READ_WRITE",
|
|
47
|
+
* ],
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ## Import
|
|
54
|
+
*
|
|
55
|
+
* FederatedSettingsOrgRoleMapping can be imported using federation_settings_id-org_id-role_mapping_id, e.g.
|
|
56
|
+
*
|
|
57
|
+
* ```sh
|
|
58
|
+
* $ pulumi import mongodbatlas:index/federatedSettingsOrgRoleMapping:FederatedSettingsOrgRoleMapping org_group_role_mapping_import 6287a663c7f7f7f71c441c6c-627a96837f7f7f7e306f14-628ae97f7f7468ea3727
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* For more information see[MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
|
|
62
|
+
*/
|
|
63
|
+
class FederatedSettingsOrgRoleMapping extends pulumi.CustomResource {
|
|
64
|
+
constructor(name, argsOrState, opts) {
|
|
65
|
+
let resourceInputs = {};
|
|
66
|
+
opts = opts || {};
|
|
67
|
+
if (opts.id) {
|
|
68
|
+
const state = argsOrState;
|
|
69
|
+
resourceInputs["externalGroupName"] = state ? state.externalGroupName : undefined;
|
|
70
|
+
resourceInputs["federationSettingsId"] = state ? state.federationSettingsId : undefined;
|
|
71
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
72
|
+
resourceInputs["roleAssignments"] = state ? state.roleAssignments : undefined;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
if ((!args || args.externalGroupName === undefined) && !opts.urn) {
|
|
77
|
+
throw new Error("Missing required property 'externalGroupName'");
|
|
78
|
+
}
|
|
79
|
+
if ((!args || args.federationSettingsId === undefined) && !opts.urn) {
|
|
80
|
+
throw new Error("Missing required property 'federationSettingsId'");
|
|
81
|
+
}
|
|
82
|
+
if ((!args || args.orgId === undefined) && !opts.urn) {
|
|
83
|
+
throw new Error("Missing required property 'orgId'");
|
|
84
|
+
}
|
|
85
|
+
if ((!args || args.roleAssignments === undefined) && !opts.urn) {
|
|
86
|
+
throw new Error("Missing required property 'roleAssignments'");
|
|
87
|
+
}
|
|
88
|
+
resourceInputs["externalGroupName"] = args ? args.externalGroupName : undefined;
|
|
89
|
+
resourceInputs["federationSettingsId"] = args ? args.federationSettingsId : undefined;
|
|
90
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
91
|
+
resourceInputs["roleAssignments"] = args ? args.roleAssignments : undefined;
|
|
92
|
+
}
|
|
93
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
94
|
+
super(FederatedSettingsOrgRoleMapping.__pulumiType, name, resourceInputs, opts);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Get an existing FederatedSettingsOrgRoleMapping resource's state with the given name, ID, and optional extra
|
|
98
|
+
* properties used to qualify the lookup.
|
|
99
|
+
*
|
|
100
|
+
* @param name The _unique_ name of the resulting resource.
|
|
101
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
102
|
+
* @param state Any extra arguments used during the lookup.
|
|
103
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
104
|
+
*/
|
|
105
|
+
static get(name, id, state, opts) {
|
|
106
|
+
return new FederatedSettingsOrgRoleMapping(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* Returns true if the given object is an instance of FederatedSettingsOrgRoleMapping. This is designed to work even
|
|
110
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
111
|
+
*/
|
|
112
|
+
static isInstance(obj) {
|
|
113
|
+
if (obj === undefined || obj === null) {
|
|
114
|
+
return false;
|
|
115
|
+
}
|
|
116
|
+
return obj['__pulumiType'] === FederatedSettingsOrgRoleMapping.__pulumiType;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
exports.FederatedSettingsOrgRoleMapping = FederatedSettingsOrgRoleMapping;
|
|
120
|
+
/** @internal */
|
|
121
|
+
FederatedSettingsOrgRoleMapping.__pulumiType = 'mongodbatlas:index/federatedSettingsOrgRoleMapping:FederatedSettingsOrgRoleMapping';
|
|
122
|
+
//# sourceMappingURL=federatedSettingsOrgRoleMapping.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"federatedSettingsOrgRoleMapping.js","sourceRoot":"","sources":["../federatedSettingsOrgRoleMapping.ts"],"names":[],"mappings":"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"}
|
package/getAdvancedCluster.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ import { output as outputs } from "./types";
|
|
|
10
10
|
* Describe an Advanced Cluster.
|
|
11
11
|
* ---
|
|
12
12
|
*
|
|
13
|
-
* # mongodbatlas.AdvancedCluster
|
|
13
|
+
* # Data Source: mongodbatlas.AdvancedCluster
|
|
14
14
|
*
|
|
15
15
|
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
16
16
|
*
|
package/getAdvancedCluster.js
CHANGED
|
@@ -15,7 +15,7 @@ const utilities = require("./utilities");
|
|
|
15
15
|
* Describe an Advanced Cluster.
|
|
16
16
|
* ---
|
|
17
17
|
*
|
|
18
|
-
* # mongodbatlas.AdvancedCluster
|
|
18
|
+
* # Data Source: mongodbatlas.AdvancedCluster
|
|
19
19
|
*
|
|
20
20
|
* `mongodbatlas.AdvancedCluster` describes an Advanced Cluster. The data source requires your Project ID.
|
|
21
21
|
*
|
package/getAdvancedClusters.d.ts
CHANGED
|
@@ -8,32 +8,6 @@ import { output as outputs } from "./types";
|
|
|
8
8
|
* > **IMPORTANT:**
|
|
9
9
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
10
10
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
11
|
-
*
|
|
12
|
-
* ## Example Usage
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
-
*
|
|
18
|
-
* const exampleCluster = new mongodbatlas.Cluster("exampleCluster", {
|
|
19
|
-
* projectId: "<YOUR-PROJECT-ID>",
|
|
20
|
-
* clusterType: "REPLICASET",
|
|
21
|
-
* replicationSpecs: [{
|
|
22
|
-
* regionConfigs: [{
|
|
23
|
-
* electableSpecs: [{
|
|
24
|
-
* instanceSize: "M5",
|
|
25
|
-
* }],
|
|
26
|
-
* providerName: "TENANT",
|
|
27
|
-
* backingProviderName: "AWS",
|
|
28
|
-
* regionName: "US_EAST_1",
|
|
29
|
-
* priority: 7,
|
|
30
|
-
* }],
|
|
31
|
-
* }],
|
|
32
|
-
* });
|
|
33
|
-
* const exampleClusters = mongodbatlas.getClustersOutput({
|
|
34
|
-
* projectId: exampleCluster.projectId,
|
|
35
|
-
* });
|
|
36
|
-
* ```
|
|
37
11
|
*/
|
|
38
12
|
export declare function getAdvancedClusters(args: GetAdvancedClustersArgs, opts?: pulumi.InvokeOptions): Promise<GetAdvancedClustersResult>;
|
|
39
13
|
/**
|
package/getAdvancedClusters.js
CHANGED
|
@@ -13,32 +13,6 @@ const utilities = require("./utilities");
|
|
|
13
13
|
* > **IMPORTANT:**
|
|
14
14
|
* <br> • Changes to cluster configurations can affect costs. Before making changes, please see [Billing](https://docs.atlas.mongodb.com/billing/).
|
|
15
15
|
* <br> • If your Atlas project contains a custom role that uses actions introduced in a specific MongoDB version, you cannot create a cluster with a MongoDB version less than that version unless you delete the custom role.
|
|
16
|
-
*
|
|
17
|
-
* ## Example Usage
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
-
*
|
|
23
|
-
* const exampleCluster = new mongodbatlas.Cluster("exampleCluster", {
|
|
24
|
-
* projectId: "<YOUR-PROJECT-ID>",
|
|
25
|
-
* clusterType: "REPLICASET",
|
|
26
|
-
* replicationSpecs: [{
|
|
27
|
-
* regionConfigs: [{
|
|
28
|
-
* electableSpecs: [{
|
|
29
|
-
* instanceSize: "M5",
|
|
30
|
-
* }],
|
|
31
|
-
* providerName: "TENANT",
|
|
32
|
-
* backingProviderName: "AWS",
|
|
33
|
-
* regionName: "US_EAST_1",
|
|
34
|
-
* priority: 7,
|
|
35
|
-
* }],
|
|
36
|
-
* }],
|
|
37
|
-
* });
|
|
38
|
-
* const exampleClusters = mongodbatlas.getClustersOutput({
|
|
39
|
-
* projectId: exampleCluster.projectId,
|
|
40
|
-
* });
|
|
41
|
-
* ```
|
|
42
16
|
*/
|
|
43
17
|
function getAdvancedClusters(args, opts) {
|
|
44
18
|
if (!opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAdvancedClusters.js","sourceRoot":"","sources":["../getAdvancedClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAdvancedClusters.js","sourceRoot":"","sources":["../getAdvancedClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kDASC;AA2BD,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,8DAEC"}
|
|
@@ -23,11 +23,16 @@ export interface GetCloudBackupScheduleArgs {
|
|
|
23
23
|
* A collection of values returned by getCloudBackupSchedule.
|
|
24
24
|
*/
|
|
25
25
|
export interface GetCloudBackupScheduleResult {
|
|
26
|
+
/**
|
|
27
|
+
* Flag that indicates whether automatic export of cloud backup snapshots to the AWS bucket is enabled. Value can be one of the following:
|
|
28
|
+
*/
|
|
29
|
+
readonly autoExportEnabled: boolean;
|
|
26
30
|
/**
|
|
27
31
|
* Unique identifier of the Atlas cluster.
|
|
28
32
|
*/
|
|
29
33
|
readonly clusterId: string;
|
|
30
34
|
readonly clusterName: string;
|
|
35
|
+
readonly exports: outputs.GetCloudBackupScheduleExport[];
|
|
31
36
|
/**
|
|
32
37
|
* The provider-assigned unique ID for this managed resource.
|
|
33
38
|
*/
|
|
@@ -69,6 +74,10 @@ export interface GetCloudBackupScheduleResult {
|
|
|
69
74
|
* Specifies a restore window in days for cloud backup to maintain.
|
|
70
75
|
*/
|
|
71
76
|
readonly restoreWindowDays: number;
|
|
77
|
+
/**
|
|
78
|
+
* Specify true to use organization and project names instead of organization and project UUIDs in the path for the metadata files that Atlas uploads to your S3 bucket after it finishes exporting the snapshots. To learn more about the metadata files that Atlas uploads, see [Export Cloud Backup Snapshot](https://www.mongodb.com/docs/atlas/backup/cloud-backup/export/#std-label-cloud-provider-snapshot-export).
|
|
79
|
+
*/
|
|
80
|
+
readonly useOrgAndGroupNamesInExportPrefix: boolean;
|
|
72
81
|
}
|
|
73
82
|
export declare function getCloudBackupScheduleOutput(args: GetCloudBackupScheduleOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCloudBackupScheduleResult>;
|
|
74
83
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wDAUC;
|
|
1
|
+
{"version":3,"file":"getCloudBackupSchedule.js","sourceRoot":"","sources":["../getCloudBackupSchedule.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,wDAUC;AA6ED,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,oEAEC"}
|
|
@@ -72,6 +72,9 @@ export interface GetCloudBackupSnapshotRestoreJobResult {
|
|
|
72
72
|
* Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
|
|
73
73
|
*/
|
|
74
74
|
readonly targetClusterName: string;
|
|
75
|
+
/**
|
|
76
|
+
* Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
|
|
77
|
+
*/
|
|
75
78
|
readonly targetProjectId: string;
|
|
76
79
|
/**
|
|
77
80
|
* Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4EAWC;
|
|
1
|
+
{"version":3,"file":"getCloudBackupSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudBackupSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sFAAsF,EAAE;QACjH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4EAWC;AAgFD,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAA2B;IAChI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,gCAAgC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpF,CAAC;AAFD,wFAEC"}
|
|
@@ -74,6 +74,9 @@ export interface GetCloudProviderSnapshotRestoreJobResult {
|
|
|
74
74
|
* Name of the target Atlas cluster to which the restore job restores the snapshot. Only visible if deliveryType is automated.
|
|
75
75
|
*/
|
|
76
76
|
readonly targetClusterName: string;
|
|
77
|
+
/**
|
|
78
|
+
* Name of the target Atlas project of the restore job. Only visible if deliveryType is automated.
|
|
79
|
+
*/
|
|
77
80
|
readonly targetProjectId: string;
|
|
78
81
|
/**
|
|
79
82
|
* Timestamp in ISO 8601 date and time format in UTC when the snapshot associated to snapshotId was taken.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gFAWC;
|
|
1
|
+
{"version":3,"file":"getCloudProviderSnapshotRestoreJob.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0FAA0F,EAAE;QACrH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gFAWC;AAgFD,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAA2B;IACpI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,kCAAkC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtF,CAAC;AAFD,4FAEC"}
|
|
@@ -6,38 +6,6 @@ import { output as outputs } from "./types";
|
|
|
6
6
|
* `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
|
|
7
7
|
*
|
|
8
8
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
9
|
-
*
|
|
10
|
-
* ## Example Usage
|
|
11
|
-
*
|
|
12
|
-
* First create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.
|
|
13
|
-
*
|
|
14
|
-
* ```typescript
|
|
15
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
16
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
17
|
-
*
|
|
18
|
-
* const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
|
|
19
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
20
|
-
* clusterName: "MyCluster",
|
|
21
|
-
* description: "MyDescription",
|
|
22
|
-
* retentionInDays: 1,
|
|
23
|
-
* });
|
|
24
|
-
* const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
|
|
25
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
26
|
-
* clusterName: "MyCluster",
|
|
27
|
-
* snapshotId: testCloudProviderSnapshot.id,
|
|
28
|
-
* deliveryType: [{
|
|
29
|
-
* automated: true,
|
|
30
|
-
* targetClusterName: "MyCluster",
|
|
31
|
-
* targetProjectId: "5cf5a45a9ccf6400e60981b6",
|
|
32
|
-
* }],
|
|
33
|
-
* });
|
|
34
|
-
* const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
|
|
35
|
-
* projectId: projectId,
|
|
36
|
-
* clusterName: clusterName,
|
|
37
|
-
* pageNum: 1,
|
|
38
|
-
* itemsPerPage: 5,
|
|
39
|
-
* }));
|
|
40
|
-
* ```
|
|
41
9
|
*/
|
|
42
10
|
export declare function getCloudProviderSnapshotRestoreJobs(args: GetCloudProviderSnapshotRestoreJobsArgs, opts?: pulumi.InvokeOptions): Promise<GetCloudProviderSnapshotRestoreJobsResult>;
|
|
43
11
|
/**
|
|
@@ -11,38 +11,6 @@ const utilities = require("./utilities");
|
|
|
11
11
|
* `mongodbatlas.getCloudProviderSnapshotRestoreJobs` provides a Cloud Backup Snapshot Restore Jobs datasource. Gets all the cloud backup snapshot restore jobs for the specified cluster.
|
|
12
12
|
*
|
|
13
13
|
* > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
|
|
14
|
-
*
|
|
15
|
-
* ## Example Usage
|
|
16
|
-
*
|
|
17
|
-
* First create a snapshot of the desired cluster. Then request that snapshot be restored in an automated fashion to the designated cluster and project.
|
|
18
|
-
*
|
|
19
|
-
* ```typescript
|
|
20
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
21
|
-
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
22
|
-
*
|
|
23
|
-
* const testCloudProviderSnapshot = new mongodbatlas.CloudProviderSnapshot("testCloudProviderSnapshot", {
|
|
24
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
25
|
-
* clusterName: "MyCluster",
|
|
26
|
-
* description: "MyDescription",
|
|
27
|
-
* retentionInDays: 1,
|
|
28
|
-
* });
|
|
29
|
-
* const testCloudProviderSnapshotRestoreJob = new mongodbatlas.CloudProviderSnapshotRestoreJob("testCloudProviderSnapshotRestoreJob", {
|
|
30
|
-
* projectId: "5cf5a45a9ccf6400e60981b6",
|
|
31
|
-
* clusterName: "MyCluster",
|
|
32
|
-
* snapshotId: testCloudProviderSnapshot.id,
|
|
33
|
-
* deliveryType: [{
|
|
34
|
-
* automated: true,
|
|
35
|
-
* targetClusterName: "MyCluster",
|
|
36
|
-
* targetProjectId: "5cf5a45a9ccf6400e60981b6",
|
|
37
|
-
* }],
|
|
38
|
-
* });
|
|
39
|
-
* const testCloudProviderSnapshotRestoreJobs = pulumi.all([testCloudProviderSnapshotRestoreJob.projectId, testCloudProviderSnapshotRestoreJob.clusterName]).apply(([projectId, clusterName]) => mongodbatlas.getCloudProviderSnapshotRestoreJobsOutput({
|
|
40
|
-
* projectId: projectId,
|
|
41
|
-
* clusterName: clusterName,
|
|
42
|
-
* pageNum: 1,
|
|
43
|
-
* itemsPerPage: 5,
|
|
44
|
-
* }));
|
|
45
|
-
* ```
|
|
46
14
|
*/
|
|
47
15
|
function getCloudProviderSnapshotRestoreJobs(args, opts) {
|
|
48
16
|
if (!opts) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCloudProviderSnapshotRestoreJobs.js","sourceRoot":"","sources":["../getCloudProviderSnapshotRestoreJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4FAA4F,EAAE;QACvH,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,kFAYC;AA2CD,SAAgB,yCAAyC,CAAC,IAAmD,EAAE,IAA2B;IACtI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,mCAAmC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvF,CAAC;AAFD,8FAEC"}
|
package/getEventTrigger.d.ts
CHANGED
|
@@ -100,6 +100,10 @@ export interface GetEventTriggerResult {
|
|
|
100
100
|
* The type of the trigger.
|
|
101
101
|
*/
|
|
102
102
|
readonly type: string;
|
|
103
|
+
/**
|
|
104
|
+
* Only Available for Database Triggers. If true, event ordering is disabled and this trigger can process events in parallel. If false, event ordering is enabled and the trigger executes serially.
|
|
105
|
+
*/
|
|
106
|
+
readonly unordered: boolean;
|
|
103
107
|
}
|
|
104
108
|
export declare function getEventTriggerOutput(args: GetEventTriggerOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEventTriggerResult>;
|
|
105
109
|
/**
|
package/getEventTrigger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEventTrigger.js","sourceRoot":"","sources":["../getEventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;
|
|
1
|
+
{"version":3,"file":"getEventTrigger.js","sourceRoot":"","sources":["../getEventTrigger.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0CAWC;AAyGD,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* `mongodbatlas.getFederatedSettings` provides a federated settings data source. Atlas Cloud federated settings provides federated settings outputs.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
10
|
+
*
|
|
11
|
+
* const settings = pulumi.output(mongodbatlas.getFederatedSettings({
|
|
12
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
13
|
+
* }));
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getFederatedSettings(args: GetFederatedSettingsArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getFederatedSettings.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetFederatedSettingsArgs {
|
|
21
|
+
/**
|
|
22
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
23
|
+
*/
|
|
24
|
+
orgId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getFederatedSettings.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetFederatedSettingsResult {
|
|
30
|
+
/**
|
|
31
|
+
* List that contains the domains associated with the organization's identity provider.
|
|
32
|
+
*/
|
|
33
|
+
readonly federatedDomains: string[];
|
|
34
|
+
/**
|
|
35
|
+
* Flag that indicates whether this organization has role mappings configured.
|
|
36
|
+
*/
|
|
37
|
+
readonly hasRoleMappings: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Unique 24-hexadecimal digit string that identifies this federation.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique 20-hexadecimal digit string that identifies the identity provider connected to this organization.
|
|
44
|
+
*/
|
|
45
|
+
readonly identityProviderId: string;
|
|
46
|
+
/**
|
|
47
|
+
* Value that indicates whether the identity provider is active. Atlas returns ACTIVE if the identity provider is active and INACTIVE if the identity provider is inactive.
|
|
48
|
+
*/
|
|
49
|
+
readonly identityProviderStatus: string;
|
|
50
|
+
readonly orgId: string;
|
|
51
|
+
}
|
|
52
|
+
export declare function getFederatedSettingsOutput(args: GetFederatedSettingsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsResult>;
|
|
53
|
+
/**
|
|
54
|
+
* A collection of arguments for invoking getFederatedSettings.
|
|
55
|
+
*/
|
|
56
|
+
export interface GetFederatedSettingsOutputArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
|
|
59
|
+
*/
|
|
60
|
+
orgId: pulumi.Input<string>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
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.getFederatedSettingsOutput = exports.getFederatedSettings = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* `mongodbatlas.getFederatedSettings` provides a federated settings data source. Atlas Cloud federated settings provides federated settings outputs.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
16
|
+
*
|
|
17
|
+
* const settings = pulumi.output(mongodbatlas.getFederatedSettings({
|
|
18
|
+
* orgId: "627a9683e7f7f7ff7fe306f14",
|
|
19
|
+
* }));
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getFederatedSettings(args, opts) {
|
|
23
|
+
if (!opts) {
|
|
24
|
+
opts = {};
|
|
25
|
+
}
|
|
26
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
27
|
+
return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettings:getFederatedSettings", {
|
|
28
|
+
"orgId": args.orgId,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getFederatedSettings = getFederatedSettings;
|
|
32
|
+
function getFederatedSettingsOutput(args, opts) {
|
|
33
|
+
return pulumi.output(args).apply(a => getFederatedSettings(a, opts));
|
|
34
|
+
}
|
|
35
|
+
exports.getFederatedSettingsOutput = getFederatedSettingsOutput;
|
|
36
|
+
//# sourceMappingURL=getFederatedSettings.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getFederatedSettings.js","sourceRoot":"","sources":["../getFederatedSettings.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oDASC;AAuCD,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,gEAEC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* `mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as mongodbatlas from "@pulumi/mongodbatlas";
|
|
11
|
+
*
|
|
12
|
+
* const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identityProvider", {
|
|
13
|
+
* federationSettingsId: "627a9687f7f7f7f774de306f14",
|
|
14
|
+
* associatedDomains: ["yourdomain.com"],
|
|
15
|
+
* ssoDebugEnabled: true,
|
|
16
|
+
* status: "ACTIVE",
|
|
17
|
+
* ssoUrl: "https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml",
|
|
18
|
+
* issuerUri: "http://www.okta.com/exk17f7f7f7f7p50h8",
|
|
19
|
+
* requestBinding: "HTTP-POST",
|
|
20
|
+
* responseSignatureAlgorithm: "SHA-256",
|
|
21
|
+
* });
|
|
22
|
+
* const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
|
|
23
|
+
* federationSettingsId: identityProvider.id,
|
|
24
|
+
* identityProviderId: "0oad47f7fXnk1297",
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function getFederatedSettingsIdentityProvider(args: GetFederatedSettingsIdentityProviderArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsIdentityProviderResult>;
|
|
29
|
+
/**
|
|
30
|
+
* A collection of arguments for invoking getFederatedSettingsIdentityProvider.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetFederatedSettingsIdentityProviderArgs {
|
|
33
|
+
/**
|
|
34
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
35
|
+
*/
|
|
36
|
+
federationSettingsId: string;
|
|
37
|
+
/**
|
|
38
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
39
|
+
*/
|
|
40
|
+
identityProviderId: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* A collection of values returned by getFederatedSettingsIdentityProvider.
|
|
44
|
+
*/
|
|
45
|
+
export interface GetFederatedSettingsIdentityProviderResult {
|
|
46
|
+
/**
|
|
47
|
+
* Assertion consumer service URL to which the IdP sends the SAML response.
|
|
48
|
+
*/
|
|
49
|
+
readonly acsUrl: string;
|
|
50
|
+
/**
|
|
51
|
+
* List that contains the configured domains from which users can log in for this IdP.
|
|
52
|
+
*/
|
|
53
|
+
readonly associatedDomains: string[];
|
|
54
|
+
/**
|
|
55
|
+
* List that contains the organizations from which users can log in for this IdP.
|
|
56
|
+
*/
|
|
57
|
+
readonly associatedOrgs: outputs.GetFederatedSettingsIdentityProviderAssociatedOrg[];
|
|
58
|
+
/**
|
|
59
|
+
* Identifier for the intended audience of the SAML Assertion.
|
|
60
|
+
*/
|
|
61
|
+
readonly audienceUri: string;
|
|
62
|
+
/**
|
|
63
|
+
* Human-readable label that identifies the IdP.
|
|
64
|
+
*/
|
|
65
|
+
readonly displayName: string;
|
|
66
|
+
/**
|
|
67
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
68
|
+
*/
|
|
69
|
+
readonly federationSettingsId: string;
|
|
70
|
+
/**
|
|
71
|
+
* The provider-assigned unique ID for this managed resource.
|
|
72
|
+
*/
|
|
73
|
+
readonly id: string;
|
|
74
|
+
readonly identityProviderId: string;
|
|
75
|
+
/**
|
|
76
|
+
* Identifier for the issuer of the SAML Assertion.
|
|
77
|
+
*/
|
|
78
|
+
readonly issuerUri: string;
|
|
79
|
+
/**
|
|
80
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
81
|
+
*/
|
|
82
|
+
readonly oktaIdpId: string;
|
|
83
|
+
readonly pemFileInfos: outputs.GetFederatedSettingsIdentityProviderPemFileInfo[];
|
|
84
|
+
/**
|
|
85
|
+
* SAML Authentication Request Protocol binding used to send the AuthNRequest. Atlas supports the following binding values:
|
|
86
|
+
* - HTTP POST
|
|
87
|
+
* - HTTP REDIRECT
|
|
88
|
+
*/
|
|
89
|
+
readonly requestBinding: string;
|
|
90
|
+
/**
|
|
91
|
+
* Algorithm used to encrypt the IdP signature. Atlas supports the following signature algorithm values:
|
|
92
|
+
* - SHA-1
|
|
93
|
+
* - SHA-256
|
|
94
|
+
*/
|
|
95
|
+
readonly responseSignatureAlgorithm: string;
|
|
96
|
+
/**
|
|
97
|
+
* Flag that indicates whether the IdP has enabled Bypass SAML Mode. Enabling this mode generates a URL that allows you bypass SAML and login to your organizations at any point. You can authenticate with this special URL only when Bypass Mode is enabled. Set this parameter to true during testing. This keeps you from getting locked out of MongoDB.
|
|
98
|
+
*/
|
|
99
|
+
readonly ssoDebugEnabled: boolean;
|
|
100
|
+
/**
|
|
101
|
+
* URL of the receiver of the SAML AuthNRequest.
|
|
102
|
+
*/
|
|
103
|
+
readonly ssoUrl: string;
|
|
104
|
+
/**
|
|
105
|
+
* Label that indicates whether the identity provider is active. The IdP is Inactive until you map at least one domain to the IdP.
|
|
106
|
+
*/
|
|
107
|
+
readonly status: string;
|
|
108
|
+
}
|
|
109
|
+
export declare function getFederatedSettingsIdentityProviderOutput(args: GetFederatedSettingsIdentityProviderOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsIdentityProviderResult>;
|
|
110
|
+
/**
|
|
111
|
+
* A collection of arguments for invoking getFederatedSettingsIdentityProvider.
|
|
112
|
+
*/
|
|
113
|
+
export interface GetFederatedSettingsIdentityProviderOutputArgs {
|
|
114
|
+
/**
|
|
115
|
+
* Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
|
|
116
|
+
*/
|
|
117
|
+
federationSettingsId: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Unique 20-hexadecimal digit string that identifies the IdP.
|
|
120
|
+
*/
|
|
121
|
+
identityProviderId: pulumi.Input<string>;
|
|
122
|
+
}
|