@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.
Files changed (148) hide show
  1. package/accountFeatures.d.ts +24 -0
  2. package/accountFeatures.js +4 -0
  3. package/accountFeatures.js.map +1 -1
  4. package/bigQueryCredential.d.ts +5 -3
  5. package/bigQueryCredential.js +2 -0
  6. package/bigQueryCredential.js.map +1 -1
  7. package/bigquerySemanticLayerCredential.d.ts +161 -0
  8. package/bigquerySemanticLayerCredential.js +102 -0
  9. package/bigquerySemanticLayerCredential.js.map +1 -0
  10. package/databricksCredential.d.ts +16 -14
  11. package/databricksCredential.js +14 -2
  12. package/databricksCredential.js.map +1 -1
  13. package/environment.d.ts +37 -45
  14. package/environment.js +1 -6
  15. package/environment.js.map +1 -1
  16. package/environmentVariable.d.ts +3 -3
  17. package/environmentVariableJobOverride.d.ts +15 -5
  18. package/environmentVariableJobOverride.js +4 -0
  19. package/environmentVariableJobOverride.js.map +1 -1
  20. package/extendedAttributes.d.ts +7 -13
  21. package/extendedAttributes.js +1 -1
  22. package/extendedAttributes.js.map +1 -1
  23. package/fabricCredential.d.ts +16 -16
  24. package/fabricCredential.js +6 -6
  25. package/fabricCredential.js.map +1 -1
  26. package/getBigQueryCredential.d.ts +7 -1
  27. package/getBigQueryCredential.js +6 -0
  28. package/getBigQueryCredential.js.map +1 -1
  29. package/getDatabricksCredential.d.ts +10 -4
  30. package/getDatabricksCredential.js +6 -0
  31. package/getDatabricksCredential.js.map +1 -1
  32. package/getEnvironment.d.ts +4 -7
  33. package/getEnvironment.js.map +1 -1
  34. package/getEnvironmentVariable.d.ts +38 -8
  35. package/getEnvironmentVariable.js +30 -0
  36. package/getEnvironmentVariable.js.map +1 -1
  37. package/getExtendedAttributes.d.ts +12 -8
  38. package/getExtendedAttributes.js +4 -0
  39. package/getExtendedAttributes.js.map +1 -1
  40. package/getGlobalConnection.d.ts +4 -0
  41. package/getGlobalConnection.js.map +1 -1
  42. package/getGroupUsers.d.ts +3 -3
  43. package/getGroupUsers.js +2 -2
  44. package/getJob.d.ts +59 -26
  45. package/getJob.js +8 -2
  46. package/getJob.js.map +1 -1
  47. package/getPostgresCredential.d.ts +7 -1
  48. package/getPostgresCredential.js +6 -0
  49. package/getPostgresCredential.js.map +1 -1
  50. package/getPrivatelinkEndpoint.d.ts +16 -10
  51. package/getPrivatelinkEndpoint.js +6 -0
  52. package/getPrivatelinkEndpoint.js.map +1 -1
  53. package/getProject.d.ts +81 -44
  54. package/getProject.js +50 -22
  55. package/getProject.js.map +1 -1
  56. package/getRedshiftCredential.d.ts +72 -0
  57. package/getRedshiftCredential.js +32 -0
  58. package/getRedshiftCredential.js.map +1 -0
  59. package/getRepository.d.ts +25 -3
  60. package/getRepository.js +6 -0
  61. package/getRepository.js.map +1 -1
  62. package/getRuns.d.ts +46 -0
  63. package/getRuns.js +30 -0
  64. package/getRuns.js.map +1 -0
  65. package/getSnowflakeCredential.d.ts +8 -2
  66. package/getSnowflakeCredential.js +6 -0
  67. package/getSnowflakeCredential.js.map +1 -1
  68. package/getSynapseCredential.d.ts +80 -0
  69. package/getSynapseCredential.js +30 -0
  70. package/getSynapseCredential.js.map +1 -0
  71. package/getTeradataCredential.d.ts +68 -0
  72. package/getTeradataCredential.js +30 -0
  73. package/getTeradataCredential.js.map +1 -0
  74. package/getUserGroups.d.ts +9 -5
  75. package/getUserGroups.js +4 -0
  76. package/getUserGroups.js.map +1 -1
  77. package/getWebhook.d.ts +16 -4
  78. package/getWebhook.js +6 -0
  79. package/getWebhook.js.map +1 -1
  80. package/globalConnection.d.ts +12 -2
  81. package/globalConnection.js +2 -2
  82. package/globalConnection.js.map +1 -1
  83. package/index.d.ts +36 -18
  84. package/index.js +55 -28
  85. package/index.js.map +1 -1
  86. package/job.d.ts +41 -144
  87. package/job.js +4 -113
  88. package/job.js.map +1 -1
  89. package/package.json +2 -2
  90. package/partialEnvironmentVariable.d.ts +83 -0
  91. package/partialEnvironmentVariable.js +64 -0
  92. package/partialEnvironmentVariable.js.map +1 -0
  93. package/postgresCredential.d.ts +13 -11
  94. package/postgresCredential.js +2 -0
  95. package/postgresCredential.js.map +1 -1
  96. package/project.d.ts +20 -6
  97. package/project.js +5 -1
  98. package/project.js.map +1 -1
  99. package/projectRepository.d.ts +1 -1
  100. package/projectRepository.js +1 -1
  101. package/redshiftCredential.d.ts +165 -0
  102. package/redshiftCredential.js +121 -0
  103. package/redshiftCredential.js.map +1 -0
  104. package/redshiftSemanticLayerCredential.d.ts +65 -0
  105. package/redshiftSemanticLayerCredential.js +60 -0
  106. package/redshiftSemanticLayerCredential.js.map +1 -0
  107. package/repository.d.ts +6 -6
  108. package/semanticLayerConfiguration.d.ts +106 -0
  109. package/semanticLayerConfiguration.js +103 -0
  110. package/semanticLayerConfiguration.js.map +1 -0
  111. package/snowflakeCredential.d.ts +46 -32
  112. package/snowflakeCredential.js +4 -6
  113. package/snowflakeCredential.js.map +1 -1
  114. package/snowflakeSemanticLayerCredential.d.ts +95 -0
  115. package/snowflakeSemanticLayerCredential.js +90 -0
  116. package/snowflakeSemanticLayerCredential.js.map +1 -0
  117. package/synapseCredential.d.ts +233 -0
  118. package/synapseCredential.js +152 -0
  119. package/synapseCredential.js.map +1 -0
  120. package/teradataCredential.d.ts +107 -0
  121. package/teradataCredential.js +76 -0
  122. package/teradataCredential.js.map +1 -0
  123. package/types/input.d.ts +300 -0
  124. package/types/output.d.ts +409 -6
  125. package/userGroups.d.ts +4 -5
  126. package/userGroups.js +1 -2
  127. package/userGroups.js.map +1 -1
  128. package/webhook.d.ts +13 -7
  129. package/webhook.js +2 -0
  130. package/webhook.js.map +1 -1
  131. package/bigQueryConnection.d.ts +0 -420
  132. package/bigQueryConnection.js +0 -217
  133. package/bigQueryConnection.js.map +0 -1
  134. package/connection.d.ts +0 -342
  135. package/connection.js +0 -170
  136. package/connection.js.map +0 -1
  137. package/fabricConnection.d.ts +0 -199
  138. package/fabricConnection.js +0 -130
  139. package/fabricConnection.js.map +0 -1
  140. package/getBigQueryConnection.d.ts +0 -134
  141. package/getBigQueryConnection.js +0 -24
  142. package/getBigQueryConnection.js.map +0 -1
  143. package/getConnection.d.ts +0 -86
  144. package/getConnection.js +0 -24
  145. package/getConnection.js.map +0 -1
  146. package/projectConnection.d.ts +0 -105
  147. package/projectConnection.js +0 -102
  148. package/projectConnection.js.map +0 -1
