@ryan-pip/pulumi-fivetran 1.9.53 → 1.9.55
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/accountExternalLoggingV2.d.ts +139 -0
- package/accountExternalLoggingV2.d.ts.map +1 -0
- package/accountExternalLoggingV2.js +140 -0
- package/accountExternalLoggingV2.js.map +1 -0
- package/connectionV2.d.ts +8 -0
- package/connectionV2.d.ts.map +1 -1
- package/connectionV2.js +2 -0
- package/connectionV2.js.map +1 -1
- package/destinationV2.d.ts +273 -0
- package/destinationV2.d.ts.map +1 -0
- package/destinationV2.js +161 -0
- package/destinationV2.js.map +1 -0
- package/getConnections.d.ts +18 -0
- package/getConnections.d.ts.map +1 -1
- package/getConnections.js +18 -0
- package/getConnections.js.map +1 -1
- package/getConnectors.d.ts +18 -0
- package/getConnectors.d.ts.map +1 -1
- package/getConnectors.js +18 -0
- package/getConnectors.js.map +1 -1
- package/getDestinations.d.ts +18 -0
- package/getDestinations.d.ts.map +1 -1
- package/getDestinations.js +18 -0
- package/getDestinations.js.map +1 -1
- package/getExternalLogs.d.ts +18 -0
- package/getExternalLogs.d.ts.map +1 -1
- package/getExternalLogs.js +18 -0
- package/getExternalLogs.js.map +1 -1
- package/index.d.ts +6 -0
- package/index.d.ts.map +1 -1
- package/index.js +13 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,273 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **Alpha:** This resource is in alpha and its schema and behavior may change without notice. Not recommended for production use.
|
|
4
|
+
*
|
|
5
|
+
* Manages a Fivetran destination. Unlike `fivetran.Destination`, `config` is provided as a dynamic, service-specific object: its accepted fields, types, enum values, and readonly/immutable rules are resolved from destination metadata (`GET /v1/metadata/destination-types/{service}`) at plan time rather than from a fixed schema. Field names inside `config` are the same as in the Fivetran REST API.
|
|
6
|
+
*
|
|
7
|
+
* Plan-time checks:
|
|
8
|
+
* - Unknown `config` fields, wrong value types, and values outside an enum fail the plan.
|
|
9
|
+
* - Readonly `config` fields (set by Fivetran, for example `publicKey`) can't be configured.
|
|
10
|
+
* - Changing an immutable `config` field plans a replacement of the destination.
|
|
11
|
+
* - `region`, `networkingMethod`, `hybridDeploymentAgentId`, and `privateLinkId` produce a warning when the destination type doesn't list them as supported. The API applies account-level rules (for example allowed regions or the PrivateLink permission) at apply time.
|
|
12
|
+
*
|
|
13
|
+
* Set the provider `skipPlanTimeValidation = true` only if metadata can't be fetched and you need to bypass these checks temporarily.
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
20
|
+
*
|
|
21
|
+
* const config = new pulumi.Config();
|
|
22
|
+
* const snowflakePassword = config.require("snowflakePassword");
|
|
23
|
+
* const destination = new fivetran.DestinationV2("destination", {
|
|
24
|
+
* groupId: group.id,
|
|
25
|
+
* service: "snowflake",
|
|
26
|
+
* timeZoneOffset: "0",
|
|
27
|
+
* region: "GCP_US_EAST4",
|
|
28
|
+
* config: {
|
|
29
|
+
* host: "your-account.snowflakecomputing.com",
|
|
30
|
+
* port: 443,
|
|
31
|
+
* database: "fivetran",
|
|
32
|
+
* auth: "PASSWORD",
|
|
33
|
+
* user: "fivetran_user",
|
|
34
|
+
* password: snowflakePassword,
|
|
35
|
+
* },
|
|
36
|
+
* });
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
39
|
+
* ## Import
|
|
40
|
+
*
|
|
41
|
+
* ```sh
|
|
42
|
+
* $ pulumi import fivetran:index/destinationV2:DestinationV2 destination <destination_id>
|
|
43
|
+
* ```
|
|
44
|
+
*
|
|
45
|
+
* The API doesn't return secrets, so after import add the sensitive fields to `config` or `configSecrets` in the resource block. Readonly fields are not tracked in state after import.
|
|
46
|
+
*/
|
|
47
|
+
export declare class DestinationV2 extends pulumi.CustomResource {
|
|
48
|
+
/**
|
|
49
|
+
* Get an existing DestinationV2 resource's state with the given name, ID, and optional extra
|
|
50
|
+
* properties used to qualify the lookup.
|
|
51
|
+
*
|
|
52
|
+
* @param name The _unique_ name of the resulting resource.
|
|
53
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
54
|
+
* @param state Any extra arguments used during the lookup.
|
|
55
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
56
|
+
*/
|
|
57
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DestinationV2State, opts?: pulumi.CustomResourceOptions): DestinationV2;
|
|
58
|
+
/**
|
|
59
|
+
* Returns true if the given object is an instance of DestinationV2. This is designed to work even
|
|
60
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
61
|
+
*/
|
|
62
|
+
static isInstance(obj: any): obj is DestinationV2;
|
|
63
|
+
/**
|
|
64
|
+
* Service-specific destination configuration. The accepted fields are defined by destination metadata at runtime.
|
|
65
|
+
*/
|
|
66
|
+
readonly config: pulumi.Output<any>;
|
|
67
|
+
/**
|
|
68
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
69
|
+
* Write-only secret config fields (fields with `format: password` in destination metadata, for example `password` or `privateKey`). Accepts ephemeral values and is never stored in state. Values are sent on create and whenever `configSecretsVersion` changes. Requires Terraform 1.11 or later.
|
|
70
|
+
*/
|
|
71
|
+
readonly configSecrets: pulumi.Output<any | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Change this value to send the current `configSecrets` to Fivetran, for example after rotating a secret.
|
|
74
|
+
*/
|
|
75
|
+
readonly configSecretsVersion: pulumi.Output<number | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Shift the sync schedule to account for daylight saving time (for `timeZoneOffset` values that observe DST).
|
|
78
|
+
*/
|
|
79
|
+
readonly daylightSavingTimeEnabled: pulumi.Output<boolean>;
|
|
80
|
+
/**
|
|
81
|
+
* The unique identifier for the Group within the Fivetran system. Changing this forces the destination to be replaced.
|
|
82
|
+
*/
|
|
83
|
+
readonly groupId: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the destination belongs to.
|
|
86
|
+
*/
|
|
87
|
+
readonly hybridDeploymentAgentId: pulumi.Output<string>;
|
|
88
|
+
/**
|
|
89
|
+
* The networking method for the destination. Possible values: `Directly`, `SshTunnel`, `ProxyAgent`, `PrivateLink`.
|
|
90
|
+
*/
|
|
91
|
+
readonly networkingMethod: pulumi.Output<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The private link ID. Required when `networkingMethod` is `PrivateLink` and the destination supports self-service PrivateLink.
|
|
94
|
+
*/
|
|
95
|
+
readonly privateLinkId: pulumi.Output<string>;
|
|
96
|
+
/**
|
|
97
|
+
* The ID of the proxy agent to use. Required when `networkingMethod` is `ProxyAgent`.
|
|
98
|
+
*/
|
|
99
|
+
readonly proxyAgentId: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Data processing location. This is where Fivetran will operate and run computation on data. If not set, the API default region is used.
|
|
102
|
+
*/
|
|
103
|
+
readonly region: pulumi.Output<string>;
|
|
104
|
+
/**
|
|
105
|
+
* Whether to run setup tests when creating or updating the destination. Defaults to `true`, matching the API.
|
|
106
|
+
*/
|
|
107
|
+
readonly runSetupTests: pulumi.Output<boolean>;
|
|
108
|
+
/**
|
|
109
|
+
* The destination service type (e.g., `snowflake`, `bigQuery`, `databricks`). Changing this forces the destination to be replaced.
|
|
110
|
+
*/
|
|
111
|
+
readonly service: pulumi.Output<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Destination setup status. Possible values: `incomplete`, `connected`, `broken`.
|
|
114
|
+
*/
|
|
115
|
+
readonly setupStatus: pulumi.Output<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Determines the time zone for the Fivetran sync schedule. Possible values: -11 to +12.
|
|
118
|
+
*/
|
|
119
|
+
readonly timeZoneOffset: pulumi.Output<string>;
|
|
120
|
+
/**
|
|
121
|
+
* Specifies whether Fivetran should trust certificates automatically. Defaults to `false`.
|
|
122
|
+
*/
|
|
123
|
+
readonly trustCertificates: pulumi.Output<boolean>;
|
|
124
|
+
/**
|
|
125
|
+
* Specifies whether Fivetran should trust SSH fingerprints automatically. Defaults to `false`.
|
|
126
|
+
*/
|
|
127
|
+
readonly trustFingerprints: pulumi.Output<boolean>;
|
|
128
|
+
/**
|
|
129
|
+
* Create a DestinationV2 resource with the given unique name, arguments, and options.
|
|
130
|
+
*
|
|
131
|
+
* @param name The _unique_ name of the resource.
|
|
132
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
133
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
134
|
+
*/
|
|
135
|
+
constructor(name: string, args: DestinationV2Args, opts?: pulumi.CustomResourceOptions);
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* Input properties used for looking up and filtering DestinationV2 resources.
|
|
139
|
+
*/
|
|
140
|
+
export interface DestinationV2State {
|
|
141
|
+
/**
|
|
142
|
+
* Service-specific destination configuration. The accepted fields are defined by destination metadata at runtime.
|
|
143
|
+
*/
|
|
144
|
+
config?: any | undefined;
|
|
145
|
+
/**
|
|
146
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
147
|
+
* Write-only secret config fields (fields with `format: password` in destination metadata, for example `password` or `privateKey`). Accepts ephemeral values and is never stored in state. Values are sent on create and whenever `configSecretsVersion` changes. Requires Terraform 1.11 or later.
|
|
148
|
+
*/
|
|
149
|
+
configSecrets?: any | undefined;
|
|
150
|
+
/**
|
|
151
|
+
* Change this value to send the current `configSecrets` to Fivetran, for example after rotating a secret.
|
|
152
|
+
*/
|
|
153
|
+
configSecretsVersion?: pulumi.Input<number | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* Shift the sync schedule to account for daylight saving time (for `timeZoneOffset` values that observe DST).
|
|
156
|
+
*/
|
|
157
|
+
daylightSavingTimeEnabled?: pulumi.Input<boolean | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* The unique identifier for the Group within the Fivetran system. Changing this forces the destination to be replaced.
|
|
160
|
+
*/
|
|
161
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the destination belongs to.
|
|
164
|
+
*/
|
|
165
|
+
hybridDeploymentAgentId?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* The networking method for the destination. Possible values: `Directly`, `SshTunnel`, `ProxyAgent`, `PrivateLink`.
|
|
168
|
+
*/
|
|
169
|
+
networkingMethod?: pulumi.Input<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* The private link ID. Required when `networkingMethod` is `PrivateLink` and the destination supports self-service PrivateLink.
|
|
172
|
+
*/
|
|
173
|
+
privateLinkId?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* The ID of the proxy agent to use. Required when `networkingMethod` is `ProxyAgent`.
|
|
176
|
+
*/
|
|
177
|
+
proxyAgentId?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* Data processing location. This is where Fivetran will operate and run computation on data. If not set, the API default region is used.
|
|
180
|
+
*/
|
|
181
|
+
region?: pulumi.Input<string | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* Whether to run setup tests when creating or updating the destination. Defaults to `true`, matching the API.
|
|
184
|
+
*/
|
|
185
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* The destination service type (e.g., `snowflake`, `bigQuery`, `databricks`). Changing this forces the destination to be replaced.
|
|
188
|
+
*/
|
|
189
|
+
service?: pulumi.Input<string | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* Destination setup status. Possible values: `incomplete`, `connected`, `broken`.
|
|
192
|
+
*/
|
|
193
|
+
setupStatus?: pulumi.Input<string | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* Determines the time zone for the Fivetran sync schedule. Possible values: -11 to +12.
|
|
196
|
+
*/
|
|
197
|
+
timeZoneOffset?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* Specifies whether Fivetran should trust certificates automatically. Defaults to `false`.
|
|
200
|
+
*/
|
|
201
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* Specifies whether Fivetran should trust SSH fingerprints automatically. Defaults to `false`.
|
|
204
|
+
*/
|
|
205
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
206
|
+
}
|
|
207
|
+
/**
|
|
208
|
+
* The set of arguments for constructing a DestinationV2 resource.
|
|
209
|
+
*/
|
|
210
|
+
export interface DestinationV2Args {
|
|
211
|
+
/**
|
|
212
|
+
* Service-specific destination configuration. The accepted fields are defined by destination metadata at runtime.
|
|
213
|
+
*/
|
|
214
|
+
config: any;
|
|
215
|
+
/**
|
|
216
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
217
|
+
* Write-only secret config fields (fields with `format: password` in destination metadata, for example `password` or `privateKey`). Accepts ephemeral values and is never stored in state. Values are sent on create and whenever `configSecretsVersion` changes. Requires Terraform 1.11 or later.
|
|
218
|
+
*/
|
|
219
|
+
configSecrets?: any | undefined;
|
|
220
|
+
/**
|
|
221
|
+
* Change this value to send the current `configSecrets` to Fivetran, for example after rotating a secret.
|
|
222
|
+
*/
|
|
223
|
+
configSecretsVersion?: pulumi.Input<number | undefined>;
|
|
224
|
+
/**
|
|
225
|
+
* Shift the sync schedule to account for daylight saving time (for `timeZoneOffset` values that observe DST).
|
|
226
|
+
*/
|
|
227
|
+
daylightSavingTimeEnabled?: pulumi.Input<boolean | undefined>;
|
|
228
|
+
/**
|
|
229
|
+
* The unique identifier for the Group within the Fivetran system. Changing this forces the destination to be replaced.
|
|
230
|
+
*/
|
|
231
|
+
groupId: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* The hybrid deployment agent ID that refers to the controller created for the group the destination belongs to.
|
|
234
|
+
*/
|
|
235
|
+
hybridDeploymentAgentId?: pulumi.Input<string | undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* The networking method for the destination. Possible values: `Directly`, `SshTunnel`, `ProxyAgent`, `PrivateLink`.
|
|
238
|
+
*/
|
|
239
|
+
networkingMethod?: pulumi.Input<string | undefined>;
|
|
240
|
+
/**
|
|
241
|
+
* The private link ID. Required when `networkingMethod` is `PrivateLink` and the destination supports self-service PrivateLink.
|
|
242
|
+
*/
|
|
243
|
+
privateLinkId?: pulumi.Input<string | undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* The ID of the proxy agent to use. Required when `networkingMethod` is `ProxyAgent`.
|
|
246
|
+
*/
|
|
247
|
+
proxyAgentId?: pulumi.Input<string | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* Data processing location. This is where Fivetran will operate and run computation on data. If not set, the API default region is used.
|
|
250
|
+
*/
|
|
251
|
+
region?: pulumi.Input<string | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* Whether to run setup tests when creating or updating the destination. Defaults to `true`, matching the API.
|
|
254
|
+
*/
|
|
255
|
+
runSetupTests?: pulumi.Input<boolean | undefined>;
|
|
256
|
+
/**
|
|
257
|
+
* The destination service type (e.g., `snowflake`, `bigQuery`, `databricks`). Changing this forces the destination to be replaced.
|
|
258
|
+
*/
|
|
259
|
+
service: pulumi.Input<string>;
|
|
260
|
+
/**
|
|
261
|
+
* Determines the time zone for the Fivetran sync schedule. Possible values: -11 to +12.
|
|
262
|
+
*/
|
|
263
|
+
timeZoneOffset: pulumi.Input<string>;
|
|
264
|
+
/**
|
|
265
|
+
* Specifies whether Fivetran should trust certificates automatically. Defaults to `false`.
|
|
266
|
+
*/
|
|
267
|
+
trustCertificates?: pulumi.Input<boolean | undefined>;
|
|
268
|
+
/**
|
|
269
|
+
* Specifies whether Fivetran should trust SSH fingerprints automatically. Defaults to `false`.
|
|
270
|
+
*/
|
|
271
|
+
trustFingerprints?: pulumi.Input<boolean | undefined>;
|
|
272
|
+
}
|
|
273
|
+
//# sourceMappingURL=destinationV2.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationV2.d.ts","sourceRoot":"","sources":["../destinationV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,qBAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,aAAa;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,aAAa;IAOxD;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IACnD;;;OAGG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,GAAG,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,yBAAyB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvD;;OAEG;IACH,SAAwB,uBAAuB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACvE;;OAEG;IACH,SAAwB,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;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3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.DestinationV2 = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* > **Alpha:** This resource is in alpha and its schema and behavior may change without notice. Not recommended for production use.
|
|
33
|
+
*
|
|
34
|
+
* Manages a Fivetran destination. Unlike `fivetran.Destination`, `config` is provided as a dynamic, service-specific object: its accepted fields, types, enum values, and readonly/immutable rules are resolved from destination metadata (`GET /v1/metadata/destination-types/{service}`) at plan time rather than from a fixed schema. Field names inside `config` are the same as in the Fivetran REST API.
|
|
35
|
+
*
|
|
36
|
+
* Plan-time checks:
|
|
37
|
+
* - Unknown `config` fields, wrong value types, and values outside an enum fail the plan.
|
|
38
|
+
* - Readonly `config` fields (set by Fivetran, for example `publicKey`) can't be configured.
|
|
39
|
+
* - Changing an immutable `config` field plans a replacement of the destination.
|
|
40
|
+
* - `region`, `networkingMethod`, `hybridDeploymentAgentId`, and `privateLinkId` produce a warning when the destination type doesn't list them as supported. The API applies account-level rules (for example allowed regions or the PrivateLink permission) at apply time.
|
|
41
|
+
*
|
|
42
|
+
* Set the provider `skipPlanTimeValidation = true` only if metadata can't be fetched and you need to bypass these checks temporarily.
|
|
43
|
+
*
|
|
44
|
+
* ## Example Usage
|
|
45
|
+
*
|
|
46
|
+
* ```typescript
|
|
47
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
48
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
49
|
+
*
|
|
50
|
+
* const config = new pulumi.Config();
|
|
51
|
+
* const snowflakePassword = config.require("snowflakePassword");
|
|
52
|
+
* const destination = new fivetran.DestinationV2("destination", {
|
|
53
|
+
* groupId: group.id,
|
|
54
|
+
* service: "snowflake",
|
|
55
|
+
* timeZoneOffset: "0",
|
|
56
|
+
* region: "GCP_US_EAST4",
|
|
57
|
+
* config: {
|
|
58
|
+
* host: "your-account.snowflakecomputing.com",
|
|
59
|
+
* port: 443,
|
|
60
|
+
* database: "fivetran",
|
|
61
|
+
* auth: "PASSWORD",
|
|
62
|
+
* user: "fivetran_user",
|
|
63
|
+
* password: snowflakePassword,
|
|
64
|
+
* },
|
|
65
|
+
* });
|
|
66
|
+
* ```
|
|
67
|
+
*
|
|
68
|
+
* ## Import
|
|
69
|
+
*
|
|
70
|
+
* ```sh
|
|
71
|
+
* $ pulumi import fivetran:index/destinationV2:DestinationV2 destination <destination_id>
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* The API doesn't return secrets, so after import add the sensitive fields to `config` or `configSecrets` in the resource block. Readonly fields are not tracked in state after import.
|
|
75
|
+
*/
|
|
76
|
+
class DestinationV2 extends pulumi.CustomResource {
|
|
77
|
+
/**
|
|
78
|
+
* Get an existing DestinationV2 resource's state with the given name, ID, and optional extra
|
|
79
|
+
* properties used to qualify the lookup.
|
|
80
|
+
*
|
|
81
|
+
* @param name The _unique_ name of the resulting resource.
|
|
82
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
83
|
+
* @param state Any extra arguments used during the lookup.
|
|
84
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
85
|
+
*/
|
|
86
|
+
static get(name, id, state, opts) {
|
|
87
|
+
return new DestinationV2(name, state, { ...opts, id: id });
|
|
88
|
+
}
|
|
89
|
+
/** @internal */
|
|
90
|
+
static __pulumiType = 'fivetran:index/destinationV2:DestinationV2';
|
|
91
|
+
/**
|
|
92
|
+
* Returns true if the given object is an instance of DestinationV2. This is designed to work even
|
|
93
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
94
|
+
*/
|
|
95
|
+
static isInstance(obj) {
|
|
96
|
+
if (obj === undefined || obj === null) {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return obj['__pulumiType'] === DestinationV2.__pulumiType;
|
|
100
|
+
}
|
|
101
|
+
constructor(name, argsOrState, opts) {
|
|
102
|
+
let resourceInputs = {};
|
|
103
|
+
opts = opts || {};
|
|
104
|
+
if (opts.id) {
|
|
105
|
+
const state = argsOrState;
|
|
106
|
+
resourceInputs["config"] = state?.config;
|
|
107
|
+
resourceInputs["configSecrets"] = state?.configSecrets;
|
|
108
|
+
resourceInputs["configSecretsVersion"] = state?.configSecretsVersion;
|
|
109
|
+
resourceInputs["daylightSavingTimeEnabled"] = state?.daylightSavingTimeEnabled;
|
|
110
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
111
|
+
resourceInputs["hybridDeploymentAgentId"] = state?.hybridDeploymentAgentId;
|
|
112
|
+
resourceInputs["networkingMethod"] = state?.networkingMethod;
|
|
113
|
+
resourceInputs["privateLinkId"] = state?.privateLinkId;
|
|
114
|
+
resourceInputs["proxyAgentId"] = state?.proxyAgentId;
|
|
115
|
+
resourceInputs["region"] = state?.region;
|
|
116
|
+
resourceInputs["runSetupTests"] = state?.runSetupTests;
|
|
117
|
+
resourceInputs["service"] = state?.service;
|
|
118
|
+
resourceInputs["setupStatus"] = state?.setupStatus;
|
|
119
|
+
resourceInputs["timeZoneOffset"] = state?.timeZoneOffset;
|
|
120
|
+
resourceInputs["trustCertificates"] = state?.trustCertificates;
|
|
121
|
+
resourceInputs["trustFingerprints"] = state?.trustFingerprints;
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
const args = argsOrState;
|
|
125
|
+
if (args?.config === undefined && !opts.urn) {
|
|
126
|
+
throw new Error("Missing required property 'config'");
|
|
127
|
+
}
|
|
128
|
+
if (args?.groupId === undefined && !opts.urn) {
|
|
129
|
+
throw new Error("Missing required property 'groupId'");
|
|
130
|
+
}
|
|
131
|
+
if (args?.service === undefined && !opts.urn) {
|
|
132
|
+
throw new Error("Missing required property 'service'");
|
|
133
|
+
}
|
|
134
|
+
if (args?.timeZoneOffset === undefined && !opts.urn) {
|
|
135
|
+
throw new Error("Missing required property 'timeZoneOffset'");
|
|
136
|
+
}
|
|
137
|
+
resourceInputs["config"] = args?.config;
|
|
138
|
+
resourceInputs["configSecrets"] = args?.configSecrets ? pulumi.secret(args.configSecrets) : undefined;
|
|
139
|
+
resourceInputs["configSecretsVersion"] = args?.configSecretsVersion;
|
|
140
|
+
resourceInputs["daylightSavingTimeEnabled"] = args?.daylightSavingTimeEnabled;
|
|
141
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
142
|
+
resourceInputs["hybridDeploymentAgentId"] = args?.hybridDeploymentAgentId;
|
|
143
|
+
resourceInputs["networkingMethod"] = args?.networkingMethod;
|
|
144
|
+
resourceInputs["privateLinkId"] = args?.privateLinkId;
|
|
145
|
+
resourceInputs["proxyAgentId"] = args?.proxyAgentId;
|
|
146
|
+
resourceInputs["region"] = args?.region;
|
|
147
|
+
resourceInputs["runSetupTests"] = args?.runSetupTests;
|
|
148
|
+
resourceInputs["service"] = args?.service;
|
|
149
|
+
resourceInputs["timeZoneOffset"] = args?.timeZoneOffset;
|
|
150
|
+
resourceInputs["trustCertificates"] = args?.trustCertificates;
|
|
151
|
+
resourceInputs["trustFingerprints"] = args?.trustFingerprints;
|
|
152
|
+
resourceInputs["setupStatus"] = undefined /*out*/;
|
|
153
|
+
}
|
|
154
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
155
|
+
const secretOpts = { additionalSecretOutputs: ["configSecrets"] };
|
|
156
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
157
|
+
super(DestinationV2.__pulumiType, name, resourceInputs, opts);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.DestinationV2 = DestinationV2;
|
|
161
|
+
//# sourceMappingURL=destinationV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"destinationV2.js","sourceRoot":"","sources":["../destinationV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,4CAA4C,CAAC;IAEnF;;;OAGG;IACI,MAAM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C1E,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,EAAE,gBAAgB,CAAC;YAC5D,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,gBAAgB,CAAC,GAAG,IAAI,EAAE,cAAc,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,eAAe,CAAC,EAAE,CAAC;QAClE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,aAAa,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AA9JL,sCA+JC"}
|
package/getConnections.d.ts
CHANGED
|
@@ -5,6 +5,15 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This data source returns list of connection objects.
|
|
6
6
|
*
|
|
7
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 connection = fivetran.getConnections({
|
|
14
|
+
* id: "anonymous_mystery",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
export declare function getConnections(args?: GetConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectionsResult>;
|
|
10
19
|
/**
|
|
@@ -43,6 +52,15 @@ export interface GetConnectionsResult {
|
|
|
43
52
|
* This data source returns list of connection objects.
|
|
44
53
|
*
|
|
45
54
|
* ## Example Usage
|
|
55
|
+
*
|
|
56
|
+
* ```typescript
|
|
57
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
58
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
59
|
+
*
|
|
60
|
+
* const connection = fivetran.getConnections({
|
|
61
|
+
* id: "anonymous_mystery",
|
|
62
|
+
* });
|
|
63
|
+
* ```
|
|
46
64
|
*/
|
|
47
65
|
export declare function getConnectionsOutput(args?: GetConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectionsResult>;
|
|
48
66
|
/**
|
package/getConnections.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnections.d.ts","sourceRoot":"","sources":["../getConnections.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getConnections.d.ts","sourceRoot":"","sources":["../getConnections.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAQpH;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IAC/B,WAAW,CAAC,EAAE,MAAM,CAAC,wBAAwB,EAAE,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACjC,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,wBAAwB,EAAE,CAAC;IAC1D;;OAEG;IACH,QAAQ,CAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,CAAC;CAChC;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAQ5I;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,4BAA4B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC5F;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
|
package/getConnections.js
CHANGED
|
@@ -32,6 +32,15 @@ const utilities = __importStar(require("./utilities"));
|
|
|
32
32
|
* This data source returns list of connection objects.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
39
|
+
*
|
|
40
|
+
* const connection = fivetran.getConnections({
|
|
41
|
+
* id: "anonymous_mystery",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
35
44
|
*/
|
|
36
45
|
function getConnections(args, opts) {
|
|
37
46
|
args = args || {};
|
|
@@ -47,6 +56,15 @@ exports.getConnections = getConnections;
|
|
|
47
56
|
* This data source returns list of connection objects.
|
|
48
57
|
*
|
|
49
58
|
* ## Example Usage
|
|
59
|
+
*
|
|
60
|
+
* ```typescript
|
|
61
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
62
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
63
|
+
*
|
|
64
|
+
* const connection = fivetran.getConnections({
|
|
65
|
+
* id: "anonymous_mystery",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
50
68
|
*/
|
|
51
69
|
function getConnectionsOutput(args, opts) {
|
|
52
70
|
args = args || {};
|
package/getConnections.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnections.js","sourceRoot":"","sources":["../getConnections.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getConnections.js","sourceRoot":"","sources":["../getConnections.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC;AAmCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oDAQC"}
|
package/getConnectors.d.ts
CHANGED
|
@@ -5,6 +5,15 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This data source returns list of connector objects.
|
|
6
6
|
*
|
|
7
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 connector = fivetran.getConnectors({
|
|
14
|
+
* id: "anonymous_mystery",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
export declare function getConnectors(args?: GetConnectorsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorsResult>;
|
|
10
19
|
/**
|
|
@@ -27,6 +36,15 @@ export interface GetConnectorsResult {
|
|
|
27
36
|
* This data source returns list of connector objects.
|
|
28
37
|
*
|
|
29
38
|
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
43
|
+
*
|
|
44
|
+
* const connector = fivetran.getConnectors({
|
|
45
|
+
* id: "anonymous_mystery",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
30
48
|
*/
|
|
31
49
|
export declare function getConnectorsOutput(args?: GetConnectorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetConnectorsResult>;
|
|
32
50
|
/**
|
package/getConnectors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectors.d.ts","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getConnectors.d.ts","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAMjH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC,sBAAsB,EAAE,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,QAAQ,CAAC,UAAU,CAAC,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC;IACvD;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACvB;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mBAAmB,CAAC,CAMzI;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAC5F"}
|
package/getConnectors.js
CHANGED
|
@@ -32,6 +32,15 @@ const utilities = __importStar(require("./utilities"));
|
|
|
32
32
|
* This data source returns list of connector objects.
|
|
33
33
|
*
|
|
34
34
|
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
39
|
+
*
|
|
40
|
+
* const connector = fivetran.getConnectors({
|
|
41
|
+
* id: "anonymous_mystery",
|
|
42
|
+
* });
|
|
43
|
+
* ```
|
|
35
44
|
*/
|
|
36
45
|
function getConnectors(args, opts) {
|
|
37
46
|
args = args || {};
|
|
@@ -45,6 +54,15 @@ exports.getConnectors = getConnectors;
|
|
|
45
54
|
* This data source returns list of connector objects.
|
|
46
55
|
*
|
|
47
56
|
* ## Example Usage
|
|
57
|
+
*
|
|
58
|
+
* ```typescript
|
|
59
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
60
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
61
|
+
*
|
|
62
|
+
* const connector = fivetran.getConnectors({
|
|
63
|
+
* id: "anonymous_mystery",
|
|
64
|
+
* });
|
|
65
|
+
* ```
|
|
48
66
|
*/
|
|
49
67
|
function getConnectorsOutput(args, opts) {
|
|
50
68
|
args = args || {};
|
package/getConnectors.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getConnectors.js","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getConnectors.js","sourceRoot":"","sources":["../getConnectors.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AAmBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAAiC;IACjG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC"}
|
package/getDestinations.d.ts
CHANGED
|
@@ -5,6 +5,15 @@ import * as outputs from "./types/output";
|
|
|
5
5
|
* This data source returns list of destination objects.
|
|
6
6
|
*
|
|
7
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 dest = fivetran.getDestinations({
|
|
14
|
+
* id: "anonymous_mystery",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
export declare function getDestinations(args?: GetDestinationsArgs, opts?: pulumi.InvokeOptions): Promise<GetDestinationsResult>;
|
|
10
19
|
/**
|
|
@@ -27,6 +36,15 @@ export interface GetDestinationsResult {
|
|
|
27
36
|
* This data source returns list of destination objects.
|
|
28
37
|
*
|
|
29
38
|
* ## Example Usage
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
43
|
+
*
|
|
44
|
+
* const dest = fivetran.getDestinations({
|
|
45
|
+
* id: "anonymous_mystery",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
30
48
|
*/
|
|
31
49
|
export declare function getDestinationsOutput(args?: GetDestinationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDestinationsResult>;
|
|
32
50
|
/**
|
package/getDestinations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDestinations.d.ts","sourceRoot":"","sources":["../getDestinations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C
|
|
1
|
+
{"version":3,"file":"getDestinations.d.ts","sourceRoot":"","sources":["../getDestinations.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;;;;;;;;;;;;GAaG;AACH,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAMvH;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC,YAAY,CAAC,EAAE,MAAM,CAAC,0BAA0B,EAAE,CAAC;CACtD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC,0BAA0B,EAAE,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,EAAE,EAAE,MAAM,CAAC;CACvB;AACD;;;;;;;;;;;;;GAaG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAM/I;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,8BAA8B,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CAClG"}
|