@pulumi/dbtcloud 0.2.0-alpha.1749534410 → 1.0.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/accountFeatures.d.ts +24 -0
- package/accountFeatures.js +4 -0
- package/accountFeatures.js.map +1 -1
- package/bigQueryCredential.d.ts +5 -3
- package/bigQueryCredential.js +2 -0
- package/bigQueryCredential.js.map +1 -1
- package/bigquerySemanticLayerCredential.d.ts +161 -0
- package/bigquerySemanticLayerCredential.js +102 -0
- package/bigquerySemanticLayerCredential.js.map +1 -0
- package/databricksCredential.d.ts +16 -14
- package/databricksCredential.js +14 -2
- package/databricksCredential.js.map +1 -1
- package/environment.d.ts +37 -45
- package/environment.js +1 -6
- package/environment.js.map +1 -1
- package/environmentVariable.d.ts +3 -3
- package/environmentVariableJobOverride.d.ts +15 -5
- package/environmentVariableJobOverride.js +4 -0
- package/environmentVariableJobOverride.js.map +1 -1
- package/extendedAttributes.d.ts +7 -13
- package/extendedAttributes.js +1 -1
- package/extendedAttributes.js.map +1 -1
- package/fabricCredential.d.ts +16 -16
- package/fabricCredential.js +6 -6
- package/fabricCredential.js.map +1 -1
- package/getBigQueryCredential.d.ts +7 -1
- package/getBigQueryCredential.js +6 -0
- package/getBigQueryCredential.js.map +1 -1
- package/getDatabricksCredential.d.ts +10 -4
- package/getDatabricksCredential.js +6 -0
- package/getDatabricksCredential.js.map +1 -1
- package/getEnvironment.d.ts +4 -7
- package/getEnvironment.js.map +1 -1
- package/getEnvironmentVariable.d.ts +38 -8
- package/getEnvironmentVariable.js +30 -0
- package/getEnvironmentVariable.js.map +1 -1
- package/getExtendedAttributes.d.ts +12 -8
- package/getExtendedAttributes.js +4 -0
- package/getExtendedAttributes.js.map +1 -1
- package/getGlobalConnection.d.ts +4 -0
- package/getGlobalConnection.js.map +1 -1
- package/getGroupUsers.d.ts +3 -3
- package/getGroupUsers.js +2 -2
- package/getJob.d.ts +59 -26
- package/getJob.js +8 -2
- package/getJob.js.map +1 -1
- package/getPostgresCredential.d.ts +7 -1
- package/getPostgresCredential.js +6 -0
- package/getPostgresCredential.js.map +1 -1
- package/getPrivatelinkEndpoint.d.ts +16 -10
- package/getPrivatelinkEndpoint.js +6 -0
- package/getPrivatelinkEndpoint.js.map +1 -1
- package/getProject.d.ts +81 -44
- package/getProject.js +50 -22
- package/getProject.js.map +1 -1
- package/getRedshiftCredential.d.ts +72 -0
- package/getRedshiftCredential.js +32 -0
- package/getRedshiftCredential.js.map +1 -0
- package/getRepository.d.ts +25 -3
- package/getRepository.js +6 -0
- package/getRepository.js.map +1 -1
- package/getRuns.d.ts +46 -0
- package/getRuns.js +30 -0
- package/getRuns.js.map +1 -0
- package/getSnowflakeCredential.d.ts +8 -2
- package/getSnowflakeCredential.js +6 -0
- package/getSnowflakeCredential.js.map +1 -1
- package/getSynapseCredential.d.ts +80 -0
- package/getSynapseCredential.js +30 -0
- package/getSynapseCredential.js.map +1 -0
- package/getTeradataCredential.d.ts +68 -0
- package/getTeradataCredential.js +30 -0
- package/getTeradataCredential.js.map +1 -0
- package/getUserGroups.d.ts +9 -5
- package/getUserGroups.js +4 -0
- package/getUserGroups.js.map +1 -1
- package/getWebhook.d.ts +16 -4
- package/getWebhook.js +6 -0
- package/getWebhook.js.map +1 -1
- package/globalConnection.d.ts +12 -2
- package/globalConnection.js +2 -2
- package/globalConnection.js.map +1 -1
- package/index.d.ts +36 -18
- package/index.js +55 -28
- package/index.js.map +1 -1
- package/job.d.ts +41 -144
- package/job.js +4 -113
- package/job.js.map +1 -1
- package/package.json +2 -2
- package/partialEnvironmentVariable.d.ts +83 -0
- package/partialEnvironmentVariable.js +64 -0
- package/partialEnvironmentVariable.js.map +1 -0
- package/postgresCredential.d.ts +13 -11
- package/postgresCredential.js +2 -0
- package/postgresCredential.js.map +1 -1
- package/project.d.ts +20 -6
- package/project.js +5 -1
- package/project.js.map +1 -1
- package/projectRepository.d.ts +1 -1
- package/projectRepository.js +1 -1
- package/redshiftCredential.d.ts +165 -0
- package/redshiftCredential.js +121 -0
- package/redshiftCredential.js.map +1 -0
- package/redshiftSemanticLayerCredential.d.ts +65 -0
- package/redshiftSemanticLayerCredential.js +60 -0
- package/redshiftSemanticLayerCredential.js.map +1 -0
- package/repository.d.ts +6 -6
- package/semanticLayerConfiguration.d.ts +106 -0
- package/semanticLayerConfiguration.js +103 -0
- package/semanticLayerConfiguration.js.map +1 -0
- package/snowflakeCredential.d.ts +46 -32
- package/snowflakeCredential.js +4 -6
- package/snowflakeCredential.js.map +1 -1
- package/snowflakeSemanticLayerCredential.d.ts +95 -0
- package/snowflakeSemanticLayerCredential.js +90 -0
- package/snowflakeSemanticLayerCredential.js.map +1 -0
- package/synapseCredential.d.ts +233 -0
- package/synapseCredential.js +152 -0
- package/synapseCredential.js.map +1 -0
- package/teradataCredential.d.ts +107 -0
- package/teradataCredential.js +76 -0
- package/teradataCredential.js.map +1 -0
- package/types/input.d.ts +300 -0
- package/types/output.d.ts +409 -6
- package/userGroups.d.ts +4 -5
- package/userGroups.js +1 -2
- package/userGroups.js.map +1 -1
- package/webhook.d.ts +13 -7
- package/webhook.js +2 -0
- package/webhook.js.map +1 -1
- package/bigQueryConnection.d.ts +0 -420
- package/bigQueryConnection.js +0 -217
- package/bigQueryConnection.js.map +0 -1
- package/connection.d.ts +0 -342
- package/connection.js +0 -170
- package/connection.js.map +0 -1
- package/fabricConnection.d.ts +0 -199
- package/fabricConnection.js +0 -130
- package/fabricConnection.js.map +0 -1
- package/getBigQueryConnection.d.ts +0 -134
- package/getBigQueryConnection.js +0 -24
- package/getBigQueryConnection.js.map +0 -1
- package/getConnection.d.ts +0 -86
- package/getConnection.js +0 -24
- package/getConnection.js.map +0 -1
- package/projectConnection.d.ts +0 -105
- package/projectConnection.js +0 -102
- package/projectConnection.js.map +0 -1
package/postgresCredential.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Postgres credential resource.
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
5
7
|
* ```typescript
|
|
@@ -64,7 +66,7 @@ export declare class PostgresCredential extends pulumi.CustomResource {
|
|
|
64
66
|
*/
|
|
65
67
|
static isInstance(obj: any): obj is PostgresCredential;
|
|
66
68
|
/**
|
|
67
|
-
* The system Postgres/Redshift/AlloyDB credential ID
|
|
69
|
+
* The system Postgres/Redshift/AlloyDB credential ID.
|
|
68
70
|
*/
|
|
69
71
|
readonly credentialId: pulumi.Output<number>;
|
|
70
72
|
/**
|
|
@@ -74,23 +76,23 @@ export declare class PostgresCredential extends pulumi.CustomResource {
|
|
|
74
76
|
/**
|
|
75
77
|
* Whether the Postgres/Redshift/AlloyDB credential is active
|
|
76
78
|
*/
|
|
77
|
-
readonly isActive: pulumi.Output<boolean
|
|
79
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
78
80
|
/**
|
|
79
|
-
* Number of threads to use
|
|
81
|
+
* Number of threads to use (required for Redshift)
|
|
80
82
|
*/
|
|
81
|
-
readonly numThreads: pulumi.Output<number
|
|
83
|
+
readonly numThreads: pulumi.Output<number>;
|
|
82
84
|
/**
|
|
83
85
|
* Password for Postgres/Redshift/AlloyDB
|
|
84
86
|
*/
|
|
85
87
|
readonly password: pulumi.Output<string | undefined>;
|
|
86
88
|
/**
|
|
87
|
-
* Project ID to create the Postgres/Redshift/AlloyDB credential in
|
|
89
|
+
* Project ID to create the Postgres/Redshift/AlloyDB credential in.
|
|
88
90
|
*/
|
|
89
91
|
readonly projectId: pulumi.Output<number>;
|
|
90
92
|
/**
|
|
91
93
|
* Default schema name
|
|
92
94
|
*/
|
|
93
|
-
readonly targetName: pulumi.Output<string
|
|
95
|
+
readonly targetName: pulumi.Output<string>;
|
|
94
96
|
/**
|
|
95
97
|
* Type of connection. One of (postgres/redshift). Use postgres for alloydb connections
|
|
96
98
|
*/
|
|
@@ -113,7 +115,7 @@ export declare class PostgresCredential extends pulumi.CustomResource {
|
|
|
113
115
|
*/
|
|
114
116
|
export interface PostgresCredentialState {
|
|
115
117
|
/**
|
|
116
|
-
* The system Postgres/Redshift/AlloyDB credential ID
|
|
118
|
+
* The system Postgres/Redshift/AlloyDB credential ID.
|
|
117
119
|
*/
|
|
118
120
|
credentialId?: pulumi.Input<number>;
|
|
119
121
|
/**
|
|
@@ -125,7 +127,7 @@ export interface PostgresCredentialState {
|
|
|
125
127
|
*/
|
|
126
128
|
isActive?: pulumi.Input<boolean>;
|
|
127
129
|
/**
|
|
128
|
-
* Number of threads to use
|
|
130
|
+
* Number of threads to use (required for Redshift)
|
|
129
131
|
*/
|
|
130
132
|
numThreads?: pulumi.Input<number>;
|
|
131
133
|
/**
|
|
@@ -133,7 +135,7 @@ export interface PostgresCredentialState {
|
|
|
133
135
|
*/
|
|
134
136
|
password?: pulumi.Input<string>;
|
|
135
137
|
/**
|
|
136
|
-
* Project ID to create the Postgres/Redshift/AlloyDB credential in
|
|
138
|
+
* Project ID to create the Postgres/Redshift/AlloyDB credential in.
|
|
137
139
|
*/
|
|
138
140
|
projectId?: pulumi.Input<number>;
|
|
139
141
|
/**
|
|
@@ -162,7 +164,7 @@ export interface PostgresCredentialArgs {
|
|
|
162
164
|
*/
|
|
163
165
|
isActive?: pulumi.Input<boolean>;
|
|
164
166
|
/**
|
|
165
|
-
* Number of threads to use
|
|
167
|
+
* Number of threads to use (required for Redshift)
|
|
166
168
|
*/
|
|
167
169
|
numThreads?: pulumi.Input<number>;
|
|
168
170
|
/**
|
|
@@ -170,7 +172,7 @@ export interface PostgresCredentialArgs {
|
|
|
170
172
|
*/
|
|
171
173
|
password?: pulumi.Input<string>;
|
|
172
174
|
/**
|
|
173
|
-
* Project ID to create the Postgres/Redshift/AlloyDB credential in
|
|
175
|
+
* Project ID to create the Postgres/Redshift/AlloyDB credential in.
|
|
174
176
|
*/
|
|
175
177
|
projectId: pulumi.Input<number>;
|
|
176
178
|
/**
|
package/postgresCredential.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresCredential.js","sourceRoot":"","sources":["../postgresCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"postgresCredential.js","sourceRoot":"","sources":["../postgresCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IA+CD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CA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YAC9D,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACvE,CAAC;;AAnHL,gDAoHC;AAtGG,gBAAgB;AACO,+BAAY,GAAG,sDAAsD,CAAC"}
|
package/project.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Manages a dbt Cloud project.
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
5
7
|
* ```typescript
|
|
@@ -13,7 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
13
15
|
* });
|
|
14
16
|
* const dbtProjectWithSubdir = new dbtcloud.Project("dbt_project_with_subdir", {
|
|
15
17
|
* name: "Analytics in Subdir",
|
|
16
|
-
* dbtProjectSubdirectory: "
|
|
18
|
+
* dbtProjectSubdirectory: "path",
|
|
17
19
|
* });
|
|
18
20
|
* ```
|
|
19
21
|
*
|
|
@@ -64,17 +66,21 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
64
66
|
*/
|
|
65
67
|
static isInstance(obj: any): obj is Project;
|
|
66
68
|
/**
|
|
67
|
-
*
|
|
69
|
+
* DBT project subdirectory
|
|
68
70
|
*/
|
|
69
|
-
readonly dbtProjectSubdirectory: pulumi.Output<string
|
|
71
|
+
readonly dbtProjectSubdirectory: pulumi.Output<string>;
|
|
70
72
|
/**
|
|
71
73
|
* Description for the project. Will show in dbt Explorer.
|
|
72
74
|
*/
|
|
73
|
-
readonly description: pulumi.Output<string
|
|
75
|
+
readonly description: pulumi.Output<string>;
|
|
74
76
|
/**
|
|
75
77
|
* Project name
|
|
76
78
|
*/
|
|
77
79
|
readonly name: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* The type of dbt project (0=default or 1=hybrid)
|
|
82
|
+
*/
|
|
83
|
+
readonly type: pulumi.Output<number>;
|
|
78
84
|
/**
|
|
79
85
|
* Create a Project resource with the given unique name, arguments, and options.
|
|
80
86
|
*
|
|
@@ -89,7 +95,7 @@ export declare class Project extends pulumi.CustomResource {
|
|
|
89
95
|
*/
|
|
90
96
|
export interface ProjectState {
|
|
91
97
|
/**
|
|
92
|
-
*
|
|
98
|
+
* DBT project subdirectory
|
|
93
99
|
*/
|
|
94
100
|
dbtProjectSubdirectory?: pulumi.Input<string>;
|
|
95
101
|
/**
|
|
@@ -100,13 +106,17 @@ export interface ProjectState {
|
|
|
100
106
|
* Project name
|
|
101
107
|
*/
|
|
102
108
|
name?: pulumi.Input<string>;
|
|
109
|
+
/**
|
|
110
|
+
* The type of dbt project (0=default or 1=hybrid)
|
|
111
|
+
*/
|
|
112
|
+
type?: pulumi.Input<number>;
|
|
103
113
|
}
|
|
104
114
|
/**
|
|
105
115
|
* The set of arguments for constructing a Project resource.
|
|
106
116
|
*/
|
|
107
117
|
export interface ProjectArgs {
|
|
108
118
|
/**
|
|
109
|
-
*
|
|
119
|
+
* DBT project subdirectory
|
|
110
120
|
*/
|
|
111
121
|
dbtProjectSubdirectory?: pulumi.Input<string>;
|
|
112
122
|
/**
|
|
@@ -117,4 +127,8 @@ export interface ProjectArgs {
|
|
|
117
127
|
* Project name
|
|
118
128
|
*/
|
|
119
129
|
name?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* The type of dbt project (0=default or 1=hybrid)
|
|
132
|
+
*/
|
|
133
|
+
type?: pulumi.Input<number>;
|
|
120
134
|
}
|
package/project.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.Project = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Manages a dbt Cloud project.
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ```typescript
|
|
@@ -19,7 +21,7 @@ const utilities = require("./utilities");
|
|
|
19
21
|
* });
|
|
20
22
|
* const dbtProjectWithSubdir = new dbtcloud.Project("dbt_project_with_subdir", {
|
|
21
23
|
* name: "Analytics in Subdir",
|
|
22
|
-
* dbtProjectSubdirectory: "
|
|
24
|
+
* dbtProjectSubdirectory: "path",
|
|
23
25
|
* });
|
|
24
26
|
* ```
|
|
25
27
|
*
|
|
@@ -84,12 +86,14 @@ class Project extends pulumi.CustomResource {
|
|
|
84
86
|
resourceInputs["dbtProjectSubdirectory"] = state ? state.dbtProjectSubdirectory : undefined;
|
|
85
87
|
resourceInputs["description"] = state ? state.description : undefined;
|
|
86
88
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
89
|
+
resourceInputs["type"] = state ? state.type : undefined;
|
|
87
90
|
}
|
|
88
91
|
else {
|
|
89
92
|
const args = argsOrState;
|
|
90
93
|
resourceInputs["dbtProjectSubdirectory"] = args ? args.dbtProjectSubdirectory : undefined;
|
|
91
94
|
resourceInputs["description"] = args ? args.description : undefined;
|
|
92
95
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
96
|
+
resourceInputs["type"] = args ? args.type : undefined;
|
|
93
97
|
}
|
|
94
98
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
95
99
|
super(Project.__pulumiType, name, resourceInputs, opts);
|
package/project.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project.js","sourceRoot":"","sources":["../project.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAC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C,MAAM,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SAC3D;aAAM;YACH,MAAM,IAAI,GAAG,WAAsC,CAAC;YACpD,cAAc,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1F,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;SACzD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAvEL,0BAwEC;AA1DG,gBAAgB;AACO,oBAAY,GAAG,gCAAgC,CAAC"}
|
package/projectRepository.d.ts
CHANGED
package/projectRepository.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.ProjectRepository = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Manages a dbt Cloud project repository.
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Redshift credential resource
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
10
|
+
*
|
|
11
|
+
* const redshift = new dbtcloud.RedshiftCredential("redshift", {
|
|
12
|
+
* numThreads: 16,
|
|
13
|
+
* projectId: testProject.id,
|
|
14
|
+
* defaultSchema: "my_schema",
|
|
15
|
+
* username: "my_username",
|
|
16
|
+
* password: "my_sensitive_password",
|
|
17
|
+
* isActive: true,
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Import
|
|
22
|
+
*
|
|
23
|
+
* using import blocks (requires Terraform >= 1.5)
|
|
24
|
+
*
|
|
25
|
+
* import {
|
|
26
|
+
*
|
|
27
|
+
* to = dbtcloud_redshift_credential.my_credential
|
|
28
|
+
*
|
|
29
|
+
* id = "project_id:credential_id"
|
|
30
|
+
*
|
|
31
|
+
* }
|
|
32
|
+
*
|
|
33
|
+
* import {
|
|
34
|
+
*
|
|
35
|
+
* to = dbtcloud_redshift_credential.my_credential
|
|
36
|
+
*
|
|
37
|
+
* id = "12345:6789"
|
|
38
|
+
*
|
|
39
|
+
* }
|
|
40
|
+
*
|
|
41
|
+
* using the older import command
|
|
42
|
+
*
|
|
43
|
+
* ```sh
|
|
44
|
+
* $ pulumi import dbtcloud:index/redshiftCredential:RedshiftCredential my_credential "project_id:credential_id"
|
|
45
|
+
* ```
|
|
46
|
+
*
|
|
47
|
+
* ```sh
|
|
48
|
+
* $ pulumi import dbtcloud:index/redshiftCredential:RedshiftCredential my_credential 12345:6789
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare class RedshiftCredential extends pulumi.CustomResource {
|
|
52
|
+
/**
|
|
53
|
+
* Get an existing RedshiftCredential resource's state with the given name, ID, and optional extra
|
|
54
|
+
* properties used to qualify the lookup.
|
|
55
|
+
*
|
|
56
|
+
* @param name The _unique_ name of the resulting resource.
|
|
57
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
58
|
+
* @param state Any extra arguments used during the lookup.
|
|
59
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
60
|
+
*/
|
|
61
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RedshiftCredentialState, opts?: pulumi.CustomResourceOptions): RedshiftCredential;
|
|
62
|
+
/**
|
|
63
|
+
* Returns true if the given object is an instance of RedshiftCredential. This is designed to work even
|
|
64
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
65
|
+
*/
|
|
66
|
+
static isInstance(obj: any): obj is RedshiftCredential;
|
|
67
|
+
/**
|
|
68
|
+
* The internal credential ID
|
|
69
|
+
*/
|
|
70
|
+
readonly credentialId: pulumi.Output<number>;
|
|
71
|
+
/**
|
|
72
|
+
* Default schema name
|
|
73
|
+
*/
|
|
74
|
+
readonly defaultSchema: pulumi.Output<string>;
|
|
75
|
+
/**
|
|
76
|
+
* Whether the Redshift credential is active
|
|
77
|
+
*/
|
|
78
|
+
readonly isActive: pulumi.Output<boolean>;
|
|
79
|
+
/**
|
|
80
|
+
* Number of threads to use
|
|
81
|
+
*/
|
|
82
|
+
readonly numThreads: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* The password for the Redshift account
|
|
85
|
+
*/
|
|
86
|
+
readonly password: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* Project ID to create the Redshift credential in
|
|
89
|
+
*/
|
|
90
|
+
readonly projectId: pulumi.Output<number>;
|
|
91
|
+
/**
|
|
92
|
+
* The username for the Redshift account.
|
|
93
|
+
*/
|
|
94
|
+
readonly username: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a RedshiftCredential resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: RedshiftCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering RedshiftCredential resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface RedshiftCredentialState {
|
|
108
|
+
/**
|
|
109
|
+
* The internal credential ID
|
|
110
|
+
*/
|
|
111
|
+
credentialId?: pulumi.Input<number>;
|
|
112
|
+
/**
|
|
113
|
+
* Default schema name
|
|
114
|
+
*/
|
|
115
|
+
defaultSchema?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* Whether the Redshift credential is active
|
|
118
|
+
*/
|
|
119
|
+
isActive?: pulumi.Input<boolean>;
|
|
120
|
+
/**
|
|
121
|
+
* Number of threads to use
|
|
122
|
+
*/
|
|
123
|
+
numThreads?: pulumi.Input<number>;
|
|
124
|
+
/**
|
|
125
|
+
* The password for the Redshift account
|
|
126
|
+
*/
|
|
127
|
+
password?: pulumi.Input<string>;
|
|
128
|
+
/**
|
|
129
|
+
* Project ID to create the Redshift credential in
|
|
130
|
+
*/
|
|
131
|
+
projectId?: pulumi.Input<number>;
|
|
132
|
+
/**
|
|
133
|
+
* The username for the Redshift account.
|
|
134
|
+
*/
|
|
135
|
+
username?: pulumi.Input<string>;
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* The set of arguments for constructing a RedshiftCredential resource.
|
|
139
|
+
*/
|
|
140
|
+
export interface RedshiftCredentialArgs {
|
|
141
|
+
/**
|
|
142
|
+
* Default schema name
|
|
143
|
+
*/
|
|
144
|
+
defaultSchema: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* Whether the Redshift credential is active
|
|
147
|
+
*/
|
|
148
|
+
isActive?: pulumi.Input<boolean>;
|
|
149
|
+
/**
|
|
150
|
+
* Number of threads to use
|
|
151
|
+
*/
|
|
152
|
+
numThreads: pulumi.Input<number>;
|
|
153
|
+
/**
|
|
154
|
+
* The password for the Redshift account
|
|
155
|
+
*/
|
|
156
|
+
password?: pulumi.Input<string>;
|
|
157
|
+
/**
|
|
158
|
+
* Project ID to create the Redshift credential in
|
|
159
|
+
*/
|
|
160
|
+
projectId: pulumi.Input<number>;
|
|
161
|
+
/**
|
|
162
|
+
* The username for the Redshift account.
|
|
163
|
+
*/
|
|
164
|
+
username?: pulumi.Input<string>;
|
|
165
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.RedshiftCredential = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Redshift credential resource
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
16
|
+
*
|
|
17
|
+
* const redshift = new dbtcloud.RedshiftCredential("redshift", {
|
|
18
|
+
* numThreads: 16,
|
|
19
|
+
* projectId: testProject.id,
|
|
20
|
+
* defaultSchema: "my_schema",
|
|
21
|
+
* username: "my_username",
|
|
22
|
+
* password: "my_sensitive_password",
|
|
23
|
+
* isActive: true,
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* ## Import
|
|
28
|
+
*
|
|
29
|
+
* using import blocks (requires Terraform >= 1.5)
|
|
30
|
+
*
|
|
31
|
+
* import {
|
|
32
|
+
*
|
|
33
|
+
* to = dbtcloud_redshift_credential.my_credential
|
|
34
|
+
*
|
|
35
|
+
* id = "project_id:credential_id"
|
|
36
|
+
*
|
|
37
|
+
* }
|
|
38
|
+
*
|
|
39
|
+
* import {
|
|
40
|
+
*
|
|
41
|
+
* to = dbtcloud_redshift_credential.my_credential
|
|
42
|
+
*
|
|
43
|
+
* id = "12345:6789"
|
|
44
|
+
*
|
|
45
|
+
* }
|
|
46
|
+
*
|
|
47
|
+
* using the older import command
|
|
48
|
+
*
|
|
49
|
+
* ```sh
|
|
50
|
+
* $ pulumi import dbtcloud:index/redshiftCredential:RedshiftCredential my_credential "project_id:credential_id"
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* ```sh
|
|
54
|
+
* $ pulumi import dbtcloud:index/redshiftCredential:RedshiftCredential my_credential 12345:6789
|
|
55
|
+
* ```
|
|
56
|
+
*/
|
|
57
|
+
class RedshiftCredential extends pulumi.CustomResource {
|
|
58
|
+
/**
|
|
59
|
+
* Get an existing RedshiftCredential resource's state with the given name, ID, and optional extra
|
|
60
|
+
* properties used to qualify the lookup.
|
|
61
|
+
*
|
|
62
|
+
* @param name The _unique_ name of the resulting resource.
|
|
63
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
64
|
+
* @param state Any extra arguments used during the lookup.
|
|
65
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
66
|
+
*/
|
|
67
|
+
static get(name, id, state, opts) {
|
|
68
|
+
return new RedshiftCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if the given object is an instance of RedshiftCredential. This is designed to work even
|
|
72
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
73
|
+
*/
|
|
74
|
+
static isInstance(obj) {
|
|
75
|
+
if (obj === undefined || obj === null) {
|
|
76
|
+
return false;
|
|
77
|
+
}
|
|
78
|
+
return obj['__pulumiType'] === RedshiftCredential.__pulumiType;
|
|
79
|
+
}
|
|
80
|
+
constructor(name, argsOrState, opts) {
|
|
81
|
+
let resourceInputs = {};
|
|
82
|
+
opts = opts || {};
|
|
83
|
+
if (opts.id) {
|
|
84
|
+
const state = argsOrState;
|
|
85
|
+
resourceInputs["credentialId"] = state ? state.credentialId : undefined;
|
|
86
|
+
resourceInputs["defaultSchema"] = state ? state.defaultSchema : undefined;
|
|
87
|
+
resourceInputs["isActive"] = state ? state.isActive : undefined;
|
|
88
|
+
resourceInputs["numThreads"] = state ? state.numThreads : undefined;
|
|
89
|
+
resourceInputs["password"] = state ? state.password : undefined;
|
|
90
|
+
resourceInputs["projectId"] = state ? state.projectId : undefined;
|
|
91
|
+
resourceInputs["username"] = state ? state.username : undefined;
|
|
92
|
+
}
|
|
93
|
+
else {
|
|
94
|
+
const args = argsOrState;
|
|
95
|
+
if ((!args || args.defaultSchema === undefined) && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'defaultSchema'");
|
|
97
|
+
}
|
|
98
|
+
if ((!args || args.numThreads === undefined) && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'numThreads'");
|
|
100
|
+
}
|
|
101
|
+
if ((!args || args.projectId === undefined) && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'projectId'");
|
|
103
|
+
}
|
|
104
|
+
resourceInputs["defaultSchema"] = args ? args.defaultSchema : undefined;
|
|
105
|
+
resourceInputs["isActive"] = args ? args.isActive : undefined;
|
|
106
|
+
resourceInputs["numThreads"] = args ? args.numThreads : undefined;
|
|
107
|
+
resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
|
|
108
|
+
resourceInputs["projectId"] = args ? args.projectId : undefined;
|
|
109
|
+
resourceInputs["username"] = args ? args.username : undefined;
|
|
110
|
+
resourceInputs["credentialId"] = undefined /*out*/;
|
|
111
|
+
}
|
|
112
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
113
|
+
const secretOpts = { additionalSecretOutputs: ["password"] };
|
|
114
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
115
|
+
super(RedshiftCredential.__pulumiType, name, resourceInputs, opts);
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
exports.RedshiftCredential = RedshiftCredential;
|
|
119
|
+
/** @internal */
|
|
120
|
+
RedshiftCredential.__pulumiType = 'dbtcloud:index/redshiftCredential:RedshiftCredential';
|
|
121
|
+
//# sourceMappingURL=redshiftCredential.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"redshiftCredential.js","sourceRoot":"","sources":["../redshiftCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,MAAa,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA+B,EAAE,IAAmC;QAC7H,OAAO,IAAI,kBAAkB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACzE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,kBAAkB,CAAC,YAAY,CAAC;IACnE,CAAC;IAuCD,YAAY,IAAY,EAAE,WAA8D,EAAE,IAAmC;QACzH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAkD,CAAC;YACjE,cAAc,CAAC,cAAc,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cA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|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Redshift credential resource. This resource is composed of a Redshift credential and a Semantic Layer configuration. It is used to create a Redshift credential for the Semantic Layer.
|
|
6
|
+
*/
|
|
7
|
+
export declare class RedshiftSemanticLayerCredential extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing RedshiftSemanticLayerCredential resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param state Any extra arguments used during the lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RedshiftSemanticLayerCredentialState, opts?: pulumi.CustomResourceOptions): RedshiftSemanticLayerCredential;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of RedshiftSemanticLayerCredential. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is RedshiftSemanticLayerCredential;
|
|
23
|
+
/**
|
|
24
|
+
* Semantic Layer credential configuration details.
|
|
25
|
+
*/
|
|
26
|
+
readonly configuration: pulumi.Output<outputs.RedshiftSemanticLayerCredentialConfiguration>;
|
|
27
|
+
/**
|
|
28
|
+
* Snowflake credential details, but used in the context of the Semantic Layer.
|
|
29
|
+
*/
|
|
30
|
+
readonly credential: pulumi.Output<outputs.RedshiftSemanticLayerCredentialCredential>;
|
|
31
|
+
/**
|
|
32
|
+
* Create a RedshiftSemanticLayerCredential resource with the given unique name, arguments, and options.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resource.
|
|
35
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
36
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
37
|
+
*/
|
|
38
|
+
constructor(name: string, args: RedshiftSemanticLayerCredentialArgs, opts?: pulumi.CustomResourceOptions);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Input properties used for looking up and filtering RedshiftSemanticLayerCredential resources.
|
|
42
|
+
*/
|
|
43
|
+
export interface RedshiftSemanticLayerCredentialState {
|
|
44
|
+
/**
|
|
45
|
+
* Semantic Layer credential configuration details.
|
|
46
|
+
*/
|
|
47
|
+
configuration?: pulumi.Input<inputs.RedshiftSemanticLayerCredentialConfiguration>;
|
|
48
|
+
/**
|
|
49
|
+
* Snowflake credential details, but used in the context of the Semantic Layer.
|
|
50
|
+
*/
|
|
51
|
+
credential?: pulumi.Input<inputs.RedshiftSemanticLayerCredentialCredential>;
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* The set of arguments for constructing a RedshiftSemanticLayerCredential resource.
|
|
55
|
+
*/
|
|
56
|
+
export interface RedshiftSemanticLayerCredentialArgs {
|
|
57
|
+
/**
|
|
58
|
+
* Semantic Layer credential configuration details.
|
|
59
|
+
*/
|
|
60
|
+
configuration: pulumi.Input<inputs.RedshiftSemanticLayerCredentialConfiguration>;
|
|
61
|
+
/**
|
|
62
|
+
* Snowflake credential details, but used in the context of the Semantic Layer.
|
|
63
|
+
*/
|
|
64
|
+
credential: pulumi.Input<inputs.RedshiftSemanticLayerCredentialCredential>;
|
|
65
|
+
}
|