@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.
Files changed (118) hide show
  1. package/advancedCluster.d.ts +0 -8
  2. package/advancedCluster.js +0 -8
  3. package/advancedCluster.js.map +1 -1
  4. package/cloudBackupSchedule.d.ts +33 -6
  5. package/cloudBackupSchedule.js +10 -4
  6. package/cloudBackupSchedule.js.map +1 -1
  7. package/cloudBackupSnapshot.d.ts +0 -31
  8. package/cloudBackupSnapshot.js +0 -31
  9. package/cloudBackupSnapshot.js.map +1 -1
  10. package/cloudBackupSnapshotRestoreJob.d.ts +28 -4
  11. package/cloudBackupSnapshotRestoreJob.js +1 -1
  12. package/cloudBackupSnapshotRestoreJob.js.map +1 -1
  13. package/cloudProviderSnapshot.d.ts +0 -32
  14. package/cloudProviderSnapshot.js +0 -32
  15. package/cloudProviderSnapshot.js.map +1 -1
  16. package/cluster.d.ts +3 -3
  17. package/eventTrigger.d.ts +13 -0
  18. package/eventTrigger.js +3 -0
  19. package/eventTrigger.js.map +1 -1
  20. package/federatedSettingsIdentityProvider.d.ts +190 -0
  21. package/federatedSettingsIdentityProvider.js +120 -0
  22. package/federatedSettingsIdentityProvider.js.map +1 -0
  23. package/federatedSettingsOrgConfig.d.ts +54 -0
  24. package/federatedSettingsOrgConfig.js +71 -0
  25. package/federatedSettingsOrgConfig.js.map +1 -0
  26. package/federatedSettingsOrgRoleMapping.d.ts +140 -0
  27. package/federatedSettingsOrgRoleMapping.js +122 -0
  28. package/federatedSettingsOrgRoleMapping.js.map +1 -0
  29. package/getAdvancedCluster.d.ts +1 -1
  30. package/getAdvancedCluster.js +1 -1
  31. package/getAdvancedClusters.d.ts +0 -26
  32. package/getAdvancedClusters.js +0 -26
  33. package/getAdvancedClusters.js.map +1 -1
  34. package/getCloudBackupSchedule.d.ts +9 -0
  35. package/getCloudBackupSchedule.js.map +1 -1
  36. package/getCloudBackupSnapshotRestoreJob.d.ts +3 -0
  37. package/getCloudBackupSnapshotRestoreJob.js.map +1 -1
  38. package/getCloudProviderSnapshotRestoreJob.d.ts +3 -0
  39. package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
  40. package/getCloudProviderSnapshotRestoreJobs.d.ts +0 -32
  41. package/getCloudProviderSnapshotRestoreJobs.js +0 -32
  42. package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
  43. package/getEventTrigger.d.ts +4 -0
  44. package/getEventTrigger.js.map +1 -1
  45. package/getFederatedSettings.d.ts +61 -0
  46. package/getFederatedSettings.js +36 -0
  47. package/getFederatedSettings.js.map +1 -0
  48. package/getFederatedSettingsIdentityProvider.d.ts +122 -0
  49. package/getFederatedSettingsIdentityProvider.js +48 -0
  50. package/getFederatedSettingsIdentityProvider.js.map +1 -0
  51. package/getFederatedSettingsIdentityProviders.d.ts +79 -0
  52. package/getFederatedSettingsIdentityProviders.js +46 -0
  53. package/getFederatedSettingsIdentityProviders.js.map +1 -0
  54. package/getFederatedSettingsOrgConfig.d.ts +83 -0
  55. package/getFederatedSettingsOrgConfig.js +44 -0
  56. package/getFederatedSettingsOrgConfig.js.map +1 -0
  57. package/getFederatedSettingsOrgConfigs.d.ts +77 -0
  58. package/getFederatedSettingsOrgConfigs.js +44 -0
  59. package/getFederatedSettingsOrgConfigs.js.map +1 -0
  60. package/getFederatedSettingsOrgRoleMapping.d.ts +102 -0
  61. package/getFederatedSettingsOrgRoleMapping.js +74 -0
  62. package/getFederatedSettingsOrgRoleMapping.js.map +1 -0
  63. package/getFederatedSettingsOrgRoleMappings.d.ts +66 -0
  64. package/getFederatedSettingsOrgRoleMappings.js +28 -0
  65. package/getFederatedSettingsOrgRoleMappings.js.map +1 -0
  66. package/getPrivateEndpointRegionalMode.d.ts +45 -0
  67. package/getPrivateEndpointRegionalMode.js +28 -0
  68. package/getPrivateEndpointRegionalMode.js.map +1 -0
  69. package/getPrivatelinkEndpointServiceAdl.d.ts +0 -17
  70. package/getPrivatelinkEndpointServiceAdl.js +0 -17
  71. package/getPrivatelinkEndpointServiceAdl.js.map +1 -1
  72. package/getProject.d.ts +20 -0
  73. package/getProject.js.map +1 -1
  74. package/getServerlessInstance.d.ts +96 -0
  75. package/getServerlessInstance.js +44 -0
  76. package/getServerlessInstance.js.map +1 -0
  77. package/getServerlessInstances.d.ts +55 -0
  78. package/getServerlessInstances.js +41 -0
  79. package/getServerlessInstances.js.map +1 -0
  80. package/getThirdPartyIntegration.d.ts +68 -0
  81. package/getThirdPartyIntegration.js +5 -0
  82. package/getThirdPartyIntegration.js.map +1 -1
  83. package/globalClusterConfig.d.ts +2 -2
  84. package/globalClusterConfig.js +2 -2
  85. package/index.d.ts +15 -0
  86. package/index.js +35 -0
  87. package/index.js.map +1 -1
  88. package/orgInvitation.d.ts +1 -13
  89. package/orgInvitation.js +1 -13
  90. package/orgInvitation.js.map +1 -1
  91. package/package.json +4 -3
  92. package/package.json.bak +2 -1
  93. package/package.json.dev +4 -3
  94. package/privateEndpointRegionalMode.d.ts +80 -0
  95. package/privateEndpointRegionalMode.js +65 -0
  96. package/privateEndpointRegionalMode.js.map +1 -0
  97. package/privateLinkEndpointService.d.ts +0 -32
  98. package/privateLinkEndpointService.js +0 -32
  99. package/privateLinkEndpointService.js.map +1 -1
  100. package/project.d.ts +65 -0
  101. package/project.js +15 -0
  102. package/project.js.map +1 -1
  103. package/projectInvitation.d.ts +1 -16
  104. package/projectInvitation.js +1 -16
  105. package/projectInvitation.js.map +1 -1
  106. package/provider.d.ts +5 -5
  107. package/provider.js +0 -6
  108. package/provider.js.map +1 -1
  109. package/searchIndex.d.ts +4 -4
  110. package/searchIndex.js +4 -4
  111. package/serverlessInstance.d.ts +166 -0
  112. package/serverlessInstance.js +109 -0
  113. package/serverlessInstance.js.map +1 -0
  114. package/thirdPartyIntegration.d.ts +78 -0
  115. package/thirdPartyIntegration.js +12 -0
  116. package/thirdPartyIntegration.js.map +1 -1
  117. package/types/input.d.ts +60 -8
  118. package/types/output.d.ts +559 -5
