@pulumi/databricks 1.48.0-alpha.1721971593 → 1.48.0-alpha.1722058383

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 (150) hide show
  1. package/artifactAllowlist.d.ts +7 -0
  2. package/artifactAllowlist.js +7 -0
  3. package/artifactAllowlist.js.map +1 -1
  4. package/catalog.d.ts +6 -0
  5. package/catalog.js +6 -0
  6. package/catalog.js.map +1 -1
  7. package/catalogWorkspaceBinding.d.ts +12 -0
  8. package/catalogWorkspaceBinding.js +12 -0
  9. package/catalogWorkspaceBinding.js.map +1 -1
  10. package/cluster.d.ts +9 -0
  11. package/cluster.js.map +1 -1
  12. package/dashboard.d.ts +24 -0
  13. package/dashboard.js +24 -0
  14. package/dashboard.js.map +1 -1
  15. package/dbfsFile.d.ts +11 -0
  16. package/dbfsFile.js +2 -0
  17. package/dbfsFile.js.map +1 -1
  18. package/directory.d.ts +38 -0
  19. package/directory.js +29 -0
  20. package/directory.js.map +1 -1
  21. package/file.d.ts +69 -0
  22. package/file.js +69 -0
  23. package/file.js.map +1 -1
  24. package/getCatalog.d.ts +12 -0
  25. package/getCatalog.js +12 -0
  26. package/getCatalog.js.map +1 -1
  27. package/getCatalogs.d.ts +12 -0
  28. package/getCatalogs.js +12 -0
  29. package/getCatalogs.js.map +1 -1
  30. package/getClusters.d.ts +8 -0
  31. package/getClusters.js +8 -0
  32. package/getClusters.js.map +1 -1
  33. package/getCurrentUser.d.ts +4 -4
  34. package/getCurrentUser.js +4 -4
  35. package/getExternalLocation.d.ts +8 -0
  36. package/getExternalLocation.js +8 -0
  37. package/getExternalLocation.js.map +1 -1
  38. package/getExternalLocations.d.ts +8 -0
  39. package/getExternalLocations.js +8 -0
  40. package/getExternalLocations.js.map +1 -1
  41. package/getJobs.d.ts +12 -0
  42. package/getJobs.js +12 -0
  43. package/getJobs.js.map +1 -1
  44. package/getMetastore.d.ts +12 -0
  45. package/getMetastore.js +12 -0
  46. package/getMetastore.js.map +1 -1
  47. package/getMetastores.d.ts +12 -0
  48. package/getMetastores.js +12 -0
  49. package/getMetastores.js.map +1 -1
  50. package/getSchema.d.ts +4 -6
  51. package/getSchema.js +4 -6
  52. package/getSchema.js.map +1 -1
  53. package/getSchemas.d.ts +12 -0
  54. package/getSchemas.js +12 -0
  55. package/getSchemas.js.map +1 -1
  56. package/getShare.d.ts +4 -0
  57. package/getShare.js +4 -0
  58. package/getShare.js.map +1 -1
  59. package/getShares.d.ts +4 -0
  60. package/getShares.js +4 -0
  61. package/getShares.js.map +1 -1
  62. package/getSqlWarehouses.d.ts +8 -0
  63. package/getSqlWarehouses.js +8 -0
  64. package/getSqlWarehouses.js.map +1 -1
  65. package/getStorageCredential.d.ts +8 -0
  66. package/getStorageCredential.js +8 -0
  67. package/getStorageCredential.js.map +1 -1
  68. package/getStorageCredentials.d.ts +8 -0
  69. package/getStorageCredentials.js +8 -0
  70. package/getStorageCredentials.js.map +1 -1
  71. package/getTable.d.ts +12 -0
  72. package/getTable.js +12 -0
  73. package/getTable.js.map +1 -1
  74. package/getTables.d.ts +12 -0
  75. package/getTables.js +12 -0
  76. package/getTables.js.map +1 -1
  77. package/getViews.d.ts +4 -4
  78. package/getViews.js +4 -4
  79. package/getVolume.d.ts +4 -6
  80. package/getVolume.js +4 -6
  81. package/getVolume.js.map +1 -1
  82. package/getVolumes.d.ts +8 -0
  83. package/getVolumes.js +8 -0
  84. package/getVolumes.js.map +1 -1
  85. package/gitCredential.d.ts +23 -0
  86. package/gitCredential.js +23 -0
  87. package/gitCredential.js.map +1 -1
  88. package/globalInitScript.d.ts +11 -0
  89. package/globalInitScript.js +2 -0
  90. package/globalInitScript.js.map +1 -1
  91. package/grant.d.ts +396 -0
  92. package/grant.js +396 -0
  93. package/grant.js.map +1 -1
  94. package/grants.d.ts +433 -0
  95. package/grants.js +433 -0
  96. package/grants.js.map +1 -1
  97. package/group.d.ts +9 -0
  98. package/group.js.map +1 -1
  99. package/job.d.ts +69 -0
  100. package/job.js +69 -0
  101. package/job.js.map +1 -1
  102. package/mlflowWebhook.d.ts +1 -1
  103. package/mlflowWebhook.js +1 -1
  104. package/mwsCustomerManagedKeys.d.ts +9 -0
  105. package/mwsCustomerManagedKeys.js +9 -0
  106. package/mwsCustomerManagedKeys.js.map +1 -1
  107. package/mwsVpcEndpoint.d.ts +192 -0
  108. package/mwsVpcEndpoint.js +192 -0
  109. package/mwsVpcEndpoint.js.map +1 -1
  110. package/notebook.d.ts +11 -0
  111. package/notebook.js +2 -0
  112. package/notebook.js.map +1 -1
  113. package/oboToken.d.ts +64 -0
  114. package/oboToken.js +64 -0
  115. package/oboToken.js.map +1 -1
  116. package/package.json +2 -2
  117. package/permissionAssignment.d.ts +9 -0
  118. package/permissionAssignment.js.map +1 -1
  119. package/permissions.d.ts +684 -18
  120. package/permissions.js +684 -18
  121. package/permissions.js.map +1 -1
  122. package/repo.d.ts +32 -0
  123. package/repo.js +32 -0
  124. package/repo.js.map +1 -1
  125. package/servicePrincipal.d.ts +9 -0
  126. package/servicePrincipal.js.map +1 -1
  127. package/servicePrincipalSecret.d.ts +8 -0
  128. package/servicePrincipalSecret.js +8 -0
  129. package/servicePrincipalSecret.js.map +1 -1
  130. package/share.d.ts +93 -0
  131. package/share.js +93 -0
  132. package/share.js.map +1 -1
  133. package/sqlPermissions.d.ts +15 -3
  134. package/sqlPermissions.js +15 -3
  135. package/sqlPermissions.js.map +1 -1
  136. package/token.d.ts +2 -2
  137. package/token.js +2 -2
  138. package/types/input.d.ts +16 -0
  139. package/types/output.d.ts +16 -0
  140. package/user.d.ts +9 -0
  141. package/user.js.map +1 -1
  142. package/workspaceBinding.d.ts +12 -0
  143. package/workspaceBinding.js +12 -0
  144. package/workspaceBinding.js.map +1 -1
  145. package/workspaceConf.d.ts +4 -0
  146. package/workspaceConf.js +4 -0
  147. package/workspaceConf.js.map +1 -1
  148. package/workspaceFile.d.ts +11 -0
  149. package/workspaceFile.js +2 -0
  150. package/workspaceFile.js.map +1 -1
