@ryan-pip/pulumi-fivetran 1.9.4 → 1.9.30
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/connection.d.ts +341 -0
- package/connection.d.ts.map +1 -0
- package/connection.js +239 -0
- package/connection.js.map +1 -0
- package/connectionConfig.d.ts +243 -0
- package/connectionConfig.d.ts.map +1 -0
- package/connectionConfig.js +219 -0
- package/connectionConfig.js.map +1 -0
- package/connector.d.ts +36 -34
- package/connector.d.ts.map +1 -1
- package/connector.js +2 -0
- package/connector.js.map +1 -1
- package/connectorCertificates.d.ts +3 -3
- package/connectorCertificates.d.ts.map +1 -1
- package/connectorFingerprints.d.ts +3 -3
- package/connectorFingerprints.d.ts.map +1 -1
- package/connectorSchedule.d.ts +54 -16
- package/connectorSchedule.d.ts.map +1 -1
- package/connectorSchedule.js +6 -3
- package/connectorSchedule.js.map +1 -1
- package/connectorSchemaConfig.d.ts +39 -15
- package/connectorSchemaConfig.d.ts.map +1 -1
- package/connectorSchemaConfig.js +4 -3
- package/connectorSchemaConfig.js.map +1 -1
- package/connectorSdkPackage.d.ts +107 -0
- package/connectorSdkPackage.d.ts.map +1 -0
- package/connectorSdkPackage.js +115 -0
- package/connectorSdkPackage.js.map +1 -0
- package/destination.d.ts +38 -26
- package/destination.d.ts.map +1 -1
- package/destination.js +2 -0
- package/destination.js.map +1 -1
- package/destinationCertificates.d.ts +3 -3
- package/destinationCertificates.d.ts.map +1 -1
- package/destinationFingerprints.d.ts +3 -3
- package/destinationFingerprints.d.ts.map +1 -1
- package/externalLogging.d.ts +8 -8
- package/externalLogging.d.ts.map +1 -1
- package/getConnection.d.ts +8 -8
- package/getConnection.d.ts.map +1 -1
- package/getConnectionCertificates.d.ts +1 -1
- package/getConnectionCertificates.d.ts.map +1 -1
- package/getConnectionFingerprints.d.ts +1 -1
- package/getConnectionFingerprints.d.ts.map +1 -1
- package/getConnections.d.ts +25 -1
- package/getConnections.d.ts.map +1 -1
- package/getConnections.js +4 -0
- package/getConnections.js.map +1 -1
- package/getConnector.d.ts +3 -3
- package/getConnector.d.ts.map +1 -1
- package/getConnectorCertificates.d.ts +1 -1
- package/getConnectorCertificates.d.ts.map +1 -1
- package/getConnectorFingerprints.d.ts +1 -1
- package/getConnectorFingerprints.d.ts.map +1 -1
- package/getConnectors.d.ts +1 -1
- package/getConnectors.d.ts.map +1 -1
- package/getConnectorsMetadata.d.ts +1 -1
- package/getConnectorsMetadata.d.ts.map +1 -1
- package/getDestination.d.ts +2 -1
- package/getDestination.d.ts.map +1 -1
- package/getDestination.js.map +1 -1
- package/getDestinationCertificates.d.ts +1 -1
- package/getDestinationCertificates.d.ts.map +1 -1
- package/getDestinationFingerprints.d.ts +1 -1
- package/getDestinationFingerprints.d.ts.map +1 -1
- package/getDestinations.d.ts +1 -1
- package/getDestinations.d.ts.map +1 -1
- package/getExternalLogging.d.ts +2 -2
- package/getExternalLogging.d.ts.map +1 -1
- package/getExternalLogs.d.ts +1 -1
- package/getExternalLogs.d.ts.map +1 -1
- package/getGroupConnections.d.ts +2 -2
- package/getGroupConnections.d.ts.map +1 -1
- package/getGroupConnectors.d.ts +2 -2
- package/getGroupConnectors.d.ts.map +1 -1
- package/getGroupUsers.d.ts +1 -1
- package/getGroupUsers.d.ts.map +1 -1
- package/getGroups.d.ts +1 -1
- package/getGroups.d.ts.map +1 -1
- package/getPrivateLinks.d.ts +1 -1
- package/getPrivateLinks.d.ts.map +1 -1
- package/getProxyAgents.d.ts +1 -1
- package/getProxyAgents.d.ts.map +1 -1
- package/getQuickstartPackage.d.ts +7 -0
- package/getQuickstartPackage.d.ts.map +1 -1
- package/getQuickstartPackage.js.map +1 -1
- package/getQuickstartPackages.d.ts +1 -1
- package/getQuickstartPackages.d.ts.map +1 -1
- package/getRoles.d.ts +1 -1
- package/getRoles.d.ts.map +1 -1
- package/getTeamConnectionMemberships.d.ts +1 -1
- package/getTeamConnectionMemberships.d.ts.map +1 -1
- package/getTeamConnectorMemberships.d.ts +1 -1
- package/getTeamConnectorMemberships.d.ts.map +1 -1
- package/getTeamGroupMemberships.d.ts +1 -1
- package/getTeamGroupMemberships.d.ts.map +1 -1
- package/getTeamUserMemberships.d.ts +1 -1
- package/getTeamUserMemberships.d.ts.map +1 -1
- package/getTeams.d.ts +2 -2
- package/getTeams.d.ts.map +1 -1
- package/getTransformation.d.ts +2 -2
- package/getTransformation.d.ts.map +1 -1
- package/getTransformationProject.d.ts +1 -1
- package/getTransformationProject.d.ts.map +1 -1
- package/getTransformations.d.ts +1 -1
- package/getTransformations.d.ts.map +1 -1
- package/getUserConnectionMemberships.d.ts +1 -1
- package/getUserConnectionMemberships.d.ts.map +1 -1
- package/getUserConnectorMemberships.d.ts +1 -1
- package/getUserConnectorMemberships.d.ts.map +1 -1
- package/getUserGroupMemberships.d.ts +1 -1
- package/getUserGroupMemberships.d.ts.map +1 -1
- package/getUsers.d.ts +2 -2
- package/getUsers.d.ts.map +1 -1
- package/group.d.ts +4 -4
- package/group.d.ts.map +1 -1
- package/groupUsers.d.ts +32 -6
- package/groupUsers.d.ts.map +1 -1
- package/groupUsers.js +28 -2
- package/groupUsers.js.map +1 -1
- package/hybridDeploymentAgent.d.ts +11 -11
- package/hybridDeploymentAgent.d.ts.map +1 -1
- package/index.d.ts +9 -0
- package/index.d.ts.map +1 -1
- package/index.js +18 -3
- package/index.js.map +1 -1
- package/package.json +2 -2
- package/privateLink.d.ts +11 -11
- package/privateLink.d.ts.map +1 -1
- package/provider.d.ts +3 -3
- package/provider.d.ts.map +1 -1
- package/proxyAgent.d.ts +9 -9
- package/proxyAgent.d.ts.map +1 -1
- package/team.d.ts +5 -5
- package/team.d.ts.map +1 -1
- package/teamConnectorMembership.d.ts +5 -5
- package/teamConnectorMembership.d.ts.map +1 -1
- package/teamConnectorMembership.js +2 -2
- package/teamGroupMembership.d.ts +5 -5
- package/teamGroupMembership.d.ts.map +1 -1
- package/teamGroupMembership.js +2 -2
- package/teamUserMembership.d.ts +5 -5
- package/teamUserMembership.d.ts.map +1 -1
- package/teamUserMembership.js +2 -2
- package/transformation.d.ts +12 -14
- package/transformation.d.ts.map +1 -1
- package/transformation.js +0 -2
- package/transformation.js.map +1 -1
- package/transformationProject.d.ts +10 -12
- package/transformationProject.d.ts.map +1 -1
- package/transformationProject.js +0 -2
- package/transformationProject.js.map +1 -1
- package/types/input.d.ts +6124 -2630
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +2677 -312
- package/types/output.d.ts.map +1 -1
- package/user.d.ts +15 -15
- package/user.d.ts.map +1 -1
- package/userConnectorMembership.d.ts +5 -5
- package/userConnectorMembership.d.ts.map +1 -1
- package/userConnectorMembership.js +2 -2
- package/userGroupMembership.d.ts +5 -5
- package/userGroupMembership.d.ts.map +1 -1
- package/userGroupMembership.js +2 -2
- package/webhook.d.ts +11 -11
- package/webhook.d.ts.map +1 -1
package/connector.js
CHANGED
|
@@ -31,6 +31,8 @@ const utilities = __importStar(require("./utilities"));
|
|
|
31
31
|
/**
|
|
32
32
|
* This resource allows you to create, update, and delete connectors.
|
|
33
33
|
*
|
|
34
|
+
* > NOTE: The `fivetran.Connector` resource creates a paused connector. In order to start data syncs, please create corresponding fivetran.ConnectorSchedule resource with `paused = false`
|
|
35
|
+
*
|
|
34
36
|
* ## Example Usage
|
|
35
37
|
*
|
|
36
38
|
* ```typescript
|
package/connector.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connector.js","sourceRoot":"","sources":["../connector.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;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
* Input properties used for looking up and filtering ConnectorCertificates resources.
|
|
86
86
|
*/
|
|
87
87
|
export interface ConnectorCertificatesState {
|
|
88
|
-
certificates?: pulumi.Input<pulumi.Input<inputs.ConnectorCertificatesCertificate>[]>;
|
|
88
|
+
certificates?: pulumi.Input<pulumi.Input<inputs.ConnectorCertificatesCertificate>[] | undefined>;
|
|
89
89
|
/**
|
|
90
90
|
* The unique identifier for the target connection within the Fivetran system.
|
|
91
91
|
*/
|
|
92
|
-
connectorId?: pulumi.Input<string>;
|
|
92
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* The set of arguments for constructing a ConnectorCertificates resource.
|
|
96
96
|
*/
|
|
97
97
|
export interface ConnectorCertificatesArgs {
|
|
98
|
-
certificates?: pulumi.Input<pulumi.Input<inputs.ConnectorCertificatesCertificate>[]>;
|
|
98
|
+
certificates?: pulumi.Input<pulumi.Input<inputs.ConnectorCertificatesCertificate>[] | undefined>;
|
|
99
99
|
/**
|
|
100
100
|
* The unique identifier for the target connection within the Fivetran system.
|
|
101
101
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorCertificates.d.ts","sourceRoot":"","sources":["../connectorCertificates.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAA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AAC,OAAO,CAAC,gCAAgC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC5G;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE3D;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmBjG;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACvC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjG;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IACjG;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
|
|
@@ -91,8 +91,8 @@ export interface ConnectorFingerprintsState {
|
|
|
91
91
|
/**
|
|
92
92
|
* The unique identifier for the target connection within the Fivetran system.
|
|
93
93
|
*/
|
|
94
|
-
connectorId?: pulumi.Input<string>;
|
|
95
|
-
fingerprints?: pulumi.Input<pulumi.Input<inputs.ConnectorFingerprintsFingerprint>[]>;
|
|
94
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
95
|
+
fingerprints?: pulumi.Input<pulumi.Input<inputs.ConnectorFingerprintsFingerprint>[] | undefined>;
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
98
98
|
* The set of arguments for constructing a ConnectorFingerprints resource.
|
|
@@ -102,6 +102,6 @@ export interface ConnectorFingerprintsArgs {
|
|
|
102
102
|
* The unique identifier for the target connection within the Fivetran system.
|
|
103
103
|
*/
|
|
104
104
|
connectorId: pulumi.Input<string>;
|
|
105
|
-
fingerprints?: pulumi.Input<pulumi.Input<inputs.ConnectorFingerprintsFingerprint>[]>;
|
|
105
|
+
fingerprints?: pulumi.Input<pulumi.Input<inputs.ConnectorFingerprintsFingerprint>[] | undefined>;
|
|
106
106
|
}
|
|
107
107
|
//# sourceMappingURL=connectorFingerprints.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorFingerprints.d.ts","sourceRoot":"","sources":["../connectorFingerprints.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoDG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,0BAA0B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,qBAAqB;IAO5J;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,qBAAqB;IAOhE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC3D,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,gCAAgC,EAAE,GAAG,SAAS,CAAC,CAAC;IAE5G;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAq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,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACpG;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,gCAAgC,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;CACpG"}
|
package/connectorSchedule.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
2
4
|
/**
|
|
3
5
|
* -This resource allows you to manage connectors schedule: pause/unpause connector, set dailySyncTime and sync_frequency.
|
|
4
6
|
*
|
|
@@ -70,10 +72,18 @@ export declare class ConnectorSchedule extends pulumi.CustomResource {
|
|
|
70
72
|
* The unique identifier for the connector within the Fivetran system.
|
|
71
73
|
*/
|
|
72
74
|
readonly connectorId: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
77
|
+
*/
|
|
78
|
+
readonly connectorName: pulumi.Output<string | undefined>;
|
|
73
79
|
/**
|
|
74
80
|
* The optional parameter that defines the sync start time when the sync frequency is already set or being set by the current request to 1440. It can be specified in one hour increments starting from 00:00 to 23:00. If not specified, we will use [the baseline sync start time](https://fivetran.com/docs/getting-started/syncoverview#syncfrequencyandscheduling). This parameter has no effect on the [0 to 60 minutes offset](https://fivetran.com/docs/getting-started/syncoverview#syncstarttimesandoffsets) used to determine the actual sync start time.
|
|
75
81
|
*/
|
|
76
82
|
readonly dailySyncTime: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
85
|
+
*/
|
|
86
|
+
readonly groupId: pulumi.Output<string | undefined>;
|
|
77
87
|
/**
|
|
78
88
|
* Specifies whether the connector should be paused after the free trial period has ended.
|
|
79
89
|
*/
|
|
@@ -82,12 +92,16 @@ export declare class ConnectorSchedule extends pulumi.CustomResource {
|
|
|
82
92
|
* Specifies whether the connector is paused.
|
|
83
93
|
*/
|
|
84
94
|
readonly paused: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Flexible sync schedule configuration. When set, takes precedence over `syncFrequency`.
|
|
97
|
+
*/
|
|
98
|
+
readonly schedule: pulumi.Output<outputs.ConnectorScheduleSchedule | undefined>;
|
|
85
99
|
/**
|
|
86
100
|
* The connector schedule configuration type. Supported values: auto, manual.
|
|
87
101
|
*/
|
|
88
102
|
readonly scheduleType: pulumi.Output<string>;
|
|
89
103
|
/**
|
|
90
|
-
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440.
|
|
104
|
+
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440. Deprecated: use `schedule` block instead.
|
|
91
105
|
*/
|
|
92
106
|
readonly syncFrequency: pulumi.Output<string>;
|
|
93
107
|
/**
|
|
@@ -97,7 +111,7 @@ export declare class ConnectorSchedule extends pulumi.CustomResource {
|
|
|
97
111
|
* @param args The arguments to use to populate this resource's properties.
|
|
98
112
|
* @param opts A bag of options that control this resource's behavior.
|
|
99
113
|
*/
|
|
100
|
-
constructor(name: string, args
|
|
114
|
+
constructor(name: string, args?: ConnectorScheduleArgs, opts?: pulumi.CustomResourceOptions);
|
|
101
115
|
}
|
|
102
116
|
/**
|
|
103
117
|
* Input properties used for looking up and filtering ConnectorSchedule resources.
|
|
@@ -106,27 +120,39 @@ export interface ConnectorScheduleState {
|
|
|
106
120
|
/**
|
|
107
121
|
* The unique identifier for the connector within the Fivetran system.
|
|
108
122
|
*/
|
|
109
|
-
connectorId?: pulumi.Input<string>;
|
|
123
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
126
|
+
*/
|
|
127
|
+
connectorName?: pulumi.Input<string | undefined>;
|
|
110
128
|
/**
|
|
111
129
|
* The optional parameter that defines the sync start time when the sync frequency is already set or being set by the current request to 1440. It can be specified in one hour increments starting from 00:00 to 23:00. If not specified, we will use [the baseline sync start time](https://fivetran.com/docs/getting-started/syncoverview#syncfrequencyandscheduling). This parameter has no effect on the [0 to 60 minutes offset](https://fivetran.com/docs/getting-started/syncoverview#syncstarttimesandoffsets) used to determine the actual sync start time.
|
|
112
130
|
*/
|
|
113
|
-
dailySyncTime?: pulumi.Input<string>;
|
|
131
|
+
dailySyncTime?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
134
|
+
*/
|
|
135
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
114
136
|
/**
|
|
115
137
|
* Specifies whether the connector should be paused after the free trial period has ended.
|
|
116
138
|
*/
|
|
117
|
-
pauseAfterTrial?: pulumi.Input<string>;
|
|
139
|
+
pauseAfterTrial?: pulumi.Input<string | undefined>;
|
|
118
140
|
/**
|
|
119
141
|
* Specifies whether the connector is paused.
|
|
120
142
|
*/
|
|
121
|
-
paused?: pulumi.Input<string>;
|
|
143
|
+
paused?: pulumi.Input<string | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* Flexible sync schedule configuration. When set, takes precedence over `syncFrequency`.
|
|
146
|
+
*/
|
|
147
|
+
schedule?: pulumi.Input<inputs.ConnectorScheduleSchedule | undefined>;
|
|
122
148
|
/**
|
|
123
149
|
* The connector schedule configuration type. Supported values: auto, manual.
|
|
124
150
|
*/
|
|
125
|
-
scheduleType?: pulumi.Input<string>;
|
|
151
|
+
scheduleType?: pulumi.Input<string | undefined>;
|
|
126
152
|
/**
|
|
127
|
-
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440.
|
|
153
|
+
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440. Deprecated: use `schedule` block instead.
|
|
128
154
|
*/
|
|
129
|
-
syncFrequency?: pulumi.Input<string>;
|
|
155
|
+
syncFrequency?: pulumi.Input<string | undefined>;
|
|
130
156
|
}
|
|
131
157
|
/**
|
|
132
158
|
* The set of arguments for constructing a ConnectorSchedule resource.
|
|
@@ -135,26 +161,38 @@ export interface ConnectorScheduleArgs {
|
|
|
135
161
|
/**
|
|
136
162
|
* The unique identifier for the connector within the Fivetran system.
|
|
137
163
|
*/
|
|
138
|
-
connectorId
|
|
164
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
165
|
+
/**
|
|
166
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
167
|
+
*/
|
|
168
|
+
connectorName?: pulumi.Input<string | undefined>;
|
|
139
169
|
/**
|
|
140
170
|
* The optional parameter that defines the sync start time when the sync frequency is already set or being set by the current request to 1440. It can be specified in one hour increments starting from 00:00 to 23:00. If not specified, we will use [the baseline sync start time](https://fivetran.com/docs/getting-started/syncoverview#syncfrequencyandscheduling). This parameter has no effect on the [0 to 60 minutes offset](https://fivetran.com/docs/getting-started/syncoverview#syncstarttimesandoffsets) used to determine the actual sync start time.
|
|
141
171
|
*/
|
|
142
|
-
dailySyncTime?: pulumi.Input<string>;
|
|
172
|
+
dailySyncTime?: pulumi.Input<string | undefined>;
|
|
173
|
+
/**
|
|
174
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
175
|
+
*/
|
|
176
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
143
177
|
/**
|
|
144
178
|
* Specifies whether the connector should be paused after the free trial period has ended.
|
|
145
179
|
*/
|
|
146
|
-
pauseAfterTrial?: pulumi.Input<string>;
|
|
180
|
+
pauseAfterTrial?: pulumi.Input<string | undefined>;
|
|
147
181
|
/**
|
|
148
182
|
* Specifies whether the connector is paused.
|
|
149
183
|
*/
|
|
150
|
-
paused?: pulumi.Input<string>;
|
|
184
|
+
paused?: pulumi.Input<string | undefined>;
|
|
185
|
+
/**
|
|
186
|
+
* Flexible sync schedule configuration. When set, takes precedence over `syncFrequency`.
|
|
187
|
+
*/
|
|
188
|
+
schedule?: pulumi.Input<inputs.ConnectorScheduleSchedule | undefined>;
|
|
151
189
|
/**
|
|
152
190
|
* The connector schedule configuration type. Supported values: auto, manual.
|
|
153
191
|
*/
|
|
154
|
-
scheduleType?: pulumi.Input<string>;
|
|
192
|
+
scheduleType?: pulumi.Input<string | undefined>;
|
|
155
193
|
/**
|
|
156
|
-
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440.
|
|
194
|
+
* The connector sync frequency in minutes. Supported values: 1, 5, 15, 30, 60, 120, 180, 360, 480, 720, 1440. Deprecated: use `schedule` block instead.
|
|
157
195
|
*/
|
|
158
|
-
syncFrequency?: pulumi.Input<string>;
|
|
196
|
+
syncFrequency?: pulumi.Input<string | undefined>;
|
|
159
197
|
}
|
|
160
198
|
//# sourceMappingURL=connectorSchedule.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchedule.d.ts","sourceRoot":"","sources":["../connectorSchedule.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"connectorSchedule.d.ts","sourceRoot":"","sources":["../connectorSchedule.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;I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C;IAC3C;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD"}
|
package/connectorSchedule.js
CHANGED
|
@@ -110,21 +110,24 @@ class ConnectorSchedule extends pulumi.CustomResource {
|
|
|
110
110
|
if (opts.id) {
|
|
111
111
|
const state = argsOrState;
|
|
112
112
|
resourceInputs["connectorId"] = state?.connectorId;
|
|
113
|
+
resourceInputs["connectorName"] = state?.connectorName;
|
|
113
114
|
resourceInputs["dailySyncTime"] = state?.dailySyncTime;
|
|
115
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
114
116
|
resourceInputs["pauseAfterTrial"] = state?.pauseAfterTrial;
|
|
115
117
|
resourceInputs["paused"] = state?.paused;
|
|
118
|
+
resourceInputs["schedule"] = state?.schedule;
|
|
116
119
|
resourceInputs["scheduleType"] = state?.scheduleType;
|
|
117
120
|
resourceInputs["syncFrequency"] = state?.syncFrequency;
|
|
118
121
|
}
|
|
119
122
|
else {
|
|
120
123
|
const args = argsOrState;
|
|
121
|
-
if (args?.connectorId === undefined && !opts.urn) {
|
|
122
|
-
throw new Error("Missing required property 'connectorId'");
|
|
123
|
-
}
|
|
124
124
|
resourceInputs["connectorId"] = args?.connectorId;
|
|
125
|
+
resourceInputs["connectorName"] = args?.connectorName;
|
|
125
126
|
resourceInputs["dailySyncTime"] = args?.dailySyncTime;
|
|
127
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
126
128
|
resourceInputs["pauseAfterTrial"] = args?.pauseAfterTrial;
|
|
127
129
|
resourceInputs["paused"] = args?.paused;
|
|
130
|
+
resourceInputs["schedule"] = args?.schedule;
|
|
128
131
|
resourceInputs["scheduleType"] = args?.scheduleType;
|
|
129
132
|
resourceInputs["syncFrequency"] = args?.syncFrequency;
|
|
130
133
|
}
|
package/connectorSchedule.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchedule.js","sourceRoot":"","sources":["../connectorSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;
|
|
1
|
+
{"version":3,"file":"connectorSchedule.js","sourceRoot":"","sources":["../connectorSchedule.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkDG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oDAAoD,CAAC;IAE3F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KA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AAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AArGL,8CAsGC"}
|
|
@@ -213,6 +213,14 @@ export declare class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
213
213
|
* The unique identifier for the connector within the Fivetran system.
|
|
214
214
|
*/
|
|
215
215
|
readonly connectorId: pulumi.Output<string>;
|
|
216
|
+
/**
|
|
217
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
218
|
+
*/
|
|
219
|
+
readonly connectorName: pulumi.Output<string | undefined>;
|
|
220
|
+
/**
|
|
221
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
222
|
+
*/
|
|
223
|
+
readonly groupId: pulumi.Output<string | undefined>;
|
|
216
224
|
/**
|
|
217
225
|
* @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
|
|
218
226
|
*/
|
|
@@ -246,7 +254,7 @@ export declare class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
246
254
|
* @param args The arguments to use to populate this resource's properties.
|
|
247
255
|
* @param opts A bag of options that control this resource's behavior.
|
|
248
256
|
*/
|
|
249
|
-
constructor(name: string, args
|
|
257
|
+
constructor(name: string, args?: ConnectorSchemaConfigArgs, opts?: pulumi.CustomResourceOptions);
|
|
250
258
|
}
|
|
251
259
|
/**
|
|
252
260
|
* Input properties used for looking up and filtering ConnectorSchemaConfig resources.
|
|
@@ -255,33 +263,41 @@ export interface ConnectorSchemaConfigState {
|
|
|
255
263
|
/**
|
|
256
264
|
* The unique identifier for the connector within the Fivetran system.
|
|
257
265
|
*/
|
|
258
|
-
connectorId?: pulumi.Input<string>;
|
|
266
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
267
|
+
/**
|
|
268
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
269
|
+
*/
|
|
270
|
+
connectorName?: pulumi.Input<string | undefined>;
|
|
271
|
+
/**
|
|
272
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
273
|
+
*/
|
|
274
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
259
275
|
/**
|
|
260
276
|
* @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
|
|
261
277
|
*/
|
|
262
|
-
schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[]>;
|
|
278
|
+
schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[] | undefined>;
|
|
263
279
|
/**
|
|
264
280
|
* The value specifying how new source data is handled.
|
|
265
281
|
*/
|
|
266
|
-
schemaChangeHandling?: pulumi.Input<string>;
|
|
282
|
+
schemaChangeHandling?: pulumi.Input<string | undefined>;
|
|
267
283
|
/**
|
|
268
284
|
* Map of schema configurations.
|
|
269
285
|
*/
|
|
270
286
|
schemas?: pulumi.Input<{
|
|
271
287
|
[key: string]: pulumi.Input<inputs.ConnectorSchemaConfigSchemas>;
|
|
272
|
-
}>;
|
|
288
|
+
} | undefined>;
|
|
273
289
|
/**
|
|
274
290
|
* Schema settings in Json format, following Fivetran API endpoint contract for `schemas` field (a map of schemas).
|
|
275
291
|
*/
|
|
276
|
-
schemasJson?: pulumi.Input<string>;
|
|
277
|
-
timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts>;
|
|
292
|
+
schemasJson?: pulumi.Input<string | undefined>;
|
|
293
|
+
timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts | undefined>;
|
|
278
294
|
/**
|
|
279
295
|
* The value defines validation method.
|
|
280
296
|
* - NONE: no validation, any configuration accepted.
|
|
281
297
|
* - TABLES: validate table names, fail on attempt to configure non-existing schemas/tables.
|
|
282
298
|
* - COLUMNS: validate the whole schema config including column names. The resource will try to fetch columns for every configured table and verify column names.
|
|
283
299
|
*/
|
|
284
|
-
validationLevel?: pulumi.Input<string>;
|
|
300
|
+
validationLevel?: pulumi.Input<string | undefined>;
|
|
285
301
|
}
|
|
286
302
|
/**
|
|
287
303
|
* The set of arguments for constructing a ConnectorSchemaConfig resource.
|
|
@@ -290,32 +306,40 @@ export interface ConnectorSchemaConfigArgs {
|
|
|
290
306
|
/**
|
|
291
307
|
* The unique identifier for the connector within the Fivetran system.
|
|
292
308
|
*/
|
|
293
|
-
connectorId
|
|
309
|
+
connectorId?: pulumi.Input<string | undefined>;
|
|
310
|
+
/**
|
|
311
|
+
* The name used both as the connection's name within the Fivetran system and as the source schema's name within your destination.
|
|
312
|
+
*/
|
|
313
|
+
connectorName?: pulumi.Input<string | undefined>;
|
|
314
|
+
/**
|
|
315
|
+
* The unique identifier for the Group (Destination) within the Fivetran system.
|
|
316
|
+
*/
|
|
317
|
+
groupId?: pulumi.Input<string | undefined>;
|
|
294
318
|
/**
|
|
295
319
|
* @deprecated Configure `schemas` instead. This attribute will be removed in the next major version of the provider.
|
|
296
320
|
*/
|
|
297
|
-
schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[]>;
|
|
321
|
+
schema?: pulumi.Input<pulumi.Input<inputs.ConnectorSchemaConfigSchema>[] | undefined>;
|
|
298
322
|
/**
|
|
299
323
|
* The value specifying how new source data is handled.
|
|
300
324
|
*/
|
|
301
|
-
schemaChangeHandling?: pulumi.Input<string>;
|
|
325
|
+
schemaChangeHandling?: pulumi.Input<string | undefined>;
|
|
302
326
|
/**
|
|
303
327
|
* Map of schema configurations.
|
|
304
328
|
*/
|
|
305
329
|
schemas?: pulumi.Input<{
|
|
306
330
|
[key: string]: pulumi.Input<inputs.ConnectorSchemaConfigSchemas>;
|
|
307
|
-
}>;
|
|
331
|
+
} | undefined>;
|
|
308
332
|
/**
|
|
309
333
|
* Schema settings in Json format, following Fivetran API endpoint contract for `schemas` field (a map of schemas).
|
|
310
334
|
*/
|
|
311
|
-
schemasJson?: pulumi.Input<string>;
|
|
312
|
-
timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts>;
|
|
335
|
+
schemasJson?: pulumi.Input<string | undefined>;
|
|
336
|
+
timeouts?: pulumi.Input<inputs.ConnectorSchemaConfigTimeouts | undefined>;
|
|
313
337
|
/**
|
|
314
338
|
* The value defines validation method.
|
|
315
339
|
* - NONE: no validation, any configuration accepted.
|
|
316
340
|
* - TABLES: validate table names, fail on attempt to configure non-existing schemas/tables.
|
|
317
341
|
* - COLUMNS: validate the whole schema config including column names. The resource will try to fetch columns for every configured table and verify column names.
|
|
318
342
|
*/
|
|
319
|
-
validationLevel?: pulumi.Input<string>;
|
|
343
|
+
validationLevel?: pulumi.Input<string | undefined>;
|
|
320
344
|
}
|
|
321
345
|
//# sourceMappingURL=connectorSchemaConfig.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchemaConfig.d.ts","sourceRoot":"","sources":["../connectorSchemaConfig.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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+LG;AACH,qBAAa,qBAAsB,SAAQ,MAAM,CAAC,cAAc;IAC5D;;;;;;;;O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SAAS,CAAC,CAAC;CACtD"}
|
package/connectorSchemaConfig.js
CHANGED
|
@@ -251,6 +251,8 @@ class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
251
251
|
if (opts.id) {
|
|
252
252
|
const state = argsOrState;
|
|
253
253
|
resourceInputs["connectorId"] = state?.connectorId;
|
|
254
|
+
resourceInputs["connectorName"] = state?.connectorName;
|
|
255
|
+
resourceInputs["groupId"] = state?.groupId;
|
|
254
256
|
resourceInputs["schema"] = state?.schema;
|
|
255
257
|
resourceInputs["schemaChangeHandling"] = state?.schemaChangeHandling;
|
|
256
258
|
resourceInputs["schemas"] = state?.schemas;
|
|
@@ -260,10 +262,9 @@ class ConnectorSchemaConfig extends pulumi.CustomResource {
|
|
|
260
262
|
}
|
|
261
263
|
else {
|
|
262
264
|
const args = argsOrState;
|
|
263
|
-
if (args?.connectorId === undefined && !opts.urn) {
|
|
264
|
-
throw new Error("Missing required property 'connectorId'");
|
|
265
|
-
}
|
|
266
265
|
resourceInputs["connectorId"] = args?.connectorId;
|
|
266
|
+
resourceInputs["connectorName"] = args?.connectorName;
|
|
267
|
+
resourceInputs["groupId"] = args?.groupId;
|
|
267
268
|
resourceInputs["schema"] = args?.schema;
|
|
268
269
|
resourceInputs["schemaChangeHandling"] = args?.schemaChangeHandling;
|
|
269
270
|
resourceInputs["schemas"] = args?.schemas;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connectorSchemaConfig.js","sourceRoot":"","sources":["../connectorSchemaConfig.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,sBAAsB,CAAC,GAAG,IAAI,EAAE,oBAAoB,CAAC;YACpE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,qBAAqB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1E,CAAC;;AArGL,sDAsGC"}
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource allows you to upload and manage a Connector SDK code package. The `.zip` file referenced by `filePath` is uploaded to Fivetran, and the resulting package ID can be referenced by a `fivetran.Connector` resource with `service = "connectorSdk"`.
|
|
4
|
+
*
|
|
5
|
+
* The provider computes a SHA-256 hash of the file during `pulumi preview`, so changes to the `.zip` contents are detected without relying on metadata such as modification times.
|
|
6
|
+
*
|
|
7
|
+
* ## Import
|
|
8
|
+
*
|
|
9
|
+
* 1. To import an existing `fivetran.ConnectorSdkPackage` resource into your Terraform state, you need to get the package ID (a two-word identifier, e.g. `distributePanning`) from the Fivetran UI or API.
|
|
10
|
+
*
|
|
11
|
+
* 2. Define an empty resource in your `.tf` configuration:
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as fivetran from "@ryan-pip/pulumi-fivetran";
|
|
16
|
+
*
|
|
17
|
+
* const myImportedSdkPackage = new fivetran.ConnectorSdkPackage("my_imported_sdk_package", {});
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* 3. Run the `pulumi import` command:
|
|
21
|
+
*
|
|
22
|
+
* ```sh
|
|
23
|
+
* $ pulumi import fivetran:index/connectorSdkPackage:ConnectorSdkPackage my_imported_sdk_package {package_id}
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* 4. Use the `terraform state show` command to get the values from the state:
|
|
27
|
+
*
|
|
28
|
+
* ```sh
|
|
29
|
+
* terraform state show 'fivetran_connector_sdk_package.my_imported_sdk_package'
|
|
30
|
+
* ```
|
|
31
|
+
*
|
|
32
|
+
* 5. Copy the computed values and paste them into your `.tf` configuration. Then set `filePath` to the local path of the `.zip` file that was originally uploaded. The `filePath` attribute is not returned by the API, so it cannot be populated by import alone — you must supply it manually.
|
|
33
|
+
*
|
|
34
|
+
* > NOTE: After import, the first `pulumi preview` may show a non-destructive in-place update for `filePath`. As long as the SHA-256 hash of the local file matches the imported `fileSha256Hash`, the subsequent `apply` will only reconcile state and will not re-upload the file.
|
|
35
|
+
*/
|
|
36
|
+
export declare class ConnectorSdkPackage extends pulumi.CustomResource {
|
|
37
|
+
/**
|
|
38
|
+
* Get an existing ConnectorSdkPackage resource's state with the given name, ID, and optional extra
|
|
39
|
+
* properties used to qualify the lookup.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resulting resource.
|
|
42
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
43
|
+
* @param state Any extra arguments used during the lookup.
|
|
44
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
45
|
+
*/
|
|
46
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ConnectorSdkPackageState, opts?: pulumi.CustomResourceOptions): ConnectorSdkPackage;
|
|
47
|
+
/**
|
|
48
|
+
* Returns true if the given object is an instance of ConnectorSdkPackage. This is designed to work even
|
|
49
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
50
|
+
*/
|
|
51
|
+
static isInstance(obj: any): obj is ConnectorSdkPackage;
|
|
52
|
+
/**
|
|
53
|
+
* Timestamp when the package was created.
|
|
54
|
+
*/
|
|
55
|
+
readonly createdAt: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
|
|
58
|
+
*/
|
|
59
|
+
readonly filePath: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
|
|
62
|
+
*/
|
|
63
|
+
readonly fileSha256Hash: pulumi.Output<string>;
|
|
64
|
+
/**
|
|
65
|
+
* Timestamp when the package was last updated.
|
|
66
|
+
*/
|
|
67
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a ConnectorSdkPackage resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: ConnectorSdkPackageArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering ConnectorSdkPackage resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface ConnectorSdkPackageState {
|
|
81
|
+
/**
|
|
82
|
+
* Timestamp when the package was created.
|
|
83
|
+
*/
|
|
84
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
|
|
87
|
+
*/
|
|
88
|
+
filePath?: pulumi.Input<string | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* SHA-256 hash of the uploaded file as computed and stored by the API. Used for upstream drift detection.
|
|
91
|
+
*/
|
|
92
|
+
fileSha256Hash?: pulumi.Input<string | undefined>;
|
|
93
|
+
/**
|
|
94
|
+
* Timestamp when the package was last updated.
|
|
95
|
+
*/
|
|
96
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* The set of arguments for constructing a ConnectorSdkPackage resource.
|
|
100
|
+
*/
|
|
101
|
+
export interface ConnectorSdkPackageArgs {
|
|
102
|
+
/**
|
|
103
|
+
* Path to the .zip file to upload. File is read during plan (for change detection) and during apply (for upload).
|
|
104
|
+
*/
|
|
105
|
+
filePath: pulumi.Input<string>;
|
|
106
|
+
}
|
|
107
|
+
//# sourceMappingURL=connectorSdkPackage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"connectorSdkPackage.d.ts","sourceRoot":"","sources":["../connectorSdkPackage.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOxJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CA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