@pulumi/dbtcloud 0.2.0-alpha.1748929446 → 1.0.0-alpha.1749642638
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/getBigQueryCredential.js
CHANGED
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getBigQueryCredentialOutput = exports.getBigQueryCredential = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Bigquery credential data source
|
|
10
|
+
*/
|
|
8
11
|
function getBigQueryCredential(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("dbtcloud:index/getBigQueryCredential:getBigQueryCredential", {
|
|
@@ -13,6 +16,9 @@ function getBigQueryCredential(args, opts) {
|
|
|
13
16
|
}, opts);
|
|
14
17
|
}
|
|
15
18
|
exports.getBigQueryCredential = getBigQueryCredential;
|
|
19
|
+
/**
|
|
20
|
+
* Bigquery credential data source
|
|
21
|
+
*/
|
|
16
22
|
function getBigQueryCredentialOutput(args, opts) {
|
|
17
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
24
|
return pulumi.runtime.invokeOutput("dbtcloud:index/getBigQueryCredential:getBigQueryCredential", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBigQueryCredential.js","sourceRoot":"","sources":["../getBigQueryCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA6CD,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
1
|
+
{"version":3,"file":"getBigQueryCredential.js","sourceRoot":"","sources":["../getBigQueryCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AA6CD;;GAEG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Databricks credential data source
|
|
4
|
+
*/
|
|
2
5
|
export declare function getDatabricksCredential(args: GetDatabricksCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabricksCredentialResult>;
|
|
3
6
|
/**
|
|
4
7
|
* A collection of arguments for invoking getDatabricksCredential.
|
|
@@ -18,9 +21,9 @@ export interface GetDatabricksCredentialArgs {
|
|
|
18
21
|
*/
|
|
19
22
|
export interface GetDatabricksCredentialResult {
|
|
20
23
|
/**
|
|
21
|
-
*
|
|
24
|
+
* The type of the adapter (databricks or spark)
|
|
22
25
|
*/
|
|
23
|
-
readonly
|
|
26
|
+
readonly adapterType: string;
|
|
24
27
|
/**
|
|
25
28
|
* The catalog where to create models
|
|
26
29
|
*/
|
|
@@ -30,11 +33,11 @@ export interface GetDatabricksCredentialResult {
|
|
|
30
33
|
*/
|
|
31
34
|
readonly credentialId: number;
|
|
32
35
|
/**
|
|
33
|
-
* The
|
|
36
|
+
* The ID of this resource. Contains the project ID and the credential ID.
|
|
34
37
|
*/
|
|
35
38
|
readonly id: string;
|
|
36
39
|
/**
|
|
37
|
-
*
|
|
40
|
+
* The number of threads to use
|
|
38
41
|
*/
|
|
39
42
|
readonly numThreads: number;
|
|
40
43
|
/**
|
|
@@ -50,6 +53,9 @@ export interface GetDatabricksCredentialResult {
|
|
|
50
53
|
*/
|
|
51
54
|
readonly targetName: string;
|
|
52
55
|
}
|
|
56
|
+
/**
|
|
57
|
+
* Databricks credential data source
|
|
58
|
+
*/
|
|
53
59
|
export declare function getDatabricksCredentialOutput(args: GetDatabricksCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabricksCredentialResult>;
|
|
54
60
|
/**
|
|
55
61
|
* A collection of arguments for invoking getDatabricksCredential.
|
|
@@ -5,6 +5,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDatabricksCredentialOutput = exports.getDatabricksCredential = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Databricks credential data source
|
|
10
|
+
*/
|
|
8
11
|
function getDatabricksCredential(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("dbtcloud:index/getDatabricksCredential:getDatabricksCredential", {
|
|
@@ -13,6 +16,9 @@ function getDatabricksCredential(args, opts) {
|
|
|
13
16
|
}, opts);
|
|
14
17
|
}
|
|
15
18
|
exports.getDatabricksCredential = getDatabricksCredential;
|
|
19
|
+
/**
|
|
20
|
+
* Databricks credential data source
|
|
21
|
+
*/
|
|
16
22
|
function getDatabricksCredentialOutput(args, opts) {
|
|
17
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
24
|
return pulumi.runtime.invokeOutput("dbtcloud:index/getDatabricksCredential:getDatabricksCredential", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabricksCredential.js","sourceRoot":"","sources":["../getDatabricksCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAqDD,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
|
|
1
|
+
{"version":3,"file":"getDatabricksCredential.js","sourceRoot":"","sources":["../getDatabricksCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAiC,EAAE,IAA2B;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0DAMC;AAqDD;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAuC,EAAE,IAAiC;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sEAMC"}
|
package/getEnvironment.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export interface GetEnvironmentArgs {
|
|
|
12
12
|
*/
|
|
13
13
|
environmentId: number;
|
|
14
14
|
/**
|
|
15
|
-
* The project ID to which the environment
|
|
15
|
+
* The project ID to which the environment belongs
|
|
16
16
|
*/
|
|
17
17
|
projectId: number;
|
|
18
18
|
}
|
|
@@ -20,12 +20,9 @@ export interface GetEnvironmentArgs {
|
|
|
20
20
|
* A collection of values returned by getEnvironment.
|
|
21
21
|
*/
|
|
22
22
|
export interface GetEnvironmentResult {
|
|
23
|
-
/**
|
|
24
|
-
* A connection ID (used with Global Connections)
|
|
25
|
-
*/
|
|
26
23
|
readonly connectionId: number;
|
|
27
24
|
/**
|
|
28
|
-
*
|
|
25
|
+
* Credential ID for this environment. A credential is not required for development environments, as dbt Cloud defaults to the user's credentials, but deployment environments will have this.
|
|
29
26
|
*/
|
|
30
27
|
readonly credentialsId: number;
|
|
31
28
|
/**
|
|
@@ -61,7 +58,7 @@ export interface GetEnvironmentResult {
|
|
|
61
58
|
*/
|
|
62
59
|
readonly name: string;
|
|
63
60
|
/**
|
|
64
|
-
* The project ID to which the environment
|
|
61
|
+
* The project ID to which the environment belongs
|
|
65
62
|
*/
|
|
66
63
|
readonly projectId: number;
|
|
67
64
|
/**
|
|
@@ -86,7 +83,7 @@ export interface GetEnvironmentOutputArgs {
|
|
|
86
83
|
*/
|
|
87
84
|
environmentId: pulumi.Input<number>;
|
|
88
85
|
/**
|
|
89
|
-
* The project ID to which the environment
|
|
86
|
+
* The project ID to which the environment belongs
|
|
90
87
|
*/
|
|
91
88
|
projectId: pulumi.Input<number>;
|
|
92
89
|
}
|
package/getEnvironment.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;
|
|
1
|
+
{"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAsED;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAAiC;IAClG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8CAA8C,EAAE;QAC/E,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Environment variable credential data source
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* ```typescript
|
|
8
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
9
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
10
|
+
*
|
|
11
|
+
* const myVar = dbtcloud.getEnvironmentVariable({
|
|
12
|
+
* projectId: 70403103985068,
|
|
13
|
+
* name: "DBT_MY_PARTIAL_VAR",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
2
17
|
export declare function getEnvironmentVariable(args: GetEnvironmentVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentVariableResult>;
|
|
3
18
|
/**
|
|
4
19
|
* A collection of arguments for invoking getEnvironmentVariable.
|
|
5
20
|
*/
|
|
6
21
|
export interface GetEnvironmentVariableArgs {
|
|
7
22
|
/**
|
|
8
|
-
* Name for the variable
|
|
23
|
+
* Name for the variable, must be unique within a project, must be prefixed with 'DBT_'
|
|
9
24
|
*/
|
|
10
25
|
name: string;
|
|
11
26
|
/**
|
|
12
|
-
* Project ID the variable
|
|
27
|
+
* Project ID to create the environment variable in
|
|
13
28
|
*/
|
|
14
29
|
projectId: number;
|
|
15
30
|
}
|
|
@@ -18,35 +33,50 @@ export interface GetEnvironmentVariableArgs {
|
|
|
18
33
|
*/
|
|
19
34
|
export interface GetEnvironmentVariableResult {
|
|
20
35
|
/**
|
|
21
|
-
* Map
|
|
36
|
+
* Map from environment names to respective variable value, a special key `project` should be set for the project default variable value. This field is not set as sensitive so take precautions when using secret environment variables.
|
|
22
37
|
*/
|
|
23
38
|
readonly environmentValues: {
|
|
24
39
|
[key: string]: string;
|
|
25
40
|
};
|
|
26
41
|
/**
|
|
27
|
-
* The
|
|
42
|
+
* The ID of this resource. Contains the project ID and the environment variable ID.
|
|
28
43
|
*/
|
|
29
44
|
readonly id: string;
|
|
30
45
|
/**
|
|
31
|
-
* Name for the variable
|
|
46
|
+
* Name for the variable, must be unique within a project, must be prefixed with 'DBT_'
|
|
32
47
|
*/
|
|
33
48
|
readonly name: string;
|
|
34
49
|
/**
|
|
35
|
-
* Project ID the variable
|
|
50
|
+
* Project ID to create the environment variable in
|
|
36
51
|
*/
|
|
37
52
|
readonly projectId: number;
|
|
38
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* Environment variable credential data source
|
|
56
|
+
*
|
|
57
|
+
* ## Example Usage
|
|
58
|
+
*
|
|
59
|
+
* ```typescript
|
|
60
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
61
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
62
|
+
*
|
|
63
|
+
* const myVar = dbtcloud.getEnvironmentVariable({
|
|
64
|
+
* projectId: 70403103985068,
|
|
65
|
+
* name: "DBT_MY_PARTIAL_VAR",
|
|
66
|
+
* });
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
39
69
|
export declare function getEnvironmentVariableOutput(args: GetEnvironmentVariableOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetEnvironmentVariableResult>;
|
|
40
70
|
/**
|
|
41
71
|
* A collection of arguments for invoking getEnvironmentVariable.
|
|
42
72
|
*/
|
|
43
73
|
export interface GetEnvironmentVariableOutputArgs {
|
|
44
74
|
/**
|
|
45
|
-
* Name for the variable
|
|
75
|
+
* Name for the variable, must be unique within a project, must be prefixed with 'DBT_'
|
|
46
76
|
*/
|
|
47
77
|
name: pulumi.Input<string>;
|
|
48
78
|
/**
|
|
49
|
-
* Project ID the variable
|
|
79
|
+
* Project ID to create the environment variable in
|
|
50
80
|
*/
|
|
51
81
|
projectId: pulumi.Input<number>;
|
|
52
82
|
}
|
|
@@ -5,6 +5,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getEnvironmentVariableOutput = exports.getEnvironmentVariable = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Environment variable credential data source
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* ```typescript
|
|
14
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
15
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
16
|
+
*
|
|
17
|
+
* const myVar = dbtcloud.getEnvironmentVariable({
|
|
18
|
+
* projectId: 70403103985068,
|
|
19
|
+
* name: "DBT_MY_PARTIAL_VAR",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
8
23
|
function getEnvironmentVariable(args, opts) {
|
|
9
24
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
25
|
return pulumi.runtime.invoke("dbtcloud:index/getEnvironmentVariable:getEnvironmentVariable", {
|
|
@@ -13,6 +28,21 @@ function getEnvironmentVariable(args, opts) {
|
|
|
13
28
|
}, opts);
|
|
14
29
|
}
|
|
15
30
|
exports.getEnvironmentVariable = getEnvironmentVariable;
|
|
31
|
+
/**
|
|
32
|
+
* Environment variable credential data source
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* ```typescript
|
|
37
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
38
|
+
* import * as dbtcloud from "@pulumi/dbtcloud";
|
|
39
|
+
*
|
|
40
|
+
* const myVar = dbtcloud.getEnvironmentVariable({
|
|
41
|
+
* projectId: 70403103985068,
|
|
42
|
+
* name: "DBT_MY_PARTIAL_VAR",
|
|
43
|
+
* });
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
16
46
|
function getEnvironmentVariableOutput(args, opts) {
|
|
17
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
48
|
return pulumi.runtime.invokeOutput("dbtcloud:index/getEnvironmentVariable:getEnvironmentVariable", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getEnvironmentVariable.js","sourceRoot":"","sources":["../getEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAqCD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|
|
1
|
+
{"version":3,"file":"getEnvironmentVariable.js","sourceRoot":"","sources":["../getEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC;AAqCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAAiC;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8DAA8D,EAAE;QAC/F,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oEAMC"}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Extended attributes data source
|
|
4
|
+
*
|
|
3
5
|
* ## Example Usage
|
|
4
6
|
*
|
|
5
7
|
* ```typescript
|
|
@@ -18,11 +20,11 @@ export declare function getExtendedAttributes(args: GetExtendedAttributesArgs, o
|
|
|
18
20
|
*/
|
|
19
21
|
export interface GetExtendedAttributesArgs {
|
|
20
22
|
/**
|
|
21
|
-
*
|
|
23
|
+
* Extended attributes ID
|
|
22
24
|
*/
|
|
23
25
|
extendedAttributesId: number;
|
|
24
26
|
/**
|
|
25
|
-
* Project ID
|
|
27
|
+
* Project ID
|
|
26
28
|
*/
|
|
27
29
|
projectId: number;
|
|
28
30
|
}
|
|
@@ -31,19 +33,19 @@ export interface GetExtendedAttributesArgs {
|
|
|
31
33
|
*/
|
|
32
34
|
export interface GetExtendedAttributesResult {
|
|
33
35
|
/**
|
|
34
|
-
*
|
|
36
|
+
* Extended attributes
|
|
35
37
|
*/
|
|
36
38
|
readonly extendedAttributes: string;
|
|
37
39
|
/**
|
|
38
|
-
*
|
|
40
|
+
* Extended attributes ID
|
|
39
41
|
*/
|
|
40
42
|
readonly extendedAttributesId: number;
|
|
41
43
|
/**
|
|
42
|
-
* The
|
|
44
|
+
* The ID of this resource. Contains the project ID and the credential ID.
|
|
43
45
|
*/
|
|
44
46
|
readonly id: string;
|
|
45
47
|
/**
|
|
46
|
-
* Project ID
|
|
48
|
+
* Project ID
|
|
47
49
|
*/
|
|
48
50
|
readonly projectId: number;
|
|
49
51
|
/**
|
|
@@ -52,6 +54,8 @@ export interface GetExtendedAttributesResult {
|
|
|
52
54
|
readonly state: number;
|
|
53
55
|
}
|
|
54
56
|
/**
|
|
57
|
+
* Extended attributes data source
|
|
58
|
+
*
|
|
55
59
|
* ## Example Usage
|
|
56
60
|
*
|
|
57
61
|
* ```typescript
|
|
@@ -70,11 +74,11 @@ export declare function getExtendedAttributesOutput(args: GetExtendedAttributesO
|
|
|
70
74
|
*/
|
|
71
75
|
export interface GetExtendedAttributesOutputArgs {
|
|
72
76
|
/**
|
|
73
|
-
*
|
|
77
|
+
* Extended attributes ID
|
|
74
78
|
*/
|
|
75
79
|
extendedAttributesId: pulumi.Input<number>;
|
|
76
80
|
/**
|
|
77
|
-
* Project ID
|
|
81
|
+
* Project ID
|
|
78
82
|
*/
|
|
79
83
|
projectId: pulumi.Input<number>;
|
|
80
84
|
}
|
package/getExtendedAttributes.js
CHANGED
|
@@ -6,6 +6,8 @@ exports.getExtendedAttributesOutput = exports.getExtendedAttributes = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Extended attributes data source
|
|
10
|
+
*
|
|
9
11
|
* ## Example Usage
|
|
10
12
|
*
|
|
11
13
|
* ```typescript
|
|
@@ -27,6 +29,8 @@ function getExtendedAttributes(args, opts) {
|
|
|
27
29
|
}
|
|
28
30
|
exports.getExtendedAttributes = getExtendedAttributes;
|
|
29
31
|
/**
|
|
32
|
+
* Extended attributes data source
|
|
33
|
+
*
|
|
30
34
|
* ## Example Usage
|
|
31
35
|
*
|
|
32
36
|
* ```typescript
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getExtendedAttributes.js","sourceRoot":"","sources":["../getExtendedAttributes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getExtendedAttributes.js","sourceRoot":"","sources":["../getExtendedAttributes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE;QACvF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC;AAyCD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAAiC;IAChH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE;QAC7F,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kEAMC"}
|
package/getGlobalConnection.d.ts
CHANGED
|
@@ -84,6 +84,10 @@ export interface GetGlobalConnectionResult {
|
|
|
84
84
|
* Azure Synapse Analytics connection configuration.
|
|
85
85
|
*/
|
|
86
86
|
readonly synapse: outputs.GetGlobalConnectionSynapse;
|
|
87
|
+
/**
|
|
88
|
+
* Teradata connection configuration.
|
|
89
|
+
*/
|
|
90
|
+
readonly teradata: outputs.GetGlobalConnectionTeradata;
|
|
87
91
|
}
|
|
88
92
|
/**
|
|
89
93
|
* ## Example Usage
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGlobalConnection.js","sourceRoot":"","sources":["../getGlobalConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;
|
|
1
|
+
{"version":3,"file":"getGlobalConnection.js","sourceRoot":"","sources":["../getGlobalConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE;QACnF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AA+ED;;;;;;;;;;;GAWG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
|
package/getGroupUsers.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
4
|
+
* Databricks credential data source
|
|
5
5
|
*
|
|
6
6
|
* ## Example Usage
|
|
7
7
|
*
|
|
@@ -33,7 +33,7 @@ export interface GetGroupUsersResult {
|
|
|
33
33
|
*/
|
|
34
34
|
readonly groupId: number;
|
|
35
35
|
/**
|
|
36
|
-
* The
|
|
36
|
+
* The ID of this resource. Contains the project ID and the credential ID.
|
|
37
37
|
*/
|
|
38
38
|
readonly id: string;
|
|
39
39
|
/**
|
|
@@ -42,7 +42,7 @@ export interface GetGroupUsersResult {
|
|
|
42
42
|
readonly users: outputs.GetGroupUsersUser[];
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
|
-
*
|
|
45
|
+
* Databricks credential data source
|
|
46
46
|
*
|
|
47
47
|
* ## Example Usage
|
|
48
48
|
*
|
package/getGroupUsers.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.getGroupUsersOutput = exports.getGroupUsers = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
*
|
|
9
|
+
* Databricks credential data source
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
@@ -27,7 +27,7 @@ function getGroupUsers(args, opts) {
|
|
|
27
27
|
}
|
|
28
28
|
exports.getGroupUsers = getGroupUsers;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* Databricks credential data source
|
|
31
31
|
*
|
|
32
32
|
* ## Example Usage
|
|
33
33
|
*
|
package/getJob.d.ts
CHANGED
|
@@ -1,93 +1,126 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
2
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Get detailed information for a specific dbt Cloud job.
|
|
6
|
+
*/
|
|
3
7
|
export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>;
|
|
4
8
|
/**
|
|
5
9
|
* A collection of arguments for invoking getJob.
|
|
6
10
|
*/
|
|
7
11
|
export interface GetJobArgs {
|
|
8
12
|
/**
|
|
9
|
-
*
|
|
13
|
+
* Which other job should trigger this job when it finishes, and on which conditions. Format for the property will change in the next release to match the one from the one from dbtcloud*jobs.
|
|
10
14
|
*/
|
|
11
|
-
|
|
15
|
+
jobCompletionTriggerConditions?: inputs.GetJobJobCompletionTriggerCondition[];
|
|
12
16
|
/**
|
|
13
|
-
* ID of the
|
|
17
|
+
* The ID of the job
|
|
14
18
|
*/
|
|
15
|
-
|
|
19
|
+
jobId: number;
|
|
16
20
|
}
|
|
17
21
|
/**
|
|
18
22
|
* A collection of values returned by getJob.
|
|
19
23
|
*/
|
|
20
24
|
export interface GetJobResult {
|
|
21
25
|
/**
|
|
22
|
-
*
|
|
26
|
+
* The version of dbt used for the job. If not set, the environment version will be used.
|
|
27
|
+
*/
|
|
28
|
+
readonly dbtVersion: string;
|
|
29
|
+
/**
|
|
30
|
+
* The ID of the environment this job defers to
|
|
23
31
|
*/
|
|
24
32
|
readonly deferringEnvironmentId: number;
|
|
25
33
|
/**
|
|
26
|
-
* ID of the job this job defers to
|
|
34
|
+
* [Deprectated - Deferral is now set at the environment level] The ID of the job definition this job defers to
|
|
35
|
+
*
|
|
36
|
+
* @deprecated Deferral is now set at the environment level
|
|
27
37
|
*/
|
|
28
38
|
readonly deferringJobId: number;
|
|
29
39
|
/**
|
|
30
|
-
*
|
|
40
|
+
* The description of the job
|
|
31
41
|
*/
|
|
32
42
|
readonly description: string;
|
|
33
43
|
/**
|
|
34
|
-
*
|
|
44
|
+
* Details of the environment the job is running in
|
|
45
|
+
*/
|
|
46
|
+
readonly environment: outputs.GetJobEnvironment;
|
|
47
|
+
/**
|
|
48
|
+
* The ID of environment
|
|
35
49
|
*/
|
|
36
50
|
readonly environmentId: number;
|
|
37
51
|
/**
|
|
38
|
-
* The
|
|
52
|
+
* The list of steps to run in the job
|
|
53
|
+
*/
|
|
54
|
+
readonly executeSteps: string[];
|
|
55
|
+
readonly execution: outputs.GetJobExecution;
|
|
56
|
+
/**
|
|
57
|
+
* Whether the job generate docs
|
|
58
|
+
*/
|
|
59
|
+
readonly generateDocs: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* The ID of the job
|
|
39
62
|
*/
|
|
40
|
-
readonly id:
|
|
63
|
+
readonly id: number;
|
|
41
64
|
/**
|
|
42
|
-
* Which other job should trigger this job when it finishes, and on which conditions.
|
|
65
|
+
* Which other job should trigger this job when it finishes, and on which conditions. Format for the property will change in the next release to match the one from the one from dbtcloud*jobs.
|
|
43
66
|
*/
|
|
44
67
|
readonly jobCompletionTriggerConditions: outputs.GetJobJobCompletionTriggerCondition[];
|
|
45
68
|
/**
|
|
46
|
-
* ID of the job
|
|
69
|
+
* The ID of the job
|
|
47
70
|
*/
|
|
48
71
|
readonly jobId: number;
|
|
49
72
|
/**
|
|
50
|
-
*
|
|
73
|
+
* The type of job (e.g. CI, scheduled)
|
|
74
|
+
*/
|
|
75
|
+
readonly jobType: string;
|
|
76
|
+
/**
|
|
77
|
+
* The name of the job
|
|
51
78
|
*/
|
|
52
79
|
readonly name: string;
|
|
53
80
|
/**
|
|
54
|
-
* ID of the project
|
|
81
|
+
* The ID of the project
|
|
55
82
|
*/
|
|
56
83
|
readonly projectId: number;
|
|
57
84
|
/**
|
|
58
|
-
* Whether the
|
|
85
|
+
* Whether the job should compare data changes introduced by the code change in the PR
|
|
59
86
|
*/
|
|
60
87
|
readonly runCompareChanges: boolean;
|
|
88
|
+
/**
|
|
89
|
+
* Whether the job test source freshness
|
|
90
|
+
*/
|
|
91
|
+
readonly runGenerateSources: boolean;
|
|
92
|
+
readonly schedule: outputs.GetJobSchedule;
|
|
61
93
|
/**
|
|
62
94
|
* Whether this job defers on a previous run of itself (overrides value in deferring*job*id)
|
|
63
95
|
*/
|
|
64
96
|
readonly selfDeferring: boolean;
|
|
97
|
+
readonly settings: outputs.GetJobSettings;
|
|
65
98
|
/**
|
|
66
|
-
* Number of seconds before the job times out
|
|
99
|
+
* [Deprectated - Moved to execution.timeout_seconds] Number of seconds before the job times out
|
|
100
|
+
*
|
|
101
|
+
* @deprecated Moved to execution.timeout_seconds
|
|
67
102
|
*/
|
|
68
103
|
readonly timeoutSeconds: number;
|
|
69
|
-
|
|
70
|
-
* Flags for which types of triggers to use, keys of github*webhook, git*provider*webhook, schedule, on*merge
|
|
71
|
-
*/
|
|
72
|
-
readonly triggers: {
|
|
73
|
-
[key: string]: boolean;
|
|
74
|
-
};
|
|
104
|
+
readonly triggers: outputs.GetJobTriggers;
|
|
75
105
|
/**
|
|
76
106
|
* Whether the CI job should be automatically triggered on draft PRs
|
|
77
107
|
*/
|
|
78
108
|
readonly triggersOnDraftPr: boolean;
|
|
79
109
|
}
|
|
110
|
+
/**
|
|
111
|
+
* Get detailed information for a specific dbt Cloud job.
|
|
112
|
+
*/
|
|
80
113
|
export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetJobResult>;
|
|
81
114
|
/**
|
|
82
115
|
* A collection of arguments for invoking getJob.
|
|
83
116
|
*/
|
|
84
117
|
export interface GetJobOutputArgs {
|
|
85
118
|
/**
|
|
86
|
-
*
|
|
119
|
+
* Which other job should trigger this job when it finishes, and on which conditions. Format for the property will change in the next release to match the one from the one from dbtcloud*jobs.
|
|
87
120
|
*/
|
|
88
|
-
|
|
121
|
+
jobCompletionTriggerConditions?: pulumi.Input<pulumi.Input<inputs.GetJobJobCompletionTriggerConditionArgs>[]>;
|
|
89
122
|
/**
|
|
90
|
-
* ID of the
|
|
123
|
+
* The ID of the job
|
|
91
124
|
*/
|
|
92
|
-
|
|
125
|
+
jobId: pulumi.Input<number>;
|
|
93
126
|
}
|
package/getJob.js
CHANGED
|
@@ -5,19 +5,25 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getJobOutput = exports.getJob = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Get detailed information for a specific dbt Cloud job.
|
|
10
|
+
*/
|
|
8
11
|
function getJob(args, opts) {
|
|
9
12
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
13
|
return pulumi.runtime.invoke("dbtcloud:index/getJob:getJob", {
|
|
14
|
+
"jobCompletionTriggerConditions": args.jobCompletionTriggerConditions,
|
|
11
15
|
"jobId": args.jobId,
|
|
12
|
-
"projectId": args.projectId,
|
|
13
16
|
}, opts);
|
|
14
17
|
}
|
|
15
18
|
exports.getJob = getJob;
|
|
19
|
+
/**
|
|
20
|
+
* Get detailed information for a specific dbt Cloud job.
|
|
21
|
+
*/
|
|
16
22
|
function getJobOutput(args, opts) {
|
|
17
23
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
18
24
|
return pulumi.runtime.invokeOutput("dbtcloud:index/getJob:getJob", {
|
|
25
|
+
"jobCompletionTriggerConditions": args.jobCompletionTriggerConditions,
|
|
19
26
|
"jobId": args.jobId,
|
|
20
|
-
"projectId": args.projectId,
|
|
21
27
|
}, opts);
|
|
22
28
|
}
|
|
23
29
|
exports.getJobOutput = getJobOutput;
|
package/getJob.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getJob.js","sourceRoot":"","sources":["../getJob.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,
|
|
1
|
+
{"version":3,"file":"getJob.js","sourceRoot":"","sources":["../getJob.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAChE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8BAA8B,EAAE;QACzD,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AAyGD;;GAEG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAAiC;IAClF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,8BAA8B,EAAE;QAC/D,gCAAgC,EAAE,IAAI,CAAC,8BAA8B;QACrE,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC"}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Postgres credential data source.
|
|
4
|
+
*/
|
|
2
5
|
export declare function getPostgresCredential(args: GetPostgresCredentialArgs, opts?: pulumi.InvokeOptions): Promise<GetPostgresCredentialResult>;
|
|
3
6
|
/**
|
|
4
7
|
* A collection of arguments for invoking getPostgresCredential.
|
|
@@ -26,7 +29,7 @@ export interface GetPostgresCredentialResult {
|
|
|
26
29
|
*/
|
|
27
30
|
readonly defaultSchema: string;
|
|
28
31
|
/**
|
|
29
|
-
* The
|
|
32
|
+
* The ID of this data source. Contains the project ID and the credential ID.
|
|
30
33
|
*/
|
|
31
34
|
readonly id: string;
|
|
32
35
|
/**
|
|
@@ -46,6 +49,9 @@ export interface GetPostgresCredentialResult {
|
|
|
46
49
|
*/
|
|
47
50
|
readonly username: string;
|
|
48
51
|
}
|
|
52
|
+
/**
|
|
53
|
+
* Postgres credential data source.
|
|
54
|
+
*/
|
|
49
55
|
export declare function getPostgresCredentialOutput(args: GetPostgresCredentialOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPostgresCredentialResult>;
|
|
50
56
|
/**
|
|
51
57
|
* A collection of arguments for invoking getPostgresCredential.
|