@pulumi/databricks 0.0.1-alpha.1648473134

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 (261) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +303 -0
  3. package/awsS3Mount.d.ts +50 -0
  4. package/awsS3Mount.js +63 -0
  5. package/awsS3Mount.js.map +1 -0
  6. package/azureAdlsGen1Mount.d.ts +65 -0
  7. package/azureAdlsGen1Mount.js +85 -0
  8. package/azureAdlsGen1Mount.js.map +1 -0
  9. package/azureAdlsGen2Mount.d.ts +68 -0
  10. package/azureAdlsGen2Mount.js +93 -0
  11. package/azureAdlsGen2Mount.js.map +1 -0
  12. package/azureBlobMount.d.ts +62 -0
  13. package/azureBlobMount.js +83 -0
  14. package/azureBlobMount.js.map +1 -0
  15. package/catalog.d.ts +124 -0
  16. package/catalog.js +88 -0
  17. package/catalog.js.map +1 -0
  18. package/cluster.d.ts +332 -0
  19. package/cluster.js +121 -0
  20. package/cluster.js.map +1 -0
  21. package/clusterPolicy.d.ts +112 -0
  22. package/clusterPolicy.js +97 -0
  23. package/clusterPolicy.js.map +1 -0
  24. package/config/index.d.ts +1 -0
  25. package/config/index.js +21 -0
  26. package/config/index.js.map +1 -0
  27. package/config/vars.d.ts +20 -0
  28. package/config/vars.js +127 -0
  29. package/config/vars.js.map +1 -0
  30. package/dbfsFile.d.ts +91 -0
  31. package/dbfsFile.js +71 -0
  32. package/dbfsFile.js.map +1 -0
  33. package/directory.d.ts +72 -0
  34. package/directory.js +65 -0
  35. package/directory.js.map +1 -0
  36. package/externalLocation.d.ts +114 -0
  37. package/externalLocation.js +80 -0
  38. package/externalLocation.js.map +1 -0
  39. package/getAwsAssumeRolePolicy.d.ts +47 -0
  40. package/getAwsAssumeRolePolicy.js +24 -0
  41. package/getAwsAssumeRolePolicy.js.map +1 -0
  42. package/getAwsBucketPolicy.d.ts +59 -0
  43. package/getAwsBucketPolicy.js +36 -0
  44. package/getAwsBucketPolicy.js.map +1 -0
  45. package/getAwsCrossAccountPolicy.d.ts +59 -0
  46. package/getAwsCrossAccountPolicy.js +47 -0
  47. package/getAwsCrossAccountPolicy.js.map +1 -0
  48. package/getCatalogs.d.ts +54 -0
  49. package/getCatalogs.js +43 -0
  50. package/getCatalogs.js.map +1 -0
  51. package/getClusters.d.ts +69 -0
  52. package/getClusters.js +57 -0
  53. package/getClusters.js.map +1 -0
  54. package/getCurrentUser.d.ts +39 -0
  55. package/getCurrentUser.js +38 -0
  56. package/getCurrentUser.js.map +1 -0
  57. package/getDbfsFile.d.ts +69 -0
  58. package/getDbfsFile.js +44 -0
  59. package/getDbfsFile.js.map +1 -0
  60. package/getDbfsFilePaths.d.ts +68 -0
  61. package/getDbfsFilePaths.js +46 -0
  62. package/getDbfsFilePaths.js.map +1 -0
  63. package/getGroup.d.ts +166 -0
  64. package/getGroup.js +46 -0
  65. package/getGroup.js.map +1 -0
  66. package/getJobs.d.ts +47 -0
  67. package/getJobs.js +30 -0
  68. package/getJobs.js.map +1 -0
  69. package/getNodeType.d.ts +173 -0
  70. package/getNodeType.js +71 -0
  71. package/getNodeType.js.map +1 -0
  72. package/getNotebook.d.ts +93 -0
  73. package/getNotebook.js +39 -0
  74. package/getNotebook.js.map +1 -0
  75. package/getNotebookPaths.d.ts +58 -0
  76. package/getNotebookPaths.js +36 -0
  77. package/getNotebookPaths.js.map +1 -0
  78. package/getSchemas.d.ts +65 -0
  79. package/getSchemas.js +45 -0
  80. package/getSchemas.js.map +1 -0
  81. package/getSparkVersion.d.ts +150 -0
  82. package/getSparkVersion.js +70 -0
  83. package/getSparkVersion.js.map +1 -0
  84. package/getTables.d.ts +75 -0
  85. package/getTables.js +47 -0
  86. package/getTables.js.map +1 -0
  87. package/getUser.d.ts +78 -0
  88. package/getUser.js +39 -0
  89. package/getUser.js.map +1 -0
  90. package/getZones.d.ts +29 -0
  91. package/getZones.js +26 -0
  92. package/getZones.js.map +1 -0
  93. package/gitCredential.d.ts +48 -0
  94. package/gitCredential.js +64 -0
  95. package/gitCredential.js.map +1 -0
  96. package/globalInitScript.d.ts +99 -0
  97. package/globalInitScript.js +68 -0
  98. package/globalInitScript.js.map +1 -0
  99. package/grants.d.ts +58 -0
  100. package/grants.js +64 -0
  101. package/grants.js.map +1 -0
  102. package/group.d.ts +131 -0
  103. package/group.js +83 -0
  104. package/group.js.map +1 -0
  105. package/groupInstanceProfile.d.ts +96 -0
  106. package/groupInstanceProfile.js +93 -0
  107. package/groupInstanceProfile.js.map +1 -0
  108. package/index.d.ts +81 -0
  109. package/index.js +362 -0
  110. package/index.js.map +1 -0
  111. package/instancePool.d.ts +166 -0
  112. package/instancePool.js +93 -0
  113. package/instancePool.js.map +1 -0
  114. package/instanceProfile.d.ts +180 -0
  115. package/instanceProfile.js +161 -0
  116. package/instanceProfile.js.map +1 -0
  117. package/ipAccessList.d.ts +128 -0
  118. package/ipAccessList.js +108 -0
  119. package/ipAccessList.js.map +1 -0
  120. package/job.d.ts +228 -0
  121. package/job.js +102 -0
  122. package/job.js.map +1 -0
  123. package/library.d.ts +183 -0
  124. package/library.js +189 -0
  125. package/library.js.map +1 -0
  126. package/metastore.d.ts +102 -0
  127. package/metastore.js +75 -0
  128. package/metastore.js.map +1 -0
  129. package/metastoreAssignment.d.ts +94 -0
  130. package/metastoreAssignment.js +81 -0
  131. package/metastoreAssignment.js.map +1 -0
  132. package/metastoreDataAccess.d.ts +85 -0
  133. package/metastoreDataAccess.js +73 -0
  134. package/metastoreDataAccess.js.map +1 -0
  135. package/mlflowExperiment.d.ts +122 -0
  136. package/mlflowExperiment.js +99 -0
  137. package/mlflowExperiment.js.map +1 -0
  138. package/mlflowModel.d.ts +131 -0
  139. package/mlflowModel.js +107 -0
  140. package/mlflowModel.js.map +1 -0
  141. package/mlflowWebhook.d.ts +129 -0
  142. package/mlflowWebhook.js +100 -0
  143. package/mlflowWebhook.js.map +1 -0
  144. package/mount.d.ts +89 -0
  145. package/mount.js +76 -0
  146. package/mount.js.map +1 -0
  147. package/mwsCredentials.d.ts +137 -0
  148. package/mwsCredentials.js +115 -0
  149. package/mwsCredentials.js.map +1 -0
  150. package/mwsCustomerManagedKeys.d.ts +257 -0
  151. package/mwsCustomerManagedKeys.js +226 -0
  152. package/mwsCustomerManagedKeys.js.map +1 -0
  153. package/mwsLogDelivery.d.ts +219 -0
  154. package/mwsLogDelivery.js +144 -0
  155. package/mwsLogDelivery.js.map +1 -0
  156. package/mwsNetworks.d.ts +129 -0
  157. package/mwsNetworks.js +89 -0
  158. package/mwsNetworks.js.map +1 -0
  159. package/mwsPrivateAccessSettings.d.ts +137 -0
  160. package/mwsPrivateAccessSettings.js +74 -0
  161. package/mwsPrivateAccessSettings.js.map +1 -0
  162. package/mwsStorageConfigurations.d.ts +122 -0
  163. package/mwsStorageConfigurations.js +106 -0
  164. package/mwsStorageConfigurations.js.map +1 -0
  165. package/mwsVpcEndpoint.d.ts +122 -0
  166. package/mwsVpcEndpoint.js +79 -0
  167. package/mwsVpcEndpoint.js.map +1 -0
  168. package/mwsWorkspaces.d.ts +222 -0
  169. package/mwsWorkspaces.js +106 -0
  170. package/mwsWorkspaces.js.map +1 -0
  171. package/notebook.d.ts +128 -0
  172. package/notebook.js +77 -0
  173. package/notebook.js.map +1 -0
  174. package/oboToken.d.ts +98 -0
  175. package/oboToken.js +82 -0
  176. package/oboToken.js.map +1 -0
  177. package/package.json +28 -0
  178. package/package.json.bak +28 -0
  179. package/package.json.dev +28 -0
  180. package/permissions.d.ts +211 -0
  181. package/permissions.js +97 -0
  182. package/permissions.js.map +1 -0
  183. package/pipeline.d.ts +200 -0
  184. package/pipeline.js +134 -0
  185. package/pipeline.js.map +1 -0
  186. package/provider.d.ts +61 -0
  187. package/provider.js +64 -0
  188. package/provider.js.map +1 -0
  189. package/repo.d.ts +117 -0
  190. package/repo.js +71 -0
  191. package/repo.js.map +1 -0
  192. package/schema.d.ts +149 -0
  193. package/schema.js +106 -0
  194. package/schema.js.map +1 -0
  195. package/scripts/install-pulumi-plugin.js +21 -0
  196. package/secret.d.ts +115 -0
  197. package/secret.js +99 -0
  198. package/secret.js.map +1 -0
  199. package/secretAcl.d.ts +115 -0
  200. package/secretAcl.js +105 -0
  201. package/secretAcl.js.map +1 -0
  202. package/secretScope.d.ts +85 -0
  203. package/secretScope.js +64 -0
  204. package/secretScope.js.map +1 -0
  205. package/servicePrincipal.d.ts +142 -0
  206. package/servicePrincipal.js +83 -0
  207. package/servicePrincipal.js.map +1 -0
  208. package/sqlDashboard.d.ts +90 -0
  209. package/sqlDashboard.js +99 -0
  210. package/sqlDashboard.js.map +1 -0
  211. package/sqlEndpoint.d.ts +249 -0
  212. package/sqlEndpoint.js +128 -0
  213. package/sqlEndpoint.js.map +1 -0
  214. package/sqlGlobalConfig.d.ts +157 -0
  215. package/sqlGlobalConfig.js +115 -0
  216. package/sqlGlobalConfig.js.map +1 -0
  217. package/sqlPermissions.d.ts +191 -0
  218. package/sqlPermissions.js +139 -0
  219. package/sqlPermissions.js.map +1 -0
  220. package/sqlQuery.d.ts +131 -0
  221. package/sqlQuery.js +139 -0
  222. package/sqlQuery.js.map +1 -0
  223. package/sqlVisualization.d.ts +105 -0
  224. package/sqlVisualization.js +119 -0
  225. package/sqlVisualization.js.map +1 -0
  226. package/sqlWidget.d.ts +109 -0
  227. package/sqlWidget.js +114 -0
  228. package/sqlWidget.js.map +1 -0
  229. package/storageCredential.d.ts +122 -0
  230. package/storageCredential.js +118 -0
  231. package/storageCredential.js.map +1 -0
  232. package/table.d.ts +249 -0
  233. package/table.js +157 -0
  234. package/table.js.map +1 -0
  235. package/token.d.ts +102 -0
  236. package/token.js +84 -0
  237. package/token.js.map +1 -0
  238. package/types/index.d.ts +3 -0
  239. package/types/index.js +11 -0
  240. package/types/index.js.map +1 -0
  241. package/types/input.d.ts +1209 -0
  242. package/types/input.js +5 -0
  243. package/types/input.js.map +1 -0
  244. package/types/output.d.ts +1222 -0
  245. package/types/output.js +5 -0
  246. package/types/output.js.map +1 -0
  247. package/user.d.ts +149 -0
  248. package/user.js +91 -0
  249. package/user.js.map +1 -0
  250. package/userInstanceProfile.d.ts +93 -0
  251. package/userInstanceProfile.js +90 -0
  252. package/userInstanceProfile.js.map +1 -0
  253. package/userRole.d.ts +106 -0
  254. package/userRole.js +103 -0
  255. package/userRole.js.map +1 -0
  256. package/utilities.d.ts +4 -0
  257. package/utilities.js +57 -0
  258. package/utilities.js.map +1 -0
  259. package/workspaceConf.d.ts +76 -0
  260. package/workspaceConf.js +71 -0
  261. package/workspaceConf.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSchemas.js","sourceRoot":"","sources":["../getSchemas.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IACxE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA+BD,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9D,CAAC;AAFD,4CAEC"}
