@pulumi/dbtcloud 0.1.0-alpha.1715944408

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 (166) hide show
  1. package/LICENSE +177 -0
  2. package/README.md +70 -0
  3. package/bigQueryConnection.d.ts +399 -0
  4. package/bigQueryConnection.js +196 -0
  5. package/bigQueryConnection.js.map +1 -0
  6. package/bigQueryCredential.d.ts +117 -0
  7. package/bigQueryCredential.js +91 -0
  8. package/bigQueryCredential.js.map +1 -0
  9. package/config/index.d.ts +1 -0
  10. package/config/index.js +21 -0
  11. package/config/index.js.map +1 -0
  12. package/config/vars.d.ts +14 -0
  13. package/config/vars.js +29 -0
  14. package/config/vars.js.map +1 -0
  15. package/connection.d.ts +321 -0
  16. package/connection.js +149 -0
  17. package/connection.js.map +1 -0
  18. package/databricksCredential.d.ts +168 -0
  19. package/databricksCredential.js +120 -0
  20. package/databricksCredential.js.map +1 -0
  21. package/environment.d.ts +209 -0
  22. package/environment.js +123 -0
  23. package/environment.js.map +1 -0
  24. package/environmentVariable.d.ts +120 -0
  25. package/environmentVariable.js +101 -0
  26. package/environmentVariable.js.map +1 -0
  27. package/environmentVariableJobOverride.d.ts +119 -0
  28. package/environmentVariableJobOverride.js +93 -0
  29. package/environmentVariableJobOverride.js.map +1 -0
  30. package/extendedAttributes.d.ts +135 -0
  31. package/extendedAttributes.js +107 -0
  32. package/extendedAttributes.js.map +1 -0
  33. package/fabricConnection.d.ts +177 -0
  34. package/fabricConnection.js +108 -0
  35. package/fabricConnection.js.map +1 -0
  36. package/fabricCredential.d.ts +167 -0
  37. package/fabricCredential.js +93 -0
  38. package/fabricCredential.js.map +1 -0
  39. package/getAzureDevOpsProject.d.ts +72 -0
  40. package/getAzureDevOpsProject.js +53 -0
  41. package/getAzureDevOpsProject.js.map +1 -0
  42. package/getAzureDevOpsRepository.d.ts +98 -0
  43. package/getAzureDevOpsRepository.js +56 -0
  44. package/getAzureDevOpsRepository.js.map +1 -0
  45. package/getBigQueryConnection.d.ts +134 -0
  46. package/getBigQueryConnection.js +20 -0
  47. package/getBigQueryConnection.js.map +1 -0
  48. package/getBigQueryCredential.d.ts +58 -0
  49. package/getBigQueryCredential.js +20 -0
  50. package/getBigQueryCredential.js.map +1 -0
  51. package/getConnection.d.ts +86 -0
  52. package/getConnection.js +20 -0
  53. package/getConnection.js.map +1 -0
  54. package/getDatabricksCredential.d.ts +66 -0
  55. package/getDatabricksCredential.js +20 -0
  56. package/getDatabricksCredential.js.map +1 -0
  57. package/getEnvironment.d.ts +82 -0
  58. package/getEnvironment.js +20 -0
  59. package/getEnvironment.js.map +1 -0
  60. package/getEnvironmentVariable.d.ts +52 -0
  61. package/getEnvironmentVariable.js +20 -0
  62. package/getEnvironmentVariable.js.map +1 -0
  63. package/getExtendedAttributes.d.ts +80 -0
  64. package/getExtendedAttributes.js +46 -0
  65. package/getExtendedAttributes.js.map +1 -0
  66. package/getGroup.d.ts +50 -0
  67. package/getGroup.js +19 -0
  68. package/getGroup.js.map +1 -0
  69. package/getGroupUsers.d.ts +67 -0
  70. package/getGroupUsers.js +47 -0
  71. package/getGroupUsers.js.map +1 -0
  72. package/getJob.d.ts +89 -0
  73. package/getJob.js +20 -0
  74. package/getJob.js.map +1 -0
  75. package/getNotification.d.ts +82 -0
  76. package/getNotification.js +43 -0
  77. package/getNotification.js.map +1 -0
  78. package/getPostgresCredential.d.ts +62 -0
  79. package/getPostgresCredential.js +20 -0
  80. package/getPostgresCredential.js.map +1 -0
  81. package/getPrivatelinkEndpoint.d.ts +98 -0
  82. package/getPrivatelinkEndpoint.js +61 -0
  83. package/getPrivatelinkEndpoint.js.map +1 -0
  84. package/getProject.d.ts +102 -0
  85. package/getProject.js +57 -0
  86. package/getProject.js.map +1 -0
  87. package/getRepository.d.ts +86 -0
  88. package/getRepository.js +21 -0
  89. package/getRepository.js.map +1 -0
  90. package/getServiceToken.d.ts +47 -0
  91. package/getServiceToken.js +19 -0
  92. package/getServiceToken.js.map +1 -0
  93. package/getSnowflakeCredential.d.ts +66 -0
  94. package/getSnowflakeCredential.js +20 -0
  95. package/getSnowflakeCredential.js.map +1 -0
  96. package/getUser.d.ts +58 -0
  97. package/getUser.js +43 -0
  98. package/getUser.js.map +1 -0
  99. package/getUserGroups.d.ts +62 -0
  100. package/getUserGroups.js +43 -0
  101. package/getUserGroups.js.map +1 -0
  102. package/getWebhook.d.ts +66 -0
  103. package/getWebhook.js +19 -0
  104. package/getWebhook.js.map +1 -0
  105. package/group.d.ts +127 -0
  106. package/group.js +95 -0
  107. package/group.js.map +1 -0
  108. package/index.d.ts +144 -0
  109. package/index.js +220 -0
  110. package/index.js.map +1 -0
  111. package/job.d.ts +443 -0
  112. package/job.js +228 -0
  113. package/job.js.map +1 -0
  114. package/licenseMap.d.ts +96 -0
  115. package/licenseMap.js +90 -0
  116. package/licenseMap.js.map +1 -0
  117. package/notification.d.ts +202 -0
  118. package/notification.js +126 -0
  119. package/notification.js.map +1 -0
  120. package/package.json +31 -0
  121. package/package.json.bak +31 -0
  122. package/postgresCredential.d.ts +171 -0
  123. package/postgresCredential.js +110 -0
  124. package/postgresCredential.js.map +1 -0
  125. package/project.d.ts +87 -0
  126. package/project.js +78 -0
  127. package/project.js.map +1 -0
  128. package/projectArtefacts.d.ts +99 -0
  129. package/projectArtefacts.js +83 -0
  130. package/projectArtefacts.js.map +1 -0
  131. package/projectConnection.d.ts +86 -0
  132. package/projectConnection.js +83 -0
  133. package/projectConnection.js.map +1 -0
  134. package/projectRepository.d.ts +86 -0
  135. package/projectRepository.js +83 -0
  136. package/projectRepository.js.map +1 -0
  137. package/provider.d.ts +50 -0
  138. package/provider.js +48 -0
  139. package/provider.js.map +1 -0
  140. package/repository.d.ts +204 -0
  141. package/repository.js +103 -0
  142. package/repository.js.map +1 -0
  143. package/serviceToken.d.ts +126 -0
  144. package/serviceToken.js +95 -0
  145. package/serviceToken.js.map +1 -0
  146. package/snowflakeCredential.d.ts +218 -0
  147. package/snowflakeCredential.js +120 -0
  148. package/snowflakeCredential.js.map +1 -0
  149. package/types/index.d.ts +3 -0
  150. package/types/index.js +11 -0
  151. package/types/index.js.map +1 -0
  152. package/types/input.d.ts +43 -0
  153. package/types/input.js +5 -0
  154. package/types/input.js.map +1 -0
  155. package/types/output.d.ts +74 -0
  156. package/types/output.js +5 -0
  157. package/types/output.js.map +1 -0
  158. package/userGroups.d.ts +105 -0
  159. package/userGroups.js +102 -0
  160. package/userGroups.js.map +1 -0
  161. package/utilities.d.ts +8 -0
  162. package/utilities.js +101 -0
  163. package/utilities.js.map +1 -0
  164. package/webhook.d.ts +175 -0
  165. package/webhook.js +110 -0
  166. package/webhook.js.map +1 -0
