@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.
- package/LICENSE +202 -0
- package/README.md +56 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +3 -0
- package/config/vars.js +28 -0
- package/config/vars.js.map +1 -0
- package/connector.d.ts +192 -0
- package/connector.js +88 -0
- package/connector.js.map +1 -0
- package/connectorCertificates.d.ts +53 -0
- package/connectorCertificates.js +54 -0
- package/connectorCertificates.js.map +1 -0
- package/connectorFingerprints.d.ts +103 -0
- package/connectorFingerprints.js +104 -0
- package/connectorFingerprints.js.map +1 -0
- package/connectorSchedule.d.ts +169 -0
- package/connectorSchedule.js +123 -0
- package/connectorSchedule.js.map +1 -0
- package/connectorSchemaConfig.d.ts +130 -0
- package/connectorSchemaConfig.js +72 -0
- package/connectorSchemaConfig.js.map +1 -0
- package/dbtProject.d.ts +205 -0
- package/dbtProject.js +117 -0
- package/dbtProject.js.map +1 -0
- package/dbtTransformation.d.ts +162 -0
- package/dbtTransformation.js +105 -0
- package/dbtTransformation.js.map +1 -0
- package/destination.d.ts +216 -0
- package/destination.js +114 -0
- package/destination.js.map +1 -0
- package/destinationCertificates.d.ts +53 -0
- package/destinationCertificates.js +54 -0
- package/destinationCertificates.js.map +1 -0
- package/destinationFingerprints.d.ts +103 -0
- package/destinationFingerprints.js +104 -0
- package/destinationFingerprints.js.map +1 -0
- package/externalLogging.d.ts +118 -0
- package/externalLogging.js +92 -0
- package/externalLogging.js.map +1 -0
- package/getConnector.d.ts +76 -0
- package/getConnector.js +50 -0
- package/getConnector.js.map +1 -0
- package/getConnectorCertificates.d.ts +39 -0
- package/getConnectorCertificates.js +20 -0
- package/getConnectorCertificates.js.map +1 -0
- package/getConnectorFingerprints.d.ts +67 -0
- package/getConnectorFingerprints.js +48 -0
- package/getConnectorFingerprints.js.map +1 -0
- package/getConnectorsMetadata.d.ts +51 -0
- package/getConnectorsMetadata.js +44 -0
- package/getConnectorsMetadata.js.map +1 -0
- package/getDbtModels.d.ts +67 -0
- package/getDbtModels.js +48 -0
- package/getDbtModels.js.map +1 -0
- package/getDbtProject.d.ts +112 -0
- package/getDbtProject.js +48 -0
- package/getDbtProject.js.map +1 -0
- package/getDbtProjects.d.ts +38 -0
- package/getDbtProjects.js +41 -0
- package/getDbtProjects.js.map +1 -0
- package/getDbtTransformation.d.ts +99 -0
- package/getDbtTransformation.js +48 -0
- package/getDbtTransformation.js.map +1 -0
- package/getDestination.d.ts +62 -0
- package/getDestination.js +48 -0
- package/getDestination.js.map +1 -0
- package/getDestinationCertificates.d.ts +39 -0
- package/getDestinationCertificates.js +20 -0
- package/getDestinationCertificates.js.map +1 -0
- package/getDestinationFingerprints.d.ts +67 -0
- package/getDestinationFingerprints.js +48 -0
- package/getDestinationFingerprints.js.map +1 -0
- package/getExternalLogging.d.ts +87 -0
- package/getExternalLogging.js +49 -0
- package/getExternalLogging.js.map +1 -0
- package/getGroup.d.ts +70 -0
- package/getGroup.js +47 -0
- package/getGroup.js.map +1 -0
- package/getGroupConnectors.d.ts +77 -0
- package/getGroupConnectors.js +51 -0
- package/getGroupConnectors.js.map +1 -0
- package/getGroupServiceAccount.d.ts +62 -0
- package/getGroupServiceAccount.js +47 -0
- package/getGroupServiceAccount.js.map +1 -0
- package/getGroupSshKey.d.ts +62 -0
- package/getGroupSshKey.js +47 -0
- package/getGroupSshKey.js.map +1 -0
- package/getGroupUsers.d.ts +63 -0
- package/getGroupUsers.js +48 -0
- package/getGroupUsers.js.map +1 -0
- package/getGroups.d.ts +51 -0
- package/getGroups.js +44 -0
- package/getGroups.js.map +1 -0
- package/getLocalProcessingAgent.d.ts +72 -0
- package/getLocalProcessingAgent.js +47 -0
- package/getLocalProcessingAgent.js.map +1 -0
- package/getLocalProcessingAgents.d.ts +38 -0
- package/getLocalProcessingAgents.js +41 -0
- package/getLocalProcessingAgents.js.map +1 -0
- package/getProxyAgent.d.ts +82 -0
- package/getProxyAgent.js +47 -0
- package/getProxyAgent.js.map +1 -0
- package/getProxyAgents.d.ts +51 -0
- package/getProxyAgents.js +44 -0
- package/getProxyAgents.js.map +1 -0
- package/getRoles.d.ts +51 -0
- package/getRoles.js +44 -0
- package/getRoles.js.map +1 -0
- package/getTeam.d.ts +70 -0
- package/getTeam.js +47 -0
- package/getTeam.js.map +1 -0
- package/getTeamConnectorMemberships.d.ts +45 -0
- package/getTeamConnectorMemberships.js +26 -0
- package/getTeamConnectorMemberships.js.map +1 -0
- package/getTeamGroupMemberships.d.ts +67 -0
- package/getTeamGroupMemberships.js +48 -0
- package/getTeamGroupMemberships.js.map +1 -0
- package/getTeamUserMemberships.d.ts +67 -0
- package/getTeamUserMemberships.js +48 -0
- package/getTeamUserMemberships.js.map +1 -0
- package/getTeams.d.ts +59 -0
- package/getTeams.js +45 -0
- package/getTeams.js.map +1 -0
- package/getUser.d.ts +98 -0
- package/getUser.js +47 -0
- package/getUser.js.map +1 -0
- package/getUserConnectorMemberships.d.ts +67 -0
- package/getUserConnectorMemberships.js +48 -0
- package/getUserConnectorMemberships.js.map +1 -0
- package/getUserGroupMemberships.d.ts +67 -0
- package/getUserGroupMemberships.js +48 -0
- package/getUserGroupMemberships.js.map +1 -0
- package/getUsers.d.ts +59 -0
- package/getUsers.js +45 -0
- package/getUsers.js.map +1 -0
- package/getWebhook.d.ts +94 -0
- package/getWebhook.js +47 -0
- package/getWebhook.js.map +1 -0
- package/getWebhooks.d.ts +38 -0
- package/getWebhooks.js +41 -0
- package/getWebhooks.js.map +1 -0
- package/group.d.ts +102 -0
- package/group.js +91 -0
- package/group.js.map +1 -0
- package/groupUsers.d.ts +79 -0
- package/groupUsers.js +80 -0
- package/groupUsers.js.map +1 -0
- package/index.d.ts +177 -0
- package/index.js +251 -0
- package/index.js.map +1 -0
- package/localProcessingAgent.d.ts +125 -0
- package/localProcessingAgent.js +86 -0
- package/localProcessingAgent.js.map +1 -0
- package/package.json +29 -0
- package/package.json.bak +29 -0
- package/provider.d.ts +33 -0
- package/provider.js +50 -0
- package/provider.js.map +1 -0
- package/proxyAgent.d.ts +117 -0
- package/proxyAgent.js +84 -0
- package/proxyAgent.js.map +1 -0
- package/team.d.ts +115 -0
- package/team.js +99 -0
- package/team.js.map +1 -0
- package/teamConnectorMembership.d.ts +107 -0
- package/teamConnectorMembership.js +108 -0
- package/teamConnectorMembership.js.map +1 -0
- package/teamGroupMembership.d.ts +82 -0
- package/teamGroupMembership.js +83 -0
- package/teamGroupMembership.js.map +1 -0
- package/teamUserMembership.d.ts +105 -0
- package/teamUserMembership.js +106 -0
- package/teamUserMembership.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +18230 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +12255 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +191 -0
- package/user.js +119 -0
- package/user.js.map +1 -0
- package/userConnectorMembership.d.ts +107 -0
- package/userConnectorMembership.js +108 -0
- package/userConnectorMembership.js.map +1 -0
- package/userGroupMembership.d.ts +82 -0
- package/userGroupMembership.js +83 -0
- package/userGroupMembership.js.map +1 -0
- package/utilities.d.ts +8 -0
- package/utilities.js +101 -0
- package/utilities.js.map +1 -0
- package/webhook.d.ts +165 -0
- package/webhook.js +111 -0
- package/webhook.js.map +1 -0
|
@@ -0,0 +1,20 @@
|
|
|
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.getConnectorCertificatesOutput = exports.getConnectorCertificates = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function getConnectorCertificates(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("fivetran:index/getConnectorCertificates:getConnectorCertificates", {
|
|
11
|
+
"certificates": args.certificates,
|
|
12
|
+
"id": args.id,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.getConnectorCertificates = getConnectorCertificates;
|
|
16
|
+
function getConnectorCertificatesOutput(args, opts) {
|
|
17
|
+
return pulumi.output(args).apply((a) => getConnectorCertificates(a, opts));
|
|
18
|
+
}
|
|
19
|
+
exports.getConnectorCertificatesOutput = getConnectorCertificatesOutput;
|
|
20
|
+
//# sourceMappingURL=getConnectorCertificates.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectorCertificates.js","sourceRoot":"","sources":["../getConnectorCertificates.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC;AA2BD,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 list of SSH fingerprints approved for specified connector.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const connectorFingerprints = fivetran.getConnectorFingerprints({
|
|
14
|
+
* id: "connector_id",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getConnectorFingerprints(args: GetConnectorFingerprintsArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorFingerprintsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getConnectorFingerprints.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetConnectorFingerprintsArgs {
|
|
23
|
+
fingerprints?: inputs.GetConnectorFingerprintsFingerprint[];
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier for the resource. Equal to target connection id.
|
|
26
|
+
*/
|
|
27
|
+
id: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getConnectorFingerprints.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetConnectorFingerprintsResult {
|
|
33
|
+
/**
|
|
34
|
+
* The unique identifier for the target connection within the Fivetran system.
|
|
35
|
+
*/
|
|
36
|
+
readonly connectorId: string;
|
|
37
|
+
readonly fingerprints?: outputs.GetConnectorFingerprintsFingerprint[];
|
|
38
|
+
/**
|
|
39
|
+
* The unique identifier for the resource. Equal to target connection id.
|
|
40
|
+
*/
|
|
41
|
+
readonly id: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* This data source returns a list of SSH fingerprints approved for specified connector.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
51
|
+
*
|
|
52
|
+
* const connectorFingerprints = fivetran.getConnectorFingerprints({
|
|
53
|
+
* id: "connector_id",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function getConnectorFingerprintsOutput(args: GetConnectorFingerprintsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectorFingerprintsResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getConnectorFingerprints.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetConnectorFingerprintsOutputArgs {
|
|
62
|
+
fingerprints?: pulumi.Input<pulumi.Input<inputs.GetConnectorFingerprintsFingerprintArgs>[]>;
|
|
63
|
+
/**
|
|
64
|
+
* The unique identifier for the resource. Equal to target connection id.
|
|
65
|
+
*/
|
|
66
|
+
id: pulumi.Input<string>;
|
|
67
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.getConnectorFingerprintsOutput = exports.getConnectorFingerprints = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of SSH fingerprints approved for specified connector.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const connectorFingerprints = fivetran.getConnectorFingerprints({
|
|
18
|
+
* id: "connector_id",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getConnectorFingerprints(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getConnectorFingerprints:getConnectorFingerprints", {
|
|
25
|
+
"fingerprints": args.fingerprints,
|
|
26
|
+
"id": args.id,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getConnectorFingerprints = getConnectorFingerprints;
|
|
30
|
+
/**
|
|
31
|
+
* This data source returns a list of SSH fingerprints approved for specified connector.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
38
|
+
*
|
|
39
|
+
* const connectorFingerprints = fivetran.getConnectorFingerprints({
|
|
40
|
+
* id: "connector_id",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getConnectorFingerprintsOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => getConnectorFingerprints(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getConnectorFingerprintsOutput = getConnectorFingerprintsOutput;
|
|
48
|
+
//# sourceMappingURL=getConnectorFingerprints.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectorFingerprints.js","sourceRoot":"","sources":["../getConnectorFingerprints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kEAAkE,EAAE;QAC7F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC;AA2BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -0,0 +1,51 @@
|
|
|
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 all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const sources = fivetran.getConnectorsMetadata({});
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getConnectorsMetadata(args?: GetConnectorsMetadataArgs, opts?: pulumi.InvokeOptions): Promise<GetConnectorsMetadataResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getConnectorsMetadata.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetConnectorsMetadataArgs {
|
|
21
|
+
sources?: inputs.GetConnectorsMetadataSource[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A collection of values returned by getConnectorsMetadata.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetConnectorsMetadataResult {
|
|
27
|
+
/**
|
|
28
|
+
* The ID of this resource.
|
|
29
|
+
*/
|
|
30
|
+
readonly id: string;
|
|
31
|
+
readonly sources?: outputs.GetConnectorsMetadataSource[];
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* This data source returns all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
41
|
+
*
|
|
42
|
+
* const sources = fivetran.getConnectorsMetadata({});
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare function getConnectorsMetadataOutput(args?: GetConnectorsMetadataOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetConnectorsMetadataResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getConnectorsMetadata.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetConnectorsMetadataOutputArgs {
|
|
50
|
+
sources?: pulumi.Input<pulumi.Input<inputs.GetConnectorsMetadataSourceArgs>[]>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.getConnectorsMetadataOutput = exports.getConnectorsMetadata = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const sources = fivetran.getConnectorsMetadata({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getConnectorsMetadata(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("fivetran:index/getConnectorsMetadata:getConnectorsMetadata", {
|
|
24
|
+
"sources": args.sources,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getConnectorsMetadata = getConnectorsMetadata;
|
|
28
|
+
/**
|
|
29
|
+
* This data source returns all available source types within your Fivetran account. This data source makes it easier to display Fivetran connectors within your application because it provides metadata including the proper source name (‘Facebook Ad Account’ instead of facebook_ad_account), the source icon, and links to Fivetran resources. As we update source names and icons, that metadata will automatically update within this endpoint.
|
|
30
|
+
*
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
36
|
+
*
|
|
37
|
+
* const sources = fivetran.getConnectorsMetadata({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getConnectorsMetadataOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply((a) => getConnectorsMetadata(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.getConnectorsMetadataOutput = getConnectorsMetadataOutput;
|
|
44
|
+
//# sourceMappingURL=getConnectorsMetadata.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getConnectorsMetadata.js","sourceRoot":"","sources":["../getConnectorsMetadata.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sDAOC;AAmBD;;;;;;;;;;;GAWG;AACH,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAA2B;IAC3G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 list of all dbt Models available for specified dbt Project id.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const myModels = fivetran.getDbtModels({
|
|
14
|
+
* projectId: "project_id",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDbtModels(args: GetDbtModelsArgs, opts?: pulumi.InvokeOptions): Promise<GetDbtModelsResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDbtModels.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDbtModelsArgs {
|
|
23
|
+
models?: inputs.GetDbtModelsModel[];
|
|
24
|
+
/**
|
|
25
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
26
|
+
*/
|
|
27
|
+
projectId: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDbtModels.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDbtModelsResult {
|
|
33
|
+
/**
|
|
34
|
+
* The ID of this datasource (equals to `projectId`).
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly models?: outputs.GetDbtModelsModel[];
|
|
38
|
+
/**
|
|
39
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
40
|
+
*/
|
|
41
|
+
readonly projectId: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* This data source returns a list of all dbt Models available for specified dbt Project id.
|
|
45
|
+
*
|
|
46
|
+
* ## Example Usage
|
|
47
|
+
*
|
|
48
|
+
* ```typescript
|
|
49
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
50
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
51
|
+
*
|
|
52
|
+
* const myModels = fivetran.getDbtModels({
|
|
53
|
+
* projectId: "project_id",
|
|
54
|
+
* });
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
export declare function getDbtModelsOutput(args: GetDbtModelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDbtModelsResult>;
|
|
58
|
+
/**
|
|
59
|
+
* A collection of arguments for invoking getDbtModels.
|
|
60
|
+
*/
|
|
61
|
+
export interface GetDbtModelsOutputArgs {
|
|
62
|
+
models?: pulumi.Input<pulumi.Input<inputs.GetDbtModelsModelArgs>[]>;
|
|
63
|
+
/**
|
|
64
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
65
|
+
*/
|
|
66
|
+
projectId: pulumi.Input<string>;
|
|
67
|
+
}
|
package/getDbtModels.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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.getDbtModelsOutput = exports.getDbtModels = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of all dbt Models available for specified dbt Project id.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const myModels = fivetran.getDbtModels({
|
|
18
|
+
* projectId: "project_id",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getDbtModels(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getDbtModels:getDbtModels", {
|
|
25
|
+
"models": args.models,
|
|
26
|
+
"projectId": args.projectId,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getDbtModels = getDbtModels;
|
|
30
|
+
/**
|
|
31
|
+
* This data source returns a list of all dbt Models available for specified dbt Project id.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
38
|
+
*
|
|
39
|
+
* const myModels = fivetran.getDbtModels({
|
|
40
|
+
* projectId: "project_id",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getDbtModelsOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => getDbtModels(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getDbtModelsOutput = getDbtModelsOutput;
|
|
48
|
+
//# sourceMappingURL=getDbtModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDbtModels.js","sourceRoot":"","sources":["../getDbtModels.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,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AA2BD;;;;;;;;;;;;;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,112 @@
|
|
|
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 dbt Project 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 project = fivetran.getDbtProject({
|
|
14
|
+
* id: "project_id",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getDbtProject(args: GetDbtProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetDbtProjectResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getDbtProject.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDbtProjectArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
projectConfig?: inputs.GetDbtProjectProjectConfig;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getDbtProject.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetDbtProjectResult {
|
|
33
|
+
/**
|
|
34
|
+
* The timestamp of the dbt Project creation.
|
|
35
|
+
*/
|
|
36
|
+
readonly createdAt: string;
|
|
37
|
+
/**
|
|
38
|
+
* The unique identifier for the User within the Fivetran system who created the dbt Project.
|
|
39
|
+
*/
|
|
40
|
+
readonly createdById: string;
|
|
41
|
+
/**
|
|
42
|
+
* The version of dbt that should run the project. We support the following versions: 0.18.0 - 0.18.2, 0.19.0 - 0.19.2, 0.20.0 - 0.20.2, 0.21.0 - 0.21.1, 1.0.0, 1.0.1, 1.0.3 - 1.0.9, 1.1.0 - 1.1.3, 1.2.0 - 1.2.4, 1.3.0 - 1.3.2, 1.4.1.
|
|
43
|
+
*/
|
|
44
|
+
readonly dbtVersion: string;
|
|
45
|
+
/**
|
|
46
|
+
* Default schema in destination. This production schema will contain your transformed data.
|
|
47
|
+
*/
|
|
48
|
+
readonly defaultSchema: string;
|
|
49
|
+
/**
|
|
50
|
+
* Should resource wait for project to finish initialization. Default value: true.
|
|
51
|
+
*/
|
|
52
|
+
readonly ensureReadiness: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* List of environment variables defined as key-value pairs in the raw string format using = as a separator. The variable name should have the DBT_ prefix and can contain A-Z, 0-9, dash, underscore, or dot characters. Example: "DBT*VARIABLE=variable*value"
|
|
55
|
+
*/
|
|
56
|
+
readonly environmentVars: string[];
|
|
57
|
+
/**
|
|
58
|
+
* The unique identifier for the group within the Fivetran system.
|
|
59
|
+
*/
|
|
60
|
+
readonly groupId: string;
|
|
61
|
+
/**
|
|
62
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
63
|
+
*/
|
|
64
|
+
readonly id: string;
|
|
65
|
+
readonly models: outputs.GetDbtProjectModel[];
|
|
66
|
+
readonly projectConfig?: outputs.GetDbtProjectProjectConfig;
|
|
67
|
+
/**
|
|
68
|
+
* Public key to grant Fivetran SSH access to git repository.
|
|
69
|
+
*/
|
|
70
|
+
readonly publicKey: string;
|
|
71
|
+
/**
|
|
72
|
+
* Status of dbt Project (NOT_READY, READY, ERROR).
|
|
73
|
+
*/
|
|
74
|
+
readonly status: string;
|
|
75
|
+
/**
|
|
76
|
+
* Target name to set or override the value from the deployment.yaml
|
|
77
|
+
*/
|
|
78
|
+
readonly targetName: string;
|
|
79
|
+
/**
|
|
80
|
+
* The number of threads dbt will use (from 1 to 32). Make sure this value is compatible with your destination type. For example, Snowflake supports only 8 concurrent queries on an X-Small warehouse.
|
|
81
|
+
*/
|
|
82
|
+
readonly threads: number;
|
|
83
|
+
/**
|
|
84
|
+
* Type of dbt Project. Currently only `GIT` supported. Empty value will be considered as default (GIT).
|
|
85
|
+
*/
|
|
86
|
+
readonly type: string;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* This data source returns a dbt Project object.
|
|
90
|
+
*
|
|
91
|
+
* ## Example Usage
|
|
92
|
+
*
|
|
93
|
+
* ```typescript
|
|
94
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
95
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
96
|
+
*
|
|
97
|
+
* const project = fivetran.getDbtProject({
|
|
98
|
+
* id: "project_id",
|
|
99
|
+
* });
|
|
100
|
+
* ```
|
|
101
|
+
*/
|
|
102
|
+
export declare function getDbtProjectOutput(args: GetDbtProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDbtProjectResult>;
|
|
103
|
+
/**
|
|
104
|
+
* A collection of arguments for invoking getDbtProject.
|
|
105
|
+
*/
|
|
106
|
+
export interface GetDbtProjectOutputArgs {
|
|
107
|
+
/**
|
|
108
|
+
* The unique identifier for the dbt Project within the Fivetran system.
|
|
109
|
+
*/
|
|
110
|
+
id: pulumi.Input<string>;
|
|
111
|
+
projectConfig?: pulumi.Input<inputs.GetDbtProjectProjectConfigArgs>;
|
|
112
|
+
}
|
package/getDbtProject.js
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
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.getDbtProjectOutput = exports.getDbtProject = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a dbt Project 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 project = fivetran.getDbtProject({
|
|
18
|
+
* id: "project_id",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getDbtProject(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getDbtProject:getDbtProject", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
"projectConfig": args.projectConfig,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getDbtProject = getDbtProject;
|
|
30
|
+
/**
|
|
31
|
+
* This data source returns a dbt Project object.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
38
|
+
*
|
|
39
|
+
* const project = fivetran.getDbtProject({
|
|
40
|
+
* id: "project_id",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getDbtProjectOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => getDbtProject(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getDbtProjectOutput = getDbtProjectOutput;
|
|
48
|
+
//# sourceMappingURL=getDbtProject.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDbtProject.js","sourceRoot":"","sources":["../getDbtProject.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,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,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAwED;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source returns a list of all dbt Projects within your Fivetran account.
|
|
5
|
+
*
|
|
6
|
+
* ## Example Usage
|
|
7
|
+
*
|
|
8
|
+
* ```typescript
|
|
9
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
10
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
11
|
+
*
|
|
12
|
+
* const myProjects = fivetran.getDbtProjects({});
|
|
13
|
+
* ```
|
|
14
|
+
*/
|
|
15
|
+
export declare function getDbtProjects(opts?: pulumi.InvokeOptions): Promise<GetDbtProjectsResult>;
|
|
16
|
+
/**
|
|
17
|
+
* A collection of values returned by getDbtProjects.
|
|
18
|
+
*/
|
|
19
|
+
export interface GetDbtProjectsResult {
|
|
20
|
+
/**
|
|
21
|
+
* The provider-assigned unique ID for this managed resource.
|
|
22
|
+
*/
|
|
23
|
+
readonly id: string;
|
|
24
|
+
readonly projects: outputs.GetDbtProjectsProject[];
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* This data source returns a list of all dbt Projects within your Fivetran account.
|
|
28
|
+
*
|
|
29
|
+
* ## Example Usage
|
|
30
|
+
*
|
|
31
|
+
* ```typescript
|
|
32
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
33
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
34
|
+
*
|
|
35
|
+
* const myProjects = fivetran.getDbtProjects({});
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function getDbtProjectsOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetDbtProjectsResult>;
|
|
@@ -0,0 +1,41 @@
|
|
|
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.getDbtProjectsOutput = exports.getDbtProjects = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of all dbt Projects within your Fivetran account.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const myProjects = fivetran.getDbtProjects({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getDbtProjects(opts) {
|
|
21
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
22
|
+
return pulumi.runtime.invoke("fivetran:index/getDbtProjects:getDbtProjects", {}, opts);
|
|
23
|
+
}
|
|
24
|
+
exports.getDbtProjects = getDbtProjects;
|
|
25
|
+
/**
|
|
26
|
+
* This data source returns a list of all dbt Projects within your Fivetran account.
|
|
27
|
+
*
|
|
28
|
+
* ## Example Usage
|
|
29
|
+
*
|
|
30
|
+
* ```typescript
|
|
31
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
32
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
33
|
+
*
|
|
34
|
+
* const myProjects = fivetran.getDbtProjects({});
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
function getDbtProjectsOutput(opts) {
|
|
38
|
+
return pulumi.output(getDbtProjects(opts));
|
|
39
|
+
}
|
|
40
|
+
exports.getDbtProjectsOutput = getDbtProjectsOutput;
|
|
41
|
+
//# sourceMappingURL=getDbtProjects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDbtProjects.js","sourceRoot":"","sources":["../getDbtProjects.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,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,EAC5E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAYD;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
|