package/getCatalog.d.ts CHANGED
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * > **Note** This data source could be only used with workspace-level provider!
6
+ *
7
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
8
+ *
9
+ * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * Read on a specific catalog `test`:
@@ -65,6 +71,12 @@ export interface GetCatalogResult {
65
71
  readonly name: string;
66
72
  }
67
73
  /**
74
+ * > **Note** This data source could be only used with workspace-level provider!
75
+ *
76
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
77
+ *
78
+ * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
79
+ *
68
80
  * ## Example Usage
69
81
  *
70
82
  * Read on a specific catalog `test`:
package/getCatalog.js CHANGED
@@ -6,6 +6,12 @@ exports.getCatalogOutput = exports.getCatalog = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with workspace-level provider!
10
+ *
11
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
12
+ *
13
+ * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * Read on a specific catalog `test`:
@@ -43,6 +49,12 @@ function getCatalog(args, opts) {
43
49
  }
44
50
  exports.getCatalog = getCatalog;
45
51
  /**
52
+ * > **Note** This data source could be only used with workspace-level provider!
53
+ *
54
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
55
+ *
56
+ * Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use databricks.getCatalogs to retrieve IDs of multiple catalogs from Unity Catalog
57
+ *
46
58
  * ## Example Usage
47
59
  *
48
60
  * Read on a specific catalog `test`:
package/getCatalog.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getCatalog.js","sourceRoot":"","sources":["../getCatalog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getCatalog.js","sourceRoot":"","sources":["../getCatalog.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AAqCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
package/getCatalogs.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** This data source could be only used with workspace-level provider!
4
+ *
5
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
6
+ *
7
+ * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
8
+ *
3
9
  * ## Example Usage
4
10
  *
5
11
  * Listing all catalogs:
@@ -43,6 +49,12 @@ export interface GetCatalogsResult {
43
49
  readonly ids: string[];
44
50
  }
45
51
  /**
52
+ * > **Note** This data source could be only used with workspace-level provider!
53
+ *
54
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
55
+ *
56
+ * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
57
+ *
46
58
  * ## Example Usage
47
59
  *
48
60
  * Listing all catalogs:
package/getCatalogs.js CHANGED
@@ -6,6 +6,12 @@ exports.getCatalogsOutput = exports.getCatalogs = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with workspace-level provider!
10
+ *
11
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
12
+ *
13
+ * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * Listing all catalogs:
@@ -34,6 +40,12 @@ function getCatalogs(args, opts) {
34
40
  }
35
41
  exports.getCatalogs = getCatalogs;
36
42
  /**
43
+ * > **Note** This data source could be only used with workspace-level provider!
44
+ *
45
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
46
+ *
47
+ * Retrieves a list of databricks.Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
48
+ *
37
49
  * ## Example Usage
38
50
  *
39
51
  * Listing all catalogs:
@@ -1 +1 @@
1
- {"version":3,"file":"getCatalogs.js","sourceRoot":"","sources":["../getCatalogs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,Y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AAA;AACtE,CAAC;AAFD,8CAEC"}
package/getClusters.d.ts CHANGED
@@ -1,5 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
4
+ *
5
+ * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
6
+ *
3
7
  * ## Example Usage
4
8
  *
5
9
  * Retrieve cluster IDs for all clusters:
@@ -61,6 +65,10 @@ export interface GetClustersResult {
61
65
  readonly ids: string[];
62
66
  }
63
67
  /**
68
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
69
+ *
70
+ * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
71
+ *
64
72
  * ## Example Usage
65
73
  *
66
74
  * Retrieve cluster IDs for all clusters:
package/getClusters.js CHANGED
@@ -6,6 +6,10 @@ exports.getClustersOutput = exports.getClusters = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
10
+ *
11
+ * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
12
+ *
9
13
  * ## Example Usage
10
14
  *
11
15
  * Retrieve cluster IDs for all clusters:
@@ -51,6 +55,10 @@ function getClusters(args, opts) {
51
55
  }
52
56
  exports.getClusters = getClusters;
53
57
  /**
58
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
59
+ *
60
+ * Retrieves a list of databricks.Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
61
+ *
54
62
  * ## Example Usage
55
63
  *
56
64
  * Retrieve cluster IDs for all clusters:
@@ -1 +1 @@
1
- {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
1
+ {"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE;QACrE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,kCASC;AA4BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
@@ -1,8 +1,8 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * ## Example Usage
3
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
4
4
  *
5
- * Create personalized databricks.Job and databricks_notebook:
5
+ * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes.
6
6
  */
