@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
@@ -0,0 +1,54 @@
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.DestinationCertificates = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class DestinationCertificates extends pulumi.CustomResource {
9
+ /**
10
+ * Get an existing DestinationCertificates resource's state with the given name, ID, and optional extra
11
+ * properties used to qualify the lookup.
12
+ *
13
+ * @param name The _unique_ name of the resulting resource.
14
+ * @param id The _unique_ provider ID of the resource to lookup.
15
+ * @param state Any extra arguments used during the lookup.
16
+ * @param opts Optional settings to control the behavior of the CustomResource.
17
+ */
18
+ static get(name, id, state, opts) {
19
+ return new DestinationCertificates(name, state, Object.assign(Object.assign({}, opts), { id: id }));
20
+ }
21
+ /**
22
+ * Returns true if the given object is an instance of DestinationCertificates. This is designed to work even
23
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
24
+ */
25
+ static isInstance(obj) {
26
+ if (obj === undefined || obj === null) {
27
+ return false;
28
+ }
29
+ return obj['__pulumiType'] === DestinationCertificates.__pulumiType;
30
+ }
31
+ constructor(name, argsOrState, opts) {
32
+ let resourceInputs = {};
33
+ opts = opts || {};
34
+ if (opts.id) {
35
+ const state = argsOrState;
36
+ resourceInputs["certificates"] = state ? state.certificates : undefined;
37
+ resourceInputs["destinationId"] = state ? state.destinationId : undefined;
38
+ }
39
+ else {
40
+ const args = argsOrState;
41
+ if ((!args || args.destinationId === undefined) && !opts.urn) {
42
+ throw new Error("Missing required property 'destinationId'");
43
+ }
44
+ resourceInputs["certificates"] = args ? args.certificates : undefined;
45
+ resourceInputs["destinationId"] = args ? args.destinationId : undefined;
46
+ }
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
48
+ super(DestinationCertificates.__pulumiType, name, resourceInputs, opts);
49
+ }
50
+ }
51
+ exports.DestinationCertificates = DestinationCertificates;
52
+ /** @internal */
53
+ DestinationCertificates.__pulumiType = 'fivetran:index/destinationCertificates:DestinationCertificates';
54
+ //# sourceMappingURL=destinationCertificates.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationCertificates.js","sourceRoot":"","sources":["../destinationCertificates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAgBD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7E;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA3DL,0DA4DC;AA9CG,gBAAgB;AACO,oCAAY,GAAG,gEAAgE,CAAC"}
@@ -0,0 +1,103 @@
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 manage list of approved SSH fingerprints for a particular destination.
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 myDestinationApprovedFingerprints = new fivetran.DestinationFingerprints("myDestinationApprovedFingerprints", {
14
+ * destinationId: fivetran_destination.my_destination.id,
15
+ * fingerprints: [
16
+ * {
17
+ * hash: "jhgfJfgrI6yy...",
18
+ * publicKey: "ssh-rsa CCCCB3NzaC1yc2ECCASFWFWDFRWT5WAS ... fivetran user key",
19
+ * },
20
+ * {
21
+ * hash: "eUtPirI6yytWe...",
22
+ * publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6 ... fivetran user key",
23
+ * },
24
+ * ],
25
+ * });
26
+ * ```
27
+ *
28
+ * ## Import
29
+ *
30
+ * 1. To import an existing `fivetran_destination_fingerprints` resource into your Terraform state, you need to get **Destination Group ID** on the destination page in your Fivetran dashboard.
31
+ *
32
+ * 2. To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
33
+ *
34
+ * 3. Define an empty resource in your `.tf` configuration:
35
+ *
36
+ * hcl
37
+ *
38
+ * resource "fivetran_destination_fingerprints" "my_imported_destination_fingerprints" {
39
+ *
40
+ * }
41
+ *
42
+ * 4. Run the `pulumi import` command:
43
+ *
44
+ * ```sh
45
+ * $ pulumi import fivetran:index/destinationFingerprints:DestinationFingerprints my_imported_destination_fingerprints {your Destination Group ID}
46
+ * ```
47
+ *
48
+ * 5. Use the `terraform state show` command to get the values from the state:
49
+ *
50
+ * terraform state show 'fivetran_destination_fingerprints.my_imported_destination_fingerprints'
51
+ *
52
+ * 6. Copy the values and paste them to your `.tf` configuration.
53
+ */
54
+ export declare class DestinationFingerprints extends pulumi.CustomResource {
55
+ /**
56
+ * Get an existing DestinationFingerprints resource's state with the given name, ID, and optional extra
57
+ * properties used to qualify the lookup.
58
+ *
59
+ * @param name The _unique_ name of the resulting resource.
60
+ * @param id The _unique_ provider ID of the resource to lookup.
61
+ * @param state Any extra arguments used during the lookup.
62
+ * @param opts Optional settings to control the behavior of the CustomResource.
63
+ */
64
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DestinationFingerprintsState, opts?: pulumi.CustomResourceOptions): DestinationFingerprints;
65
+ /**
66
+ * Returns true if the given object is an instance of DestinationFingerprints. This is designed to work even
67
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
68
+ */
69
+ static isInstance(obj: any): obj is DestinationFingerprints;
70
+ /**
71
+ * The unique identifier for the target destination within the Fivetran system.
72
+ */
73
+ readonly destinationId: pulumi.Output<string>;
74
+ readonly fingerprints: pulumi.Output<outputs.DestinationFingerprintsFingerprint[] | undefined>;
75
+ /**
76
+ * Create a DestinationFingerprints resource with the given unique name, arguments, and options.
77
+ *
78
+ * @param name The _unique_ name of the resource.
79
+ * @param args The arguments to use to populate this resource's properties.
80
+ * @param opts A bag of options that control this resource's behavior.
81
+ */
82
+ constructor(name: string, args: DestinationFingerprintsArgs, opts?: pulumi.CustomResourceOptions);
83
+ }
84
+ /**
85
+ * Input properties used for looking up and filtering DestinationFingerprints resources.
86
+ */
87
+ export interface DestinationFingerprintsState {
88
+ /**
89
+ * The unique identifier for the target destination within the Fivetran system.
90
+ */
91
+ destinationId?: pulumi.Input<string>;
92
+ fingerprints?: pulumi.Input<pulumi.Input<inputs.DestinationFingerprintsFingerprint>[]>;
93
+ }
94
+ /**
95
+ * The set of arguments for constructing a DestinationFingerprints resource.
96
+ */
97
+ export interface DestinationFingerprintsArgs {
98
+ /**
99
+ * The unique identifier for the target destination within the Fivetran system.
100
+ */
101
+ destinationId: pulumi.Input<string>;
102
+ fingerprints?: pulumi.Input<pulumi.Input<inputs.DestinationFingerprintsFingerprint>[]>;
103
+ }
@@ -0,0 +1,104 @@
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.DestinationFingerprints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to manage list of approved SSH fingerprints for a particular destination.
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 myDestinationApprovedFingerprints = new fivetran.DestinationFingerprints("myDestinationApprovedFingerprints", {
18
+ * destinationId: fivetran_destination.my_destination.id,
19
+ * fingerprints: [
20
+ * {
21
+ * hash: "jhgfJfgrI6yy...",
22
+ * publicKey: "ssh-rsa CCCCB3NzaC1yc2ECCASFWFWDFRWT5WAS ... fivetran user key",
23
+ * },
24
+ * {
25
+ * hash: "eUtPirI6yytWe...",
26
+ * publicKey: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC6 ... fivetran user key",
27
+ * },
28
+ * ],
29
+ * });
30
+ * ```
31
+ *
32
+ * ## Import
33
+ *
34
+ * 1. To import an existing `fivetran_destination_fingerprints` resource into your Terraform state, you need to get **Destination Group ID** on the destination page in your Fivetran dashboard.
35
+ *
36
+ * 2. To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
37
+ *
38
+ * 3. Define an empty resource in your `.tf` configuration:
39
+ *
40
+ * hcl
41
+ *
42
+ * resource "fivetran_destination_fingerprints" "my_imported_destination_fingerprints" {
43
+ *
44
+ * }
45
+ *
46
+ * 4. Run the `pulumi import` command:
47
+ *
48
+ * ```sh
49
+ * $ pulumi import fivetran:index/destinationFingerprints:DestinationFingerprints my_imported_destination_fingerprints {your Destination Group ID}
50
+ * ```
51
+ *
52
+ * 5. Use the `terraform state show` command to get the values from the state:
53
+ *
54
+ * terraform state show 'fivetran_destination_fingerprints.my_imported_destination_fingerprints'
55
+ *
56
+ * 6. Copy the values and paste them to your `.tf` configuration.
57
+ */
58
+ class DestinationFingerprints extends pulumi.CustomResource {
59
+ /**
60
+ * Get an existing DestinationFingerprints 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, id, state, opts) {
69
+ return new DestinationFingerprints(name, state, Object.assign(Object.assign({}, opts), { id: id }));
70
+ }
71
+ /**
72
+ * Returns true if the given object is an instance of DestinationFingerprints. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === DestinationFingerprints.__pulumiType;
80
+ }
81
+ constructor(name, argsOrState, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (opts.id) {
85
+ const state = argsOrState;
86
+ resourceInputs["destinationId"] = state ? state.destinationId : undefined;
87
+ resourceInputs["fingerprints"] = state ? state.fingerprints : undefined;
88
+ }
89
+ else {
90
+ const args = argsOrState;
91
+ if ((!args || args.destinationId === undefined) && !opts.urn) {
92
+ throw new Error("Missing required property 'destinationId'");
93
+ }
94
+ resourceInputs["destinationId"] = args ? args.destinationId : undefined;
95
+ resourceInputs["fingerprints"] = args ? args.fingerprints : undefined;
96
+ }
97
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
98
+ super(DestinationFingerprints.__pulumiType, name, resourceInputs, opts);
99
+ }
100
+ }
101
+ exports.DestinationFingerprints = DestinationFingerprints;
102
+ /** @internal */
103
+ DestinationFingerprints.__pulumiType = 'fivetran:index/destinationFingerprints:DestinationFingerprints';
104
+ //# sourceMappingURL=destinationFingerprints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"destinationFingerprints.js","sourceRoot":"","sources":["../destinationFingerprints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IAgBD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3E;aAAM;YACH,MAAM,IAAI,GAAG,WAAsD,CAAC;YACpE,IAAI,CAAC,CAAC,IAAI,IAAI,IAAI,CAAC,aAAa,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC1D,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;aAChE;YACD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;SACzE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA3DL,0DA4DC;AA9CG,gBAAgB;AACO,oCAAY,GAAG,gEAAgE,CAAC"}
@@ -0,0 +1,118 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * ## Import
6
+ *
7
+ * 1. To import an existing `fivetran_external_logging` resource into your Terraform state, you need to get **External Logging Group ID** on the external logging page in your Fivetran dashboard.
8
+ *
9
+ * To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
10
+ *
11
+ * 2. Define an empty resource in your `.tf` configuration:
12
+ *
13
+ * hcl
14
+ *
15
+ * resource "fivetran_external_logging" "my_imported_external_logging" {
16
+ *
17
+ * }
18
+ *
19
+ * 3. Run the `pulumi import` command with the following parameters:
20
+ *
21
+ * ```sh
22
+ * $ pulumi import fivetran:index/externalLogging:ExternalLogging my_imported_external_logging {your External Logging Group ID}
23
+ * ```
24
+ *
25
+ * 4. Use the `terraform state show` command to get the values from the state:
26
+ *
27
+ * terraform state show 'fivetran_external_logging.my_imported_external_logging'
28
+ *
29
+ * 5. Copy the values and paste them to your `.tf` configuration.
30
+ *
31
+ * -> The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/log-service-management#logservicesetupconfigurations) for reference to find the properties you need to keep in the `config` section.
32
+ */
33
+ export declare class ExternalLogging extends pulumi.CustomResource {
34
+ /**
35
+ * Get an existing ExternalLogging resource's state with the given name, ID, and optional extra
36
+ * properties used to qualify the lookup.
37
+ *
38
+ * @param name The _unique_ name of the resulting resource.
39
+ * @param id The _unique_ provider ID of the resource to lookup.
40
+ * @param state Any extra arguments used during the lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ExternalLoggingState, opts?: pulumi.CustomResourceOptions): ExternalLogging;
44
+ /**
45
+ * Returns true if the given object is an instance of ExternalLogging. This is designed to work even
46
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
47
+ */
48
+ static isInstance(obj: any): obj is ExternalLogging;
49
+ readonly config: pulumi.Output<outputs.ExternalLoggingConfig | undefined>;
50
+ /**
51
+ * The boolean value specifying whether the log service is enabled.
52
+ */
53
+ readonly enabled: pulumi.Output<boolean | undefined>;
54
+ /**
55
+ * The unique identifier for the log service within the Fivetran system.
56
+ */
57
+ readonly groupId: pulumi.Output<string>;
58
+ /**
59
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
60
+ */
61
+ readonly runSetupTests: pulumi.Output<boolean | undefined>;
62
+ /**
63
+ * The name for the log service type within the Fivetran system. We support the following log services: azure*monitor*log, cloudwatch, datadog*log, new*relic_log, splunkLog, stackdriver.
64
+ */
65
+ readonly service: pulumi.Output<string>;
66
+ /**
67
+ * Create a ExternalLogging resource with the given unique name, arguments, and options.
68
+ *
69
+ * @param name The _unique_ name of the resource.
70
+ * @param args The arguments to use to populate this resource's properties.
71
+ * @param opts A bag of options that control this resource's behavior.
72
+ */
73
+ constructor(name: string, args: ExternalLoggingArgs, opts?: pulumi.CustomResourceOptions);
74
+ }
75
+ /**
76
+ * Input properties used for looking up and filtering ExternalLogging resources.
77
+ */
78
+ export interface ExternalLoggingState {
79
+ config?: pulumi.Input<inputs.ExternalLoggingConfig>;
80
+ /**
81
+ * The boolean value specifying whether the log service is enabled.
82
+ */
83
+ enabled?: pulumi.Input<boolean>;
84
+ /**
85
+ * The unique identifier for the log service within the Fivetran system.
86
+ */
87
+ groupId?: pulumi.Input<string>;
88
+ /**
89
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
90
+ */
91
+ runSetupTests?: pulumi.Input<boolean>;
92
+ /**
93
+ * The name for the log service type within the Fivetran system. We support the following log services: azure*monitor*log, cloudwatch, datadog*log, new*relic_log, splunkLog, stackdriver.
94
+ */
95
+ service?: pulumi.Input<string>;
96
+ }
97
+ /**
98
+ * The set of arguments for constructing a ExternalLogging resource.
99
+ */
100
+ export interface ExternalLoggingArgs {
101
+ config?: pulumi.Input<inputs.ExternalLoggingConfig>;
102
+ /**
103
+ * The boolean value specifying whether the log service is enabled.
104
+ */
105
+ enabled?: pulumi.Input<boolean>;
106
+ /**
107
+ * The unique identifier for the log service within the Fivetran system.
108
+ */
109
+ groupId: pulumi.Input<string>;
110
+ /**
111
+ * Specifies whether the setup tests should be run automatically. The default value is TRUE.
112
+ */
113
+ runSetupTests?: pulumi.Input<boolean>;
114
+ /**
115
+ * The name for the log service type within the Fivetran system. We support the following log services: azure*monitor*log, cloudwatch, datadog*log, new*relic_log, splunkLog, stackdriver.
116
+ */
117
+ service: pulumi.Input<string>;
118
+ }
@@ -0,0 +1,92 @@
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.ExternalLogging = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Import
10
+ *
11
+ * 1. To import an existing `fivetran_external_logging` resource into your Terraform state, you need to get **External Logging Group ID** on the external logging page in your Fivetran dashboard.
12
+ *
13
+ * To retrieve existing groups, use the [fivetran_groups data source](/docs/data-sources/groups).
14
+ *
15
+ * 2. Define an empty resource in your `.tf` configuration:
16
+ *
17
+ * hcl
18
+ *
19
+ * resource "fivetran_external_logging" "my_imported_external_logging" {
20
+ *
21
+ * }
22
+ *
23
+ * 3. Run the `pulumi import` command with the following parameters:
24
+ *
25
+ * ```sh
26
+ * $ pulumi import fivetran:index/externalLogging:ExternalLogging my_imported_external_logging {your External Logging Group ID}
27
+ * ```
28
+ *
29
+ * 4. Use the `terraform state show` command to get the values from the state:
30
+ *
31
+ * terraform state show 'fivetran_external_logging.my_imported_external_logging'
32
+ *
33
+ * 5. Copy the values and paste them to your `.tf` configuration.
34
+ *
35
+ * -> The `config` object in the state contains all properties defined in the schema. You need to remove properties from the `config` that are not related to destinations. See the [Fivetran REST API documentation](https://fivetran.com/docs/rest-api/log-service-management#logservicesetupconfigurations) for reference to find the properties you need to keep in the `config` section.
36
+ */
37
+ class ExternalLogging extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing ExternalLogging resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new ExternalLogging(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of ExternalLogging. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === ExternalLogging.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["config"] = state ? state.config : undefined;
66
+ resourceInputs["enabled"] = state ? state.enabled : undefined;
67
+ resourceInputs["groupId"] = state ? state.groupId : undefined;
68
+ resourceInputs["runSetupTests"] = state ? state.runSetupTests : undefined;
69
+ resourceInputs["service"] = state ? state.service : undefined;
70
+ }
71
+ else {
72
+ const args = argsOrState;
73
+ if ((!args || args.groupId === undefined) && !opts.urn) {
74
+ throw new Error("Missing required property 'groupId'");
75
+ }
76
+ if ((!args || args.service === undefined) && !opts.urn) {
77
+ throw new Error("Missing required property 'service'");
78
+ }
79
+ resourceInputs["config"] = args ? args.config : undefined;
80
+ resourceInputs["enabled"] = args ? args.enabled : undefined;
81
+ resourceInputs["groupId"] = args ? args.groupId : undefined;
82
+ resourceInputs["runSetupTests"] = args ? args.runSetupTests : undefined;
83
+ resourceInputs["service"] = args ? args.service : undefined;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ super(ExternalLogging.__pulumiType, name, resourceInputs, opts);
87
+ }
88
+ }
89
+ exports.ExternalLogging = ExternalLogging;
90
+ /** @internal */
91
+ ExternalLogging.__pulumiType = 'fivetran:index/externalLogging:ExternalLogging';
92
+ //# sourceMappingURL=externalLogging.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"externalLogging.js","sourceRoot":"","sources":["../externalLogging.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,76 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This data source returns a connector object.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as fivetran from "@pulumi/fivetran";
12
+ *
13
+ * const connector = fivetran.getConnector({
14
+ * id: "anonymous_mystery",
15
+ * });
16
+ * ```
17
+ */
18
+ export declare function getConnector(args: GetConnectorArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorResult>;
19
+ /**
20
+ * A collection of arguments for invoking getConnector.
21
+ */
22
+ export interface GetConnectorArgs {
23
+ config?: inputs.GetConnectorConfig;
24
+ destinationSchema?: inputs.GetConnectorDestinationSchema;
25
+ id: string;
26
+ status?: inputs.GetConnectorStatus;
27
+ }
28
+ /**
29
+ * A collection of values returned by getConnector.
30
+ */
31
+ export interface GetConnectorResult {
32
+ readonly config?: outputs.GetConnectorConfig;
33
+ readonly connectedBy: string;
34
+ readonly createdAt: string;
35
+ readonly dailySyncTime: string;
36
+ readonly destinationSchema?: outputs.GetConnectorDestinationSchema;
37
+ readonly failedAt: string;
38
+ readonly groupId: string;
39
+ readonly id: string;
40
+ readonly localProcessingAgentId: string;
41
+ readonly name: string;
42
+ readonly networkingMethod: string;
43
+ readonly pauseAfterTrial: boolean;
44
+ readonly paused: boolean;
45
+ readonly proxyAgentId: string;
46
+ readonly scheduleType: string;
47
+ readonly service: string;
48
+ readonly serviceVersion: string;
49
+ readonly status?: outputs.GetConnectorStatus;
50
+ readonly succeededAt: string;
51
+ readonly syncFrequency: number;
52
+ }
53
+ /**
54
+ * This data source returns a connector object.
55
+ *
56
+ * ## Example Usage
57
+ *
58
+ * ```typescript
59
+ * import * as pulumi from "@pulumi/pulumi";
60
+ * import * as fivetran from "@pulumi/fivetran";
61
+ *
62
+ * const connector = fivetran.getConnector({
63
+ * id: "anonymous_mystery",
64
+ * });
65
+ * ```
66
+ */
67
+ export declare function getConnectorOutput(args: GetConnectorOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectorResult>;
68
+ /**
69
+ * A collection of arguments for invoking getConnector.
70
+ */
71
+ export interface GetConnectorOutputArgs {
72
+ config?: pulumi.Input<inputs.GetConnectorConfigArgs>;
73
+ destinationSchema?: pulumi.Input<inputs.GetConnectorDestinationSchemaArgs>;
74
+ id: pulumi.Input<string>;
75
+ status?: pulumi.Input<inputs.GetConnectorStatusArgs>;
76
+ }
@@ -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.getConnectorOutput = exports.getConnector = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source returns a connector object.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as fivetran from "@pulumi/fivetran";
16
+ *
17
+ * const connector = fivetran.getConnector({
18
+ * id: "anonymous_mystery",
19
+ * });
20
+ * ```
21
+ */
22
+ function getConnector(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("fivetran:index/getConnector:getConnector", {
25
+ "config": args.config,
26
+ "destinationSchema": args.destinationSchema,
27
+ "id": args.id,
28
+ "status": args.status,
29
+ }, opts);
30
+ }
31
+ exports.getConnector = getConnector;
32
+ /**
33
+ * This data source returns a connector object.
34
+ *
35
+ * ## Example Usage
36
+ *
37
+ * ```typescript
38
+ * import * as pulumi from "@pulumi/pulumi";
39
+ * import * as fivetran from "@pulumi/fivetran";
40
+ *
41
+ * const connector = fivetran.getConnector({
42
+ * id: "anonymous_mystery",
43
+ * });
44
+ * ```
45
+ */
46
+ function getConnectorOutput(args, opts) {
47
+ return pulumi.output(args).apply((a) => getConnector(a, opts));
48
+ }
49
+ exports.getConnectorOutput = getConnectorOutput;
50
+ //# sourceMappingURL=getConnector.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getConnector.js","sourceRoot":"","sources":["../getConnector.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,oCASC;AAqCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -0,0 +1,39 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getConnectorCertificates(args: GetConnectorCertificatesArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorCertificatesResult>;
5
+ /**
6
+ * A collection of arguments for invoking getConnectorCertificates.
7
+ */
8
+ export interface GetConnectorCertificatesArgs {
9
+ certificates?: inputs.GetConnectorCertificatesCertificate[];
10
+ /**
11
+ * The unique identifier for the resource. Equal to target connection id.
12
+ */
13
+ id: string;
14
+ }
15
+ /**
16
+ * A collection of values returned by getConnectorCertificates.
17
+ */
18
+ export interface GetConnectorCertificatesResult {
19
+ readonly certificates?: outputs.GetConnectorCertificatesCertificate[];
20
+ /**
21
+ * The unique identifier for the target connection within the Fivetran system.
22
+ */
23
+ readonly connectorId: string;
24
+ /**
25
+ * The unique identifier for the resource. Equal to target connection id.
26
+ */
27
+ readonly id: string;
28
+ }
29
+ export declare function getConnectorCertificatesOutput(args: GetConnectorCertificatesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectorCertificatesResult>;
30
+ /**
31
+ * A collection of arguments for invoking getConnectorCertificates.
32
+ */
33
+ export interface GetConnectorCertificatesOutputArgs {
34
+ certificates?: pulumi.Input<pulumi.Input<inputs.GetConnectorCertificatesCertificateArgs>[]>;
35
+ /**
36
+ * The unique identifier for the resource. Equal to target connection id.
37
+ */
38
+ id: pulumi.Input<string>;
39
+ }