@@ -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
- * Databricks adapter ID for the credential
24
+ * The type of the adapter (databricks or spark)
22
25
  */
23
- readonly adapterId: number;
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 provider-assigned unique ID for this managed resource.
36
+ * The ID of this resource. Contains the project ID and the credential ID.
34
37
  */
35
38
  readonly id: string;
36
39
  /**
37
- * Number of threads to use
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"}
@@ -12,7 +12,7 @@ export interface GetEnvironmentArgs {
12
12
  */
13
13
  environmentId: number;
14
14
  /**
15
- * The project ID to which the environment belong
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
- * The project ID to which the environment belong
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 belong
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 belong
86
+ * The project ID to which the environment belongs
90
87
  */
91
88
  projectId: pulumi.Input<number>;
92
89
  }
@@ -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;AAyED;;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
+ {"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 exists in
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 containing the environment variables
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 provider-assigned unique ID for this managed resource.
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 exists in
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 exists in
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
- * ID of the extended attributes
23
+ * Extended attributes ID
22
24
  */
23
25
  extendedAttributesId: number;
24
26
  /**
25
- * Project ID the extended attributes refers to
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
- * A JSON string listing the extended attributes mapping
36
+ * Extended attributes
35
37
  */
36
38
  readonly extendedAttributes: string;
37
39
  /**
38
- * ID of the extended attributes
40
+ * Extended attributes ID
39
41
  */
40
42
  readonly extendedAttributesId: number;
41
43
  /**
42
- * The provider-assigned unique ID for this managed resource.
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 the extended attributes refers to
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
- * ID of the extended attributes
77
+ * Extended attributes ID
74
78
  */
75
79
  extendedAttributesId: pulumi.Input<number>;
76
80
  /**
77
- * Project ID the extended attributes refers to
81
+ * Project ID
78
82
  */
79
83
  projectId: pulumi.Input<number>;
80
84
  }