@@ -0,0 +1,82 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getEnvironment(args: GetEnvironmentArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentResult>;
3
+ /**
4
+ * A collection of arguments for invoking getEnvironment.
5
+ */
6
+ export interface GetEnvironmentArgs {
7
+ /**
8
+ * ID of the environment
9
+ */
10
+ environmentId: number;
11
+ /**
12
+ * Project ID to create the environment in
13
+ */
14
+ projectId: number;
15
+ }
16
+ /**
17
+ * A collection of values returned by getEnvironment.
18
+ */
19
+ export interface GetEnvironmentResult {
20
+ /**
21
+ * Credential ID to create the environment with
22
+ */
23
+ readonly credentialId: number;
24
+ /**
25
+ * Which custom branch to use in this environment
26
+ */
27
+ readonly customBranch: string;
28
+ /**
29
+ * Version number of dbt to use in this environment, usually in the format 1.2.0-latest rather than core versions
30
+ */
31
+ readonly dbtVersion: string;
32
+ /**
33
+ * The type of deployment environment (currently 'production' or empty)
34
+ */
35
+ readonly deploymentType: string;
36
+ /**
37
+ * ID of the environment
38
+ */
39
+ readonly environmentId: number;
40
+ /**
41
+ * The ID of the extended attributes applied
42
+ */
43
+ readonly extendedAttributesId: number;
44
+ /**
45
+ * The provider-assigned unique ID for this managed resource.
46
+ */
47
+ readonly id: string;
48
+ /**
49
+ * Whether the environment is active
50
+ */
51
+ readonly isActive: boolean;
52
+ /**
53
+ * Environment name
54
+ */
55
+ readonly name: string;
56
+ /**
57
+ * Project ID to create the environment in
58
+ */
59
+ readonly projectId: number;
60
+ /**
61
+ * The type of environment (must be either development or deployment)
62
+ */
63
+ readonly type: string;
64
+ /**
65
+ * Whether to use a custom git branch in this environment
66
+ */
67
+ readonly useCustomBranch: boolean;
68
+ }
69
+ export declare function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentResult>;
70
+ /**
71
+ * A collection of arguments for invoking getEnvironment.
72
+ */
73
+ export interface GetEnvironmentOutputArgs {
74
+ /**
75
+ * ID of the environment
76
+ */
77
+ environmentId: pulumi.Input<number>;
78
+ /**
79
+ * Project ID to create the environment in
80
+ */
81
+ projectId: pulumi.Input<number>;
82
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getEnvironmentOutput = exports.getEnvironment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getEnvironment(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("dbtcloud:index/getEnvironment:getEnvironment", {
11
+ "environmentId": args.environmentId,
12
+ "projectId": args.projectId,
13
+ }, opts);
14
+ }
15
+ exports.getEnvironment = getEnvironment;
16
+ function getEnvironmentOutput(args, opts) {
17
+ return pulumi.output(args).apply((a) => getEnvironment(a, opts));
18
+ }
19
+ exports.getEnvironmentOutput = getEnvironmentOutput;
20
+ //# sourceMappingURL=getEnvironment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEnvironment.js","sourceRoot":"","sources":["../getEnvironment.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAEhF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8CAA8C,EAAE;QACzE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AAqED,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACzE,CAAC;AAFD,oDAEC"}
@@ -0,0 +1,52 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getEnvironmentVariable(args: GetEnvironmentVariableArgs, opts?: pulumi.InvokeOptions): Promise<GetEnvironmentVariableResult>;
3
+ /**
4
+ * A collection of arguments for invoking getEnvironmentVariable.
5
+ */
6
+ export interface GetEnvironmentVariableArgs {
7
+ /**
8
+ * Name for the variable
9
+ */
10
+ name: string;
11
+ /**
12
+ * Project ID the variable exists in
13
+ */
14
+ projectId: number;
15
+ }
16
+ /**
17
+ * A collection of values returned by getEnvironmentVariable.
18
+ */
19
+ export interface GetEnvironmentVariableResult {
20
+ /**
21
+ * Map containing the environment variables
22
+ */
23
+ readonly environmentValues: {
24
+ [key: string]: any;
25
+ };
26
+ /**
27
+ * The provider-assigned unique ID for this managed resource.
28
+ */
29
+ readonly id: string;
30
+ /**
31
+ * Name for the variable
32
+ */
33
+ readonly name: string;
34
+ /**
35
+ * Project ID the variable exists in
36
+ */
37
+ readonly projectId: number;
38
+ }
39
+ export declare function getEnvironmentVariableOutput(args: GetEnvironmentVariableOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetEnvironmentVariableResult>;
40
+ /**
41
+ * A collection of arguments for invoking getEnvironmentVariable.
42
+ */
43
+ export interface GetEnvironmentVariableOutputArgs {
44
+ /**
45
+ * Name for the variable
46
+ */
47
+ name: pulumi.Input<string>;
48
+ /**
49
+ * Project ID the variable exists in
50
+ */
51
+ projectId: pulumi.Input<number>;
52
+ }
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getEnvironmentVariableOutput = exports.getEnvironmentVariable = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getEnvironmentVariable(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("dbtcloud:index/getEnvironmentVariable:getEnvironmentVariable", {
11
+ "name": args.name,
12
+ "projectId": args.projectId,
13
+ }, opts);
14
+ }
15
+ exports.getEnvironmentVariable = getEnvironmentVariable;
16
+ function getEnvironmentVariableOutput(args, opts) {
17
+ return pulumi.output(args).apply((a) => getEnvironmentVariable(a, opts));
18
+ }
19
+ exports.getEnvironmentVariableOutput = getEnvironmentVariableOutput;
20
+ //# sourceMappingURL=getEnvironmentVariable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getEnvironmentVariable.js","sourceRoot":"","sources":["../getEnvironmentVariable.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAEhG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,8DAA8D,EAAE;QACzF,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAqCD,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,sBAAsB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjF,CAAC;AAFD,oEAEC"}
@@ -0,0 +1,80 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as dbtcloud from "@pulumi/dbtcloud";
8
+ *
9
+ * const myExtendedAttributes = dbtcloud.getExtendedAttributes({
10
+ * extendedAttributesId: 12345,
11
+ * projectId: 6789,
12
+ * });
13
+ * ```
14
+ */
15
+ export declare function getExtendedAttributes(args: GetExtendedAttributesArgs, opts?: pulumi.InvokeOptions): Promise<GetExtendedAttributesResult>;
16
+ /**
17
+ * A collection of arguments for invoking getExtendedAttributes.
18
+ */
19
+ export interface GetExtendedAttributesArgs {
20
+ /**
21
+ * ID of the extended attributes
22
+ */
23
+ extendedAttributesId: number;
24
+ /**
25
+ * Project ID the extended attributes refers to
26
+ */
27
+ projectId: number;
28
+ }
29
+ /**
30
+ * A collection of values returned by getExtendedAttributes.
31
+ */
32
+ export interface GetExtendedAttributesResult {
33
+ /**
34
+ * A JSON string listing the extended attributes mapping
35
+ */
36
+ readonly extendedAttributes: string;
37
+ /**
38
+ * ID of the extended attributes
39
+ */
40
+ readonly extendedAttributesId: number;
41
+ /**
42
+ * The provider-assigned unique ID for this managed resource.
43
+ */
44
+ readonly id: string;
45
+ /**
46
+ * Project ID the extended attributes refers to
47
+ */
48
+ readonly projectId: number;
49
+ /**
50
+ * The state of the extended attributes (1 = active, 2 = inactive)
51
+ */
52
+ readonly state: number;
53
+ }
54
+ /**
55
+ * ## Example Usage
56
+ *
57
+ * ```typescript
58
+ * import * as pulumi from "@pulumi/pulumi";
59
+ * import * as dbtcloud from "@pulumi/dbtcloud";
60
+ *
61
+ * const myExtendedAttributes = dbtcloud.getExtendedAttributes({
62
+ * extendedAttributesId: 12345,
63
+ * projectId: 6789,
64
+ * });
65
+ * ```
66
+ */
67
+ export declare function getExtendedAttributesOutput(args: GetExtendedAttributesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetExtendedAttributesResult>;
68
+ /**
69
+ * A collection of arguments for invoking getExtendedAttributes.
70
+ */
71
+ export interface GetExtendedAttributesOutputArgs {
72
+ /**
73
+ * ID of the extended attributes
74
+ */
75
+ extendedAttributesId: pulumi.Input<number>;
76
+ /**
77
+ * Project ID the extended attributes refers to
78
+ */
79
+ projectId: pulumi.Input<number>;
80
+ }
@@ -0,0 +1,46 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getExtendedAttributesOutput = exports.getExtendedAttributes = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as dbtcloud from "@pulumi/dbtcloud";
14
+ *
15
+ * const myExtendedAttributes = dbtcloud.getExtendedAttributes({
16
+ * extendedAttributesId: 12345,
17
+ * projectId: 6789,
18
+ * });
19
+ * ```
20
+ */
21
+ function getExtendedAttributes(args, opts) {
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
23
+ return pulumi.runtime.invoke("dbtcloud:index/getExtendedAttributes:getExtendedAttributes", {
24
+ "extendedAttributesId": args.extendedAttributesId,
25
+ "projectId": args.projectId,
26
+ }, opts);
27
+ }
28
+ exports.getExtendedAttributes = getExtendedAttributes;
29
+ /**
30
+ * ## Example Usage
31
+ *
32
+ * ```typescript
33
+ * import * as pulumi from "@pulumi/pulumi";
34
+ * import * as dbtcloud from "@pulumi/dbtcloud";
35
+ *
36
+ * const myExtendedAttributes = dbtcloud.getExtendedAttributes({
37
+ * extendedAttributesId: 12345,
38
+ * projectId: 6789,
39
+ * });
40
+ * ```
41
+ */
42
+ function getExtendedAttributesOutput(args, opts) {
43
+ return pulumi.output(args).apply((a) => getExtendedAttributes(a, opts));
44
+ }
45
+ exports.getExtendedAttributesOutput = getExtendedAttributesOutput;
46
+ //# sourceMappingURL=getExtendedAttributes.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExtendedAttributes.js","sourceRoot":"","sources":["../getExtendedAttributes.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAE9F,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;AAPD,sDAOC;AAyCD;;;;;;;;;;;;GAYG;AACH,SAAgB,2BAA2B,CAAC,IAAqC,EAAE,IAA2B;IAC1G,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,qBAAqB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAChF,CAAC;AAFD,kEAEC"}
package/getGroup.d.ts ADDED
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare function getGroup(args: GetGroupArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupResult>;
3
+ /**
4
+ * A collection of arguments for invoking getGroup.
5
+ */
6
+ export interface GetGroupArgs {
7
+ /**
8
+ * ID of the group
9
+ */
10
+ groupId: number;
11
+ }
12
+ /**
13
+ * A collection of values returned by getGroup.
14
+ */
15
+ export interface GetGroupResult {
16
+ /**
17
+ * Whether or not to assign this group to users by default
18
+ */
19
+ readonly assignByDefault: boolean;
20
+ /**
21
+ * ID of the group
22
+ */
23
+ readonly groupId: number;
24
+ /**
25
+ * The provider-assigned unique ID for this managed resource.
26
+ */
27
+ readonly id: string;
28
+ /**
29
+ * Whether the group is active
30
+ */
31
+ readonly isActive: boolean;
32
+ /**
33
+ * Group name
34
+ */
35
+ readonly name: string;
36
+ /**
37
+ * SSO mapping group names for this group
38
+ */
39
+ readonly ssoMappingGroups: string[];
40
+ }
41
+ export declare function getGroupOutput(args: GetGroupOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupResult>;
42
+ /**
43
+ * A collection of arguments for invoking getGroup.
44
+ */
45
+ export interface GetGroupOutputArgs {
46
+ /**
47
+ * ID of the group
48
+ */
49
+ groupId: pulumi.Input<number>;
50
+ }
package/getGroup.js ADDED
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGroupOutput = exports.getGroup = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getGroup(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("dbtcloud:index/getGroup:getGroup", {
11
+ "groupId": args.groupId,
12
+ }, opts);
13
+ }
14
+ exports.getGroup = getGroup;
15
+ function getGroupOutput(args, opts) {
16
+ return pulumi.output(args).apply((a) => getGroup(a, opts));
17
+ }
18
+ exports.getGroupOutput = getGroupOutput;
19
+ //# sourceMappingURL=getGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAyCD,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -0,0 +1,67 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Returns a list of users assigned to a specific dbt Cloud group
5
+ *
6
+ * ## Example Usage
7
+ *
8
+ * ```typescript
9
+ * import * as pulumi from "@pulumi/pulumi";
10
+ * import * as dbtcloud from "@pulumi/dbtcloud";
11
+ *
12
+ * const myGroupUsers = dbtcloud.getGroupUsers({
13
+ * groupId: 1234,
14
+ * });
15
+ * ```
16
+ */
17
+ export declare function getGroupUsers(args: GetGroupUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetGroupUsersResult>;
18
+ /**
19
+ * A collection of arguments for invoking getGroupUsers.
20
+ */
21
+ export interface GetGroupUsersArgs {
22
+ /**
23
+ * ID of the group
24
+ */
25
+ groupId: number;
26
+ }
27
+ /**
28
+ * A collection of values returned by getGroupUsers.
29
+ */
30
+ export interface GetGroupUsersResult {
31
+ /**
32
+ * ID of the group
33
+ */
34
+ readonly groupId: number;
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ /**
40
+ * List of users (map of ID and email) in the group
41
+ */
42
+ readonly users: outputs.GetGroupUsersUser[];
43
+ }
44
+ /**
45
+ * Returns a list of users assigned to a specific dbt Cloud group
46
+ *
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as dbtcloud from "@pulumi/dbtcloud";
52
+ *
53
+ * const myGroupUsers = dbtcloud.getGroupUsers({
54
+ * groupId: 1234,
55
+ * });
56
+ * ```
57
+ */
58
+ export declare function getGroupUsersOutput(args: GetGroupUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetGroupUsersResult>;
59
+ /**
60
+ * A collection of arguments for invoking getGroupUsers.
61
+ */
62
+ export interface GetGroupUsersOutputArgs {
63
+ /**
64
+ * ID of the group
65
+ */
66
+ groupId: pulumi.Input<number>;
67
+ }
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getGroupUsersOutput = exports.getGroupUsers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Returns a list of users assigned to a specific dbt Cloud group
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as dbtcloud from "@pulumi/dbtcloud";
16
+ *
17
+ * const myGroupUsers = dbtcloud.getGroupUsers({
18
+ * groupId: 1234,
19
+ * });
20
+ * ```
21
+ */
22
+ function getGroupUsers(args, opts) {
23
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
24
+ return pulumi.runtime.invoke("dbtcloud:index/getGroupUsers:getGroupUsers", {
25
+ "groupId": args.groupId,
26
+ }, opts);
27
+ }
28
+ exports.getGroupUsers = getGroupUsers;
29
+ /**
30
+ * Returns a list of users assigned to a specific dbt Cloud group
31
+ *
32
+ * ## Example Usage
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as dbtcloud from "@pulumi/dbtcloud";
37
+ *
38
+ * const myGroupUsers = dbtcloud.getGroupUsers({
39
+ * groupId: 1234,
40
+ * });
41
+ * ```
42
+ */
43
+ function getGroupUsersOutput(args, opts) {
44
+ return pulumi.output(args).apply((a) => getGroupUsers(a, opts));
45
+ }
46
+ exports.getGroupUsersOutput = getGroupUsersOutput;
47
+ //# sourceMappingURL=getGroupUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getGroupUsers.js","sourceRoot":"","sources":["../getGroupUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAE9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sCAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,aAAa,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACxE,CAAC;AAFD,kDAEC"}
package/getJob.d.ts ADDED
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ export declare function getJob(args: GetJobArgs, opts?: pulumi.InvokeOptions): Promise<GetJobResult>;
4
+ /**
5
+ * A collection of arguments for invoking getJob.
6
+ */
7
+ export interface GetJobArgs {
8
+ /**
9
+ * ID of the job
10
+ */
11
+ jobId: number;
12
+ /**
13
+ * ID of the project the job is in
14
+ */
15
+ projectId: number;
16
+ }
17
+ /**
18
+ * A collection of values returned by getJob.
19
+ */
20
+ export interface GetJobResult {
21
+ /**
22
+ * ID of the environment this job defers to
23
+ */
24
+ readonly deferringEnvironmentId: number;
25
+ /**
26
+ * ID of the job this job defers to
27
+ */
28
+ readonly deferringJobId: number;
29
+ /**
30
+ * Long description for the job
31
+ */
32
+ readonly description: string;
33
+ /**
34
+ * ID of the environment the job is in
35
+ */
36
+ readonly environmentId: number;
37
+ /**
38
+ * The provider-assigned unique ID for this managed resource.
39
+ */
40
+ readonly id: string;
41
+ /**
42
+ * Which other job should trigger this job when it finishes, and on which conditions.
43
+ */
44
+ readonly jobCompletionTriggerConditions: outputs.GetJobJobCompletionTriggerCondition[];
45
+ /**
46
+ * ID of the job
47
+ */
48
+ readonly jobId: number;
49
+ /**
50
+ * Given name for the job
51
+ */
52
+ readonly name: string;
53
+ /**
54
+ * ID of the project the job is in
55
+ */
56
+ readonly projectId: number;
57
+ /**
58
+ * Whether this job defers on a previous run of itself (overrides value in deferring*job*id)
59
+ */
60
+ readonly selfDeferring: boolean;
61
+ /**
62
+ * Number of seconds before the job times out
63
+ */
64
+ readonly timeoutSeconds: number;
65
+ /**
66
+ * Flags for which types of triggers to use, keys of github*webhook, git*provider*webhook, schedule, custom*branch_only
67
+ */
68
+ readonly triggers: {
69
+ [key: string]: boolean;
70
+ };
71
+ /**
72
+ * Whether the CI job should be automatically triggered on draft PRs
73
+ */
74
+ readonly triggersOnDraftPr: boolean;
75
+ }
76
+ export declare function getJobOutput(args: GetJobOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetJobResult>;
77
+ /**
78
+ * A collection of arguments for invoking getJob.
79
+ */
80
+ export interface GetJobOutputArgs {
81
+ /**
82
+ * ID of the job
83
+ */
84
+ jobId: pulumi.Input<number>;
85
+ /**
86
+ * ID of the project the job is in
87
+ */
88
+ projectId: pulumi.Input<number>;
89
+ }
package/getJob.js ADDED
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getJobOutput = exports.getJob = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getJob(args, opts) {
9
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
10
+ return pulumi.runtime.invoke("dbtcloud:index/getJob:getJob", {
11
+ "jobId": args.jobId,
12
+ "projectId": args.projectId,
13
+ }, opts);
14
+ }
15
+ exports.getJob = getJob;
16
+ function getJobOutput(args, opts) {
17
+ return pulumi.output(args).apply((a) => getJob(a, opts));
18
+ }
19
+ exports.getJobOutput = getJobOutput;
20
+ //# sourceMappingURL=getJob.js.map
package/getJob.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getJob.js","sourceRoot":"","sources":["../getJob.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,MAAM,CAAC,IAAgB,EAAE,IAA2B;IAEhE,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;AAPD,wBAOC;AAyED,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACjE,CAAC;AAFD,oCAEC"}