@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
package/getGroup.js
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
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.getGroupOutput = exports.getGroup = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a group 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 myGroup = fivetran.getGroup({
|
|
18
|
+
* id: "anonymous_mystery",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroup(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getGroup:getGroup", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getGroup = getGroup;
|
|
29
|
+
/**
|
|
30
|
+
* This data source returns a group object.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
37
|
+
*
|
|
38
|
+
* const myGroup = fivetran.getGroup({
|
|
39
|
+
* id: "anonymous_mystery",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getGroupOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getGroup(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getGroupOutput = getGroupOutput;
|
|
47
|
+
//# sourceMappingURL=getGroup.js.map
|
package/getGroup.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAiCD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
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 information about all connectors within a group in your Fivetran account.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const groupConnectors = fivetran.getGroupConnectors({
|
|
14
|
+
* id: "anonymous_mystery",
|
|
15
|
+
* schema: "connector_schema_name",
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export declare function getGroupConnectors(args: GetGroupConnectorsArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupConnectorsResult>;
|
|
20
|
+
/**
|
|
21
|
+
* A collection of arguments for invoking getGroupConnectors.
|
|
22
|
+
*/
|
|
23
|
+
export interface GetGroupConnectorsArgs {
|
|
24
|
+
connectors?: inputs.GetGroupConnectorsConnector[];
|
|
25
|
+
/**
|
|
26
|
+
* The ID of this resource.
|
|
27
|
+
*/
|
|
28
|
+
id: string;
|
|
29
|
+
/**
|
|
30
|
+
* Optional filter. When defined, the data source will only contain information for the connector with the specified schema name.
|
|
31
|
+
*/
|
|
32
|
+
schema?: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* A collection of values returned by getGroupConnectors.
|
|
36
|
+
*/
|
|
37
|
+
export interface GetGroupConnectorsResult {
|
|
38
|
+
readonly connectors?: outputs.GetGroupConnectorsConnector[];
|
|
39
|
+
/**
|
|
40
|
+
* The ID of this resource.
|
|
41
|
+
*/
|
|
42
|
+
readonly id: string;
|
|
43
|
+
/**
|
|
44
|
+
* Optional filter. When defined, the data source will only contain information for the connector with the specified schema name.
|
|
45
|
+
*/
|
|
46
|
+
readonly schema?: string;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* This data source returns a list of information about all connectors within a group in your Fivetran account.
|
|
50
|
+
*
|
|
51
|
+
* ## Example Usage
|
|
52
|
+
*
|
|
53
|
+
* ```typescript
|
|
54
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
55
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
56
|
+
*
|
|
57
|
+
* const groupConnectors = fivetran.getGroupConnectors({
|
|
58
|
+
* id: "anonymous_mystery",
|
|
59
|
+
* schema: "connector_schema_name",
|
|
60
|
+
* });
|
|
61
|
+
* ```
|
|
62
|
+
*/
|
|
63
|
+
export declare function getGroupConnectorsOutput(args: GetGroupConnectorsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupConnectorsResult>;
|
|
64
|
+
/**
|
|
65
|
+
* A collection of arguments for invoking getGroupConnectors.
|
|
66
|
+
*/
|
|
67
|
+
export interface GetGroupConnectorsOutputArgs {
|
|
68
|
+
connectors?: pulumi.Input<pulumi.Input<inputs.GetGroupConnectorsConnectorArgs>[]>;
|
|
69
|
+
/**
|
|
70
|
+
* The ID of this resource.
|
|
71
|
+
*/
|
|
72
|
+
id: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* Optional filter. When defined, the data source will only contain information for the connector with the specified schema name.
|
|
75
|
+
*/
|
|
76
|
+
schema?: pulumi.Input<string>;
|
|
77
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
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.getGroupConnectorsOutput = exports.getGroupConnectors = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of information about all connectors within a group in 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 groupConnectors = fivetran.getGroupConnectors({
|
|
18
|
+
* id: "anonymous_mystery",
|
|
19
|
+
* schema: "connector_schema_name",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getGroupConnectors(args, opts) {
|
|
24
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
25
|
+
return pulumi.runtime.invoke("fivetran:index/getGroupConnectors:getGroupConnectors", {
|
|
26
|
+
"connectors": args.connectors,
|
|
27
|
+
"id": args.id,
|
|
28
|
+
"schema": args.schema,
|
|
29
|
+
}, opts);
|
|
30
|
+
}
|
|
31
|
+
exports.getGroupConnectors = getGroupConnectors;
|
|
32
|
+
/**
|
|
33
|
+
* This data source returns a list of information about all connectors within a group in your Fivetran account.
|
|
34
|
+
*
|
|
35
|
+
* ## Example Usage
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
40
|
+
*
|
|
41
|
+
* const groupConnectors = fivetran.getGroupConnectors({
|
|
42
|
+
* id: "anonymous_mystery",
|
|
43
|
+
* schema: "connector_schema_name",
|
|
44
|
+
* });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
function getGroupConnectorsOutput(args, opts) {
|
|
48
|
+
return pulumi.output(args).apply((a) => getGroupConnectors(a, opts));
|
|
49
|
+
}
|
|
50
|
+
exports.getGroupConnectorsOutput = getGroupConnectorsOutput;
|
|
51
|
+
//# sourceMappingURL=getGroupConnectors.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupConnectors.js","sourceRoot":"","sources":["../getGroupConnectors.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IAExF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sDAAsD,EAAE;QACjF,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7E,CAAC;AAFD,4DAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source returns Fivetran service account associated with the group.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
10
|
+
*
|
|
11
|
+
* const myGroupServiceAccount = fivetran.getGroupServiceAccount({
|
|
12
|
+
* id: "group_id",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGroupServiceAccount(args: GetGroupServiceAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupServiceAccountResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGroupServiceAccount.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGroupServiceAccountArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The unique identifier for the group within the Fivetran system.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getGroupServiceAccount.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetGroupServiceAccountResult {
|
|
30
|
+
/**
|
|
31
|
+
* The unique identifier for the group within the Fivetran system.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* Fivetran service account associated with the group.
|
|
36
|
+
*/
|
|
37
|
+
readonly serviceAccount: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This data source returns Fivetran service account associated with the group.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
47
|
+
*
|
|
48
|
+
* const myGroupServiceAccount = fivetran.getGroupServiceAccount({
|
|
49
|
+
* id: "group_id",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getGroupServiceAccountOutput(args: GetGroupServiceAccountOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupServiceAccountResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getGroupServiceAccount.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetGroupServiceAccountOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier for the group within the Fivetran system.
|
|
60
|
+
*/
|
|
61
|
+
id: pulumi.Input<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.getGroupServiceAccountOutput = exports.getGroupServiceAccount = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns Fivetran service account associated with the group.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const myGroupServiceAccount = fivetran.getGroupServiceAccount({
|
|
18
|
+
* id: "group_id",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroupServiceAccount(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getGroupServiceAccount:getGroupServiceAccount", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getGroupServiceAccount = getGroupServiceAccount;
|
|
29
|
+
/**
|
|
30
|
+
* This data source returns Fivetran service account associated with the group.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
37
|
+
*
|
|
38
|
+
* const myGroupServiceAccount = fivetran.getGroupServiceAccount({
|
|
39
|
+
* id: "group_id",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getGroupServiceAccountOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getGroupServiceAccount(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getGroupServiceAccountOutput = getGroupServiceAccountOutput;
|
|
47
|
+
//# sourceMappingURL=getGroupServiceAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupServiceAccount.js","sourceRoot":"","sources":["../getGroupServiceAccount.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAyBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source returns public key from SSH key pair associated with the group.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
10
|
+
*
|
|
11
|
+
* const myGroupPublicKey = fivetran.getGroupSshKey({
|
|
12
|
+
* id: "group_id",
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGroupSshKey(args: GetGroupSshKeyArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupSshKeyResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGroupSshKey.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGroupSshKeyArgs {
|
|
21
|
+
/**
|
|
22
|
+
* The unique identifier for the group within the Fivetran system.
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* A collection of values returned by getGroupSshKey.
|
|
28
|
+
*/
|
|
29
|
+
export interface GetGroupSshKeyResult {
|
|
30
|
+
/**
|
|
31
|
+
* The unique identifier for the group within the Fivetran system.
|
|
32
|
+
*/
|
|
33
|
+
readonly id: string;
|
|
34
|
+
/**
|
|
35
|
+
* Public key from SSH key pair associated with the group.
|
|
36
|
+
*/
|
|
37
|
+
readonly publicKey: string;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This data source returns public key from SSH key pair associated with the group.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
47
|
+
*
|
|
48
|
+
* const myGroupPublicKey = fivetran.getGroupSshKey({
|
|
49
|
+
* id: "group_id",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getGroupSshKeyOutput(args: GetGroupSshKeyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupSshKeyResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getGroupSshKey.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetGroupSshKeyOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier for the group within the Fivetran system.
|
|
60
|
+
*/
|
|
61
|
+
id: pulumi.Input<string>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.getGroupSshKeyOutput = exports.getGroupSshKey = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns public key from SSH key pair associated with the group.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const myGroupPublicKey = fivetran.getGroupSshKey({
|
|
18
|
+
* id: "group_id",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroupSshKey(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getGroupSshKey:getGroupSshKey", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
}, opts);
|
|
27
|
+
}
|
|
28
|
+
exports.getGroupSshKey = getGroupSshKey;
|
|
29
|
+
/**
|
|
30
|
+
* This data source returns public key from SSH key pair associated with the group.
|
|
31
|
+
*
|
|
32
|
+
* ## Example Usage
|
|
33
|
+
*
|
|
34
|
+
* ```typescript
|
|
35
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
36
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
37
|
+
*
|
|
38
|
+
* const myGroupPublicKey = fivetran.getGroupSshKey({
|
|
39
|
+
* id: "group_id",
|
|
40
|
+
* });
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
function getGroupSshKeyOutput(args, opts) {
|
|
44
|
+
return pulumi.output(args).apply((a) => getGroupSshKey(a, opts));
|
|
45
|
+
}
|
|
46
|
+
exports.getGroupSshKeyOutput = getGroupSshKeyOutput;
|
|
47
|
+
//# sourceMappingURL=getGroupSshKey.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupSshKey.js","sourceRoot":"","sources":["../getGroupSshKey.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,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,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAyBD;;;;;;;;;;;;;GAaG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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 information about all users within a group in your Fivetran account.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const groupUsers = fivetran.getGroupUsers({
|
|
14
|
+
* id: "anonymous_mystery",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function getGroupUsers(args: GetGroupUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupUsersResult>;
|
|
19
|
+
/**
|
|
20
|
+
* A collection of arguments for invoking getGroupUsers.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetGroupUsersArgs {
|
|
23
|
+
/**
|
|
24
|
+
* The unique identifier for the group within the Fivetran system. Data-source will represent a set of users who has membership in this group.
|
|
25
|
+
*/
|
|
26
|
+
id: string;
|
|
27
|
+
users?: inputs.GetGroupUsersUser[];
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* A collection of values returned by getGroupUsers.
|
|
31
|
+
*/
|
|
32
|
+
export interface GetGroupUsersResult {
|
|
33
|
+
/**
|
|
34
|
+
* The unique identifier for the group within the Fivetran system. Data-source will represent a set of users who has membership in this group.
|
|
35
|
+
*/
|
|
36
|
+
readonly id: string;
|
|
37
|
+
readonly users?: outputs.GetGroupUsersUser[];
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* This data source returns a list of information about all users within a group in your Fivetran account.
|
|
41
|
+
*
|
|
42
|
+
* ## Example Usage
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
47
|
+
*
|
|
48
|
+
* const groupUsers = fivetran.getGroupUsers({
|
|
49
|
+
* id: "anonymous_mystery",
|
|
50
|
+
* });
|
|
51
|
+
* ```
|
|
52
|
+
*/
|
|
53
|
+
export declare function getGroupUsersOutput(args: GetGroupUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupUsersResult>;
|
|
54
|
+
/**
|
|
55
|
+
* A collection of arguments for invoking getGroupUsers.
|
|
56
|
+
*/
|
|
57
|
+
export interface GetGroupUsersOutputArgs {
|
|
58
|
+
/**
|
|
59
|
+
* The unique identifier for the group within the Fivetran system. Data-source will represent a set of users who has membership in this group.
|
|
60
|
+
*/
|
|
61
|
+
id: pulumi.Input<string>;
|
|
62
|
+
users?: pulumi.Input<pulumi.Input<inputs.GetGroupUsersUserArgs>[]>;
|
|
63
|
+
}
|
package/getGroupUsers.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.getGroupUsersOutput = exports.getGroupUsers = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of information about all users within a group in 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 groupUsers = fivetran.getGroupUsers({
|
|
18
|
+
* id: "anonymous_mystery",
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
function getGroupUsers(args, opts) {
|
|
23
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
24
|
+
return pulumi.runtime.invoke("fivetran:index/getGroupUsers:getGroupUsers", {
|
|
25
|
+
"id": args.id,
|
|
26
|
+
"users": args.users,
|
|
27
|
+
}, opts);
|
|
28
|
+
}
|
|
29
|
+
exports.getGroupUsers = getGroupUsers;
|
|
30
|
+
/**
|
|
31
|
+
* This data source returns a list of information about all users within a group in your Fivetran account.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* ```typescript
|
|
36
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
37
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
38
|
+
*
|
|
39
|
+
* const groupUsers = fivetran.getGroupUsers({
|
|
40
|
+
* id: "anonymous_mystery",
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
function getGroupUsersOutput(args, opts) {
|
|
45
|
+
return pulumi.output(args).apply((a) => getGroupUsers(a, opts));
|
|
46
|
+
}
|
|
47
|
+
exports.getGroupUsersOutput = getGroupUsersOutput;
|
|
48
|
+
//# sourceMappingURL=getGroupUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroupUsers.js","sourceRoot":"","sources":["../getGroupUsers.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,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAuBD;;;;;;;;;;;;;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"}
|
package/getGroups.d.ts
ADDED
|
@@ -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 a list of all groups within your Fivetran account.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
12
|
+
*
|
|
13
|
+
* const all = fivetran.getGroups({});
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export declare function getGroups(args?: GetGroupsArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupsResult>;
|
|
17
|
+
/**
|
|
18
|
+
* A collection of arguments for invoking getGroups.
|
|
19
|
+
*/
|
|
20
|
+
export interface GetGroupsArgs {
|
|
21
|
+
groups?: inputs.GetGroupsGroup[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* A collection of values returned by getGroups.
|
|
25
|
+
*/
|
|
26
|
+
export interface GetGroupsResult {
|
|
27
|
+
readonly groups?: outputs.GetGroupsGroup[];
|
|
28
|
+
/**
|
|
29
|
+
* The ID of this resource.
|
|
30
|
+
*/
|
|
31
|
+
readonly id: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* This data source returns a list of all groups within your Fivetran account.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
41
|
+
*
|
|
42
|
+
* const all = fivetran.getGroups({});
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare function getGroupsOutput(args?: GetGroupsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupsResult>;
|
|
46
|
+
/**
|
|
47
|
+
* A collection of arguments for invoking getGroups.
|
|
48
|
+
*/
|
|
49
|
+
export interface GetGroupsOutputArgs {
|
|
50
|
+
groups?: pulumi.Input<pulumi.Input<inputs.GetGroupsGroupArgs>[]>;
|
|
51
|
+
}
|
package/getGroups.js
ADDED
|
@@ -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.getGroupsOutput = exports.getGroups = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source returns a list of all groups 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 all = fivetran.getGroups({});
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
function getGroups(args, opts) {
|
|
21
|
+
args = args || {};
|
|
22
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
23
|
+
return pulumi.runtime.invoke("fivetran:index/getGroups:getGroups", {
|
|
24
|
+
"groups": args.groups,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.getGroups = getGroups;
|
|
28
|
+
/**
|
|
29
|
+
* This data source returns a list of all groups within your Fivetran account.
|
|
30
|
+
*
|
|
31
|
+
* ## Example Usage
|
|
32
|
+
*
|
|
33
|
+
* ```typescript
|
|
34
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
35
|
+
* import * as fivetran from "@pulumi/fivetran";
|
|
36
|
+
*
|
|
37
|
+
* const all = fivetran.getGroups({});
|
|
38
|
+
* ```
|
|
39
|
+
*/
|
|
40
|
+
function getGroupsOutput(args, opts) {
|
|
41
|
+
return pulumi.output(args).apply((a) => getGroups(a, opts));
|
|
42
|
+
}
|
|
43
|
+
exports.getGroupsOutput = getGroupsOutput;
|
|
44
|
+
//# sourceMappingURL=getGroups.js.map
|
package/getGroups.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getGroups.js","sourceRoot":"","sources":["../getGroups.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,SAAS,CAAC,IAAoB,EAAE,IAA2B;IACvE,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,oCAAoC,EAAE;QAC/D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAmBD;;;;;;;;;;;GAWG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
|