@@ -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;;;;;;;;;;;;GAYG;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;;;;;;;;;;;;GAYG;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"}
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"}
@@ -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;AA2ED;;;;;;;;;;;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"}
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"}
@@ -1,7 +1,7 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  import * as outputs from "./types/output";
3
3
  /**
4
- * Returns a list of users assigned to a specific dbt Cloud group
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 provider-assigned unique ID for this managed resource.
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
- * Returns a list of users assigned to a specific dbt Cloud group
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
- * Returns a list of users assigned to a specific dbt Cloud group
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
- * Returns a list of users assigned to a specific dbt Cloud group
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
- * ID of the job
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
- jobId: number;
15
+ jobCompletionTriggerConditions?: inputs.GetJobJobCompletionTriggerCondition[];
12
16
  /**
13
- * ID of the project the job is in
17
+ * The ID of the job
14
18
  */
15
- projectId: number;
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
- * ID of the environment this job defers to
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
- * Long description for the job
40
+ * The description of the job
31
41
  */
32
42
  readonly description: string;
33
43
  /**
34
- * ID of the environment the job is in
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 provider-assigned unique ID for this managed resource.
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: string;
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
- * Given name for the job
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 the job is in
81
+ * The ID of the project
55
82
  */
56
83
  readonly projectId: number;
57
84
  /**
58
- * Whether the CI job should compare data changes introduced by the code change in the PR.
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
- * ID of the job
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
- jobId: pulumi.Input<number>;
121
+ jobCompletionTriggerConditions?: pulumi.Input<pulumi.Input<inputs.GetJobJobCompletionTriggerConditionArgs>[]>;
89
122
  /**
90
- * ID of the project the job is in
123
+ * The ID of the job
91
124
  */
92
- projectId: pulumi.Input<number>;
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,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wBAMC;AA6ED,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,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oCAMC"}
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 provider-assigned unique ID for this managed resource.
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.