@@ -0,0 +1,48 @@
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.getFederatedSettingsIdentityProviderOutput = exports.getFederatedSettingsIdentityProvider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsIdentityProvider` provides a federated settings identity provider data source. Atlas federated settings identity provider provides federated settings outputs for the configured identity provider.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identityProvider", {
18
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
19
+ * associatedDomains: ["yourdomain.com"],
20
+ * ssoDebugEnabled: true,
21
+ * status: "ACTIVE",
22
+ * ssoUrl: "https://mysso.oktapreview.com/app/mysso_terraformtest_1/exk177f7f7f70h8/sso/saml",
23
+ * issuerUri: "http://www.okta.com/exk17f7f7f7f7p50h8",
24
+ * requestBinding: "HTTP-POST",
25
+ * responseSignatureAlgorithm: "SHA-256",
26
+ * });
27
+ * const identityProviderDs = mongodbatlas.getFederatedSettingsIdentityProviderOutput({
28
+ * federationSettingsId: identityProvider.id,
29
+ * identityProviderId: "0oad47f7fXnk1297",
30
+ * });
31
+ * ```
32
+ */
33
+ function getFederatedSettingsIdentityProvider(args, opts) {
34
+ if (!opts) {
35
+ opts = {};
36
+ }
37
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
38
+ return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettingsIdentityProvider:getFederatedSettingsIdentityProvider", {
39
+ "federationSettingsId": args.federationSettingsId,
40
+ "identityProviderId": args.identityProviderId,
41
+ }, opts);
42
+ }
43
+ exports.getFederatedSettingsIdentityProvider = getFederatedSettingsIdentityProvider;
44
+ function getFederatedSettingsIdentityProviderOutput(args, opts) {
45
+ return pulumi.output(args).apply(a => getFederatedSettingsIdentityProvider(a, opts));
46
+ }
47
+ exports.getFederatedSettingsIdentityProviderOutput = getFederatedSettingsIdentityProviderOutput;
48
+ //# sourceMappingURL=getFederatedSettingsIdentityProvider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFederatedSettingsIdentityProvider.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProvider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,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,8FAA8F,EAAE;QACzH,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,oFAUC;AAoFD,SAAgB,0CAA0C,CAAC,IAAoD,EAAE,IAA2B;IACxI,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,oCAAoC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxF,CAAC;AAFD,gGAEC"}
@@ -0,0 +1,79 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * `mongodbatlas.FederatedSettingsIdentityProvider` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
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
+ * });
18
+ * const identittyProvider = identityProvider.id.apply(id => mongodbatlas.getFederatedSettingsIdentityProvidersOutput({
19
+ * federationSettingsId: id,
20
+ * pageNum: 1,
21
+ * itemsPerPage: 5,
22
+ * }));
23
+ * ```
24
+ */
25
+ export declare function getFederatedSettingsIdentityProviders(args: GetFederatedSettingsIdentityProvidersArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsIdentityProvidersResult>;
26
+ /**
27
+ * A collection of arguments for invoking getFederatedSettingsIdentityProviders.
28
+ */
29
+ export interface GetFederatedSettingsIdentityProvidersArgs {
30
+ /**
31
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
32
+ */
33
+ federationSettingsId: string;
34
+ /**
35
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
36
+ */
37
+ itemsPerPage?: number;
38
+ /**
39
+ * The page to return. Defaults to `1`.
40
+ */
41
+ pageNum?: number;
42
+ }
43
+ /**
44
+ * A collection of values returned by getFederatedSettingsIdentityProviders.
45
+ */
46
+ export interface GetFederatedSettingsIdentityProvidersResult {
47
+ /**
48
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
49
+ */
50
+ readonly federationSettingsId: string;
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ readonly itemsPerPage?: number;
56
+ readonly pageNum?: number;
57
+ /**
58
+ * Includes cloudProviderSnapshot object for each item detailed in the results array section.
59
+ */
60
+ readonly results: outputs.GetFederatedSettingsIdentityProvidersResult[];
61
+ }
62
+ export declare function getFederatedSettingsIdentityProvidersOutput(args: GetFederatedSettingsIdentityProvidersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsIdentityProvidersResult>;
63
+ /**
64
+ * A collection of arguments for invoking getFederatedSettingsIdentityProviders.
65
+ */
66
+ export interface GetFederatedSettingsIdentityProvidersOutputArgs {
67
+ /**
68
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
69
+ */
70
+ federationSettingsId: pulumi.Input<string>;
71
+ /**
72
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
73
+ */
74
+ itemsPerPage?: pulumi.Input<number>;
75
+ /**
76
+ * The page to return. Defaults to `1`.
77
+ */
78
+ pageNum?: pulumi.Input<number>;
79
+ }
@@ -0,0 +1,46 @@
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.getFederatedSettingsIdentityProvidersOutput = exports.getFederatedSettingsIdentityProviders = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsIdentityProvider` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const identityProvider = new mongodbatlas.FederatedSettingsIdentityProvider("identityProvider", {
18
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
19
+ * associatedDomains: ["yourdomain.com"],
20
+ * ssoDebugEnabled: true,
21
+ * status: "ACTIVE",
22
+ * });
23
+ * const identittyProvider = identityProvider.id.apply(id => mongodbatlas.getFederatedSettingsIdentityProvidersOutput({
24
+ * federationSettingsId: id,
25
+ * pageNum: 1,
26
+ * itemsPerPage: 5,
27
+ * }));
28
+ * ```
29
+ */
30
+ function getFederatedSettingsIdentityProviders(args, opts) {
31
+ if (!opts) {
32
+ opts = {};
33
+ }
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
35
+ return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettingsIdentityProviders:getFederatedSettingsIdentityProviders", {
36
+ "federationSettingsId": args.federationSettingsId,
37
+ "itemsPerPage": args.itemsPerPage,
38
+ "pageNum": args.pageNum,
39
+ }, opts);
40
+ }
41
+ exports.getFederatedSettingsIdentityProviders = getFederatedSettingsIdentityProviders;
42
+ function getFederatedSettingsIdentityProvidersOutput(args, opts) {
43
+ return pulumi.output(args).apply(a => getFederatedSettingsIdentityProviders(a, opts));
44
+ }
45
+ exports.getFederatedSettingsIdentityProvidersOutput = getFederatedSettingsIdentityProvidersOutput;
46
+ //# sourceMappingURL=getFederatedSettingsIdentityProviders.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFederatedSettingsIdentityProviders.js","sourceRoot":"","sources":["../getFederatedSettingsIdentityProviders.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAA2B;IAC9H,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,gGAAgG,EAAE;QAC3H,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,sFAWC;AAwCD,SAAgB,2CAA2C,CAAC,IAAqD,EAAE,IAA2B;IAC1I,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,qCAAqC,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzF,CAAC;AAFD,kGAEC"}
@@ -0,0 +1,83 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * `mongodbatlas.FederatedSettingsOrgConfig` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Organizational configuration provides federated settings outputs for the configured Organizational configuration.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("orgConnections", {
13
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
14
+ * orgId: "627a9683ea7ff7f74de306f14",
15
+ * domainRestrictionEnabled: false,
16
+ * domainAllowLists: ["mydomain.com"],
17
+ * });
18
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigOutput({
19
+ * federationSettingsId: orgConnections.id,
20
+ * orgId: "627a9683ea7ff7f74de306f14",
21
+ * });
22
+ * ```
23
+ */
24
+ export declare function getFederatedSettingsOrgConfig(args: GetFederatedSettingsOrgConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsOrgConfigResult>;
25
+ /**
26
+ * A collection of arguments for invoking getFederatedSettingsOrgConfig.
27
+ */
28
+ export interface GetFederatedSettingsOrgConfigArgs {
29
+ /**
30
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
31
+ */
32
+ federationSettingsId: string;
33
+ /**
34
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
35
+ */
36
+ orgId: string;
37
+ }
38
+ /**
39
+ * A collection of values returned by getFederatedSettingsOrgConfig.
40
+ */
41
+ export interface GetFederatedSettingsOrgConfigResult {
42
+ /**
43
+ * List that contains the approved domains from which organization users can log in. Note: If the organization uses an identity provider, `domainAllowList` includes: any SSO domains associated with organization's identity provider and any custom domains associated with the specific organization.
44
+ */
45
+ readonly domainAllowLists: string[];
46
+ /**
47
+ * Flag that indicates whether domain restriction is enabled for the connected organization. User Conflicts returns null when `domainRestrictionEnabled` is false.
48
+ */
49
+ readonly domainRestrictionEnabled: boolean;
50
+ /**
51
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
52
+ */
53
+ readonly federationSettingsId: string;
54
+ /**
55
+ * The provider-assigned unique ID for this managed resource.
56
+ */
57
+ readonly id: string;
58
+ /**
59
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
60
+ */
61
+ readonly identityProviderId: string;
62
+ readonly orgId: string;
63
+ /**
64
+ * List that contains the default [roles](https://www.mongodb.com/docs/atlas/reference/user-roles/#std-label-organization-roles) granted to users who authenticate through the IdP in a connected organization. If you provide a postAuthRoleGrants field in the request, the array that you provide replaces the current postAuthRoleGrants.
65
+ */
66
+ readonly postAuthRoleGrants: string[];
67
+ readonly roleMappings: outputs.GetFederatedSettingsOrgConfigRoleMapping[];
68
+ readonly userConflicts: outputs.GetFederatedSettingsOrgConfigUserConflict[];
69
+ }
70
+ export declare function getFederatedSettingsOrgConfigOutput(args: GetFederatedSettingsOrgConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsOrgConfigResult>;
71
+ /**
72
+ * A collection of arguments for invoking getFederatedSettingsOrgConfig.
73
+ */
74
+ export interface GetFederatedSettingsOrgConfigOutputArgs {
75
+ /**
76
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
77
+ */
78
+ federationSettingsId: pulumi.Input<string>;
79
+ /**
80
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
81
+ */
82
+ orgId: pulumi.Input<string>;
83
+ }
@@ -0,0 +1,44 @@
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.getFederatedSettingsOrgConfigOutput = exports.getFederatedSettingsOrgConfig = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsOrgConfig` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Organizational configuration provides federated settings outputs for the configured Organizational configuration.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("orgConnections", {
18
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
19
+ * orgId: "627a9683ea7ff7f74de306f14",
20
+ * domainRestrictionEnabled: false,
21
+ * domainAllowLists: ["mydomain.com"],
22
+ * });
23
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigOutput({
24
+ * federationSettingsId: orgConnections.id,
25
+ * orgId: "627a9683ea7ff7f74de306f14",
26
+ * });
27
+ * ```
28
+ */
29
+ function getFederatedSettingsOrgConfig(args, opts) {
30
+ if (!opts) {
31
+ opts = {};
32
+ }
33
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
34
+ return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettingsOrgConfig:getFederatedSettingsOrgConfig", {
35
+ "federationSettingsId": args.federationSettingsId,
36
+ "orgId": args.orgId,
37
+ }, opts);
38
+ }
39
+ exports.getFederatedSettingsOrgConfig = getFederatedSettingsOrgConfig;
40
+ function getFederatedSettingsOrgConfigOutput(args, opts) {
41
+ return pulumi.output(args).apply(a => getFederatedSettingsOrgConfig(a, opts));
42
+ }
43
+ exports.getFederatedSettingsOrgConfigOutput = getFederatedSettingsOrgConfigOutput;
44
+ //# sourceMappingURL=getFederatedSettingsOrgConfig.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFederatedSettingsOrgConfig.js","sourceRoot":"","sources":["../getFederatedSettingsOrgConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAA2B;IAC9G,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,gFAAgF,EAAE;QAC3G,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sEAUC;AAiDD,SAAgB,mCAAmC,CAAC,IAA6C,EAAE,IAA2B;IAC1H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,6BAA6B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,kFAEC"}
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * `mongodbatlas.getFederatedSettingsOrgConfigs` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("orgConnections", {
13
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
14
+ * orgId: "627a9683ea7ff7f74de306f14",
15
+ * domainRestrictionEnabled: false,
16
+ * domainAllowLists: ["mydomain.com"],
17
+ * });
18
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigsOutput({
19
+ * federationSettingsId: orgConnections.id,
20
+ * });
21
+ * ```
22
+ */
23
+ export declare function getFederatedSettingsOrgConfigs(args: GetFederatedSettingsOrgConfigsArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsOrgConfigsResult>;
24
+ /**
25
+ * A collection of arguments for invoking getFederatedSettingsOrgConfigs.
26
+ */
27
+ export interface GetFederatedSettingsOrgConfigsArgs {
28
+ /**
29
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
30
+ */
31
+ federationSettingsId: string;
32
+ /**
33
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
34
+ */
35
+ itemsPerPage?: number;
36
+ /**
37
+ * The page to return. Defaults to `1`.
38
+ */
39
+ pageNum?: number;
40
+ }
41
+ /**
42
+ * A collection of values returned by getFederatedSettingsOrgConfigs.
43
+ */
44
+ export interface GetFederatedSettingsOrgConfigsResult {
45
+ /**
46
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
47
+ */
48
+ readonly federationSettingsId: string;
49
+ /**
50
+ * The provider-assigned unique ID for this managed resource.
51
+ */
52
+ readonly id: string;
53
+ readonly itemsPerPage?: number;
54
+ readonly pageNum?: number;
55
+ /**
56
+ * Includes cloudProviderSnapshot object for each item detailed in the results array section.
57
+ */
58
+ readonly results: outputs.GetFederatedSettingsOrgConfigsResult[];
59
+ }
60
+ export declare function getFederatedSettingsOrgConfigsOutput(args: GetFederatedSettingsOrgConfigsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsOrgConfigsResult>;
61
+ /**
62
+ * A collection of arguments for invoking getFederatedSettingsOrgConfigs.
63
+ */
64
+ export interface GetFederatedSettingsOrgConfigsOutputArgs {
65
+ /**
66
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
67
+ */
68
+ federationSettingsId: pulumi.Input<string>;
69
+ /**
70
+ * Number of items to return per page, up to a maximum of 500. Defaults to `100`.
71
+ */
72
+ itemsPerPage?: pulumi.Input<number>;
73
+ /**
74
+ * The page to return. Defaults to `1`.
75
+ */
76
+ pageNum?: pulumi.Input<number>;
77
+ }
@@ -0,0 +1,44 @@
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.getFederatedSettingsOrgConfigsOutput = exports.getFederatedSettingsOrgConfigs = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.getFederatedSettingsOrgConfigs` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
16
+ *
17
+ * const orgConnections = new mongodbatlas.FederatedSettingsOrgConfig("orgConnections", {
18
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
19
+ * orgId: "627a9683ea7ff7f74de306f14",
20
+ * domainRestrictionEnabled: false,
21
+ * domainAllowLists: ["mydomain.com"],
22
+ * });
23
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigsOutput({
24
+ * federationSettingsId: orgConnections.id,
25
+ * });
26
+ * ```
27
+ */
28
+ function getFederatedSettingsOrgConfigs(args, opts) {
29
+ if (!opts) {
30
+ opts = {};
31
+ }
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
33
+ return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettingsOrgConfigs:getFederatedSettingsOrgConfigs", {
34
+ "federationSettingsId": args.federationSettingsId,
35
+ "itemsPerPage": args.itemsPerPage,
36
+ "pageNum": args.pageNum,
37
+ }, opts);
38
+ }
39
+ exports.getFederatedSettingsOrgConfigs = getFederatedSettingsOrgConfigs;
40
+ function getFederatedSettingsOrgConfigsOutput(args, opts) {
41
+ return pulumi.output(args).apply(a => getFederatedSettingsOrgConfigs(a, opts));
42
+ }
43
+ exports.getFederatedSettingsOrgConfigsOutput = getFederatedSettingsOrgConfigsOutput;
44
+ //# sourceMappingURL=getFederatedSettingsOrgConfigs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFederatedSettingsOrgConfigs.js","sourceRoot":"","sources":["../getFederatedSettingsOrgConfigs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,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,kFAAkF,EAAE;QAC7G,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,wEAWC;AAwCD,SAAgB,oCAAoC,CAAC,IAA8C,EAAE,IAA2B;IAC5H,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,8BAA8B,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClF,CAAC;AAFD,oFAEC"}
@@ -0,0 +1,102 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * `mongodbatlas.FederatedSettingsOrgRoleMapping` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
11
+ *
12
+ * const orgGroupRoleMappingImport = new mongodbatlas.FederatedSettingsOrgRoleMapping("orgGroupRoleMappingImport", {
13
+ * federationSettingsId: data.mongodbatlas_federated_settings.federated_settings.id,
14
+ * orgId: "627a9683e7f7f7ff7fe306f14",
15
+ * externalGroupName: "myGrouptest",
16
+ * roleAssignments: [
17
+ * {
18
+ * orgId: "627a9683e7f7f7ff7fe306f14",
19
+ * roles: [
20
+ * "ORG_MEMBER",
21
+ * "ORG_GROUP_CREATOR",
22
+ * "ORG_BILLING_ADMIN",
23
+ * ],
24
+ * },
25
+ * {
26
+ * groupId: "628aa20db7f7f7f98b81b8",
27
+ * roles: [
28
+ * "GROUP_OWNER",
29
+ * "GROUP_DATA_ACCESS_ADMIN",
30
+ * "GROUP_SEARCH_INDEX_EDITOR",
31
+ * "GROUP_DATA_ACCESS_READ_ONLY",
32
+ * ],
33
+ * },
34
+ * {
35
+ * groupId: "62b477f7f7f7f5e741489c",
36
+ * roles: [
37
+ * "GROUP_OWNER",
38
+ * "GROUP_DATA_ACCESS_ADMIN",
39
+ * "GROUP_SEARCH_INDEX_EDITOR",
40
+ * "GROUP_DATA_ACCESS_READ_ONLY",
41
+ * "GROUP_DATA_ACCESS_READ_WRITE",
42
+ * ],
43
+ * },
44
+ * ],
45
+ * });
46
+ * const roleMapping = mongodbatlas.getFederatedSettingsOrgRoleMappingOutput({
47
+ * federationSettingsId: orgGroupRoleMappingImport.id,
48
+ * orgId: "627a9683e7f7f7ff7fe306f14",
49
+ * roleMappingId: "627a9673e7f7f7ff7fe306f14",
50
+ * });
51
+ * ```
52
+ */
53
+ export declare function getFederatedSettingsOrgRoleMapping(args: GetFederatedSettingsOrgRoleMappingArgs, opts?: pulumi.InvokeOptions): Promise<GetFederatedSettingsOrgRoleMappingResult>;
54
+ /**
55
+ * A collection of arguments for invoking getFederatedSettingsOrgRoleMapping.
56
+ */
57
+ export interface GetFederatedSettingsOrgRoleMappingArgs {
58
+ /**
59
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
60
+ */
61
+ federationSettingsId: string;
62
+ /**
63
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
64
+ */
65
+ orgId: string;
66
+ roleMappingId: string;
67
+ }
68
+ /**
69
+ * A collection of values returned by getFederatedSettingsOrgRoleMapping.
70
+ */
71
+ export interface GetFederatedSettingsOrgRoleMappingResult {
72
+ /**
73
+ * Unique human-readable label that identifies the identity provider group to which this role mapping applies.
74
+ */
75
+ readonly externalGroupName: string;
76
+ readonly federationSettingsId: string;
77
+ /**
78
+ * Unique 24-hexadecimal digit string that identifies this role mapping.
79
+ */
80
+ readonly id: string;
81
+ readonly orgId: string;
82
+ /**
83
+ * Atlas roles and the unique identifiers of the groups and organizations associated with each role.
84
+ */
85
+ readonly roleAssignments: outputs.GetFederatedSettingsOrgRoleMappingRoleAssignment[];
86
+ readonly roleMappingId: string;
87
+ }
88
+ export declare function getFederatedSettingsOrgRoleMappingOutput(args: GetFederatedSettingsOrgRoleMappingOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetFederatedSettingsOrgRoleMappingResult>;
89
+ /**
90
+ * A collection of arguments for invoking getFederatedSettingsOrgRoleMapping.
91
+ */
92
+ export interface GetFederatedSettingsOrgRoleMappingOutputArgs {
93
+ /**
94
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
95
+ */
96
+ federationSettingsId: pulumi.Input<string>;
97
+ /**
98
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
99
+ */
100
+ orgId: pulumi.Input<string>;
101
+ roleMappingId: pulumi.Input<string>;
102
+ }
@@ -0,0 +1,74 @@
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.getFederatedSettingsOrgRoleMappingOutput = exports.getFederatedSettingsOrgRoleMapping = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsOrgRoleMapping` provides an Federated Settings Org Role Mapping datasource. Atlas Cloud Federated Settings Org Role Mapping provides federated settings outputs for the configured Org Role Mapping.
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("orgGroupRoleMappingImport", {
18
+ * federationSettingsId: data.mongodbatlas_federated_settings.federated_settings.id,
19
+ * orgId: "627a9683e7f7f7ff7fe306f14",
20
+ * externalGroupName: "myGrouptest",
21
+ * roleAssignments: [
22
+ * {
23
+ * orgId: "627a9683e7f7f7ff7fe306f14",
24
+ * roles: [
25
+ * "ORG_MEMBER",
26
+ * "ORG_GROUP_CREATOR",
27
+ * "ORG_BILLING_ADMIN",
28
+ * ],
29
+ * },
30
+ * {
31
+ * groupId: "628aa20db7f7f7f98b81b8",
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: "62b477f7f7f7f5e741489c",
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
+ * const roleMapping = mongodbatlas.getFederatedSettingsOrgRoleMappingOutput({
52
+ * federationSettingsId: orgGroupRoleMappingImport.id,
53
+ * orgId: "627a9683e7f7f7ff7fe306f14",
54
+ * roleMappingId: "627a9673e7f7f7ff7fe306f14",
55
+ * });
56
+ * ```
57
+ */
58
+ function getFederatedSettingsOrgRoleMapping(args, opts) {
59
+ if (!opts) {
60
+ opts = {};
61
+ }
62
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
63
+ return pulumi.runtime.invoke("mongodbatlas:index/getFederatedSettingsOrgRoleMapping:getFederatedSettingsOrgRoleMapping", {
64
+ "federationSettingsId": args.federationSettingsId,
65
+ "orgId": args.orgId,
66
+ "roleMappingId": args.roleMappingId,
67
+ }, opts);
68
+ }
69
+ exports.getFederatedSettingsOrgRoleMapping = getFederatedSettingsOrgRoleMapping;
70
+ function getFederatedSettingsOrgRoleMappingOutput(args, opts) {
71
+ return pulumi.output(args).apply(a => getFederatedSettingsOrgRoleMapping(a, opts));
72
+ }
73
+ exports.getFederatedSettingsOrgRoleMappingOutput = getFederatedSettingsOrgRoleMappingOutput;
74
+ //# sourceMappingURL=getFederatedSettingsOrgRoleMapping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFederatedSettingsOrgRoleMapping.js","sourceRoot":"","sources":["../getFederatedSettingsOrgRoleMapping.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;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,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,gFAWC;AAsCD,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"}