@ryan-pip/pulumi-fivetran 0.1.0

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 (199) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +56 -0
  3. package/config/index.d.ts +1 -0
  4. package/config/index.js +21 -0
  5. package/config/index.js.map +1 -0
  6. package/config/vars.d.ts +3 -0
  7. package/config/vars.js +28 -0
  8. package/config/vars.js.map +1 -0
  9. package/connector.d.ts +192 -0
  10. package/connector.js +88 -0
  11. package/connector.js.map +1 -0
  12. package/connectorCertificates.d.ts +53 -0
  13. package/connectorCertificates.js +54 -0
  14. package/connectorCertificates.js.map +1 -0
  15. package/connectorFingerprints.d.ts +103 -0
  16. package/connectorFingerprints.js +104 -0
  17. package/connectorFingerprints.js.map +1 -0
  18. package/connectorSchedule.d.ts +169 -0
  19. package/connectorSchedule.js +123 -0
  20. package/connectorSchedule.js.map +1 -0
  21. package/connectorSchemaConfig.d.ts +130 -0
  22. package/connectorSchemaConfig.js +72 -0
  23. package/connectorSchemaConfig.js.map +1 -0
  24. package/dbtProject.d.ts +205 -0
  25. package/dbtProject.js +117 -0
  26. package/dbtProject.js.map +1 -0
  27. package/dbtTransformation.d.ts +162 -0
  28. package/dbtTransformation.js +105 -0
  29. package/dbtTransformation.js.map +1 -0
  30. package/destination.d.ts +216 -0
  31. package/destination.js +114 -0
  32. package/destination.js.map +1 -0
  33. package/destinationCertificates.d.ts +53 -0
  34. package/destinationCertificates.js +54 -0
  35. package/destinationCertificates.js.map +1 -0
  36. package/destinationFingerprints.d.ts +103 -0
  37. package/destinationFingerprints.js +104 -0
  38. package/destinationFingerprints.js.map +1 -0
  39. package/externalLogging.d.ts +118 -0
  40. package/externalLogging.js +92 -0
  41. package/externalLogging.js.map +1 -0
  42. package/getConnector.d.ts +76 -0
  43. package/getConnector.js +50 -0
  44. package/getConnector.js.map +1 -0
  45. package/getConnectorCertificates.d.ts +39 -0
  46. package/getConnectorCertificates.js +20 -0
  47. package/getConnectorCertificates.js.map +1 -0
  48. package/getConnectorFingerprints.d.ts +67 -0
  49. package/getConnectorFingerprints.js +48 -0
  50. package/getConnectorFingerprints.js.map +1 -0
  51. package/getConnectorsMetadata.d.ts +51 -0
  52. package/getConnectorsMetadata.js +44 -0
  53. package/getConnectorsMetadata.js.map +1 -0
  54. package/getDbtModels.d.ts +67 -0
  55. package/getDbtModels.js +48 -0
  56. package/getDbtModels.js.map +1 -0
  57. package/getDbtProject.d.ts +112 -0
  58. package/getDbtProject.js +48 -0
  59. package/getDbtProject.js.map +1 -0
  60. package/getDbtProjects.d.ts +38 -0
  61. package/getDbtProjects.js +41 -0
  62. package/getDbtProjects.js.map +1 -0
  63. package/getDbtTransformation.d.ts +99 -0
  64. package/getDbtTransformation.js +48 -0
  65. package/getDbtTransformation.js.map +1 -0
  66. package/getDestination.d.ts +62 -0
  67. package/getDestination.js +48 -0
  68. package/getDestination.js.map +1 -0
  69. package/getDestinationCertificates.d.ts +39 -0
  70. package/getDestinationCertificates.js +20 -0
  71. package/getDestinationCertificates.js.map +1 -0
  72. package/getDestinationFingerprints.d.ts +67 -0
  73. package/getDestinationFingerprints.js +48 -0
  74. package/getDestinationFingerprints.js.map +1 -0
  75. package/getExternalLogging.d.ts +87 -0
  76. package/getExternalLogging.js +49 -0
  77. package/getExternalLogging.js.map +1 -0
  78. package/getGroup.d.ts +70 -0
  79. package/getGroup.js +47 -0
  80. package/getGroup.js.map +1 -0
  81. package/getGroupConnectors.d.ts +77 -0
  82. package/getGroupConnectors.js +51 -0
  83. package/getGroupConnectors.js.map +1 -0
  84. package/getGroupServiceAccount.d.ts +62 -0
  85. package/getGroupServiceAccount.js +47 -0
  86. package/getGroupServiceAccount.js.map +1 -0
  87. package/getGroupSshKey.d.ts +62 -0
  88. package/getGroupSshKey.js +47 -0
  89. package/getGroupSshKey.js.map +1 -0
  90. package/getGroupUsers.d.ts +63 -0
  91. package/getGroupUsers.js +48 -0
  92. package/getGroupUsers.js.map +1 -0
  93. package/getGroups.d.ts +51 -0
  94. package/getGroups.js +44 -0
  95. package/getGroups.js.map +1 -0
  96. package/getLocalProcessingAgent.d.ts +72 -0
  97. package/getLocalProcessingAgent.js +47 -0
  98. package/getLocalProcessingAgent.js.map +1 -0
  99. package/getLocalProcessingAgents.d.ts +38 -0
  100. package/getLocalProcessingAgents.js +41 -0
  101. package/getLocalProcessingAgents.js.map +1 -0
  102. package/getProxyAgent.d.ts +82 -0
  103. package/getProxyAgent.js +47 -0
  104. package/getProxyAgent.js.map +1 -0
  105. package/getProxyAgents.d.ts +51 -0
  106. package/getProxyAgents.js +44 -0
  107. package/getProxyAgents.js.map +1 -0
  108. package/getRoles.d.ts +51 -0
  109. package/getRoles.js +44 -0
  110. package/getRoles.js.map +1 -0
  111. package/getTeam.d.ts +70 -0
  112. package/getTeam.js +47 -0
  113. package/getTeam.js.map +1 -0
  114. package/getTeamConnectorMemberships.d.ts +45 -0
  115. package/getTeamConnectorMemberships.js +26 -0
  116. package/getTeamConnectorMemberships.js.map +1 -0
  117. package/getTeamGroupMemberships.d.ts +67 -0
  118. package/getTeamGroupMemberships.js +48 -0
  119. package/getTeamGroupMemberships.js.map +1 -0
  120. package/getTeamUserMemberships.d.ts +67 -0
  121. package/getTeamUserMemberships.js +48 -0
  122. package/getTeamUserMemberships.js.map +1 -0
  123. package/getTeams.d.ts +59 -0
  124. package/getTeams.js +45 -0
  125. package/getTeams.js.map +1 -0
  126. package/getUser.d.ts +98 -0
  127. package/getUser.js +47 -0
  128. package/getUser.js.map +1 -0
  129. package/getUserConnectorMemberships.d.ts +67 -0
  130. package/getUserConnectorMemberships.js +48 -0
  131. package/getUserConnectorMemberships.js.map +1 -0
  132. package/getUserGroupMemberships.d.ts +67 -0
  133. package/getUserGroupMemberships.js +48 -0
  134. package/getUserGroupMemberships.js.map +1 -0
  135. package/getUsers.d.ts +59 -0
  136. package/getUsers.js +45 -0
  137. package/getUsers.js.map +1 -0
  138. package/getWebhook.d.ts +94 -0
  139. package/getWebhook.js +47 -0
  140. package/getWebhook.js.map +1 -0
  141. package/getWebhooks.d.ts +38 -0
  142. package/getWebhooks.js +41 -0
  143. package/getWebhooks.js.map +1 -0
  144. package/group.d.ts +102 -0
  145. package/group.js +91 -0
  146. package/group.js.map +1 -0
  147. package/groupUsers.d.ts +79 -0
  148. package/groupUsers.js +80 -0
  149. package/groupUsers.js.map +1 -0
  150. package/index.d.ts +177 -0
  151. package/index.js +251 -0
  152. package/index.js.map +1 -0
  153. package/localProcessingAgent.d.ts +125 -0
  154. package/localProcessingAgent.js +86 -0
  155. package/localProcessingAgent.js.map +1 -0
  156. package/package.json +29 -0
  157. package/package.json.bak +29 -0
  158. package/provider.d.ts +33 -0
  159. package/provider.js +50 -0
  160. package/provider.js.map +1 -0
  161. package/proxyAgent.d.ts +117 -0
  162. package/proxyAgent.js +84 -0
  163. package/proxyAgent.js.map +1 -0
  164. package/team.d.ts +115 -0
  165. package/team.js +99 -0
  166. package/team.js.map +1 -0
  167. package/teamConnectorMembership.d.ts +107 -0
  168. package/teamConnectorMembership.js +108 -0
  169. package/teamConnectorMembership.js.map +1 -0
  170. package/teamGroupMembership.d.ts +82 -0
  171. package/teamGroupMembership.js +83 -0
  172. package/teamGroupMembership.js.map +1 -0
  173. package/teamUserMembership.d.ts +105 -0
  174. package/teamUserMembership.js +106 -0
  175. package/teamUserMembership.js.map +1 -0
  176. package/types/index.d.ts +3 -0
  177. package/types/index.js +11 -0
  178. package/types/index.js.map +1 -0
  179. package/types/input.d.ts +18230 -0
  180. package/types/input.js +5 -0
  181. package/types/input.js.map +1 -0
  182. package/types/output.d.ts +12255 -0
  183. package/types/output.js +5 -0
  184. package/types/output.js.map +1 -0
  185. package/user.d.ts +191 -0
  186. package/user.js +119 -0
  187. package/user.js.map +1 -0
  188. package/userConnectorMembership.d.ts +107 -0
  189. package/userConnectorMembership.js +108 -0
  190. package/userConnectorMembership.js.map +1 -0
  191. package/userGroupMembership.d.ts +82 -0
  192. package/userGroupMembership.js +83 -0
  193. package/userGroupMembership.js.map +1 -0
  194. package/utilities.d.ts +8 -0
  195. package/utilities.js +101 -0
  196. package/utilities.js.map +1 -0
  197. package/webhook.d.ts +165 -0
  198. package/webhook.js +111 -0
  199. package/webhook.js.map +1 -0
