@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,177 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Resource to create Microsoft Fabric connections in dbt Cloud
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as dbtcloud from "@pulumi/dbtcloud";
10
+ *
11
+ * const myFabricConnection = new dbtcloud.FabricConnection("my_fabric_connection", {
12
+ * projectId: dbtProject.id,
13
+ * name: "Connection Name",
14
+ * server: "my-server",
15
+ * database: "my-database",
16
+ * port: 1234,
17
+ * loginTimeout: 30,
18
+ * });
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * ```sh
24
+ * $ pulumi import dbtcloud:index/fabricConnection:FabricConnection my_connection "project_id:connection_id"
25
+ * ```
26
+ *
27
+ * ```sh
28
+ * $ pulumi import dbtcloud:index/fabricConnection:FabricConnection my_connection 12345:6789
29
+ * ```
30
+ */
31
+ export declare class FabricConnection extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing FabricConnection resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FabricConnectionState, opts?: pulumi.CustomResourceOptions): FabricConnection;
42
+ /**
43
+ * Returns true if the given object is an instance of FabricConnection. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is FabricConnection;
47
+ /**
48
+ * Adapter id created for the Fabric connection
49
+ */
50
+ readonly adapterId: pulumi.Output<number>;
51
+ /**
52
+ * Connection Identifier
53
+ */
54
+ readonly connectionId: pulumi.Output<number>;
55
+ /**
56
+ * The database to connect to for this connection.
57
+ */
58
+ readonly database: pulumi.Output<string>;
59
+ /**
60
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
61
+ */
62
+ readonly loginTimeout: pulumi.Output<number | undefined>;
63
+ /**
64
+ * Connection name
65
+ */
66
+ readonly name: pulumi.Output<string>;
67
+ /**
68
+ * The port to connect to for this connection.
69
+ */
70
+ readonly port: pulumi.Output<number>;
71
+ /**
72
+ * Project ID to create the connection in
73
+ */
74
+ readonly projectId: pulumi.Output<number>;
75
+ /**
76
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
77
+ */
78
+ readonly queryTimeout: pulumi.Output<number | undefined>;
79
+ /**
80
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
81
+ */
82
+ readonly retries: pulumi.Output<number | undefined>;
83
+ /**
84
+ * The server hostname.
85
+ */
86
+ readonly server: pulumi.Output<string>;
87
+ /**
88
+ * Create a FabricConnection resource with the given unique name, arguments, and options.
89
+ *
90
+ * @param name The _unique_ name of the resource.
91
+ * @param args The arguments to use to populate this resource's properties.
92
+ * @param opts A bag of options that control this resource's behavior.
93
+ */
94
+ constructor(name: string, args: FabricConnectionArgs, opts?: pulumi.CustomResourceOptions);
95
+ }
96
+ /**
97
+ * Input properties used for looking up and filtering FabricConnection resources.
98
+ */
99
+ export interface FabricConnectionState {
100
+ /**
101
+ * Adapter id created for the Fabric connection
102
+ */
103
+ adapterId?: pulumi.Input<number>;
104
+ /**
105
+ * Connection Identifier
106
+ */
107
+ connectionId?: pulumi.Input<number>;
108
+ /**
109
+ * The database to connect to for this connection.
110
+ */
111
+ database?: pulumi.Input<string>;
112
+ /**
113
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
114
+ */
115
+ loginTimeout?: pulumi.Input<number>;
116
+ /**
117
+ * Connection name
118
+ */
119
+ name?: pulumi.Input<string>;
120
+ /**
121
+ * The port to connect to for this connection.
122
+ */
123
+ port?: pulumi.Input<number>;
124
+ /**
125
+ * Project ID to create the connection in
126
+ */
127
+ projectId?: pulumi.Input<number>;
128
+ /**
129
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
130
+ */
131
+ queryTimeout?: pulumi.Input<number>;
132
+ /**
133
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
134
+ */
135
+ retries?: pulumi.Input<number>;
136
+ /**
137
+ * The server hostname.
138
+ */
139
+ server?: pulumi.Input<string>;
140
+ }
141
+ /**
142
+ * The set of arguments for constructing a FabricConnection resource.
143
+ */
144
+ export interface FabricConnectionArgs {
145
+ /**
146
+ * The database to connect to for this connection.
147
+ */
148
+ database: pulumi.Input<string>;
149
+ /**
150
+ * The number of seconds used to establish a connection before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
151
+ */
152
+ loginTimeout?: pulumi.Input<number>;
153
+ /**
154
+ * Connection name
155
+ */
156
+ name?: pulumi.Input<string>;
157
+ /**
158
+ * The port to connect to for this connection.
159
+ */
160
+ port: pulumi.Input<number>;
161
+ /**
162
+ * Project ID to create the connection in
163
+ */
164
+ projectId: pulumi.Input<number>;
165
+ /**
166
+ * The number of seconds used to wait for a query before failing. Defaults to 0, which means that the timeout is disabled or uses the default system settings.
167
+ */
168
+ queryTimeout?: pulumi.Input<number>;
169
+ /**
170
+ * The number of automatic times to retry a query before failing. Defaults to 1. Queries with syntax errors will not be retried. This setting can be used to overcome intermittent network issues.
171
+ */
172
+ retries?: pulumi.Input<number>;
173
+ /**
174
+ * The server hostname.
175
+ */
176
+ server: pulumi.Input<string>;
177
+ }
@@ -0,0 +1,108 @@
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.FabricConnection = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Resource to create Microsoft Fabric connections in dbt Cloud
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as dbtcloud from "@pulumi/dbtcloud";
16
+ *
17
+ * const myFabricConnection = new dbtcloud.FabricConnection("my_fabric_connection", {
18
+ * projectId: dbtProject.id,
19
+ * name: "Connection Name",
20
+ * server: "my-server",
21
+ * database: "my-database",
22
+ * port: 1234,
23
+ * loginTimeout: 30,
24
+ * });
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * ```sh
30
+ * $ pulumi import dbtcloud:index/fabricConnection:FabricConnection my_connection "project_id:connection_id"
31
+ * ```
32
+ *
33
+ * ```sh
34
+ * $ pulumi import dbtcloud:index/fabricConnection:FabricConnection my_connection 12345:6789
35
+ * ```
36
+ */
37
+ class FabricConnection extends pulumi.CustomResource {
38
+ /**
39
+ * Get an existing FabricConnection resource's state with the given name, ID, and optional extra
40
+ * properties used to qualify the lookup.
41
+ *
42
+ * @param name The _unique_ name of the resulting resource.
43
+ * @param id The _unique_ provider ID of the resource to lookup.
44
+ * @param state Any extra arguments used during the lookup.
45
+ * @param opts Optional settings to control the behavior of the CustomResource.
46
+ */
47
+ static get(name, id, state, opts) {
48
+ return new FabricConnection(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of FabricConnection. This is designed to work even
52
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
53
+ */
54
+ static isInstance(obj) {
55
+ if (obj === undefined || obj === null) {
56
+ return false;
57
+ }
58
+ return obj['__pulumiType'] === FabricConnection.__pulumiType;
59
+ }
60
+ constructor(name, argsOrState, opts) {
61
+ let resourceInputs = {};
62
+ opts = opts || {};
63
+ if (opts.id) {
64
+ const state = argsOrState;
65
+ resourceInputs["adapterId"] = state ? state.adapterId : undefined;
66
+ resourceInputs["connectionId"] = state ? state.connectionId : undefined;
67
+ resourceInputs["database"] = state ? state.database : undefined;
68
+ resourceInputs["loginTimeout"] = state ? state.loginTimeout : undefined;
69
+ resourceInputs["name"] = state ? state.name : undefined;
70
+ resourceInputs["port"] = state ? state.port : undefined;
71
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
72
+ resourceInputs["queryTimeout"] = state ? state.queryTimeout : undefined;
73
+ resourceInputs["retries"] = state ? state.retries : undefined;
74
+ resourceInputs["server"] = state ? state.server : undefined;
75
+ }
76
+ else {
77
+ const args = argsOrState;
78
+ if ((!args || args.database === undefined) && !opts.urn) {
79
+ throw new Error("Missing required property 'database'");
80
+ }
81
+ if ((!args || args.port === undefined) && !opts.urn) {
82
+ throw new Error("Missing required property 'port'");
83
+ }
84
+ if ((!args || args.projectId === undefined) && !opts.urn) {
85
+ throw new Error("Missing required property 'projectId'");
86
+ }
87
+ if ((!args || args.server === undefined) && !opts.urn) {
88
+ throw new Error("Missing required property 'server'");
89
+ }
90
+ resourceInputs["database"] = args ? args.database : undefined;
91
+ resourceInputs["loginTimeout"] = args ? args.loginTimeout : undefined;
92
+ resourceInputs["name"] = args ? args.name : undefined;
93
+ resourceInputs["port"] = args ? args.port : undefined;
94
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
95
+ resourceInputs["queryTimeout"] = args ? args.queryTimeout : undefined;
96
+ resourceInputs["retries"] = args ? args.retries : undefined;
97
+ resourceInputs["server"] = args ? args.server : undefined;
98
+ resourceInputs["adapterId"] = undefined /*out*/;
99
+ resourceInputs["connectionId"] = undefined /*out*/;
100
+ }
101
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
102
+ super(FabricConnection.__pulumiType, name, resourceInputs, opts);
103
+ }
104
+ }
105
+ exports.FabricConnection = FabricConnection;
106
+ /** @internal */
107
+ FabricConnection.__pulumiType = 'dbtcloud:index/fabricConnection:FabricConnection';
108
+ //# sourceMappingURL=fabricConnection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fabricConnection.js","sourceRoot":"","sources":["../fabricConnection.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmDD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;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,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAvHL,4CAwHC;AA1GG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,167 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ## Import
6
+ *
7
+ * Import using a project ID and credential ID found in the URL or via the API.
8
+ *
9
+ * ```sh
10
+ * $ pulumi import dbtcloud:index/fabricCredential:FabricCredential my_fabric_credential "project_id:credential_id"
11
+ * ```
12
+ *
13
+ * ```sh
14
+ * $ pulumi import dbtcloud:index/fabricCredential:FabricCredential my_fabric_credential 12345:6789
15
+ * ```
16
+ */
17
+ export declare class FabricCredential extends pulumi.CustomResource {
18
+ /**
19
+ * Get an existing FabricCredential resource's state with the given name, ID, and optional extra
20
+ * properties used to qualify the lookup.
21
+ *
22
+ * @param name The _unique_ name of the resulting resource.
23
+ * @param id The _unique_ provider ID of the resource to lookup.
24
+ * @param state Any extra arguments used during the lookup.
25
+ * @param opts Optional settings to control the behavior of the CustomResource.
26
+ */
27
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: FabricCredentialState, opts?: pulumi.CustomResourceOptions): FabricCredential;
28
+ /**
29
+ * Returns true if the given object is an instance of FabricCredential. This is designed to work even
30
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
+ */
32
+ static isInstance(obj: any): obj is FabricCredential;
33
+ /**
34
+ * Fabric adapter ID for the credential
35
+ */
36
+ readonly adapterId: pulumi.Output<number>;
37
+ /**
38
+ * The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
39
+ */
40
+ readonly clientId: pulumi.Output<string | undefined>;
41
+ /**
42
+ * The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
43
+ */
44
+ readonly clientSecret: pulumi.Output<string | undefined>;
45
+ /**
46
+ * The system Fabric credential ID
47
+ */
48
+ readonly credentialId: pulumi.Output<number>;
49
+ /**
50
+ * The password for the account to connect to. Only used when connection with AD user/pass
51
+ */
52
+ readonly password: pulumi.Output<string | undefined>;
53
+ /**
54
+ * Project ID to create the Fabric credential in
55
+ */
56
+ readonly projectId: pulumi.Output<number>;
57
+ /**
58
+ * The schema where to create the dbt models
59
+ */
60
+ readonly schema: pulumi.Output<string>;
61
+ /**
62
+ * Optionally set this to the principal who should own the schemas created by dbt
63
+ */
64
+ readonly schemaAuthorization: pulumi.Output<string | undefined>;
65
+ /**
66
+ * The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
67
+ */
68
+ readonly tenantId: pulumi.Output<string | undefined>;
69
+ /**
70
+ * The username of the Fabric account to connect to. Only used when connection with AD user/pass
71
+ */
72
+ readonly user: pulumi.Output<string | undefined>;
73
+ /**
74
+ * Create a FabricCredential resource with the given unique name, arguments, and options.
75
+ *
76
+ * @param name The _unique_ name of the resource.
77
+ * @param args The arguments to use to populate this resource's properties.
78
+ * @param opts A bag of options that control this resource's behavior.
79
+ */
80
+ constructor(name: string, args: FabricCredentialArgs, opts?: pulumi.CustomResourceOptions);
81
+ }
82
+ /**
83
+ * Input properties used for looking up and filtering FabricCredential resources.
84
+ */
85
+ export interface FabricCredentialState {
86
+ /**
87
+ * Fabric adapter ID for the credential
88
+ */
89
+ adapterId?: pulumi.Input<number>;
90
+ /**
91
+ * The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
92
+ */
93
+ clientId?: pulumi.Input<string>;
94
+ /**
95
+ * The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
96
+ */
97
+ clientSecret?: pulumi.Input<string>;
98
+ /**
99
+ * The system Fabric credential ID
100
+ */
101
+ credentialId?: pulumi.Input<number>;
102
+ /**
103
+ * The password for the account to connect to. Only used when connection with AD user/pass
104
+ */
105
+ password?: pulumi.Input<string>;
106
+ /**
107
+ * Project ID to create the Fabric credential in
108
+ */
109
+ projectId?: pulumi.Input<number>;
110
+ /**
111
+ * The schema where to create the dbt models
112
+ */
113
+ schema?: pulumi.Input<string>;
114
+ /**
115
+ * Optionally set this to the principal who should own the schemas created by dbt
116
+ */
117
+ schemaAuthorization?: pulumi.Input<string>;
118
+ /**
119
+ * The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
120
+ */
121
+ tenantId?: pulumi.Input<string>;
122
+ /**
123
+ * The username of the Fabric account to connect to. Only used when connection with AD user/pass
124
+ */
125
+ user?: pulumi.Input<string>;
126
+ }
127
+ /**
128
+ * The set of arguments for constructing a FabricCredential resource.
129
+ */
130
+ export interface FabricCredentialArgs {
131
+ /**
132
+ * Fabric adapter ID for the credential
133
+ */
134
+ adapterId: pulumi.Input<number>;
135
+ /**
136
+ * The client ID of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
137
+ */
138
+ clientId?: pulumi.Input<string>;
139
+ /**
140
+ * The client secret of the Azure Active Directory service principal. This is only used when connecting to Azure SQL with an AAD service principal.
141
+ */
142
+ clientSecret?: pulumi.Input<string>;
143
+ /**
144
+ * The password for the account to connect to. Only used when connection with AD user/pass
145
+ */
146
+ password?: pulumi.Input<string>;
147
+ /**
148
+ * Project ID to create the Fabric credential in
149
+ */
150
+ projectId: pulumi.Input<number>;
151
+ /**
152
+ * The schema where to create the dbt models
153
+ */
154
+ schema: pulumi.Input<string>;
155
+ /**
156
+ * Optionally set this to the principal who should own the schemas created by dbt
157
+ */
158
+ schemaAuthorization?: pulumi.Input<string>;
159
+ /**
160
+ * The tenant ID of the Azure Active Directory instance. This is only used when connecting to Azure SQL with a service principal.
161
+ */
162
+ tenantId?: pulumi.Input<string>;
163
+ /**
164
+ * The username of the Fabric account to connect to. Only used when connection with AD user/pass
165
+ */
166
+ user?: pulumi.Input<string>;
167
+ }
@@ -0,0 +1,93 @@
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.FabricCredential = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ## Import
12
+ *
13
+ * Import using a project ID and credential ID found in the URL or via the API.
14
+ *
15
+ * ```sh
16
+ * $ pulumi import dbtcloud:index/fabricCredential:FabricCredential my_fabric_credential "project_id:credential_id"
17
+ * ```
18
+ *
19
+ * ```sh
20
+ * $ pulumi import dbtcloud:index/fabricCredential:FabricCredential my_fabric_credential 12345:6789
21
+ * ```
22
+ */
23
+ class FabricCredential extends pulumi.CustomResource {
24
+ /**
25
+ * Get an existing FabricCredential resource's state with the given name, ID, and optional extra
26
+ * properties used to qualify the lookup.
27
+ *
28
+ * @param name The _unique_ name of the resulting resource.
29
+ * @param id The _unique_ provider ID of the resource to lookup.
30
+ * @param state Any extra arguments used during the lookup.
31
+ * @param opts Optional settings to control the behavior of the CustomResource.
32
+ */
33
+ static get(name, id, state, opts) {
34
+ return new FabricCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
35
+ }
36
+ /**
37
+ * Returns true if the given object is an instance of FabricCredential. This is designed to work even
38
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
39
+ */
40
+ static isInstance(obj) {
41
+ if (obj === undefined || obj === null) {
42
+ return false;
43
+ }
44
+ return obj['__pulumiType'] === FabricCredential.__pulumiType;
45
+ }
46
+ constructor(name, argsOrState, opts) {
47
+ let resourceInputs = {};
48
+ opts = opts || {};
49
+ if (opts.id) {
50
+ const state = argsOrState;
51
+ resourceInputs["adapterId"] = state ? state.adapterId : undefined;
52
+ resourceInputs["clientId"] = state ? state.clientId : undefined;
53
+ resourceInputs["clientSecret"] = state ? state.clientSecret : undefined;
54
+ resourceInputs["credentialId"] = state ? state.credentialId : undefined;
55
+ resourceInputs["password"] = state ? state.password : undefined;
56
+ resourceInputs["projectId"] = state ? state.projectId : undefined;
57
+ resourceInputs["schema"] = state ? state.schema : undefined;
58
+ resourceInputs["schemaAuthorization"] = state ? state.schemaAuthorization : undefined;
59
+ resourceInputs["tenantId"] = state ? state.tenantId : undefined;
60
+ resourceInputs["user"] = state ? state.user : undefined;
61
+ }
62
+ else {
63
+ const args = argsOrState;
64
+ if ((!args || args.adapterId === undefined) && !opts.urn) {
65
+ throw new Error("Missing required property 'adapterId'");
66
+ }
67
+ if ((!args || args.projectId === undefined) && !opts.urn) {
68
+ throw new Error("Missing required property 'projectId'");
69
+ }
70
+ if ((!args || args.schema === undefined) && !opts.urn) {
71
+ throw new Error("Missing required property 'schema'");
72
+ }
73
+ resourceInputs["adapterId"] = args ? args.adapterId : undefined;
74
+ resourceInputs["clientId"] = args ? args.clientId : undefined;
75
+ resourceInputs["clientSecret"] = (args === null || args === void 0 ? void 0 : args.clientSecret) ? pulumi.secret(args.clientSecret) : undefined;
76
+ resourceInputs["password"] = (args === null || args === void 0 ? void 0 : args.password) ? pulumi.secret(args.password) : undefined;
77
+ resourceInputs["projectId"] = args ? args.projectId : undefined;
78
+ resourceInputs["schema"] = args ? args.schema : undefined;
79
+ resourceInputs["schemaAuthorization"] = args ? args.schemaAuthorization : undefined;
80
+ resourceInputs["tenantId"] = args ? args.tenantId : undefined;
81
+ resourceInputs["user"] = args ? args.user : undefined;
82
+ resourceInputs["credentialId"] = undefined /*out*/;
83
+ }
84
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
85
+ const secretOpts = { additionalSecretOutputs: ["clientSecret", "password"] };
86
+ opts = pulumi.mergeOptions(opts, secretOpts);
87
+ super(FabricCredential.__pulumiType, name, resourceInputs, opts);
88
+ }
89
+ }
90
+ exports.FabricCredential = FabricCredential;
91
+ /** @internal */
92
+ FabricCredential.__pulumiType = 'dbtcloud:index/fabricCredential:FabricCredential';
93
+ //# sourceMappingURL=fabricCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fabricCredential.js","sourceRoot":"","sources":["../fabricCredential.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAmDD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,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AI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC,CAAC,SAAS,CAAC;YACpF,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACtD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,EAAE,UAAU,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AAtHL,4CAuHC;AAzGG,gBAAgB;AACO,6BAAY,GAAG,kDAAkD,CAAC"}
@@ -0,0 +1,72 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Use this data source to retrieve the ID of an Azure Dev Ops project
4
+ * based on its name.
5
+ *
6
+ * This data source requires connecting with a user token and doesn't work with a service token.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as dbtcloud from "@pulumi/dbtcloud";
13
+ *
14
+ * const myAdoProject = dbtcloud.getAzureDevOpsProject({
15
+ * name: "my-project-name",
16
+ * });
17
+ * ```
18
+ */
19
+ export declare function getAzureDevOpsProject(args: GetAzureDevOpsProjectArgs, opts?: pulumi.InvokeOptions): Promise<GetAzureDevOpsProjectResult>;
20
+ /**
21
+ * A collection of arguments for invoking getAzureDevOpsProject.
22
+ */
23
+ export interface GetAzureDevOpsProjectArgs {
24
+ /**
25
+ * The name of the ADO project
26
+ */
27
+ name: string;
28
+ }
29
+ /**
30
+ * A collection of values returned by getAzureDevOpsProject.
31
+ */
32
+ export interface GetAzureDevOpsProjectResult {
33
+ /**
34
+ * The internal Azure Dev Ops ID of the ADO Project
35
+ */
36
+ readonly id: string;
37
+ /**
38
+ * The name of the ADO project
39
+ */
40
+ readonly name: string;
41
+ /**
42
+ * The URL of the ADO project
43
+ */
44
+ readonly url: string;
45
+ }
46
+ /**
47
+ * Use this data source to retrieve the ID of an Azure Dev Ops project
48
+ * based on its name.
49
+ *
50
+ * This data source requires connecting with a user token and doesn't work with a service token.
51
+ *
52
+ * ## Example Usage
53
+ *
54
+ * ```typescript
55
+ * import * as pulumi from "@pulumi/pulumi";
56
+ * import * as dbtcloud from "@pulumi/dbtcloud";
57
+ *
58
+ * const myAdoProject = dbtcloud.getAzureDevOpsProject({
59
+ * name: "my-project-name",
60
+ * });
61
+ * ```
62
+ */
63
+ export declare function getAzureDevOpsProjectOutput(args: GetAzureDevOpsProjectOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAzureDevOpsProjectResult>;
64
+ /**
65
+ * A collection of arguments for invoking getAzureDevOpsProject.
66
+ */
67
+ export interface GetAzureDevOpsProjectOutputArgs {
68
+ /**
69
+ * The name of the ADO project
70
+ */
71
+ name: pulumi.Input<string>;
72
+ }