@@ -0,0 +1,150 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as databricks from "@pulumi/databricks";
8
+ *
9
+ * const withGpu = databricks.getNodeType({
10
+ * localDisk: true,
11
+ * minCores: 16,
12
+ * gbPerCore: 1,
13
+ * minGpus: 1,
14
+ * });
15
+ * const gpuMl = databricks.getSparkVersion({
16
+ * gpu: true,
17
+ * ml: true,
18
+ * });
19
+ * const research = new databricks.Cluster("research", {
20
+ * clusterName: "Research Cluster",
21
+ * sparkVersion: gpuMl.then(gpuMl => gpuMl.id),
22
+ * nodeTypeId: withGpu.then(withGpu => withGpu.id),
23
+ * autoterminationMinutes: 20,
24
+ * autoscale: {
25
+ * minWorkers: 1,
26
+ * maxWorkers: 50,
27
+ * },
28
+ * });
29
+ * ```
30
+ * ## Related Resources
31
+ *
32
+ * The following resources are used in the same context:
33
+ *
34
+ * * End to end workspace management guide
35
+ * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
36
+ * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
37
+ * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
38
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
39
+ */
40
+ export declare function getSparkVersion(args?: GetSparkVersionArgs, opts?: pulumi.InvokeOptions): Promise<GetSparkVersionResult>;
41
+ /**
42
+ * A collection of arguments for invoking getSparkVersion.
43
+ */
44
+ export interface GetSparkVersionArgs {
45
+ /**
46
+ * if we should limit the search only to runtimes that are in Beta stage. Default to `false`.
47
+ */
48
+ beta?: boolean;
49
+ /**
50
+ * if we should limit the search only to Genomics (HLS) runtimes. Default to `false`.
51
+ */
52
+ genomics?: boolean;
53
+ /**
54
+ * if we should limit the search only to runtimes that support GPUs. Default to `false`.
55
+ */
56
+ gpu?: boolean;
57
+ /**
58
+ * if we should limit the search only to runtimes supporting AWS Graviton CPUs. Default to `false`.
59
+ */
60
+ graviton?: boolean;
61
+ /**
62
+ * if we should return only the latest version if there is more than one result. Default to `true`. If set to `false` and multiple versions are matching, throws an error.
63
+ */
64
+ latest?: boolean;
65
+ /**
66
+ * if we should limit the search only to LTS (long term support) & ESR (extended support) versions. Default to `false`.
67
+ */
68
+ longTermSupport?: boolean;
69
+ /**
70
+ * if we should limit the search only to ML runtimes. Default to `false`.
71
+ */
72
+ ml?: boolean;
73
+ /**
74
+ * if we should limit the search only to Photon runtimes. Default to `false`.
75
+ */
76
+ photon?: boolean;
77
+ /**
78
+ * if we should limit the search only to runtimes that are based on specific Scala version. Default to `2.12`.
79
+ */
80
+ scala?: string;
81
+ /**
82
+ * if we should limit the search only to runtimes that are based on specific Spark version. Default to empty string. It could be specified as `3`, or `3.0`, or full version, like, `3.0.1`.
83
+ */
84
+ sparkVersion?: string;
85
+ }
86
+ /**
87
+ * A collection of values returned by getSparkVersion.
88
+ */
89
+ export interface GetSparkVersionResult {
90
+ readonly beta?: boolean;
91
+ readonly genomics?: boolean;
92
+ readonly gpu?: boolean;
93
+ readonly graviton?: boolean;
94
+ /**
95
+ * The provider-assigned unique ID for this managed resource.
96
+ */
97
+ readonly id: string;
98
+ readonly latest?: boolean;
99
+ readonly longTermSupport?: boolean;
100
+ readonly ml?: boolean;
101
+ readonly photon?: boolean;
102
+ readonly scala?: string;
103
+ readonly sparkVersion?: string;
104
+ }
105
+ export declare function getSparkVersionOutput(args?: GetSparkVersionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSparkVersionResult>;
106
+ /**
107
+ * A collection of arguments for invoking getSparkVersion.
108
+ */
109
+ export interface GetSparkVersionOutputArgs {
110
+ /**
111
+ * if we should limit the search only to runtimes that are in Beta stage. Default to `false`.
112
+ */
113
+ beta?: pulumi.Input<boolean>;
114
+ /**
115
+ * if we should limit the search only to Genomics (HLS) runtimes. Default to `false`.
116
+ */
117
+ genomics?: pulumi.Input<boolean>;
118
+ /**
119
+ * if we should limit the search only to runtimes that support GPUs. Default to `false`.
120
+ */
121
+ gpu?: pulumi.Input<boolean>;
122
+ /**
123
+ * if we should limit the search only to runtimes supporting AWS Graviton CPUs. Default to `false`.
124
+ */
125
+ graviton?: pulumi.Input<boolean>;
126
+ /**
127
+ * if we should return only the latest version if there is more than one result. Default to `true`. If set to `false` and multiple versions are matching, throws an error.
128
+ */
129
+ latest?: pulumi.Input<boolean>;
130
+ /**
131
+ * if we should limit the search only to LTS (long term support) & ESR (extended support) versions. Default to `false`.
132
+ */
133
+ longTermSupport?: pulumi.Input<boolean>;
134
+ /**
135
+ * if we should limit the search only to ML runtimes. Default to `false`.
136
+ */
137
+ ml?: pulumi.Input<boolean>;
138
+ /**
139
+ * if we should limit the search only to Photon runtimes. Default to `false`.
140
+ */
141
+ photon?: pulumi.Input<boolean>;
142
+ /**
143
+ * if we should limit the search only to runtimes that are based on specific Scala version. Default to `2.12`.
144
+ */
145
+ scala?: pulumi.Input<string>;
146
+ /**
147
+ * if we should limit the search only to runtimes that are based on specific Spark version. Default to empty string. It could be specified as `3`, or `3.0`, or full version, like, `3.0.1`.
148
+ */
149
+ sparkVersion?: pulumi.Input<string>;
150
+ }
@@ -0,0 +1,70 @@
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.getSparkVersionOutput = exports.getSparkVersion = 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 databricks from "@pulumi/databricks";
14
+ *
15
+ * const withGpu = databricks.getNodeType({
16
+ * localDisk: true,
17
+ * minCores: 16,
18
+ * gbPerCore: 1,
19
+ * minGpus: 1,
20
+ * });
21
+ * const gpuMl = databricks.getSparkVersion({
22
+ * gpu: true,
23
+ * ml: true,
24
+ * });
25
+ * const research = new databricks.Cluster("research", {
26
+ * clusterName: "Research Cluster",
27
+ * sparkVersion: gpuMl.then(gpuMl => gpuMl.id),
28
+ * nodeTypeId: withGpu.then(withGpu => withGpu.id),
29
+ * autoterminationMinutes: 20,
30
+ * autoscale: {
31
+ * minWorkers: 1,
32
+ * maxWorkers: 50,
33
+ * },
34
+ * });
35
+ * ```
36
+ * ## Related Resources
37
+ *
38
+ * The following resources are used in the same context:
39
+ *
40
+ * * End to end workspace management guide
41
+ * * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
42
+ * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
43
+ * * databricks.InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
44
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
45
+ */
46
+ function getSparkVersion(args, opts) {
47
+ args = args || {};
48
+ if (!opts) {
49
+ opts = {};
50
+ }
51
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
52
+ return pulumi.runtime.invoke("databricks:index/getSparkVersion:getSparkVersion", {
53
+ "beta": args.beta,
54
+ "genomics": args.genomics,
55
+ "gpu": args.gpu,
56
+ "graviton": args.graviton,
57
+ "latest": args.latest,
58
+ "longTermSupport": args.longTermSupport,
59
+ "ml": args.ml,
60
+ "photon": args.photon,
61
+ "scala": args.scala,
62
+ "sparkVersion": args.sparkVersion,
63
+ }, opts);
64
+ }
65
+ exports.getSparkVersion = getSparkVersion;
66
+ function getSparkVersionOutput(args, opts) {
67
+ return pulumi.output(args).apply(a => getSparkVersion(a, opts));
68
+ }
69
+ exports.getSparkVersionOutput = getSparkVersionOutput;
70
+ //# sourceMappingURL=getSparkVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSparkVersion.js","sourceRoot":"","sources":["../getSparkVersion.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,cAAc,EAAE,IAAI,CAAC,YAAY;KACpC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAnBD,0CAmBC;AAoED,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,sDAEC"}
package/getTables.d.ts ADDED
@@ -0,0 +1,75 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * Listing all tables in a _things_ databricks.Schema from _sandbox_ databricks_catalog:
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as databricks from "@pulumi/databricks";
10
+ *
11
+ * const things = databricks.getTables({
12
+ * catalogName: "sandbox",
13
+ * schemaName: "things",
14
+ * });
15
+ * export const allThingsTables = things;
16
+ * ```
17
+ * ## Related Resources
18
+ *
19
+ * The following resources are used in the same context:
20
+ *
21
+ * * databricks.Table to manage tables within Unity Catalog.
22
+ * * databricks.Schema to manage schemas within Unity Catalog.
23
+ * * databricks.Catalog to manage catalogs within Unity Catalog.
24
+ */
25
+ export declare function getTables(args: GetTablesArgs, opts?: pulumi.InvokeOptions): Promise<GetTablesResult>;
26
+ /**
27
+ * A collection of arguments for invoking getTables.
28
+ */
29
+ export interface GetTablesArgs {
30
+ /**
31
+ * Name of databricks_catalog
32
+ */
33
+ catalogName: string;
34
+ /**
35
+ * set of databricks.Table full names: *`catalog`.`schema`.`table`*
36
+ */
37
+ ids?: string[];
38
+ /**
39
+ * Name of databricks_schema
40
+ */
41
+ schemaName: string;
42
+ }
43
+ /**
44
+ * A collection of values returned by getTables.
45
+ */
46
+ export interface GetTablesResult {
47
+ readonly catalogName: string;
48
+ /**
49
+ * The provider-assigned unique ID for this managed resource.
50
+ */
51
+ readonly id: string;
52
+ /**
53
+ * set of databricks.Table full names: *`catalog`.`schema`.`table`*
54
+ */
55
+ readonly ids: string[];
56
+ readonly schemaName: string;
57
+ }
58
+ export declare function getTablesOutput(args: GetTablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTablesResult>;
59
+ /**
60
+ * A collection of arguments for invoking getTables.
61
+ */
62
+ export interface GetTablesOutputArgs {
63
+ /**
64
+ * Name of databricks_catalog
65
+ */
66
+ catalogName: pulumi.Input<string>;
67
+ /**
68
+ * set of databricks.Table full names: *`catalog`.`schema`.`table`*
69
+ */
70
+ ids?: pulumi.Input<pulumi.Input<string>[]>;
71
+ /**
72
+ * Name of databricks_schema
73
+ */
74
+ schemaName: pulumi.Input<string>;
75
+ }
package/getTables.js ADDED
@@ -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.getTablesOutput = exports.getTables = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * Listing all tables in a _things_ databricks.Schema from _sandbox_ databricks_catalog:
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const things = databricks.getTables({
18
+ * catalogName: "sandbox",
19
+ * schemaName: "things",
20
+ * });
21
+ * export const allThingsTables = things;
22
+ * ```
23
+ * ## Related Resources
24
+ *
25
+ * The following resources are used in the same context:
26
+ *
27
+ * * databricks.Table to manage tables within Unity Catalog.
28
+ * * databricks.Schema to manage schemas within Unity Catalog.
29
+ * * databricks.Catalog to manage catalogs within Unity Catalog.
30
+ */
31
+ function getTables(args, opts) {
32
+ if (!opts) {
33
+ opts = {};
34
+ }
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
36
+ return pulumi.runtime.invoke("databricks:index/getTables:getTables", {
37
+ "catalogName": args.catalogName,
38
+ "ids": args.ids,
39
+ "schemaName": args.schemaName,
40
+ }, opts);
41
+ }
42
+ exports.getTables = getTables;
43
+ function getTablesOutput(args, opts) {
44
+ return pulumi.output(args).apply(a => getTables(a, opts));
45
+ }
46
+ exports.getTablesOutput = getTablesOutput;
47
+ //# sourceMappingURL=getTables.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IACtE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sCAAsC,EAAE;QACjE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,KAAK,EAAE,IAAI,CAAC,GAAG;QACf,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8BAWC;AAoCD,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,0CAEC"}
package/getUser.d.ts ADDED
@@ -0,0 +1,78 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Related Resources
4
+ *
5
+ * The following resources are used in the same context:
6
+ *
7
+ * * End to end workspace management guide
8
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
9
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
10
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
11
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
12
+ * * databricksGroupMember to attach users and groups as group members.
13
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
14
+ * * databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace.
15
+ * * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
16
+ */
17
+ export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
18
+ /**
19
+ * A collection of arguments for invoking getUser.
20
+ */
21
+ export interface GetUserArgs {
22
+ /**
23
+ * ID of the user.
24
+ */
25
+ userId?: string;
26
+ /**
27
+ * User name of the user. The user must exist before this resource can be planned.
28
+ */
29
+ userName?: string;
30
+ }
31
+ /**
32
+ * A collection of values returned by getUser.
33
+ */
34
+ export interface GetUserResult {
35
+ /**
36
+ * Alphanumeric representation of user local name. e.g. `mrFoo`.
37
+ */
38
+ readonly alphanumeric: string;
39
+ /**
40
+ * Display name of the user, e.g. `Mr Foo`.
41
+ */
42
+ readonly displayName: string;
43
+ /**
44
+ * ID of the user in an external identity provider.
45
+ */
46
+ readonly externalId: string;
47
+ /**
48
+ * Home folder of the user, e.g. `/Users/mr.foo@example.com`.
49
+ */
50
+ readonly home: string;
51
+ /**
52
+ * The provider-assigned unique ID for this managed resource.
53
+ */
54
+ readonly id: string;
55
+ /**
56
+ * Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
57
+ */
58
+ readonly repos: string;
59
+ readonly userId?: string;
60
+ /**
61
+ * Name of the user, e.g. `mr.foo@example.com`.
62
+ */
63
+ readonly userName?: string;
64
+ }
65
+ export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUserResult>;
66
+ /**
67
+ * A collection of arguments for invoking getUser.
68
+ */
69
+ export interface GetUserOutputArgs {
70
+ /**
71
+ * ID of the user.
72
+ */
73
+ userId?: pulumi.Input<string>;
74
+ /**
75
+ * User name of the user. The user must exist before this resource can be planned.
76
+ */
77
+ userName?: pulumi.Input<string>;
78
+ }
package/getUser.js ADDED
@@ -0,0 +1,39 @@
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.getUserOutput = exports.getUser = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Related Resources
10
+ *
11
+ * The following resources are used in the same context:
12
+ *
13
+ * * End to end workspace management guide
14
+ * * databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
15
+ * * databricks.Group to manage [groups in Databricks Workspace](https://docs.databricks.com/administration-guide/users-groups/groups.html) or [Account Console](https://accounts.cloud.databricks.com/) (for AWS deployments).
16
+ * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
17
+ * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
18
+ * * databricksGroupMember to attach users and groups as group members.
19
+ * * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
20
+ * * databricks.User to [manage users](https://docs.databricks.com/administration-guide/users-groups/users.html), that could be added to databricks.Group within the workspace.
21
+ * * databricks.UserInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_user.
22
+ */
23
+ function getUser(args, opts) {
24
+ args = args || {};
25
+ if (!opts) {
26
+ opts = {};
27
+ }
28
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
29
+ return pulumi.runtime.invoke("databricks:index/getUser:getUser", {
30
+ "userId": args.userId,
31
+ "userName": args.userName,
32
+ }, opts);
33
+ }
34
+ exports.getUser = getUser;
35
+ function getUserOutput(args, opts) {
36
+ return pulumi.output(args).apply(a => getUser(a, opts));
37
+ }
38
+ exports.getUserOutput = getUserOutput;
39
+ //# sourceMappingURL=getUser.js.map
package/getUser.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,0BAWC;AAmDD,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3D,CAAC;AAFD,sCAEC"}
package/getZones.d.ts ADDED
@@ -0,0 +1,29 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as databricks from "@pulumi/databricks";
8
+ *
9
+ * const zones = pulumi.output(databricks.getZones());
10
+ * ```
11
+ */
12
+ export declare function getZones(opts?: pulumi.InvokeOptions): Promise<GetZonesResult>;
13
+ /**
14
+ * A collection of values returned by getZones.
15
+ */
16
+ export interface GetZonesResult {
17
+ /**
18
+ * This is the default zone that gets assigned to your workspace. This is the zone used by default for clusters and instance pools.
19
+ */
20
+ readonly defaultZone: string;
21
+ /**
22
+ * The provider-assigned unique ID for this managed resource.
23
+ */
24
+ readonly id: string;
25
+ /**
26
+ * This is a list of all the zones available for your subnets in your Databricks workspace.
27
+ */
28
+ readonly zones: string[];
29
+ }
package/getZones.js ADDED
@@ -0,0 +1,26 @@
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.getZones = 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 databricks from "@pulumi/databricks";
14
+ *
15
+ * const zones = pulumi.output(databricks.getZones());
16
+ * ```
17
+ */
18
+ function getZones(opts) {
19
+ if (!opts) {
20
+ opts = {};
21
+ }
22
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
23
+ return pulumi.runtime.invoke("databricks:index/getZones:getZones", {}, opts);
24
+ }
25
+ exports.getZones = getZones;
26
+ //# sourceMappingURL=getZones.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getZones.js","sourceRoot":"","sources":["../getZones.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,QAAQ,CAAC,IAA2B;IAChD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;IACnE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE,EAClE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC"}
@@ -0,0 +1,48 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ export declare class GitCredential extends pulumi.CustomResource {
3
+ /**
4
+ * Get an existing GitCredential resource's state with the given name, ID, and optional extra
5
+ * properties used to qualify the lookup.
6
+ *
7
+ * @param name The _unique_ name of the resulting resource.
8
+ * @param id The _unique_ provider ID of the resource to lookup.
9
+ * @param state Any extra arguments used during the lookup.
10
+ * @param opts Optional settings to control the behavior of the CustomResource.
11
+ */
12
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: GitCredentialState, opts?: pulumi.CustomResourceOptions): GitCredential;
13
+ /**
14
+ * Returns true if the given object is an instance of GitCredential. This is designed to work even
15
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
16
+ */
17
+ static isInstance(obj: any): obj is GitCredential;
18
+ readonly force: pulumi.Output<boolean | undefined>;
19
+ readonly gitProvider: pulumi.Output<string>;
20
+ readonly gitUsername: pulumi.Output<string>;
21
+ readonly personalAccessToken: pulumi.Output<string>;
22
+ /**
23
+ * Create a GitCredential resource with the given unique name, arguments, and options.
24
+ *
25
+ * @param name The _unique_ name of the resource.
26
+ * @param args The arguments to use to populate this resource's properties.
27
+ * @param opts A bag of options that control this resource's behavior.
28
+ */
29
+ constructor(name: string, args: GitCredentialArgs, opts?: pulumi.CustomResourceOptions);
30
+ }
31
+ /**
32
+ * Input properties used for looking up and filtering GitCredential resources.
33
+ */
34
+ export interface GitCredentialState {
35
+ force?: pulumi.Input<boolean>;
36
+ gitProvider?: pulumi.Input<string>;
37
+ gitUsername?: pulumi.Input<string>;
38
+ personalAccessToken?: pulumi.Input<string>;
39
+ }
40
+ /**
41
+ * The set of arguments for constructing a GitCredential resource.
42
+ */
43
+ export interface GitCredentialArgs {
44
+ force?: pulumi.Input<boolean>;
45
+ gitProvider: pulumi.Input<string>;
46
+ gitUsername: pulumi.Input<string>;
47
+ personalAccessToken: pulumi.Input<string>;
48
+ }
@@ -0,0 +1,64 @@
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.GitCredential = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ class GitCredential extends pulumi.CustomResource {
9
+ constructor(name, argsOrState, opts) {
10
+ let resourceInputs = {};
11
+ opts = opts || {};
12
+ if (opts.id) {
13
+ const state = argsOrState;
14
+ resourceInputs["force"] = state ? state.force : undefined;
15
+ resourceInputs["gitProvider"] = state ? state.gitProvider : undefined;
16
+ resourceInputs["gitUsername"] = state ? state.gitUsername : undefined;
17
+ resourceInputs["personalAccessToken"] = state ? state.personalAccessToken : undefined;
18
+ }
19
+ else {
20
+ const args = argsOrState;
21
+ if ((!args || args.gitProvider === undefined) && !opts.urn) {
22
+ throw new Error("Missing required property 'gitProvider'");
23
+ }
24
+ if ((!args || args.gitUsername === undefined) && !opts.urn) {
25
+ throw new Error("Missing required property 'gitUsername'");
26
+ }
27
+ if ((!args || args.personalAccessToken === undefined) && !opts.urn) {
28
+ throw new Error("Missing required property 'personalAccessToken'");
29
+ }
30
+ resourceInputs["force"] = args ? args.force : undefined;
31
+ resourceInputs["gitProvider"] = args ? args.gitProvider : undefined;
32
+ resourceInputs["gitUsername"] = args ? args.gitUsername : undefined;
33
+ resourceInputs["personalAccessToken"] = args ? args.personalAccessToken : undefined;
34
+ }
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
36
+ super(GitCredential.__pulumiType, name, resourceInputs, opts);
37
+ }
38
+ /**
39
+ * Get an existing GitCredential 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 GitCredential(name, state, Object.assign(Object.assign({}, opts), { id: id }));
49
+ }
50
+ /**
51
+ * Returns true if the given object is an instance of GitCredential. 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'] === GitCredential.__pulumiType;
59
+ }
60
+ }
61
+ exports.GitCredential = GitCredential;
62
+ /** @internal */
63
+ GitCredential.__pulumiType = 'databricks:index/gitCredential:GitCredential';
64
+ //# sourceMappingURL=gitCredential.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gitCredential.js","sourceRoot":"","sources":["../gitCredential.ts"],"names":[],"mappings":"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"}