package/provider.js ADDED
@@ -0,0 +1,50 @@
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.Provider = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * The provider type for the fivetran package. By default, resources use package-wide configuration
10
+ * settings, however an explicit `Provider` instance may be created and passed during resource
11
+ * construction to achieve fine-grained programmatic control over provider settings. See the
12
+ * [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
13
+ */
14
+ class Provider extends pulumi.ProviderResource {
15
+ /**
16
+ * Returns true if the given object is an instance of Provider. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj) {
20
+ if (obj === undefined || obj === null) {
21
+ return false;
22
+ }
23
+ return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
24
+ }
25
+ /**
26
+ * Create a Provider resource with the given unique name, arguments, and options.
27
+ *
28
+ * @param name The _unique_ name of the resource.
29
+ * @param args The arguments to use to populate this resource's properties.
30
+ * @param opts A bag of options that control this resource's behavior.
31
+ */
32
+ constructor(name, args, opts) {
33
+ var _a, _b;
34
+ let resourceInputs = {};
35
+ opts = opts || {};
36
+ {
37
+ resourceInputs["apiKey"] = (_a = (args ? args.apiKey : undefined)) !== null && _a !== void 0 ? _a : utilities.getEnv("FIVETRAN_API_KEY");
38
+ resourceInputs["apiSecret"] = (_b = ((args === null || args === void 0 ? void 0 : args.apiSecret) ? pulumi.secret(args.apiSecret) : undefined)) !== null && _b !== void 0 ? _b : utilities.getEnv("FIVETRAN_API_SECRET");
39
+ resourceInputs["apiUrl"] = args ? args.apiUrl : undefined;
40
+ }
41
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
42
+ const secretOpts = { additionalSecretOutputs: ["apiSecret"] };
43
+ opts = pulumi.mergeOptions(opts, secretOpts);
44
+ super(Provider.__pulumiType, name, resourceInputs, opts);
45
+ }
46
+ }
47
+ exports.Provider = Provider;
48
+ /** @internal */
49
+ Provider.__pulumiType = 'fivetran';
50
+ //# sourceMappingURL=provider.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IAMD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,QAAQ,CAAC,GAAG,MAAA,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC;YACpG,cAAc,CAAC,WAAW,CAAC,GAAG,MAAA,CAAC,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,SAAS,EAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,mCAAI,SAAS,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAAC;YACvI,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC9D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAtCL,4BAuCC;AAtCG,gBAAgB;AACO,qBAAY,GAAG,UAAU,CAAC"}
@@ -0,0 +1,117 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to create, update, and delete proxy agent.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
10
+ *
11
+ * const testProxyAgent = new fivetran.ProxyAgent("testProxyAgent", {
12
+ * displayName: "display_name",
13
+ * groupRegion: "group_region",
14
+ * }, {
15
+ * provider: fivetran_provider,
16
+ * });
17
+ * ```
18
+ */
19
+ export declare class ProxyAgent extends pulumi.CustomResource {
20
+ /**
21
+ * Get an existing ProxyAgent resource's state with the given name, ID, and optional extra
22
+ * properties used to qualify the lookup.
23
+ *
24
+ * @param name The _unique_ name of the resulting resource.
25
+ * @param id The _unique_ provider ID of the resource to lookup.
26
+ * @param state Any extra arguments used during the lookup.
27
+ * @param opts Optional settings to control the behavior of the CustomResource.
28
+ */
29
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProxyAgentState, opts?: pulumi.CustomResourceOptions): ProxyAgent;
30
+ /**
31
+ * Returns true if the given object is an instance of ProxyAgent. This is designed to work even
32
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
33
+ */
34
+ static isInstance(obj: any): obj is ProxyAgent;
35
+ /**
36
+ * The actor who created the proxy agent.
37
+ */
38
+ readonly createdBy: pulumi.Output<string>;
39
+ /**
40
+ * Proxy agent name.
41
+ */
42
+ readonly displayName: pulumi.Output<string>;
43
+ /**
44
+ * Data processing location. This is where Fivetran will operate and run computation on data.
45
+ */
46
+ readonly groupRegion: pulumi.Output<string>;
47
+ /**
48
+ * The proxy server URI.
49
+ */
50
+ readonly proxyServerUri: pulumi.Output<string>;
51
+ /**
52
+ * The timestamp of the time the proxy agent was created in your account.
53
+ */
54
+ readonly registredAt: pulumi.Output<string>;
55
+ /**
56
+ * The salt.
57
+ */
58
+ readonly salt: pulumi.Output<string>;
59
+ /**
60
+ * The auth token.
61
+ */
62
+ readonly token: pulumi.Output<string>;
63
+ /**
64
+ * Create a ProxyAgent resource with the given unique name, arguments, and options.
65
+ *
66
+ * @param name The _unique_ name of the resource.
67
+ * @param args The arguments to use to populate this resource's properties.
68
+ * @param opts A bag of options that control this resource's behavior.
69
+ */
70
+ constructor(name: string, args: ProxyAgentArgs, opts?: pulumi.CustomResourceOptions);
71
+ }
72
+ /**
73
+ * Input properties used for looking up and filtering ProxyAgent resources.
74
+ */
75
+ export interface ProxyAgentState {
76
+ /**
77
+ * The actor who created the proxy agent.
78
+ */
79
+ createdBy?: pulumi.Input<string>;
80
+ /**
81
+ * Proxy agent name.
82
+ */
83
+ displayName?: pulumi.Input<string>;
84
+ /**
85
+ * Data processing location. This is where Fivetran will operate and run computation on data.
86
+ */
87
+ groupRegion?: pulumi.Input<string>;
88
+ /**
89
+ * The proxy server URI.
90
+ */
91
+ proxyServerUri?: pulumi.Input<string>;
92
+ /**
93
+ * The timestamp of the time the proxy agent was created in your account.
94
+ */
95
+ registredAt?: pulumi.Input<string>;
96
+ /**
97
+ * The salt.
98
+ */
99
+ salt?: pulumi.Input<string>;
100
+ /**
101
+ * The auth token.
102
+ */
103
+ token?: pulumi.Input<string>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a ProxyAgent resource.
107
+ */
108
+ export interface ProxyAgentArgs {
109
+ /**
110
+ * Proxy agent name.
111
+ */
112
+ displayName: pulumi.Input<string>;
113
+ /**
114
+ * Data processing location. This is where Fivetran will operate and run computation on data.
115
+ */
116
+ groupRegion: pulumi.Input<string>;
117
+ }
package/proxyAgent.js ADDED
@@ -0,0 +1,84 @@
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.ProxyAgent = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to create, update, and delete proxy agent.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
16
+ *
17
+ * const testProxyAgent = new fivetran.ProxyAgent("testProxyAgent", {
18
+ * displayName: "display_name",
19
+ * groupRegion: "group_region",
20
+ * }, {
21
+ * provider: fivetran_provider,
22
+ * });
23
+ * ```
24
+ */
25
+ class ProxyAgent extends pulumi.CustomResource {
26
+ /**
27
+ * Get an existing ProxyAgent resource's state with the given name, ID, and optional extra
28
+ * properties used to qualify the lookup.
29
+ *
30
+ * @param name The _unique_ name of the resulting resource.
31
+ * @param id The _unique_ provider ID of the resource to lookup.
32
+ * @param state Any extra arguments used during the lookup.
33
+ * @param opts Optional settings to control the behavior of the CustomResource.
34
+ */
35
+ static get(name, id, state, opts) {
36
+ return new ProxyAgent(name, state, Object.assign(Object.assign({}, opts), { id: id }));
37
+ }
38
+ /**
39
+ * Returns true if the given object is an instance of ProxyAgent. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj) {
43
+ if (obj === undefined || obj === null) {
44
+ return false;
45
+ }
46
+ return obj['__pulumiType'] === ProxyAgent.__pulumiType;
47
+ }
48
+ constructor(name, argsOrState, opts) {
49
+ let resourceInputs = {};
50
+ opts = opts || {};
51
+ if (opts.id) {
52
+ const state = argsOrState;
53
+ resourceInputs["createdBy"] = state ? state.createdBy : undefined;
54
+ resourceInputs["displayName"] = state ? state.displayName : undefined;
55
+ resourceInputs["groupRegion"] = state ? state.groupRegion : undefined;
56
+ resourceInputs["proxyServerUri"] = state ? state.proxyServerUri : undefined;
57
+ resourceInputs["registredAt"] = state ? state.registredAt : undefined;
58
+ resourceInputs["salt"] = state ? state.salt : undefined;
59
+ resourceInputs["token"] = state ? state.token : undefined;
60
+ }
61
+ else {
62
+ const args = argsOrState;
63
+ if ((!args || args.displayName === undefined) && !opts.urn) {
64
+ throw new Error("Missing required property 'displayName'");
65
+ }
66
+ if ((!args || args.groupRegion === undefined) && !opts.urn) {
67
+ throw new Error("Missing required property 'groupRegion'");
68
+ }
69
+ resourceInputs["displayName"] = args ? args.displayName : undefined;
70
+ resourceInputs["groupRegion"] = args ? args.groupRegion : undefined;
71
+ resourceInputs["createdBy"] = undefined /*out*/;
72
+ resourceInputs["proxyServerUri"] = undefined /*out*/;
73
+ resourceInputs["registredAt"] = undefined /*out*/;
74
+ resourceInputs["salt"] = undefined /*out*/;
75
+ resourceInputs["token"] = undefined /*out*/;
76
+ }
77
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
78
+ super(ProxyAgent.__pulumiType, name, resourceInputs, opts);
79
+ }
80
+ }
81
+ exports.ProxyAgent = ProxyAgent;
82
+ /** @internal */
83
+ ProxyAgent.__pulumiType = 'fivetran:index/proxyAgent:ProxyAgent';
84
+ //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AO,CAAC;YAC3C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA/FL,gCAgGC;AAlFG,gBAAgB;AACO,uBAAY,GAAG,sCAAsC,CAAC"}
package/team.d.ts ADDED
@@ -0,0 +1,115 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to create, update, and delete teams.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
10
+ *
11
+ * const testTeam = new fivetran.Team("testTeam", {
12
+ * description: "test_description",
13
+ * role: "Account Reviewer",
14
+ * }, {
15
+ * provider: fivetran_provider,
16
+ * });
17
+ * ```
18
+ *
19
+ * ## Import
20
+ *
21
+ * 1. To import an existing `fivetran_team` resource into your Terraform state, you need to get `team_id`.
22
+ *
23
+ * You can retrieve all teams using the [fivetran_teams data source](/docs/data-sources/teams).
24
+ *
25
+ * 2. Define an empty resource in your `.tf` configuration:
26
+ *
27
+ * hcl
28
+ *
29
+ * resource "fivetran_team" "my_imported_fivetran_team" {
30
+ *
31
+ * }
32
+ *
33
+ * 3. Run the `pulumi import` command:
34
+ *
35
+ * ```sh
36
+ * $ pulumi import fivetran:index/team:Team my_imported_fivetran_team {team_id}
37
+ * ```
38
+ *
39
+ * 4. Use the `terraform state show` command to get the values from the state:
40
+ *
41
+ * terraform state show 'fivetran_team.my_imported_fivetran_team'
42
+ *
43
+ * 5. Copy the values and paste them to your `.tf` configuration.
44
+ */
45
+ export declare class Team extends pulumi.CustomResource {
46
+ /**
47
+ * Get an existing Team resource's state with the given name, ID, and optional extra
48
+ * properties used to qualify the lookup.
49
+ *
50
+ * @param name The _unique_ name of the resulting resource.
51
+ * @param id The _unique_ provider ID of the resource to lookup.
52
+ * @param state Any extra arguments used during the lookup.
53
+ * @param opts Optional settings to control the behavior of the CustomResource.
54
+ */
55
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamState, opts?: pulumi.CustomResourceOptions): Team;
56
+ /**
57
+ * Returns true if the given object is an instance of Team. This is designed to work even
58
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
59
+ */
60
+ static isInstance(obj: any): obj is Team;
61
+ /**
62
+ * The description of the team within your account.
63
+ */
64
+ readonly description: pulumi.Output<string | undefined>;
65
+ /**
66
+ * The name of the team within your account.
67
+ */
68
+ readonly name: pulumi.Output<string>;
69
+ /**
70
+ * The account role of the team.
71
+ */
72
+ readonly role: pulumi.Output<string>;
73
+ /**
74
+ * Create a Team resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: TeamArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering Team resources.
84
+ */
85
+ export interface TeamState {
86
+ /**
87
+ * The description of the team within your account.
88
+ */
89
+ description?: pulumi.Input<string>;
90
+ /**
91
+ * The name of the team within your account.
92
+ */
93
+ name?: pulumi.Input<string>;
94
+ /**
95
+ * The account role of the team.
96
+ */
97
+ role?: pulumi.Input<string>;
98
+ }
99
+ /**
100
+ * The set of arguments for constructing a Team resource.
101
+ */
102
+ export interface TeamArgs {
103
+ /**
104
+ * The description of the team within your account.
105
+ */
106
+ description?: pulumi.Input<string>;
107
+ /**
108
+ * The name of the team within your account.
109
+ */
110
+ name?: pulumi.Input<string>;
111
+ /**
112
+ * The account role of the team.
113
+ */
114
+ role: pulumi.Input<string>;
115
+ }
package/team.js ADDED
@@ -0,0 +1,99 @@
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.Team = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to create, update, and delete teams.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
16
+ *
17
+ * const testTeam = new fivetran.Team("testTeam", {
18
+ * description: "test_description",
19
+ * role: "Account Reviewer",
20
+ * }, {
21
+ * provider: fivetran_provider,
22
+ * });
23
+ * ```
24
+ *
25
+ * ## Import
26
+ *
27
+ * 1. To import an existing `fivetran_team` resource into your Terraform state, you need to get `team_id`.
28
+ *
29
+ * You can retrieve all teams using the [fivetran_teams data source](/docs/data-sources/teams).
30
+ *
31
+ * 2. Define an empty resource in your `.tf` configuration:
32
+ *
33
+ * hcl
34
+ *
35
+ * resource "fivetran_team" "my_imported_fivetran_team" {
36
+ *
37
+ * }
38
+ *
39
+ * 3. Run the `pulumi import` command:
40
+ *
41
+ * ```sh
42
+ * $ pulumi import fivetran:index/team:Team my_imported_fivetran_team {team_id}
43
+ * ```
44
+ *
45
+ * 4. Use the `terraform state show` command to get the values from the state:
46
+ *
47
+ * terraform state show 'fivetran_team.my_imported_fivetran_team'
48
+ *
49
+ * 5. Copy the values and paste them to your `.tf` configuration.
50
+ */
51
+ class Team extends pulumi.CustomResource {
52
+ /**
53
+ * Get an existing Team resource's state with the given name, ID, and optional extra
54
+ * properties used to qualify the lookup.
55
+ *
56
+ * @param name The _unique_ name of the resulting resource.
57
+ * @param id The _unique_ provider ID of the resource to lookup.
58
+ * @param state Any extra arguments used during the lookup.
59
+ * @param opts Optional settings to control the behavior of the CustomResource.
60
+ */
61
+ static get(name, id, state, opts) {
62
+ return new Team(name, state, Object.assign(Object.assign({}, opts), { id: id }));
63
+ }
64
+ /**
65
+ * Returns true if the given object is an instance of Team. This is designed to work even
66
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
67
+ */
68
+ static isInstance(obj) {
69
+ if (obj === undefined || obj === null) {
70
+ return false;
71
+ }
72
+ return obj['__pulumiType'] === Team.__pulumiType;
73
+ }
74
+ constructor(name, argsOrState, opts) {
75
+ let resourceInputs = {};
76
+ opts = opts || {};
77
+ if (opts.id) {
78
+ const state = argsOrState;
79
+ resourceInputs["description"] = state ? state.description : undefined;
80
+ resourceInputs["name"] = state ? state.name : undefined;
81
+ resourceInputs["role"] = state ? state.role : undefined;
82
+ }
83
+ else {
84
+ const args = argsOrState;
85
+ if ((!args || args.role === undefined) && !opts.urn) {
86
+ throw new Error("Missing required property 'role'");
87
+ }
88
+ resourceInputs["description"] = args ? args.description : undefined;
89
+ resourceInputs["name"] = args ? args.name : undefined;
90
+ resourceInputs["role"] = args ? args.role : undefined;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(Team.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.Team = Team;
97
+ /** @internal */
98
+ Team.__pulumiType = 'fivetran:index/team:Team';
99
+ //# sourceMappingURL=team.js.map
package/team.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"team.js","sourceRoot":"","sources":["../team.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,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,I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,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AApEL,oBAqEC;AAvDG,gBAAgB;AACO,iBAAY,GAAG,0BAA0B,CAAC"}
@@ -0,0 +1,107 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This resource allows you to create, update, and delete connector membership for teams
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as fivetran from "@ryan-pip/pulumi-fivetran";
12
+ *
13
+ * const testTeamConnectorMembership = new fivetran.TeamConnectorMembership("testTeamConnectorMembership", {
14
+ * teamId: "test_team",
15
+ * connectors: [
16
+ * {
17
+ * connectorId: "test_connector",
18
+ * role: "Connector Administrator",
19
+ * createdAt: "2020-05-25T15:26:47.306509Z",
20
+ * },
21
+ * {
22
+ * connectorId: "test_connector",
23
+ * role: "Connector Administrator",
24
+ * createdAt: "2020-05-25T15:26:47.306509Z",
25
+ * },
26
+ * ],
27
+ * }, {
28
+ * provider: fivetran_provider,
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * 1. To import an existing `fivetran_team_connector_membership` resource into your Terraform state, you need to get `team_id` and `connector_id`
35
+ *
36
+ * You can retrieve all teams using the [fivetran_teams data source](/docs/data-sources/teams).
37
+ *
38
+ * 2. Define an empty resource in your `.tf` configuration:
39
+ *
40
+ * hcl
41
+ *
42
+ * resource "fivetran_team_connector_membership" "my_imported_fivetran_team_connector_membership" {
43
+ *
44
+ * }
45
+ *
46
+ * 3. Run the `pulumi import` command:
47
+ *
48
+ * ```sh
49
+ * $ pulumi import fivetran:index/teamConnectorMembership:TeamConnectorMembership my_imported_fivetran_team_connector_membership {team_id}
50
+ * ```
51
+ *
52
+ * 4. Use the `terraform state show` command to get the values from the state:
53
+ *
54
+ * terraform state show 'fivetran_team_connector_membership.my_imported_fivetran_team_connector_membership'
55
+ *
56
+ * 5. Copy the values and paste them to your `.tf` configuration.
57
+ */
58
+ export declare class TeamConnectorMembership extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing TeamConnectorMembership resource's state with the given name, ID, and optional extra
61
+ * properties used to qualify the lookup.
62
+ *
63
+ * @param name The _unique_ name of the resulting resource.
64
+ * @param id The _unique_ provider ID of the resource to lookup.
65
+ * @param state Any extra arguments used during the lookup.
66
+ * @param opts Optional settings to control the behavior of the CustomResource.
67
+ */
68
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TeamConnectorMembershipState, opts?: pulumi.CustomResourceOptions): TeamConnectorMembership;
69
+ /**
70
+ * Returns true if the given object is an instance of TeamConnectorMembership. This is designed to work even
71
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
72
+ */
73
+ static isInstance(obj: any): obj is TeamConnectorMembership;
74
+ readonly connectors: pulumi.Output<outputs.TeamConnectorMembershipConnector[] | undefined>;
75
+ /**
76
+ * The unique identifier for the team within your account.
77
+ */
78
+ readonly teamId: pulumi.Output<string>;
79
+ /**
80
+ * Create a TeamConnectorMembership resource with the given unique name, arguments, and options.
81
+ *
82
+ * @param name The _unique_ name of the resource.
83
+ * @param args The arguments to use to populate this resource's properties.
84
+ * @param opts A bag of options that control this resource's behavior.
85
+ */
86
+ constructor(name: string, args: TeamConnectorMembershipArgs, opts?: pulumi.CustomResourceOptions);
87
+ }
88
+ /**
89
+ * Input properties used for looking up and filtering TeamConnectorMembership resources.
90
+ */
91
+ export interface TeamConnectorMembershipState {
92
+ connectors?: pulumi.Input<pulumi.Input<inputs.TeamConnectorMembershipConnector>[]>;
93
+ /**
94
+ * The unique identifier for the team within your account.
95
+ */
96
+ teamId?: pulumi.Input<string>;
97
+ }
98
+ /**
99
+ * The set of arguments for constructing a TeamConnectorMembership resource.
100
+ */
101
+ export interface TeamConnectorMembershipArgs {
102
+ connectors?: pulumi.Input<pulumi.Input<inputs.TeamConnectorMembershipConnector>[]>;
103
+ /**
104
+ * The unique identifier for the team within your account.
105
+ */
106
+ teamId: pulumi.Input<string>;
107
+ }