@pulumi/mongodbatlas 3.16.0-alpha.1717450826 → 3.16.0-alpha.1717451284

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.
@@ -1,4 +1,37 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * `mongodbatlas.FederatedSettingsOrgConfig` provides an Federated Settings Identity Providers datasource. Atlas Cloud Federated Settings Identity Providers provides federated settings outputs for the configured Identity Providers.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
+ *
13
+ * const orgConnection = new mongodbatlas.FederatedSettingsOrgConfig("org_connection", {
14
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
15
+ * orgId: "627a9683ea7ff7f74de306f14",
16
+ * domainRestrictionEnabled: false,
17
+ * domainAllowLists: ["mydomain.com"],
18
+ * postAuthRoleGrants: ["ORG_MEMBER"],
19
+ * identityProviderId: "0oad4fas87jL7f75Xnk1297",
20
+ * });
21
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigs({
22
+ * federationSettingsId: orgConnectionMongodbatlasFederatedSettingsOrgConfig.id,
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * FederatedSettingsOrgConfig must be imported using federation_settings_id-org_id, e.g.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import mongodbatlas:index/federatedSettingsOrgConfig:FederatedSettingsOrgConfig org_connection 627a9687f7f7f7f774de306f14-627a9683ea7ff7f74de306f14
32
+ * ```
33
+ * For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
34
+ */
2
35
  export declare class FederatedSettingsOrgConfig extends pulumi.CustomResource {
3
36
  /**
4
37
  * Get an existing FederatedSettingsOrgConfig resource's state with the given name, ID, and optional extra
@@ -15,11 +48,29 @@ export declare class FederatedSettingsOrgConfig extends pulumi.CustomResource {
15
48
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
49
  */
17
50
  static isInstance(obj: any): obj is FederatedSettingsOrgConfig;
51
+ /**
52
+ * List that contains the approved domains from which organization users can log in.
53
+ */
18
54
  readonly domainAllowLists: pulumi.Output<string[] | undefined>;
55
+ /**
56
+ * Flag that indicates whether domain restriction is enabled for the connected organization.
57
+ */
19
58
  readonly domainRestrictionEnabled: pulumi.Output<boolean>;
59
+ /**
60
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
61
+ */
20
62
  readonly federationSettingsId: pulumi.Output<string>;
63
+ /**
64
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
65
+ */
21
66
  readonly identityProviderId: pulumi.Output<string>;
67
+ /**
68
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
69
+ */
22
70
  readonly orgId: pulumi.Output<string>;
71
+ /**
72
+ * 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.
73
+ */
23
74
  readonly postAuthRoleGrants: pulumi.Output<string[] | undefined>;
24
75
  /**
25
76
  * Create a FederatedSettingsOrgConfig resource with the given unique name, arguments, and options.
@@ -34,21 +85,57 @@ export declare class FederatedSettingsOrgConfig extends pulumi.CustomResource {
34
85
  * Input properties used for looking up and filtering FederatedSettingsOrgConfig resources.
35
86
  */
36
87
  export interface FederatedSettingsOrgConfigState {
88
+ /**
89
+ * List that contains the approved domains from which organization users can log in.
90
+ */
37
91
  domainAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
92
+ /**
93
+ * Flag that indicates whether domain restriction is enabled for the connected organization.
94
+ */
38
95
  domainRestrictionEnabled?: pulumi.Input<boolean>;
96
+ /**
97
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
98
+ */
39
99
  federationSettingsId?: pulumi.Input<string>;
100
+ /**
101
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
102
+ */
40
103
  identityProviderId?: pulumi.Input<string>;
104
+ /**
105
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
106
+ */
41
107
  orgId?: pulumi.Input<string>;
108
+ /**
109
+ * 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.
110
+ */
42
111
  postAuthRoleGrants?: pulumi.Input<pulumi.Input<string>[]>;
43
112
  }
44
113
  /**
45
114
  * The set of arguments for constructing a FederatedSettingsOrgConfig resource.
46
115
  */
47
116
  export interface FederatedSettingsOrgConfigArgs {
117
+ /**
118
+ * List that contains the approved domains from which organization users can log in.
119
+ */
48
120
  domainAllowLists?: pulumi.Input<pulumi.Input<string>[]>;
121
+ /**
122
+ * Flag that indicates whether domain restriction is enabled for the connected organization.
123
+ */
49
124
  domainRestrictionEnabled: pulumi.Input<boolean>;
125
+ /**
126
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
127
+ */
50
128
  federationSettingsId: pulumi.Input<string>;
129
+ /**
130
+ * Unique 24-hexadecimal digit string that identifies the federated authentication configuration.
131
+ */
51
132
  identityProviderId: pulumi.Input<string>;
133
+ /**
134
+ * Unique 24-hexadecimal digit string that identifies the organization that contains your projects.
135
+ */
52
136
  orgId: pulumi.Input<string>;
137
+ /**
138
+ * 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.
139
+ */
53
140
  postAuthRoleGrants?: pulumi.Input<pulumi.Input<string>[]>;
54
141
  }
@@ -5,6 +5,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.FederatedSettingsOrgConfig = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.FederatedSettingsOrgConfig` 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
+ * > **IMPORTANT** You **MUST** import this resource before you can manage it with this provider.
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const orgConnection = new mongodbatlas.FederatedSettingsOrgConfig("org_connection", {
20
+ * federationSettingsId: "627a9687f7f7f7f774de306f14",
21
+ * orgId: "627a9683ea7ff7f74de306f14",
22
+ * domainRestrictionEnabled: false,
23
+ * domainAllowLists: ["mydomain.com"],
24
+ * postAuthRoleGrants: ["ORG_MEMBER"],
25
+ * identityProviderId: "0oad4fas87jL7f75Xnk1297",
26
+ * });
27
+ * const orgConfigsDs = mongodbatlas.getFederatedSettingsOrgConfigs({
28
+ * federationSettingsId: orgConnectionMongodbatlasFederatedSettingsOrgConfig.id,
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * FederatedSettingsOrgConfig must be imported using federation_settings_id-org_id, e.g.
35
+ *
36
+ * ```sh
37
+ * $ pulumi import mongodbatlas:index/federatedSettingsOrgConfig:FederatedSettingsOrgConfig org_connection 627a9687f7f7f7f774de306f14-627a9683ea7ff7f74de306f14
38
+ * ```
39
+ * For more information see: [MongoDB Atlas API Reference.](https://www.mongodb.com/docs/atlas/reference/api/federation-configuration/)
40
+ */
8
41
  class FederatedSettingsOrgConfig extends pulumi.CustomResource {
9
42
  /**
10
43
  * Get an existing FederatedSettingsOrgConfig resource's state with the given name, ID, and optional extra
@@ -1 +1 @@
1
- {"version":3,"file":"federatedSettingsOrgConfig.js","sourceRoot":"","sources":["../federatedSettingsOrgConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC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1,67 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * `mongodbatlas.Team` describes a Team. The resource requires your Organization ID, Project ID and Team ID.
4
+ *
5
+ * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
12
+ *
13
+ * const testTeam = new mongodbatlas.Team("test", {
14
+ * orgId: "<ORGANIZATION-ID>",
15
+ * name: "myNewTeam",
16
+ * usernames: [
17
+ * "user1",
18
+ * "user2",
19
+ * "user3",
20
+ * ],
21
+ * });
22
+ * const test = mongodbatlas.getTeamOutput({
23
+ * orgId: testTeam.orgId,
24
+ * teamId: testTeam.teamId,
25
+ * });
26
+ * ```
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
31
+ *
32
+ * const test = new mongodbatlas.Team("test", {
33
+ * orgId: "<ORGANIZATION-ID>",
34
+ * name: "myNewTeam",
35
+ * usernames: [
36
+ * "user1",
37
+ * "user2",
38
+ * "user3",
39
+ * ],
40
+ * });
41
+ * const test2 = mongodbatlas.getTeamOutput({
42
+ * orgId: test.orgId,
43
+ * name: test.name,
44
+ * });
45
+ * ```
46
+ */
2
47
  export declare function getTeam(args: GetTeamArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamResult>;
3
48
  /**
4
49
  * A collection of arguments for invoking getTeam.
5
50
  */
6
51
  export interface GetTeamArgs {
52
+ /**
53
+ * The team name.
54
+ *
55
+ * > **IMPORTANT:** Either `teamId` or `name` must be configured.
56
+ */
7
57
  name?: string;
58
+ /**
59
+ * The unique identifier for the organization you want to associate the team with.
60
+ */
8
61
  orgId: string;
62
+ /**
63
+ * The unique identifier for the team.
64
+ */
9
65
  teamId?: string;
10
66
  }
11
67
  /**
@@ -16,17 +72,82 @@ export interface GetTeamResult {
16
72
  * The provider-assigned unique ID for this managed resource.
17
73
  */
18
74
  readonly id: string;
75
+ /**
76
+ * The name of the team you want to create.
77
+ */
19
78
  readonly name: string;
20
79
  readonly orgId: string;
80
+ /**
81
+ * The unique identifier for the team.
82
+ */
21
83
  readonly teamId: string;
84
+ /**
85
+ * The users who are part of the organization.
86
+ */
22
87
  readonly usernames: string[];
23
88
  }
89
+ /**
90
+ * `mongodbatlas.Team` describes a Team. The resource requires your Organization ID, Project ID and Team ID.
91
+ *
92
+ * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
93
+ *
94
+ * ## Example Usage
95
+ *
96
+ * ```typescript
97
+ * import * as pulumi from "@pulumi/pulumi";
98
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
99
+ *
100
+ * const testTeam = new mongodbatlas.Team("test", {
101
+ * orgId: "<ORGANIZATION-ID>",
102
+ * name: "myNewTeam",
103
+ * usernames: [
104
+ * "user1",
105
+ * "user2",
106
+ * "user3",
107
+ * ],
108
+ * });
109
+ * const test = mongodbatlas.getTeamOutput({
110
+ * orgId: testTeam.orgId,
111
+ * teamId: testTeam.teamId,
112
+ * });
113
+ * ```
114
+ *
115
+ * ```typescript
116
+ * import * as pulumi from "@pulumi/pulumi";
117
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
118
+ *
119
+ * const test = new mongodbatlas.Team("test", {
120
+ * orgId: "<ORGANIZATION-ID>",
121
+ * name: "myNewTeam",
122
+ * usernames: [
123
+ * "user1",
124
+ * "user2",
125
+ * "user3",
126
+ * ],
127
+ * });
128
+ * const test2 = mongodbatlas.getTeamOutput({
129
+ * orgId: test.orgId,
130
+ * name: test.name,
131
+ * });
132
+ * ```
133
+ */
24
134
  export declare function getTeamOutput(args: GetTeamOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamResult>;
25
135
  /**
26
136
  * A collection of arguments for invoking getTeam.
27
137
  */
28
138
  export interface GetTeamOutputArgs {
139
+ /**
140
+ * The team name.
141
+ *
142
+ * > **IMPORTANT:** Either `teamId` or `name` must be configured.
143
+ */
29
144
  name?: pulumi.Input<string>;
145
+ /**
146
+ * The unique identifier for the organization you want to associate the team with.
147
+ */
30
148
  orgId: pulumi.Input<string>;
149
+ /**
150
+ * The unique identifier for the team.
151
+ */
31
152
  teamId?: pulumi.Input<string>;
32
153
  }
package/getTeam.js CHANGED
@@ -5,6 +5,51 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getTeamOutput = exports.getTeam = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.Team` describes a Team. The resource requires your Organization ID, Project ID and Team ID.
10
+ *
11
+ * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
18
+ *
19
+ * const testTeam = new mongodbatlas.Team("test", {
20
+ * orgId: "<ORGANIZATION-ID>",
21
+ * name: "myNewTeam",
22
+ * usernames: [
23
+ * "user1",
24
+ * "user2",
25
+ * "user3",
26
+ * ],
27
+ * });
28
+ * const test = mongodbatlas.getTeamOutput({
29
+ * orgId: testTeam.orgId,
30
+ * teamId: testTeam.teamId,
31
+ * });
32
+ * ```
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
37
+ *
38
+ * const test = new mongodbatlas.Team("test", {
39
+ * orgId: "<ORGANIZATION-ID>",
40
+ * name: "myNewTeam",
41
+ * usernames: [
42
+ * "user1",
43
+ * "user2",
44
+ * "user3",
45
+ * ],
46
+ * });
47
+ * const test2 = mongodbatlas.getTeamOutput({
48
+ * orgId: test.orgId,
49
+ * name: test.name,
50
+ * });
51
+ * ```
52
+ */
8
53
  function getTeam(args, opts) {
9
54
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
55
  return pulumi.runtime.invoke("mongodbatlas:index/getTeam:getTeam", {
@@ -14,6 +59,51 @@ function getTeam(args, opts) {
14
59
  }, opts);
15
60
  }
16
61
  exports.getTeam = getTeam;
62
+ /**
63
+ * `mongodbatlas.Team` describes a Team. The resource requires your Organization ID, Project ID and Team ID.
64
+ *
65
+ * > **NOTE:** Groups and projects are synonymous terms. You may find `groupId` in the official documentation.
66
+ *
67
+ * ## Example Usage
68
+ *
69
+ * ```typescript
70
+ * import * as pulumi from "@pulumi/pulumi";
71
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
72
+ *
73
+ * const testTeam = new mongodbatlas.Team("test", {
74
+ * orgId: "<ORGANIZATION-ID>",
75
+ * name: "myNewTeam",
76
+ * usernames: [
77
+ * "user1",
78
+ * "user2",
79
+ * "user3",
80
+ * ],
81
+ * });
82
+ * const test = mongodbatlas.getTeamOutput({
83
+ * orgId: testTeam.orgId,
84
+ * teamId: testTeam.teamId,
85
+ * });
86
+ * ```
87
+ *
88
+ * ```typescript
89
+ * import * as pulumi from "@pulumi/pulumi";
90
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
91
+ *
92
+ * const test = new mongodbatlas.Team("test", {
93
+ * orgId: "<ORGANIZATION-ID>",
94
+ * name: "myNewTeam",
95
+ * usernames: [
96
+ * "user1",
97
+ * "user2",
98
+ * "user3",
99
+ * ],
100
+ * });
101
+ * const test2 = mongodbatlas.getTeamOutput({
102
+ * orgId: test.orgId,
103
+ * name: test.name,
104
+ * });
105
+ * ```
106
+ */
17
107
  function getTeamOutput(args, opts) {
18
108
  return pulumi.output(args).apply((a) => getTeam(a, opts));
19
109
  }
package/getTeam.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTeam.js","sourceRoot":"","sources":["../getTeam.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,S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AgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
package/getTeams.d.ts CHANGED
@@ -1,4 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This data source is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the data source with the implementation which fetches a single team.
4
+ *
5
+ * In the future this data source will define a new implementation capable of fetching all teams in one organization.
6
+ */
2
7
  export declare function getTeams(args: GetTeamsArgs, opts?: pulumi.InvokeOptions): Promise<GetTeamsResult>;
3
8
  /**
4
9
  * A collection of arguments for invoking getTeams.
@@ -21,6 +26,11 @@ export interface GetTeamsResult {
21
26
  readonly teamId: string;
22
27
  readonly usernames: string[];
23
28
  }
29
+ /**
30
+ * This data source is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the data source with the implementation which fetches a single team.
31
+ *
32
+ * In the future this data source will define a new implementation capable of fetching all teams in one organization.
33
+ */
24
34
  export declare function getTeamsOutput(args: GetTeamsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTeamsResult>;
25
35
  /**
26
36
  * A collection of arguments for invoking getTeams.
package/getTeams.js CHANGED
@@ -5,6 +5,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getTeamsOutput = exports.getTeams = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * This data source is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the data source with the implementation which fetches a single team.
10
+ *
11
+ * In the future this data source will define a new implementation capable of fetching all teams in one organization.
12
+ */
8
13
  function getTeams(args, opts) {
9
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
15
  return pulumi.runtime.invoke("mongodbatlas:index/getTeams:getTeams", {
@@ -14,6 +19,11 @@ function getTeams(args, opts) {
14
19
  }, opts);
15
20
  }
16
21
  exports.getTeams = getTeams;
22
+ /**
23
+ * This data source is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the data source with the implementation which fetches a single team.
24
+ *
25
+ * In the future this data source will define a new implementation capable of fetching all teams in one organization.
26
+ */
17
27
  function getTeamsOutput(args, opts) {
18
28
  return pulumi.output(args).apply((a) => getTeams(a, opts));
19
29
  }
package/getTeams.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTeams.js","sourceRoot":"","sources":["../getTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAwBD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getTeams.js","sourceRoot":"","sources":["../getTeams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAwBD;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pulumi/mongodbatlas",
3
- "version": "3.16.0-alpha.1717450826",
3
+ "version": "3.16.0-alpha.1717451284",
4
4
  "description": "A Pulumi package for creating and managing mongodbatlas cloud resources.",
5
5
  "keywords": [
6
6
  "pulumi",
@@ -23,6 +23,6 @@
23
23
  "pulumi": {
24
24
  "resource": true,
25
25
  "name": "mongodbatlas",
26
- "version": "3.16.0-alpha.1717450826"
26
+ "version": "3.16.0-alpha.1717451284"
27
27
  }
28
28
  }
package/team.d.ts CHANGED
@@ -1,4 +1,37 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * `mongodbatlas.Team` provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.
4
+ *
5
+ * > **IMPORTANT:** MongoDB Atlas Team are limited to a maximum of 250 teams in an organization and 100 teams per project.
6
+ *
7
+ * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
14
+ *
15
+ * const test = new mongodbatlas.Team("test", {
16
+ * orgId: "<ORGANIZATION-ID>",
17
+ * name: "myNewTeam",
18
+ * usernames: [
19
+ * "user1@email.com",
20
+ * "user2@email.com",
21
+ * "user3@email.com",
22
+ * ],
23
+ * });
24
+ * ```
25
+ *
26
+ * ## Import
27
+ *
28
+ * Teams can be imported using the organization ID and team id, in the format ORGID-TEAMID, e.g.
29
+ *
30
+ * ```sh
31
+ * $ pulumi import mongodbatlas:index/team:Team my_team 1112222b3bf99403840e8934-1112222b3bf99403840e8935
32
+ * ```
33
+ * See detailed information for arguments and attributes: [MongoDB API Teams](https://docs.atlas.mongodb.com/reference/api/teams-create-one/)
34
+ */
2
35
  export declare class Team extends pulumi.CustomResource {
3
36
  /**
4
37
  * Get an existing Team resource's state with the given name, ID, and optional extra
@@ -15,9 +48,21 @@ export declare class Team extends pulumi.CustomResource {
15
48
  * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
49
  */
17
50
  static isInstance(obj: any): obj is Team;
51
+ /**
52
+ * The name of the team you want to create.
53
+ */
18
54
  readonly name: pulumi.Output<string>;
55
+ /**
56
+ * The unique identifier for the organization you want to associate the team with.
57
+ */
19
58
  readonly orgId: pulumi.Output<string>;
59
+ /**
60
+ * The unique identifier for the team.
61
+ */
20
62
  readonly teamId: pulumi.Output<string>;
63
+ /**
64
+ * The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
65
+ */
21
66
  readonly usernames: pulumi.Output<string[]>;
22
67
  /**
23
68
  * Create a Team resource with the given unique name, arguments, and options.
@@ -32,16 +77,37 @@ export declare class Team extends pulumi.CustomResource {
32
77
  * Input properties used for looking up and filtering Team resources.
33
78
  */
34
79
  export interface TeamState {
80
+ /**
81
+ * The name of the team you want to create.
82
+ */
35
83
  name?: pulumi.Input<string>;
84
+ /**
85
+ * The unique identifier for the organization you want to associate the team with.
86
+ */
36
87
  orgId?: pulumi.Input<string>;
88
+ /**
89
+ * The unique identifier for the team.
90
+ */
37
91
  teamId?: pulumi.Input<string>;
92
+ /**
93
+ * The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
94
+ */
38
95
  usernames?: pulumi.Input<pulumi.Input<string>[]>;
39
96
  }
40
97
  /**
41
98
  * The set of arguments for constructing a Team resource.
42
99
  */
43
100
  export interface TeamArgs {
101
+ /**
102
+ * The name of the team you want to create.
103
+ */
44
104
  name?: pulumi.Input<string>;
105
+ /**
106
+ * The unique identifier for the organization you want to associate the team with.
107
+ */
45
108
  orgId: pulumi.Input<string>;
109
+ /**
110
+ * The Atlas usernames (email address). You can only add Atlas users who are part of the organization. Users who have not accepted an invitation to join the organization cannot be added as team members. There is a maximum of 250 Atlas users per team.
111
+ */
46
112
  usernames: pulumi.Input<pulumi.Input<string>[]>;
47
113
  }
package/team.js CHANGED
@@ -5,6 +5,39 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Team = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * `mongodbatlas.Team` provides a Team resource. The resource lets you create, edit and delete Teams. Also, Teams can be assigned to multiple projects, and team members’ access to the project is determined by the team’s project role.
10
+ *
11
+ * > **IMPORTANT:** MongoDB Atlas Team are limited to a maximum of 250 teams in an organization and 100 teams per project.
12
+ *
13
+ * > **NOTE:** Groups and projects are synonymous terms. You may find groupId in the official documentation.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as mongodbatlas from "@pulumi/mongodbatlas";
20
+ *
21
+ * const test = new mongodbatlas.Team("test", {
22
+ * orgId: "<ORGANIZATION-ID>",
23
+ * name: "myNewTeam",
24
+ * usernames: [
25
+ * "user1@email.com",
26
+ * "user2@email.com",
27
+ * "user3@email.com",
28
+ * ],
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * Teams can be imported using the organization ID and team id, in the format ORGID-TEAMID, e.g.
35
+ *
36
+ * ```sh
37
+ * $ pulumi import mongodbatlas:index/team:Team my_team 1112222b3bf99403840e8934-1112222b3bf99403840e8935
38
+ * ```
39
+ * See detailed information for arguments and attributes: [MongoDB API Teams](https://docs.atlas.mongodb.com/reference/api/teams-create-one/)
40
+ */
8
41
  class Team extends pulumi.CustomResource {
9
42
  /**
10
43
  * Get an existing Team resource's state with the given name, ID, and optional extra
package/team.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IAeD,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,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,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA7EL,oBA8EC;AAhEG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
package/teams.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the resource with the implementation which manages a single team.
4
+ */
2
5
  export declare class Teams extends pulumi.CustomResource {
3
6
  /**
4
7
  * Get an existing Teams resource's state with the given name, ID, and optional extra
package/teams.js CHANGED
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.Teams = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * This resource is deprecated. Please transition to using `mongodbatlas.Team` which defines the same underlying implementation, aligning the name of the resource with the implementation which manages a single team.
10
+ */
8
11
  class Teams extends pulumi.CustomResource {
9
12
  /**
10
13
  * Get an existing Teams resource's state with the given name, ID, and optional extra
package/teams.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"teams.js","sourceRoot":"","sources":["../teams.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OA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