@pulumi/mongodbatlas 3.0.0 → 3.1.0-alpha.1638801724
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/README.md +1 -1
- package/alertConfiguration.d.ts +21 -21
- package/alertConfiguration.js +27 -26
- package/alertConfiguration.js.map +1 -1
- package/auditing.d.ts +18 -18
- package/auditing.js +13 -12
- package/auditing.js.map +1 -1
- package/cloudBackupSchedule.d.ts +23 -23
- package/cloudBackupSchedule.js +29 -28
- package/cloudBackupSchedule.js.map +1 -1
- package/cloudProviderAccess.d.ts +12 -12
- package/cloudProviderAccess.js +21 -20
- package/cloudProviderAccess.js.map +1 -1
- package/cloudProviderAccessAuthorization.d.ts +8 -8
- package/cloudProviderAccessAuthorization.js +13 -12
- package/cloudProviderAccessAuthorization.js.map +1 -1
- package/cloudProviderAccessSetup.d.ts +8 -8
- package/cloudProviderAccessSetup.js +15 -14
- package/cloudProviderAccessSetup.js.map +1 -1
- package/cloudProviderSnapshot.d.ts +17 -17
- package/cloudProviderSnapshot.js +29 -28
- package/cloudProviderSnapshot.js.map +1 -1
- package/cloudProviderSnapshotBackupPolicy.d.ts +16 -16
- package/cloudProviderSnapshotBackupPolicy.js +21 -20
- package/cloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/cloudProviderSnapshotRestoreJob.d.ts +18 -18
- package/cloudProviderSnapshotRestoreJob.js +29 -28
- package/cloudProviderSnapshotRestoreJob.js.map +1 -1
- package/cluster.d.ts +72 -75
- package/cluster.js +87 -86
- package/cluster.js.map +1 -1
- package/config/index.js +11 -4
- package/config/index.js.map +1 -1
- package/config/vars.d.ts +4 -4
- package/config/vars.js +25 -17
- package/config/vars.js.map +1 -1
- package/customDbRole.d.ts +8 -8
- package/customDbRole.js +11 -10
- package/customDbRole.js.map +1 -1
- package/customDnsConfigurationClusterAws.d.ts +4 -4
- package/customDnsConfigurationClusterAws.js +7 -6
- package/customDnsConfigurationClusterAws.js.map +1 -1
- package/dataLake.d.ts +12 -12
- package/dataLake.js +19 -18
- package/dataLake.js.map +1 -1
- package/databaseUser.d.ts +22 -22
- package/databaseUser.js +25 -24
- package/databaseUser.js.map +1 -1
- package/encryptionAtRest.d.ts +14 -14
- package/encryptionAtRest.js +17 -16
- package/encryptionAtRest.js.map +1 -1
- package/eventTrigger.d.ts +39 -39
- package/eventTrigger.js +45 -44
- package/eventTrigger.js.map +1 -1
- package/get509AuthenticationDatabaseUser.d.ts +20 -6
- package/get509AuthenticationDatabaseUser.js +9 -4
- package/get509AuthenticationDatabaseUser.js.map +1 -1
- package/getAlertConfiguration.d.ts +16 -2
- package/getAlertConfiguration.js +5 -0
- package/getAlertConfiguration.js.map +1 -1
- package/getAuditing.d.ts +11 -1
- package/getAuditing.js +5 -0
- package/getAuditing.js.map +1 -1
- package/getCloudBackupSchedule.d.ts +16 -2
- package/getCloudBackupSchedule.js +5 -0
- package/getCloudBackupSchedule.js.map +1 -1
- package/getCloudProviderAccess.d.ts +14 -4
- package/getCloudProviderAccess.js +8 -3
- package/getCloudProviderAccess.js.map +1 -1
- package/getCloudProviderAccessSetup.d.ts +26 -8
- package/getCloudProviderAccessSetup.js +10 -5
- package/getCloudProviderAccessSetup.js.map +1 -1
- package/getCloudProviderSnapshot.d.ts +18 -3
- package/getCloudProviderSnapshot.js +5 -0
- package/getCloudProviderSnapshot.js.map +1 -1
- package/getCloudProviderSnapshotBackupPolicy.d.ts +16 -2
- package/getCloudProviderSnapshotBackupPolicy.js +5 -0
- package/getCloudProviderSnapshotBackupPolicy.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJob.d.ts +21 -3
- package/getCloudProviderSnapshotRestoreJob.js +5 -0
- package/getCloudProviderSnapshotRestoreJob.js.map +1 -1
- package/getCloudProviderSnapshotRestoreJobs.d.ts +27 -5
- package/getCloudProviderSnapshotRestoreJobs.js +6 -1
- package/getCloudProviderSnapshotRestoreJobs.js.map +1 -1
- package/getCloudProviderSnapshots.d.ts +23 -4
- package/getCloudProviderSnapshots.js +5 -0
- package/getCloudProviderSnapshots.js.map +1 -1
- package/getCluster.d.ts +16 -2
- package/getCluster.js +5 -0
- package/getCluster.js.map +1 -1
- package/getClusters.d.ts +14 -4
- package/getClusters.js +8 -3
- package/getClusters.js.map +1 -1
- package/getCustomDbRole.d.ts +22 -7
- package/getCustomDbRole.js +9 -4
- package/getCustomDbRole.js.map +1 -1
- package/getCustomDbRoles.d.ts +11 -1
- package/getCustomDbRoles.js +5 -0
- package/getCustomDbRoles.js.map +1 -1
- package/getCustomDnsConfigurationClusterAws.d.ts +11 -1
- package/getCustomDnsConfigurationClusterAws.js +5 -0
- package/getCustomDnsConfigurationClusterAws.js.map +1 -1
- package/getDataLake.d.ts +16 -2
- package/getDataLake.js +5 -0
- package/getDataLake.js.map +1 -1
- package/getDataLakes.d.ts +12 -2
- package/getDataLakes.js +6 -1
- package/getDataLakes.js.map +1 -1
- package/getDatabaseUser.d.ts +28 -4
- package/getDatabaseUser.js +5 -0
- package/getDatabaseUser.js.map +1 -1
- package/getDatabaseUsers.d.ts +14 -4
- package/getDatabaseUsers.js +8 -3
- package/getDatabaseUsers.js.map +1 -1
- package/getEventTrigger.d.ts +21 -3
- package/getEventTrigger.js +5 -0
- package/getEventTrigger.js.map +1 -1
- package/getEventTriggers.d.ts +16 -2
- package/getEventTriggers.js +5 -0
- package/getEventTriggers.js.map +1 -1
- package/getGlobalClusterConfig.d.ts +19 -3
- package/getGlobalClusterConfig.js +5 -0
- package/getGlobalClusterConfig.js.map +1 -1
- package/getLdapConfiguration.d.ts +11 -1
- package/getLdapConfiguration.js +5 -0
- package/getLdapConfiguration.js.map +1 -1
- package/getLdapVerify.d.ts +16 -2
- package/getLdapVerify.js +5 -0
- package/getLdapVerify.js.map +1 -1
- package/getMaintenanceWindow.d.ts +16 -1
- package/getMaintenanceWindow.js +5 -0
- package/getMaintenanceWindow.js.map +1 -1
- package/getNetworkContainer.d.ts +16 -2
- package/getNetworkContainer.js +5 -0
- package/getNetworkContainer.js.map +1 -1
- package/getNetworkContainers.d.ts +17 -3
- package/getNetworkContainers.js +6 -1
- package/getNetworkContainers.js.map +1 -1
- package/getNetworkPeering.d.ts +16 -2
- package/getNetworkPeering.js +5 -0
- package/getNetworkPeering.js.map +1 -1
- package/getNetworkPeerings.d.ts +14 -4
- package/getNetworkPeerings.js +8 -3
- package/getNetworkPeerings.js.map +1 -1
- package/getOnlineArchive.d.ts +21 -3
- package/getOnlineArchive.js +5 -0
- package/getOnlineArchive.js.map +1 -1
- package/getOnlineArchives.d.ts +16 -2
- package/getOnlineArchives.js +5 -0
- package/getOnlineArchives.js.map +1 -1
- package/getPrivateLinkEndpoint.d.ts +21 -3
- package/getPrivateLinkEndpoint.js +5 -0
- package/getPrivateLinkEndpoint.js.map +1 -1
- package/getPrivateLinkEndpointService.d.ts +26 -4
- package/getPrivateLinkEndpointService.js +5 -0
- package/getPrivateLinkEndpointService.js.map +1 -1
- package/getProject.d.ts +17 -3
- package/getProject.js +6 -1
- package/getProject.js.map +1 -1
- package/getProjectIpAccessList.d.ts +26 -4
- package/getProjectIpAccessList.js +5 -0
- package/getProjectIpAccessList.js.map +1 -1
- package/getProjects.d.ts +17 -3
- package/getProjects.js +6 -1
- package/getProjects.js.map +1 -1
- package/getSearchIndex.d.ts +64 -13
- package/getSearchIndex.js +6 -1
- package/getSearchIndex.js.map +1 -1
- package/getSearchIndexes.d.ts +37 -7
- package/getSearchIndexes.js +6 -1
- package/getSearchIndexes.js.map +1 -1
- package/getTeam.d.ts +21 -3
- package/getTeam.js +5 -0
- package/getTeam.js.map +1 -1
- package/getTeams.d.ts +12 -3
- package/getTeams.js +5 -0
- package/getTeams.js.map +1 -1
- package/getThirdPartyIntegration.d.ts +41 -2
- package/getThirdPartyIntegration.js +23 -0
- package/getThirdPartyIntegration.js.map +1 -1
- package/getThirdPartyIntegrations.d.ts +11 -1
- package/getThirdPartyIntegrations.js +5 -0
- package/getThirdPartyIntegrations.js.map +1 -1
- package/globalClusterConfig.d.ts +11 -9
- package/globalClusterConfig.js +15 -12
- package/globalClusterConfig.js.map +1 -1
- package/index.js +88 -80
- package/index.js.map +1 -1
- package/ldapConfiguration.d.ts +20 -20
- package/ldapConfiguration.js +23 -22
- package/ldapConfiguration.js.map +1 -1
- package/ldapVerify.d.ts +18 -18
- package/ldapVerify.js +25 -24
- package/ldapVerify.js.map +1 -1
- package/maintenanceWindow.d.ts +31 -19
- package/maintenanceWindow.js +19 -16
- package/maintenanceWindow.js.map +1 -1
- package/networkContainer.d.ts +19 -19
- package/networkContainer.js +29 -28
- package/networkContainer.js.map +1 -1
- package/networkPeering.d.ts +40 -40
- package/networkPeering.js +51 -50
- package/networkPeering.js.map +1 -1
- package/onlineArchive.d.ts +18 -18
- package/onlineArchive.js +23 -22
- package/onlineArchive.js.map +1 -1
- package/package.json +4 -3
- package/package.json.bak +3 -2
- package/package.json.dev +4 -3
- package/privateIpMode.d.ts +4 -4
- package/privateIpMode.js +7 -6
- package/privateIpMode.js.map +1 -1
- package/privateLinkEndpoint.d.ts +14 -14
- package/privateLinkEndpoint.js +25 -24
- package/privateLinkEndpoint.js.map +1 -1
- package/privateLinkEndpointService.d.ts +49 -17
- package/privateLinkEndpointService.js +59 -26
- package/privateLinkEndpointService.js.map +1 -1
- package/project.d.ts +20 -8
- package/project.js +15 -12
- package/project.js.map +1 -1
- package/projectIpAccessList.d.ts +10 -10
- package/projectIpAccessList.js +13 -12
- package/projectIpAccessList.js.map +1 -1
- package/provider.d.ts +20 -4
- package/provider.js +7 -6
- package/provider.js.map +1 -1
- package/searchIndex.d.ts +23 -23
- package/searchIndex.js +27 -26
- package/searchIndex.js.map +1 -1
- package/team.d.ts +7 -7
- package/team.js +11 -10
- package/team.js.map +1 -1
- package/teams.d.ts +7 -7
- package/teams.js +11 -10
- package/teams.js.map +1 -1
- package/thirdPartyIntegration.d.ts +34 -34
- package/thirdPartyIntegration.js +37 -36
- package/thirdPartyIntegration.js.map +1 -1
- package/types/index.js +1 -0
- package/types/index.js.map +1 -1
- package/types/input.d.ts +53 -0
- package/types/output.d.ts +24 -0
- package/utilities.js +1 -0
- package/utilities.js.map +1 -1
- package/x509authenticationDatabaseUser.d.ts +10 -10
- package/x509authenticationDatabaseUser.js +15 -14
- package/x509authenticationDatabaseUser.js.map +1 -1
package/projectIpAccessList.d.ts
CHANGED
|
@@ -123,23 +123,23 @@ export interface ProjectIpAccessListState {
|
|
|
123
123
|
/**
|
|
124
124
|
* Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
|
|
125
125
|
*/
|
|
126
|
-
|
|
126
|
+
awsSecurityGroup?: pulumi.Input<string>;
|
|
127
127
|
/**
|
|
128
128
|
* Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
cidrBlock?: pulumi.Input<string>;
|
|
131
131
|
/**
|
|
132
132
|
* Comment to add to the access list entry.
|
|
133
133
|
*/
|
|
134
|
-
|
|
134
|
+
comment?: pulumi.Input<string>;
|
|
135
135
|
/**
|
|
136
136
|
* Single IP address to be added to the access list. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
ipAddress?: pulumi.Input<string>;
|
|
139
139
|
/**
|
|
140
140
|
* Unique identifier for the project to which you want to add one or more access list entries.
|
|
141
141
|
*/
|
|
142
|
-
|
|
142
|
+
projectId?: pulumi.Input<string>;
|
|
143
143
|
}
|
|
144
144
|
/**
|
|
145
145
|
* The set of arguments for constructing a ProjectIpAccessList resource.
|
|
@@ -148,21 +148,21 @@ export interface ProjectIpAccessListArgs {
|
|
|
148
148
|
/**
|
|
149
149
|
* Unique identifier of the AWS security group to add to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
|
|
150
150
|
*/
|
|
151
|
-
|
|
151
|
+
awsSecurityGroup?: pulumi.Input<string>;
|
|
152
152
|
/**
|
|
153
153
|
* Range of IP addresses in CIDR notation to be added to the access list. Your access list entry can include only one `awsSecurityGroup`, one `cidrBlock`, or one `ipAddress`.
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
cidrBlock?: pulumi.Input<string>;
|
|
156
156
|
/**
|
|
157
157
|
* Comment to add to the access list entry.
|
|
158
158
|
*/
|
|
159
|
-
|
|
159
|
+
comment?: pulumi.Input<string>;
|
|
160
160
|
/**
|
|
161
161
|
* Single IP address to be added to the access list. Mutually exclusive with `awsSecurityGroup` and `cidrBlock`.
|
|
162
162
|
*/
|
|
163
|
-
|
|
163
|
+
ipAddress?: pulumi.Input<string>;
|
|
164
164
|
/**
|
|
165
165
|
* Unique identifier for the project to which you want to add one or more access list entries.
|
|
166
166
|
*/
|
|
167
|
-
|
|
167
|
+
projectId: pulumi.Input<string>;
|
|
168
168
|
}
|
package/projectIpAccessList.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ProjectIpAccessList = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -78,31 +79,31 @@ const utilities = require("./utilities");
|
|
|
78
79
|
*/
|
|
79
80
|
class ProjectIpAccessList extends pulumi.CustomResource {
|
|
80
81
|
constructor(name, argsOrState, opts) {
|
|
81
|
-
let
|
|
82
|
+
let resourceInputs = {};
|
|
82
83
|
opts = opts || {};
|
|
83
84
|
if (opts.id) {
|
|
84
85
|
const state = argsOrState;
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
resourceInputs["awsSecurityGroup"] = state ? state.awsSecurityGroup : undefined;
|
|
87
|
+
resourceInputs["cidrBlock"] = state ? state.cidrBlock : undefined;
|
|
88
|
+
resourceInputs["comment"] = state ? state.comment : undefined;
|
|
89
|
+
resourceInputs["ipAddress"] = state ? state.ipAddress : undefined;
|
|
90
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
90
91
|
}
|
|
91
92
|
else {
|
|
92
93
|
const args = argsOrState;
|
|
93
94
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
94
95
|
throw new Error("Missing required property 'projectId'");
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
resourceInputs["awsSecurityGroup"] = args ? args.awsSecurityGroup : undefined;
|
|
98
|
+
resourceInputs["cidrBlock"] = args ? args.cidrBlock : undefined;
|
|
99
|
+
resourceInputs["comment"] = args ? args.comment : undefined;
|
|
100
|
+
resourceInputs["ipAddress"] = args ? args.ipAddress : undefined;
|
|
101
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
101
102
|
}
|
|
102
103
|
if (!opts.version) {
|
|
103
104
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
104
105
|
}
|
|
105
|
-
super(ProjectIpAccessList.__pulumiType, name,
|
|
106
|
+
super(ProjectIpAccessList.__pulumiType, name, resourceInputs, opts);
|
|
106
107
|
}
|
|
107
108
|
/**
|
|
108
109
|
* Get an existing ProjectIpAccessList resource's state with the given name, ID, and optional extra
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"projectIpAccessList.js","sourceRoot":"","sources":["../projectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"projectIpAccessList.js","sourceRoot":"","sources":["../projectIpAccessList.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;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
|
|
|
11
11
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
12
|
*/
|
|
13
13
|
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* MongoDB Atlas Base URL
|
|
16
|
+
*/
|
|
17
|
+
readonly baseUrl: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* MongoDB Atlas Programmatic Private Key
|
|
20
|
+
*/
|
|
21
|
+
readonly privateKey: pulumi.Output<string>;
|
|
22
|
+
/**
|
|
23
|
+
* MongoDB Atlas Programmatic Public Key
|
|
24
|
+
*/
|
|
25
|
+
readonly publicKey: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* MongoDB Realm Base URL
|
|
28
|
+
*/
|
|
29
|
+
readonly realmBaseUrl: pulumi.Output<string | undefined>;
|
|
14
30
|
/**
|
|
15
31
|
* Create a Provider resource with the given unique name, arguments, and options.
|
|
16
32
|
*
|
|
@@ -27,17 +43,17 @@ export interface ProviderArgs {
|
|
|
27
43
|
/**
|
|
28
44
|
* MongoDB Atlas Base URL
|
|
29
45
|
*/
|
|
30
|
-
|
|
46
|
+
baseUrl?: pulumi.Input<string>;
|
|
31
47
|
/**
|
|
32
48
|
* MongoDB Atlas Programmatic Private Key
|
|
33
49
|
*/
|
|
34
|
-
|
|
50
|
+
privateKey: pulumi.Input<string>;
|
|
35
51
|
/**
|
|
36
52
|
* MongoDB Atlas Programmatic Public Key
|
|
37
53
|
*/
|
|
38
|
-
|
|
54
|
+
publicKey: pulumi.Input<string>;
|
|
39
55
|
/**
|
|
40
56
|
* MongoDB Realm Base URL
|
|
41
57
|
*/
|
|
42
|
-
|
|
58
|
+
realmBaseUrl?: pulumi.Input<string>;
|
|
43
59
|
}
|
package/provider.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Provider = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -19,7 +20,7 @@ class Provider extends pulumi.ProviderResource {
|
|
|
19
20
|
* @param opts A bag of options that control this resource's behavior.
|
|
20
21
|
*/
|
|
21
22
|
constructor(name, args, opts) {
|
|
22
|
-
let
|
|
23
|
+
let resourceInputs = {};
|
|
23
24
|
opts = opts || {};
|
|
24
25
|
{
|
|
25
26
|
if ((!args || args.privateKey === undefined) && !opts.urn) {
|
|
@@ -28,15 +29,15 @@ class Provider extends pulumi.ProviderResource {
|
|
|
28
29
|
if ((!args || args.publicKey === undefined) && !opts.urn) {
|
|
29
30
|
throw new Error("Missing required property 'publicKey'");
|
|
30
31
|
}
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
resourceInputs["baseUrl"] = args ? args.baseUrl : undefined;
|
|
33
|
+
resourceInputs["privateKey"] = args ? args.privateKey : undefined;
|
|
34
|
+
resourceInputs["publicKey"] = args ? args.publicKey : undefined;
|
|
35
|
+
resourceInputs["realmBaseUrl"] = args ? args.realmBaseUrl : undefined;
|
|
35
36
|
}
|
|
36
37
|
if (!opts.version) {
|
|
37
38
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
38
39
|
}
|
|
39
|
-
super(Provider.__pulumiType, name,
|
|
40
|
+
super(Provider.__pulumiType, name, resourceInputs, opts);
|
|
40
41
|
}
|
|
41
42
|
/**
|
|
42
43
|
* Returns true if the given object is an instance of Provider. This is designed to work even
|
package/provider.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.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,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAtDD;;;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,QAAQ,CAAC,YAAY,CAAC;IACzD,CAAC;;AAbL,4BA2DC;AA1DG,gBAAgB;AACO,qBAAY,GAAG,cAAc,CAAC"}
|
package/searchIndex.d.ts
CHANGED
|
@@ -96,48 +96,48 @@ export interface SearchIndexState {
|
|
|
96
96
|
/**
|
|
97
97
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
|
|
98
98
|
*/
|
|
99
|
-
|
|
99
|
+
analyzer?: pulumi.Input<string>;
|
|
100
100
|
/**
|
|
101
101
|
* [Custom analyzers](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) to use in this index. This is an array of JSON objects.
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
analyzers?: pulumi.Input<string>;
|
|
104
104
|
/**
|
|
105
105
|
* The name of the cluster where you want to create the search index within.
|
|
106
106
|
*/
|
|
107
|
-
|
|
107
|
+
clusterName?: pulumi.Input<string>;
|
|
108
108
|
/**
|
|
109
109
|
* Name of the collection the index is on.
|
|
110
110
|
*/
|
|
111
|
-
|
|
111
|
+
collectionName?: pulumi.Input<string>;
|
|
112
112
|
/**
|
|
113
113
|
* Name of the database the collection is in.
|
|
114
114
|
*/
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
database?: pulumi.Input<string>;
|
|
116
|
+
indexId?: pulumi.Input<string>;
|
|
117
117
|
/**
|
|
118
118
|
* Indicates whether the index uses dynamic or static mapping. For dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`
|
|
119
119
|
*/
|
|
120
|
-
|
|
120
|
+
mappingsDynamic?: pulumi.Input<boolean>;
|
|
121
121
|
/**
|
|
122
122
|
* attribute is required when `mappingsDynamic` is true. This field needs to be a JSON string in order to be decoded correctly.
|
|
123
123
|
*/
|
|
124
|
-
|
|
124
|
+
mappingsFields?: pulumi.Input<string>;
|
|
125
125
|
/**
|
|
126
126
|
* Name of the custom analyzer. Names must be unique within an index, and may **not** start with any of the following strings:
|
|
127
127
|
* * `lucene`
|
|
128
128
|
* * `builtin`
|
|
129
129
|
* * `mongodb`
|
|
130
130
|
*/
|
|
131
|
-
|
|
131
|
+
name?: pulumi.Input<string>;
|
|
132
132
|
/**
|
|
133
133
|
* The ID of the organization or project you want to create the search index within.
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
projectId?: pulumi.Input<string>;
|
|
136
136
|
/**
|
|
137
137
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
|
|
138
138
|
*/
|
|
139
|
-
|
|
140
|
-
|
|
139
|
+
searchAnalyzer?: pulumi.Input<string>;
|
|
140
|
+
status?: pulumi.Input<string>;
|
|
141
141
|
}
|
|
142
142
|
/**
|
|
143
143
|
* The set of arguments for constructing a SearchIndex resource.
|
|
@@ -146,45 +146,45 @@ export interface SearchIndexArgs {
|
|
|
146
146
|
/**
|
|
147
147
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when creating the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
|
|
148
148
|
*/
|
|
149
|
-
|
|
149
|
+
analyzer: pulumi.Input<string>;
|
|
150
150
|
/**
|
|
151
151
|
* [Custom analyzers](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/custom/#std-label-custom-analyzers) to use in this index. This is an array of JSON objects.
|
|
152
152
|
*/
|
|
153
|
-
|
|
153
|
+
analyzers?: pulumi.Input<string>;
|
|
154
154
|
/**
|
|
155
155
|
* The name of the cluster where you want to create the search index within.
|
|
156
156
|
*/
|
|
157
|
-
|
|
157
|
+
clusterName: pulumi.Input<string>;
|
|
158
158
|
/**
|
|
159
159
|
* Name of the collection the index is on.
|
|
160
160
|
*/
|
|
161
|
-
|
|
161
|
+
collectionName: pulumi.Input<string>;
|
|
162
162
|
/**
|
|
163
163
|
* Name of the database the collection is in.
|
|
164
164
|
*/
|
|
165
|
-
|
|
165
|
+
database: pulumi.Input<string>;
|
|
166
166
|
/**
|
|
167
167
|
* Indicates whether the index uses dynamic or static mapping. For dynamic mapping, set the value to `true`. For static mapping, specify the fields to index using `mappingsFields`
|
|
168
168
|
*/
|
|
169
|
-
|
|
169
|
+
mappingsDynamic?: pulumi.Input<boolean>;
|
|
170
170
|
/**
|
|
171
171
|
* attribute is required when `mappingsDynamic` is true. This field needs to be a JSON string in order to be decoded correctly.
|
|
172
172
|
*/
|
|
173
|
-
|
|
173
|
+
mappingsFields?: pulumi.Input<string>;
|
|
174
174
|
/**
|
|
175
175
|
* Name of the custom analyzer. Names must be unique within an index, and may **not** start with any of the following strings:
|
|
176
176
|
* * `lucene`
|
|
177
177
|
* * `builtin`
|
|
178
178
|
* * `mongodb`
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
name?: pulumi.Input<string>;
|
|
181
181
|
/**
|
|
182
182
|
* The ID of the organization or project you want to create the search index within.
|
|
183
183
|
*/
|
|
184
|
-
|
|
184
|
+
projectId: pulumi.Input<string>;
|
|
185
185
|
/**
|
|
186
186
|
* [Analyzer](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/#std-label-analyzers-ref) to use when searching the index. Defaults to [lucene.standard](https://docs.atlas.mongodb.com/reference/atlas-search/analyzers/standard/#std-label-ref-standard-analyzer)
|
|
187
187
|
*/
|
|
188
|
-
|
|
189
|
-
|
|
188
|
+
searchAnalyzer?: pulumi.Input<string>;
|
|
189
|
+
status?: pulumi.Input<string>;
|
|
190
190
|
}
|
package/searchIndex.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SearchIndex = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -26,22 +27,22 @@ const utilities = require("./utilities");
|
|
|
26
27
|
*/
|
|
27
28
|
class SearchIndex extends pulumi.CustomResource {
|
|
28
29
|
constructor(name, argsOrState, opts) {
|
|
29
|
-
let
|
|
30
|
+
let resourceInputs = {};
|
|
30
31
|
opts = opts || {};
|
|
31
32
|
if (opts.id) {
|
|
32
33
|
const state = argsOrState;
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
34
|
+
resourceInputs["analyzer"] = state ? state.analyzer : undefined;
|
|
35
|
+
resourceInputs["analyzers"] = state ? state.analyzers : undefined;
|
|
36
|
+
resourceInputs["clusterName"] = state ? state.clusterName : undefined;
|
|
37
|
+
resourceInputs["collectionName"] = state ? state.collectionName : undefined;
|
|
38
|
+
resourceInputs["database"] = state ? state.database : undefined;
|
|
39
|
+
resourceInputs["indexId"] = state ? state.indexId : undefined;
|
|
40
|
+
resourceInputs["mappingsDynamic"] = state ? state.mappingsDynamic : undefined;
|
|
41
|
+
resourceInputs["mappingsFields"] = state ? state.mappingsFields : undefined;
|
|
42
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
43
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
44
|
+
resourceInputs["searchAnalyzer"] = state ? state.searchAnalyzer : undefined;
|
|
45
|
+
resourceInputs["status"] = state ? state.status : undefined;
|
|
45
46
|
}
|
|
46
47
|
else {
|
|
47
48
|
const args = argsOrState;
|
|
@@ -60,23 +61,23 @@ class SearchIndex extends pulumi.CustomResource {
|
|
|
60
61
|
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
61
62
|
throw new Error("Missing required property 'projectId'");
|
|
62
63
|
}
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
64
|
+
resourceInputs["analyzer"] = args ? args.analyzer : undefined;
|
|
65
|
+
resourceInputs["analyzers"] = args ? args.analyzers : undefined;
|
|
66
|
+
resourceInputs["clusterName"] = args ? args.clusterName : undefined;
|
|
67
|
+
resourceInputs["collectionName"] = args ? args.collectionName : undefined;
|
|
68
|
+
resourceInputs["database"] = args ? args.database : undefined;
|
|
69
|
+
resourceInputs["mappingsDynamic"] = args ? args.mappingsDynamic : undefined;
|
|
70
|
+
resourceInputs["mappingsFields"] = args ? args.mappingsFields : undefined;
|
|
71
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
72
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
73
|
+
resourceInputs["searchAnalyzer"] = args ? args.searchAnalyzer : undefined;
|
|
74
|
+
resourceInputs["status"] = args ? args.status : undefined;
|
|
75
|
+
resourceInputs["indexId"] = undefined /*out*/;
|
|
75
76
|
}
|
|
76
77
|
if (!opts.version) {
|
|
77
78
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
78
79
|
}
|
|
79
|
-
super(SearchIndex.__pulumiType, name,
|
|
80
|
+
super(SearchIndex.__pulumiType, name, resourceInputs, opts);
|
|
80
81
|
}
|
|
81
82
|
/**
|
|
82
83
|
* Get an existing SearchIndex resource's state with the given name, ID, and optional extra
|
package/searchIndex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchIndex.js","sourceRoot":"","sources":["../searchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF
|
|
1
|
+
{"version":3,"file":"searchIndex.js","sourceRoot":"","sources":["../searchIndex.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAkFlD,YAAY,IAAY,EAAE,WAAgD,EAAE,IAAmC;QAC3G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA2C,CAAC;YAC1D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,gBAAgB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;Y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
|
@@ -82,19 +82,19 @@ export interface TeamState {
|
|
|
82
82
|
/**
|
|
83
83
|
* The name of the team you want to create.
|
|
84
84
|
*/
|
|
85
|
-
|
|
85
|
+
name?: pulumi.Input<string>;
|
|
86
86
|
/**
|
|
87
87
|
* The unique identifier for the organization you want to associate the team with.
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
orgId?: pulumi.Input<string>;
|
|
90
90
|
/**
|
|
91
91
|
* The unique identifier for the team.
|
|
92
92
|
*/
|
|
93
|
-
|
|
93
|
+
teamId?: pulumi.Input<string>;
|
|
94
94
|
/**
|
|
95
95
|
* 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.
|
|
96
96
|
*/
|
|
97
|
-
|
|
97
|
+
usernames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* The set of arguments for constructing a Team resource.
|
|
@@ -103,13 +103,13 @@ export interface TeamArgs {
|
|
|
103
103
|
/**
|
|
104
104
|
* The name of the team you want to create.
|
|
105
105
|
*/
|
|
106
|
-
|
|
106
|
+
name?: pulumi.Input<string>;
|
|
107
107
|
/**
|
|
108
108
|
* The unique identifier for the organization you want to associate the team with.
|
|
109
109
|
*/
|
|
110
|
-
|
|
110
|
+
orgId: pulumi.Input<string>;
|
|
111
111
|
/**
|
|
112
112
|
* 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.
|
|
113
113
|
*/
|
|
114
|
-
|
|
114
|
+
usernames: pulumi.Input<pulumi.Input<string>[]>;
|
|
115
115
|
}
|
package/team.js
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Team = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
/**
|
|
@@ -41,14 +42,14 @@ const utilities = require("./utilities");
|
|
|
41
42
|
*/
|
|
42
43
|
class Team extends pulumi.CustomResource {
|
|
43
44
|
constructor(name, argsOrState, opts) {
|
|
44
|
-
let
|
|
45
|
+
let resourceInputs = {};
|
|
45
46
|
opts = opts || {};
|
|
46
47
|
if (opts.id) {
|
|
47
48
|
const state = argsOrState;
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
50
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
51
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
52
|
+
resourceInputs["usernames"] = state ? state.usernames : undefined;
|
|
52
53
|
}
|
|
53
54
|
else {
|
|
54
55
|
const args = argsOrState;
|
|
@@ -58,15 +59,15 @@ class Team extends pulumi.CustomResource {
|
|
|
58
59
|
if ((!args || args.usernames === undefined) && !opts.urn) {
|
|
59
60
|
throw new Error("Missing required property 'usernames'");
|
|
60
61
|
}
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
63
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
64
|
+
resourceInputs["usernames"] = args ? args.usernames : undefined;
|
|
65
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
65
66
|
}
|
|
66
67
|
if (!opts.version) {
|
|
67
68
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
68
69
|
}
|
|
69
|
-
super(Team.__pulumiType, name,
|
|
70
|
+
super(Team.__pulumiType, name, resourceInputs, opts);
|
|
70
71
|
}
|
|
71
72
|
/**
|
|
72
73
|
* 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
|
|
1
|
+
{"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAqD3C,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAoC,CAAC;YACnD,cAAc,CAAC,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;aAAM;YACH,MAAM,IAAI,GAAG,WAAmC,CAAC;YACjD,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClD,MAAM,IAAI,KAAK,CAAC,mCAAmC,CAAC,CAAC;aACxD;YACD,IAAI,CAAC,CA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gFC;AAlEG,gBAAgB;AACO,iBAAY,GAAG,8BAA8B,CAAC"}
|
package/teams.d.ts
CHANGED
|
@@ -32,16 +32,16 @@ export declare class Teams extends pulumi.CustomResource {
|
|
|
32
32
|
* Input properties used for looking up and filtering Teams resources.
|
|
33
33
|
*/
|
|
34
34
|
export interface TeamsState {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
35
|
+
name?: pulumi.Input<string>;
|
|
36
|
+
orgId?: pulumi.Input<string>;
|
|
37
|
+
teamId?: pulumi.Input<string>;
|
|
38
|
+
usernames?: pulumi.Input<pulumi.Input<string>[]>;
|
|
39
39
|
}
|
|
40
40
|
/**
|
|
41
41
|
* The set of arguments for constructing a Teams resource.
|
|
42
42
|
*/
|
|
43
43
|
export interface TeamsArgs {
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
name?: pulumi.Input<string>;
|
|
45
|
+
orgId: pulumi.Input<string>;
|
|
46
|
+
usernames: pulumi.Input<pulumi.Input<string>[]>;
|
|
47
47
|
}
|
package/teams.js
CHANGED
|
@@ -2,18 +2,19 @@
|
|
|
2
2
|
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
3
|
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Teams = void 0;
|
|
5
6
|
const pulumi = require("@pulumi/pulumi");
|
|
6
7
|
const utilities = require("./utilities");
|
|
7
8
|
class Teams extends pulumi.CustomResource {
|
|
8
9
|
constructor(name, argsOrState, opts) {
|
|
9
|
-
let
|
|
10
|
+
let resourceInputs = {};
|
|
10
11
|
opts = opts || {};
|
|
11
12
|
if (opts.id) {
|
|
12
13
|
const state = argsOrState;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
resourceInputs["name"] = state ? state.name : undefined;
|
|
15
|
+
resourceInputs["orgId"] = state ? state.orgId : undefined;
|
|
16
|
+
resourceInputs["teamId"] = state ? state.teamId : undefined;
|
|
17
|
+
resourceInputs["usernames"] = state ? state.usernames : undefined;
|
|
17
18
|
}
|
|
18
19
|
else {
|
|
19
20
|
const args = argsOrState;
|
|
@@ -23,15 +24,15 @@ class Teams extends pulumi.CustomResource {
|
|
|
23
24
|
if ((!args || args.usernames === undefined) && !opts.urn) {
|
|
24
25
|
throw new Error("Missing required property 'usernames'");
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
resourceInputs["name"] = args ? args.name : undefined;
|
|
28
|
+
resourceInputs["orgId"] = args ? args.orgId : undefined;
|
|
29
|
+
resourceInputs["usernames"] = args ? args.usernames : undefined;
|
|
30
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
30
31
|
}
|
|
31
32
|
if (!opts.version) {
|
|
32
33
|
opts = pulumi.mergeOptions(opts, { version: utilities.getVersion() });
|
|
33
34
|
}
|
|
34
|
-
super(Teams.__pulumiType, name,
|
|
35
|
+
super(Teams.__pulumiType, name, resourceInputs, opts);
|
|
35
36
|
}
|
|
36
37
|
/**
|
|
37
38
|
* 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
|
|
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;IAyC5C,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAA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