7
7
  export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>;
8
8
  /**
@@ -22,8 +22,8 @@ export interface GetCurrentUserResult {
22
22
  readonly workspaceUrl: string;
23
23
  }
24
24
  /**
25
- * ## Example Usage
25
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
26
26
  *
27
- * Create personalized databricks.Job and databricks_notebook:
27
+ * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes.
28
28
  */
29
29
  export declare function getCurrentUserOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCurrentUserResult>;
package/getCurrentUser.js CHANGED
@@ -6,9 +6,9 @@ exports.getCurrentUserOutput = exports.getCurrentUser = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
9
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
10
10
  *
11
- * Create personalized databricks.Job and databricks_notebook:
11
+ * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes.
12
12
  */
13
13
  function getCurrentUser(opts) {
14
14
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -16,9 +16,9 @@ function getCurrentUser(opts) {
16
16
  }
17
17
  exports.getCurrentUser = getCurrentUser;
18
18
  /**
19
- * ## Example Usage
19
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
20
20
  *
21
- * Create personalized databricks.Job and databricks_notebook:
21
+ * Retrieves information about databricks.User or databricks_service_principal, that is calling Databricks REST API. Might be useful in applying the same Pulumi by different users in the shared workspace for testing purposes.
22
22
  */
23
23
  function getCurrentUserOutput(opts) {
24
24
  return pulumi.output(getCurrentUser(opts));
@@ -2,6 +2,10 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * > **Note** This data source could be only used with workspace-level provider!
6
+ *
7
+ * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
8
+ *
5
9
  * ## Example Usage
6
10
  *
7
11
  * Getting details of an existing external location in the metastore
@@ -56,6 +60,10 @@ export interface GetExternalLocationResult {
56
60
  readonly name: string;
57
61
  }
58
62
  /**
63
+ * > **Note** This data source could be only used with workspace-level provider!
64
+ *
65
+ * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
66
+ *
59
67
  * ## Example Usage
60
68
  *
61
69
  * Getting details of an existing external location in the metastore
@@ -6,6 +6,10 @@ exports.getExternalLocationOutput = exports.getExternalLocation = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with workspace-level provider!
10
+ *
11
+ * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
12
+ *
9
13
  * ## Example Usage
10
14
  *
11
15
  * Getting details of an existing external location in the metastore
@@ -37,6 +41,10 @@ function getExternalLocation(args, opts) {
37
41
  }
38
42
  exports.getExternalLocation = getExternalLocation;
39
43
  /**
44
+ * > **Note** This data source could be only used with workspace-level provider!
45
+ *
46
+ * Retrieves details about a databricks.ExternalLocation that were created by Pulumi or manually.
47
+ *
40
48
  * ## Example Usage
41
49
  *
42
50
  * Getting details of an existing external location in the metastore
@@ -1 +1 @@
1
- {"version":3,"file":"getExternalLocation.js","sourceRoot":"","sources":["../getExternalLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAkCD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
1
+ {"version":3,"file":"getExternalLocation.js","sourceRoot":"","sources":["../getExternalLocation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAE1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,sBAAsB,EAAE,IAAI,CAAC,oBAAoB;QACjD,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
@@ -1,5 +1,9 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** This data source could be only used with workspace-level provider!
4
+ *
5
+ * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
6
+ *
3
7
  * ## Example Usage
4
8
  *
5
9
  * List all external locations in the metastore
@@ -43,6 +47,10 @@ export interface GetExternalLocationsResult {
43
47
  readonly names: string[];
44
48
  }
45
49
  /**
50
+ * > **Note** This data source could be only used with workspace-level provider!
51
+ *
52
+ * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
53
+ *
46
54
  * ## Example Usage
47
55
  *
48
56
  * List all external locations in the metastore
@@ -6,6 +6,10 @@ exports.getExternalLocationsOutput = exports.getExternalLocations = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with workspace-level provider!
10
+ *
11
+ * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
12
+ *
9
13
  * ## Example Usage
10
14
  *
11
15
  * List all external locations in the metastore
@@ -34,6 +38,10 @@ function getExternalLocations(args, opts) {
34
38
  }
35
39
  exports.getExternalLocations = getExternalLocations;
36
40
  /**
41
+ * > **Note** This data source could be only used with workspace-level provider!
42
+ *
43
+ * Retrieves a list of databricks.ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
44
+ *
37
45
  * ## Example Usage
38
46
  *
39
47
  * List all external locations in the metastore
@@ -1 +1 @@
1
- {"version":3,"file":"getExternalLocations.js","sourceRoot":"","sources":["../getExternalLocations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAyBD;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
1
+ {"version":3,"file":"getExternalLocations.js","sourceRoot":"","sources":["../getExternalLocations.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAA2B;IAC7F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,0BAA0B,CAAC,IAAqC,EAAE,IAA2B;IACzG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,oBAAoB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC/E,CAAC;AAFD,gEAEC"}
package/getJobs.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
4
+ *
5
+ * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
6
+ *
7
+ * > **Note** Data resource will error in case of jobs with duplicate names.
8
+ *
3
9
  * ## Example Usage
4
10
  *
5
11
  * Granting view databricks.Permissions to all databricks.Job within the workspace:
@@ -67,6 +73,12 @@ export interface GetJobsResult {
67
73
  };
68
74
  }
69
75
  /**
76
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
77
+ *
78
+ * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
79
+ *
80
+ * > **Note** Data resource will error in case of jobs with duplicate names.
81
+ *
70
82
  * ## Example Usage
71
83
  *
72
84
  * Granting view databricks.Permissions to all databricks.Job within the workspace:
package/getJobs.js CHANGED
@@ -6,6 +6,12 @@ exports.getJobsOutput = exports.getJobs = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
10
+ *
11
+ * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
12
+ *
13
+ * > **Note** Data resource will error in case of jobs with duplicate names.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * Granting view databricks.Permissions to all databricks.Job within the workspace:
@@ -54,6 +60,12 @@ function getJobs(args, opts) {
54
60
  }
55
61
  exports.getJobs = getJobs;
56
62
  /**
63
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
64
+ *
65
+ * Retrieves a list of databricks.Job ids, that were created by Pulumi or manually, so that special handling could be applied.
66
+ *
67
+ * > **Note** Data resource will error in case of jobs with duplicate names.
68
+ *
57
69
  * ## Example Usage
58
70
  *
59
71
  * Granting view databricks.Permissions to all databricks.Job within the workspace:
package/getJobs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
1
+ {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,OAAO,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAClE,CAAC;AAFD,sCAEC"}
package/getMetastore.d.ts CHANGED
@@ -2,6 +2,12 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * > **Note** This data source could be only used with account-level provider!
6
+ *
7
+ * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
8
+ *
9
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _authentication is not configured for provider_ errors.
10
+ *
5
11
  * ## Example Usage
6
12
  *
7
13
  * MetastoreInfo response for a given metastore id
@@ -76,6 +82,12 @@ export interface GetMetastoreResult {
76
82
  readonly region: string;
77
83
  }
78
84
  /**
85
+ * > **Note** This data source could be only used with account-level provider!
86
+ *
87
+ * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
88
+ *
89
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _authentication is not configured for provider_ errors.
90
+ *
79
91
  * ## Example Usage
80
92
  *
81
93
  * MetastoreInfo response for a given metastore id
package/getMetastore.js CHANGED
@@ -6,6 +6,12 @@ exports.getMetastoreOutput = exports.getMetastore = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with account-level provider!
10
+ *
11
+ * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
12
+ *
13
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _authentication is not configured for provider_ errors.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * MetastoreInfo response for a given metastore id
@@ -47,6 +53,12 @@ function getMetastore(args, opts) {
47
53
  }
48
54
  exports.getMetastore = getMetastore;
49
55
  /**
56
+ * > **Note** This data source could be only used with account-level provider!
57
+ *
58
+ * Retrieves information about metastore for a given id of databricks.Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
59
+ *
60
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _authentication is not configured for provider_ errors.
61
+ *
50
62
  * ## Example Usage
51
63
  *
52
64
  * MetastoreInfo response for a given metastore id
@@ -1 +1 @@
1
- {"version":3,"file":"getMetastore.js","sourceRoot":"","sources":["../getMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,SAAgB,YAAY,CAAC,IAAuB,EAAE,IAA2B;IAC7E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,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;;;;;;GAkCG;AACH,SAAgB,kBAAkB,CAAC,IAA6B,EAAE,IAA2B;IACzF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
@@ -1,5 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** This data source could be only used with account-level provider!
4
+ *
5
+ * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
6
+ *
7
+ * > **Note** `accountId` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
8
+ *
3
9
  * ## Example Usage
4
10
  *
5
11
  * Mapping of name to id of all metastores:
@@ -48,6 +54,12 @@ export interface GetMetastoresResult {
48
54
  };
49
55
  }
50
56
  /**
57
+ * > **Note** This data source could be only used with account-level provider!
58
+ *
59
+ * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
60
+ *
61
+ * > **Note** `accountId` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
62
+ *
51
63
  * ## Example Usage
52
64
  *
53
65
  * Mapping of name to id of all metastores:
package/getMetastores.js CHANGED
@@ -6,6 +6,12 @@ exports.getMetastoresOutput = exports.getMetastores = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with account-level provider!
10
+ *
11
+ * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
12
+ *
13
+ * > **Note** `accountId` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * Mapping of name to id of all metastores:
@@ -35,6 +41,12 @@ function getMetastores(args, opts) {
35
41
  }
36
42
  exports.getMetastores = getMetastores;
37
43
  /**
44
+ * > **Note** This data source could be only used with account-level provider!
45
+ *
46
+ * Retrieves a mapping of name to id of databricks.Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
47
+ *
48
+ * > **Note** `accountId` provider configuration property is required for this resource to work. Data resource will error in case of metastores with duplicate names. This data source is only available for users & service principals with account admin status
49
+ *
38
50
  * ## Example Usage
39
51
  *
40
52
  * Mapping of name to id of all metastores:
@@ -1 +1 @@
1
- {"version":3,"file":"getMetastores.js","sourceRoot":"","sources":["../getMetastores.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAyBD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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"}
1
+ {"version":3,"file":"getMetastores.js","sourceRoot":"","sources":["../getMetastores.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAA2B;IAC/E,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,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,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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/getSchema.d.ts CHANGED
@@ -2,9 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
- * ## Example Usage
6
- *
7
- * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
5
+ * Retrieves details about databricks.Schema that was created by Pulumi or manually.
6
+ * A schema can be identified by its two-level (fully qualified) name (in the form of: `catalogName`.`schemaName`) as input. This can be retrieved programmatically using databricks.getSchemas data source.
8
7
  */
9
8
  export declare function getSchema(args: GetSchemaArgs, opts?: pulumi.InvokeOptions): Promise<GetSchemaResult>;
10
9
  /**
@@ -42,9 +41,8 @@ export interface GetSchemaResult {
42
41
  readonly schemaInfo: outputs.GetSchemaSchemaInfo;
43
42
  }
44
43
  /**
45
- * ## Example Usage
46
- *
47
- * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
44
+ * Retrieves details about databricks.Schema that was created by Pulumi or manually.
45
+ * A schema can be identified by its two-level (fully qualified) name (in the form of: `catalogName`.`schemaName`) as input. This can be retrieved programmatically using databricks.getSchemas data source.
48
46
  */
49
47
  export declare function getSchemaOutput(args: GetSchemaOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetSchemaResult>;
50
48
  /**
package/getSchema.js CHANGED
@@ -6,9 +6,8 @@ exports.getSchemaOutput = exports.getSchema = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * ## Example Usage
10
- *
11
- * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
9
+ * Retrieves details about databricks.Schema that was created by Pulumi or manually.
10
+ * A schema can be identified by its two-level (fully qualified) name (in the form of: `catalogName`.`schemaName`) as input. This can be retrieved programmatically using databricks.getSchemas data source.
12
11
  */
13
12
  function getSchema(args, opts) {
14
13
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -20,9 +19,8 @@ function getSchema(args, opts) {
20
19
  }
21
20
  exports.getSchema = getSchema;
22
21
  /**
23
- * ## Example Usage
24
- *
25
- * * Retrieve details of all schemas in in a _sandbox_ databricks_catalog:
22
+ * Retrieves details about databricks.Schema that was created by Pulumi or manually.
23
+ * A schema can be identified by its two-level (fully qualified) name (in the form of: `catalogName`.`schemaName`) as input. This can be retrieved programmatically using databricks.getSchemas data source.
26
24
  */
27
25
  function getSchemaOutput(args, opts) {
28
26
  return pulumi.output(args).apply((a) => getSchema(a, opts));
package/getSchema.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getSchema.js","sourceRoot":"","sources":["../getSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBA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AAC;AAFD,0CAEC"}
package/getSchemas.d.ts CHANGED
@@ -1,5 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
+ * > **Note** This data source could be only used with workspace-level provider!
4
+ *
5
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
6
+ *
7
+ * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
8
+ *
3
9
  * ## Example Usage
4
10
  *
5
11
  * Listing all schemas in a _sandbox_ databricks_catalog:
@@ -50,6 +56,12 @@ export interface GetSchemasResult {
50
56
  readonly ids: string[];
51
57
  }
52
58
  /**
59
+ * > **Note** This data source could be only used with workspace-level provider!
60
+ *
61
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
62
+ *
63
+ * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
64
+ *
53
65
  * ## Example Usage
54
66
  *
55
67
  * Listing all schemas in a _sandbox_ databricks_catalog:
package/getSchemas.js CHANGED
@@ -6,6 +6,12 @@ exports.getSchemasOutput = exports.getSchemas = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
+ * > **Note** This data source could be only used with workspace-level provider!
10
+ *
11
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
12
+ *
13
+ * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
14
+ *
9
15
  * ## Example Usage
10
16
  *
11
17
  * Listing all schemas in a _sandbox_ databricks_catalog:
@@ -36,6 +42,12 @@ function getSchemas(args, opts) {
36
42
  }
37
43
  exports.getSchemas = getSchemas;
38
44
  /**
45
+ * > **Note** This data source could be only used with workspace-level provider!
46
+ *
47
+ * > **Note** If you have a fully automated setup with workspaces created by databricks_mws_workspaces, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
48
+ *
49
+ * Retrieves a list of databricks.Schema ids, that were created by Pulumi or manually, so that special handling could be applied.
50
+ *
39
51
  * ## Example Usage
40
52
  *
41
53
  * Listing all schemas in a _sandbox_ databricks_catalog:
package/getSchemas.js.map CHANGED
@@ -1 +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;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,gCAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
1
+ {"version":3,"file":"getSchemas.js","sourceRoot":"","sources":["../getSchemas.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,UAAU,CAAC,IAAoB,EAAE,IAA2B;IAExE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,gCAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IACpF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
package/getShare.d.ts CHANGED
@@ -2,6 +2,8 @@ import * as pulumi from "@pulumi/pulumi";
2
2
  import * as inputs from "./types/input";
3
3
  import * as outputs from "./types/output";
4
4
  /**
5
+ * Retrieves details about a databricks.Share that were created by Pulumi or manually.
6
+ *
5
7
  * ## Example Usage
6
8
  *
7
9
  * Getting details of an existing share in the metastore
@@ -72,6 +74,8 @@ export interface GetShareResult {
72
74
  readonly objects: outputs.GetShareObject[];
73
75
  }
74
76
  /**
77
+ * Retrieves details about a databricks.Share that were created by Pulumi or manually.
78
+ *
75
79
  * ## Example Usage
76
80
  *
77
81
  * Getting details of an existing share in the metastore