@pulumi/databricks 1.74.0-alpha.1755063629 → 1.74.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/accountNetworkPolicy.d.ts +12 -0
  2. package/accountNetworkPolicy.js +12 -0
  3. package/accountNetworkPolicy.js.map +1 -1
  4. package/alertV2.d.ts +10 -3
  5. package/alertV2.js +1 -1
  6. package/alertV2.js.map +1 -1
  7. package/cleanRoomAsset.d.ts +282 -0
  8. package/cleanRoomAsset.js +121 -0
  9. package/cleanRoomAsset.js.map +1 -0
  10. package/cleanRoomAutoApprovalRule.d.ts +135 -0
  11. package/cleanRoomAutoApprovalRule.js +82 -0
  12. package/cleanRoomAutoApprovalRule.js.map +1 -0
  13. package/cleanRoomsCleanRoom.d.ts +161 -0
  14. package/cleanRoomsCleanRoom.js +92 -0
  15. package/cleanRoomsCleanRoom.js.map +1 -0
  16. package/connection.d.ts +75 -0
  17. package/connection.js +74 -0
  18. package/connection.js.map +1 -1
  19. package/databaseDatabaseCatalog.d.ts +152 -0
  20. package/databaseDatabaseCatalog.js +132 -0
  21. package/databaseDatabaseCatalog.js.map +1 -0
  22. package/databaseInstance.d.ts +176 -3
  23. package/databaseInstance.js +58 -1
  24. package/databaseInstance.js.map +1 -1
  25. package/databaseSyncedDatabaseTable.d.ts +180 -0
  26. package/databaseSyncedDatabaseTable.js +92 -0
  27. package/databaseSyncedDatabaseTable.js.map +1 -0
  28. package/dbfsFile.d.ts +2 -0
  29. package/dbfsFile.js +2 -0
  30. package/dbfsFile.js.map +1 -1
  31. package/disableLegacyAccessSetting.d.ts +43 -0
  32. package/disableLegacyAccessSetting.js +34 -0
  33. package/disableLegacyAccessSetting.js.map +1 -1
  34. package/disableLegacyDbfsSetting.d.ts +14 -4
  35. package/disableLegacyDbfsSetting.js +14 -4
  36. package/disableLegacyDbfsSetting.js.map +1 -1
  37. package/disableLegacyFeaturesSetting.d.ts +16 -3
  38. package/disableLegacyFeaturesSetting.js +16 -3
  39. package/disableLegacyFeaturesSetting.js.map +1 -1
  40. package/entitlements.d.ts +1 -1
  41. package/entitlements.js +1 -1
  42. package/externalLocation.d.ts +0 -9
  43. package/externalLocation.js.map +1 -1
  44. package/externalMetadata.d.ts +232 -0
  45. package/externalMetadata.js +133 -0
  46. package/externalMetadata.js.map +1 -0
  47. package/getAccountNetworkPolicies.d.ts +32 -0
  48. package/getAccountNetworkPolicies.js +32 -0
  49. package/getAccountNetworkPolicies.js.map +1 -1
  50. package/getAccountNetworkPolicy.d.ts +10 -0
  51. package/getAccountNetworkPolicy.js +10 -0
  52. package/getAccountNetworkPolicy.js.map +1 -1
  53. package/getAlertV2.d.ts +19 -8
  54. package/getAlertV2.js +2 -0
  55. package/getAlertV2.js.map +1 -1
  56. package/getCleanRoomAsset.d.ts +235 -0
  57. package/getCleanRoomAsset.js +70 -0
  58. package/getCleanRoomAsset.js.map +1 -0
  59. package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +207 -0
  60. package/getCleanRoomAssetRevisionsCleanRoomAsset.js +42 -0
  61. package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -0
  62. package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +14 -0
  63. package/getCleanRoomAssetRevisionsCleanRoomAssets.js +18 -0
  64. package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -0
  65. package/getCleanRoomAssets.d.ts +42 -0
  66. package/getCleanRoomAssets.js +46 -0
  67. package/getCleanRoomAssets.js.map +1 -0
  68. package/getCleanRoomAutoApprovalRule.d.ts +88 -0
  69. package/getCleanRoomAutoApprovalRule.js +30 -0
  70. package/getCleanRoomAutoApprovalRule.js.map +1 -0
  71. package/getCleanRoomAutoApprovalRules.d.ts +14 -0
  72. package/getCleanRoomAutoApprovalRules.js +18 -0
  73. package/getCleanRoomAutoApprovalRules.js.map +1 -0
  74. package/getCleanRoomsCleanRoom.d.ts +138 -0
  75. package/getCleanRoomsCleanRoom.js +62 -0
  76. package/getCleanRoomsCleanRoom.js.map +1 -0
  77. package/getCleanRoomsCleanRooms.d.ts +42 -0
  78. package/getCleanRoomsCleanRooms.js +46 -0
  79. package/getCleanRoomsCleanRooms.js.map +1 -0
  80. package/getClusters.d.ts +2 -2
  81. package/getClusters.js +2 -2
  82. package/getDatabaseDatabaseCatalog.d.ts +106 -0
  83. package/getDatabaseDatabaseCatalog.js +60 -0
  84. package/getDatabaseDatabaseCatalog.js.map +1 -0
  85. package/getDatabaseDatabaseCatalogs.d.ts +14 -0
  86. package/getDatabaseDatabaseCatalogs.js +18 -0
  87. package/getDatabaseDatabaseCatalogs.js.map +1 -0
  88. package/getDatabaseInstance.d.ts +98 -2
  89. package/getDatabaseInstance.js +8 -0
  90. package/getDatabaseInstance.js.map +1 -1
  91. package/getDatabaseSyncedDatabaseTable.d.ts +132 -0
  92. package/getDatabaseSyncedDatabaseTable.js +60 -0
  93. package/getDatabaseSyncedDatabaseTable.js.map +1 -0
  94. package/getDatabaseSyncedDatabaseTables.d.ts +14 -0
  95. package/getDatabaseSyncedDatabaseTables.js +18 -0
  96. package/getDatabaseSyncedDatabaseTables.js.map +1 -0
  97. package/getExternalMetadata.d.ts +180 -0
  98. package/getExternalMetadata.js +72 -0
  99. package/getExternalMetadata.js.map +1 -0
  100. package/getExternalMetadatas.d.ts +24 -0
  101. package/getExternalMetadatas.js +28 -0
  102. package/getExternalMetadatas.js.map +1 -0
  103. package/getMaterializedFeaturesFeatureTag.d.ts +40 -0
  104. package/getMaterializedFeaturesFeatureTag.js +24 -0
  105. package/getMaterializedFeaturesFeatureTag.js.map +1 -0
  106. package/getMaterializedFeaturesFeatureTags.d.ts +14 -0
  107. package/getMaterializedFeaturesFeatureTags.js +18 -0
  108. package/getMaterializedFeaturesFeatureTags.js.map +1 -0
  109. package/getOnlineStore.d.ts +15 -3
  110. package/getOnlineStore.js +2 -0
  111. package/getOnlineStore.js.map +1 -1
  112. package/getPipelines.d.ts +15 -15
  113. package/getPipelines.js +10 -10
  114. package/getPolicyInfo.d.ts +223 -0
  115. package/getPolicyInfo.js +44 -0
  116. package/getPolicyInfo.js.map +1 -0
  117. package/getPolicyInfos.d.ts +14 -0
  118. package/getPolicyInfos.js +18 -0
  119. package/getPolicyInfos.js.map +1 -0
  120. package/getQualityMonitorV2.d.ts +1 -1
  121. package/getServicePrincipal.d.ts +22 -7
  122. package/getServicePrincipal.js +4 -2
  123. package/getServicePrincipal.js.map +1 -1
  124. package/getServicePrincipals.d.ts +3 -3
  125. package/getSqlWarehouse.d.ts +5 -5
  126. package/getSqlWarehouse.js +2 -2
  127. package/getSqlWarehouses.d.ts +2 -2
  128. package/getSqlWarehouses.js +2 -2
  129. package/getUser.d.ts +2 -2
  130. package/getUser.js +2 -2
  131. package/getWorkspaceNetworkOption.d.ts +36 -0
  132. package/getWorkspaceNetworkOption.js +36 -0
  133. package/getWorkspaceNetworkOption.js.map +1 -1
  134. package/gitCredential.d.ts +40 -3
  135. package/gitCredential.js +17 -0
  136. package/gitCredential.js.map +1 -1
  137. package/grant.d.ts +3 -1
  138. package/grant.js +3 -1
  139. package/grant.js.map +1 -1
  140. package/grants.d.ts +7 -12
  141. package/grants.js +7 -12
  142. package/grants.js.map +1 -1
  143. package/groupInstanceProfile.d.ts +1 -1
  144. package/groupInstanceProfile.js +1 -1
  145. package/groupMember.d.ts +1 -1
  146. package/groupMember.js +1 -1
  147. package/groupRole.d.ts +1 -1
  148. package/groupRole.js +1 -1
  149. package/index.d.ts +78 -0
  150. package/index.js +101 -6
  151. package/index.js.map +1 -1
  152. package/ipAccessList.d.ts +1 -1
  153. package/ipAccessList.js +1 -1
  154. package/job.d.ts +12 -9
  155. package/job.js +2 -0
  156. package/job.js.map +1 -1
  157. package/lakehouseMonitor.d.ts +2 -2
  158. package/library.d.ts +10 -5
  159. package/library.js +1 -5
  160. package/library.js.map +1 -1
  161. package/materializedFeaturesFeatureTag.d.ts +63 -0
  162. package/materializedFeaturesFeatureTag.js +75 -0
  163. package/materializedFeaturesFeatureTag.js.map +1 -0
  164. package/mlflowExperiment.d.ts +4 -4
  165. package/mlflowExperiment.js +1 -1
  166. package/modelServing.d.ts +32 -0
  167. package/modelServing.js +6 -0
  168. package/modelServing.js.map +1 -1
  169. package/modelServingProvisionedThroughput.d.ts +12 -0
  170. package/modelServingProvisionedThroughput.js +2 -0
  171. package/modelServingProvisionedThroughput.js.map +1 -1
  172. package/mwsNccPrivateEndpointRule.d.ts +26 -14
  173. package/mwsNccPrivateEndpointRule.js +8 -2
  174. package/mwsNccPrivateEndpointRule.js.map +1 -1
  175. package/mwsNetworkConnectivityConfig.d.ts +30 -3
  176. package/mwsNetworkConnectivityConfig.js.map +1 -1
  177. package/mwsPermissionAssignment.d.ts +1 -1
  178. package/mwsPermissionAssignment.js +1 -1
  179. package/mwsWorkspaces.d.ts +3 -3
  180. package/oboToken.d.ts +1 -1
  181. package/oboToken.js +1 -1
  182. package/onlineStore.d.ts +15 -3
  183. package/onlineStore.js +5 -0
  184. package/onlineStore.js.map +1 -1
  185. package/package.json +2 -2
  186. package/permissionAssignment.d.ts +1 -1
  187. package/permissionAssignment.js +1 -1
  188. package/permissions.d.ts +69 -14
  189. package/permissions.js +67 -14
  190. package/permissions.js.map +1 -1
  191. package/pipeline.d.ts +31 -30
  192. package/pipeline.js +9 -8
  193. package/pipeline.js.map +1 -1
  194. package/policyInfo.d.ts +274 -0
  195. package/policyInfo.js +109 -0
  196. package/policyInfo.js.map +1 -0
  197. package/qualityMonitor.d.ts +2 -2
  198. package/qualityMonitorV2.d.ts +2 -2
  199. package/repo.d.ts +1 -1
  200. package/repo.js +1 -1
  201. package/secret.d.ts +1 -1
  202. package/secret.js +1 -1
  203. package/servicePrincipal.d.ts +3 -2
  204. package/servicePrincipal.js +3 -2
  205. package/servicePrincipal.js.map +1 -1
  206. package/servicePrincipalSecret.d.ts +1 -1
  207. package/servicePrincipalSecret.js +1 -1
  208. package/share.d.ts +9 -0
  209. package/share.js.map +1 -1
  210. package/sqlDashboard.d.ts +1 -1
  211. package/sqlDashboard.js +1 -1
  212. package/sqlEndpoint.d.ts +7 -13
  213. package/sqlEndpoint.js +1 -1
  214. package/sqlEndpoint.js.map +1 -1
  215. package/sqlGlobalConfig.d.ts +2 -2
  216. package/sqlGlobalConfig.js +2 -2
  217. package/sqlPermissions.d.ts +1 -1
  218. package/sqlPermissions.js +1 -1
  219. package/sqlQuery.d.ts +1 -1
  220. package/sqlQuery.js +1 -1
  221. package/sqlTable.d.ts +3 -3
  222. package/sqlWidget.d.ts +3 -1
  223. package/sqlWidget.js +3 -1
  224. package/sqlWidget.js.map +1 -1
  225. package/types/input.d.ts +3947 -829
  226. package/types/output.d.ts +5416 -1433
  227. package/user.d.ts +1 -1
  228. package/user.js +1 -1
  229. package/workspaceNetworkOption.d.ts +24 -0
  230. package/workspaceNetworkOption.js +24 -0
  231. package/workspaceNetworkOption.js.map +1 -1
@@ -34,7 +34,7 @@ import * as pulumi from "@pulumi/pulumi";
34
34
  * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
35
35
  * * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
36
36
  * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
37
- * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
37
+ * * databricks.Grants to manage data access in Unity Catalog.
38
38
  */
39
39
  export declare function getSqlWarehouses(args?: GetSqlWarehousesArgs, opts?: pulumi.InvokeOptions): Promise<GetSqlWarehousesResult>;
40
40
  /**
@@ -99,7 +99,7 @@ export interface GetSqlWarehousesResult {
99
99
  * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
100
100
  * * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
101
101
  * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
102
- * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
102
+ * * databricks.Grants to manage data access in Unity Catalog.
103
103
  */
104
104
  export declare function getSqlWarehousesOutput(args?: GetSqlWarehousesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSqlWarehousesResult>;
105
105
  /**
@@ -40,7 +40,7 @@ const utilities = require("./utilities");
40
40
  * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
41
41
  * * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
42
42
  * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
43
- * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
43
+ * * databricks.Grants to manage data access in Unity Catalog.
44
44
  */
45
45
  function getSqlWarehouses(args, opts) {
46
46
  args = args || {};
@@ -86,7 +86,7 @@ exports.getSqlWarehouses = getSqlWarehouses;
86
86
  * * databricks.InstanceProfile to manage AWS EC2 instance profiles that users can launch databricks.Cluster and access data, like databricks_mount.
87
87
  * * databricks.SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
88
88
  * * databricks.SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all databricks.getSqlWarehouse of workspace.
89
- * * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
89
+ * * databricks.Grants to manage data access in Unity Catalog.
90
90
  */
91
91
  function getSqlWarehousesOutput(args, opts) {
92
92
  args = args || {};
package/getUser.d.ts CHANGED
@@ -30,7 +30,7 @@ import * as pulumi from "@pulumi/pulumi";
30
30
  *
31
31
  * - End to end workspace management guide.
32
32
  * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
33
- * - 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).
33
+ * - databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
34
34
  * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
35
35
  * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
36
36
  * - databricks.GroupMember to attach users and groups as group members.
@@ -126,7 +126,7 @@ export interface GetUserResult {
126
126
  *
127
127
  * - End to end workspace management guide.
128
128
  * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
129
- * - 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).
129
+ * - databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
130
130
  * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
131
131
  * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
132
132
  * - databricks.GroupMember to attach users and groups as group members.
package/getUser.js CHANGED
@@ -36,7 +36,7 @@ const utilities = require("./utilities");
36
36
  *
37
37
  * - End to end workspace management guide.
38
38
  * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
39
- * - 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).
39
+ * - databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
40
40
  * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
41
41
  * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
42
42
  * - databricks.GroupMember to attach users and groups as group members.
@@ -84,7 +84,7 @@ exports.getUser = getUser;
84
84
  *
85
85
  * - End to end workspace management guide.
86
86
  * - databricks.getCurrentUser data to retrieve information about databricks.User or databricks_service_principal, that is calling Databricks REST API.
87
- * - 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).
87
+ * - databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
88
88
  * - databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
89
89
  * - databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
90
90
  * - databricks.GroupMember to attach users and groups as group members.
@@ -1,4 +1,22 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This data source can be used to get a single workspace network option.
4
+ *
5
+ * > **Note** This data source can only be used with an account-level provider!
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * Referring to a network policy by id:
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const _this = databricks.getWorkspaceNetworkOption({
16
+ * workspaceId: "9999999999999999",
17
+ * });
18
+ * ```
19
+ */
2
20
  export declare function getWorkspaceNetworkOption(args?: GetWorkspaceNetworkOptionArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceNetworkOptionResult>;
3
21
  /**
4
22
  * A collection of arguments for invoking getWorkspaceNetworkOption.
@@ -36,6 +54,24 @@ export interface GetWorkspaceNetworkOptionResult {
36
54
  */
37
55
  readonly workspaceId?: string;
38
56
  }
57
+ /**
58
+ * This data source can be used to get a single workspace network option.
59
+ *
60
+ * > **Note** This data source can only be used with an account-level provider!
61
+ *
62
+ * ## Example Usage
63
+ *
64
+ * Referring to a network policy by id:
65
+ *
66
+ * ```typescript
67
+ * import * as pulumi from "@pulumi/pulumi";
68
+ * import * as databricks from "@pulumi/databricks";
69
+ *
70
+ * const _this = databricks.getWorkspaceNetworkOption({
71
+ * workspaceId: "9999999999999999",
72
+ * });
73
+ * ```
74
+ */
39
75
  export declare function getWorkspaceNetworkOptionOutput(args?: GetWorkspaceNetworkOptionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceNetworkOptionResult>;
40
76
  /**
41
77
  * A collection of arguments for invoking getWorkspaceNetworkOption.
@@ -5,6 +5,24 @@ Object.defineProperty(exports, "__esModule", { value: true });
5
5
  exports.getWorkspaceNetworkOptionOutput = exports.getWorkspaceNetworkOption = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to get a single workspace network option.
10
+ *
11
+ * > **Note** This data source can only be used with an account-level provider!
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Referring to a network policy by id:
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = databricks.getWorkspaceNetworkOption({
22
+ * workspaceId: "9999999999999999",
23
+ * });
24
+ * ```
25
+ */
8
26
  function getWorkspaceNetworkOption(args, opts) {
9
27
  args = args || {};
10
28
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -14,6 +32,24 @@ function getWorkspaceNetworkOption(args, opts) {
14
32
  }, opts);
15
33
  }
16
34
  exports.getWorkspaceNetworkOption = getWorkspaceNetworkOption;
35
+ /**
36
+ * This data source can be used to get a single workspace network option.
37
+ *
38
+ * > **Note** This data source can only be used with an account-level provider!
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * Referring to a network policy by id:
43
+ *
44
+ * ```typescript
45
+ * import * as pulumi from "@pulumi/pulumi";
46
+ * import * as databricks from "@pulumi/databricks";
47
+ *
48
+ * const _this = databricks.getWorkspaceNetworkOption({
49
+ * workspaceId: "9999999999999999",
50
+ * });
51
+ * ```
52
+ */
17
53
  function getWorkspaceNetworkOptionOutput(args, opts) {
18
54
  args = args || {};
19
55
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -1 +1 @@
1
- {"version":3,"file":"getWorkspaceNetworkOption.js","sourceRoot":"","sources":["../getWorkspaceNetworkOption.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,sEAAsE,EAAE;QACjG,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8DAOC;AAuCD,SAAgB,+BAA+B,CAAC,IAA0C,EAAE,IAAiC;IACzH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,C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C;AAPD,0EAOC"}
@@ -6,6 +6,8 @@ import * as pulumi from "@pulumi/pulumi";
6
6
  *
7
7
  * ## Example Usage
8
8
  *
9
+ * ### Git credential that uses personal access token
10
+ *
9
11
  * You can declare Pulumi-managed Git credential using following code:
10
12
  *
11
13
  * ```typescript
@@ -19,6 +21,17 @@ import * as pulumi from "@pulumi/pulumi";
19
21
  * });
20
22
  * ```
21
23
  *
24
+ * ### Git credential configuration for Azure Service Principal and Azure DevOps
25
+ *
26
+ * Databricks now supports Azure service principal federation to Azure DevOps. Follow the [documentation](https://learn.microsoft.com/en-us/azure/databricks/repos/automate-with-ms-entra) on how to configure service principal federation, and after everything is configured, it could be used as simple as:
27
+ *
28
+ * ```typescript
29
+ * import * as pulumi from "@pulumi/pulumi";
30
+ * import * as databricks from "@pulumi/databricks";
31
+ *
32
+ * const ado = new databricks.GitCredential("ado", {gitProvider: "azureDevOpsServicesAad"});
33
+ * ```
34
+ *
22
35
  * ## Related Resources
23
36
  *
24
37
  * The following resources are often used in the same context:
@@ -64,7 +77,7 @@ export declare class GitCredential extends pulumi.CustomResource {
64
77
  */
65
78
  static isInstance(obj: any): obj is GitCredential;
66
79
  /**
67
- * specify if settings need to be enforced - right now, Databricks allows only single Git credential, so if it's already configured, the apply operation will fail.
80
+ * specify if settings need to be enforced (i.e., to overwrite previously set credential for service principals).
68
81
  */
69
82
  readonly force: pulumi.Output<boolean | undefined>;
70
83
  /**
@@ -75,6 +88,14 @@ export declare class GitCredential extends pulumi.CustomResource {
75
88
  * user name at Git provider.
76
89
  */
77
90
  readonly gitUsername: pulumi.Output<string | undefined>;
91
+ /**
92
+ * boolean flag specifying if the credential is the default for the given provider type.
93
+ */
94
+ readonly isDefaultForProvider: pulumi.Output<boolean | undefined>;
95
+ /**
96
+ * the name of the git credential, used for identification and ease of lookup.
97
+ */
98
+ readonly name: pulumi.Output<string>;
78
99
  /**
79
100
  * The personal access token used to authenticate to the corresponding Git provider. If value is not provided, it's sourced from the first environment variable of `GITHUB_TOKEN`, `GITLAB_TOKEN`, or `AZDO_PERSONAL_ACCESS_TOKEN`, that has a non-empty value.
80
101
  */
@@ -93,7 +114,7 @@ export declare class GitCredential extends pulumi.CustomResource {
93
114
  */
94
115
  export interface GitCredentialState {
95
116
  /**
96
- * specify if settings need to be enforced - right now, Databricks allows only single Git credential, so if it's already configured, the apply operation will fail.
117
+ * specify if settings need to be enforced (i.e., to overwrite previously set credential for service principals).
97
118
  */
98
119
  force?: pulumi.Input<boolean>;
99
120
  /**
@@ -104,6 +125,14 @@ export interface GitCredentialState {
104
125
  * user name at Git provider.
105
126
  */
106
127
  gitUsername?: pulumi.Input<string>;
128
+ /**
129
+ * boolean flag specifying if the credential is the default for the given provider type.
130
+ */
131
+ isDefaultForProvider?: pulumi.Input<boolean>;
132
+ /**
133
+ * the name of the git credential, used for identification and ease of lookup.
134
+ */
135
+ name?: pulumi.Input<string>;
107
136
  /**
108
137
  * The personal access token used to authenticate to the corresponding Git provider. If value is not provided, it's sourced from the first environment variable of `GITHUB_TOKEN`, `GITLAB_TOKEN`, or `AZDO_PERSONAL_ACCESS_TOKEN`, that has a non-empty value.
109
138
  */
@@ -114,7 +143,7 @@ export interface GitCredentialState {
114
143
  */
115
144
  export interface GitCredentialArgs {
116
145
  /**
117
- * specify if settings need to be enforced - right now, Databricks allows only single Git credential, so if it's already configured, the apply operation will fail.
146
+ * specify if settings need to be enforced (i.e., to overwrite previously set credential for service principals).
118
147
  */
119
148
  force?: pulumi.Input<boolean>;
120
149
  /**
@@ -125,6 +154,14 @@ export interface GitCredentialArgs {
125
154
  * user name at Git provider.
126
155
  */
127
156
  gitUsername?: pulumi.Input<string>;
157
+ /**
158
+ * boolean flag specifying if the credential is the default for the given provider type.
159
+ */
160
+ isDefaultForProvider?: pulumi.Input<boolean>;
161
+ /**
162
+ * the name of the git credential, used for identification and ease of lookup.
163
+ */
164
+ name?: pulumi.Input<string>;
128
165
  /**
129
166
  * The personal access token used to authenticate to the corresponding Git provider. If value is not provided, it's sourced from the first environment variable of `GITHUB_TOKEN`, `GITLAB_TOKEN`, or `AZDO_PERSONAL_ACCESS_TOKEN`, that has a non-empty value.
130
167
  */
package/gitCredential.js CHANGED
@@ -12,6 +12,8 @@ const utilities = require("./utilities");
12
12
  *
13
13
  * ## Example Usage
14
14
  *
15
+ * ### Git credential that uses personal access token
16
+ *
15
17
  * You can declare Pulumi-managed Git credential using following code:
16
18
  *
17
19
  * ```typescript
@@ -25,6 +27,17 @@ const utilities = require("./utilities");
25
27
  * });
26
28
  * ```
27
29
  *
30
+ * ### Git credential configuration for Azure Service Principal and Azure DevOps
31
+ *
32
+ * Databricks now supports Azure service principal federation to Azure DevOps. Follow the [documentation](https://learn.microsoft.com/en-us/azure/databricks/repos/automate-with-ms-entra) on how to configure service principal federation, and after everything is configured, it could be used as simple as:
33
+ *
34
+ * ```typescript
35
+ * import * as pulumi from "@pulumi/pulumi";
36
+ * import * as databricks from "@pulumi/databricks";
37
+ *
38
+ * const ado = new databricks.GitCredential("ado", {gitProvider: "azureDevOpsServicesAad"});
39
+ * ```
40
+ *
28
41
  * ## Related Resources
29
42
  *
30
43
  * The following resources are often used in the same context:
@@ -84,6 +97,8 @@ class GitCredential extends pulumi.CustomResource {
84
97
  resourceInputs["force"] = state ? state.force : undefined;
85
98
  resourceInputs["gitProvider"] = state ? state.gitProvider : undefined;
86
99
  resourceInputs["gitUsername"] = state ? state.gitUsername : undefined;
100
+ resourceInputs["isDefaultForProvider"] = state ? state.isDefaultForProvider : undefined;
101
+ resourceInputs["name"] = state ? state.name : undefined;
87
102
  resourceInputs["personalAccessToken"] = state ? state.personalAccessToken : undefined;
88
103
  }
89
104
  else {
@@ -94,6 +109,8 @@ class GitCredential extends pulumi.CustomResource {
94
109
  resourceInputs["force"] = args ? args.force : undefined;
95
110
  resourceInputs["gitProvider"] = args ? args.gitProvider : undefined;
96
111
  resourceInputs["gitUsername"] = args ? args.gitUsername : undefined;
112
+ resourceInputs["isDefaultForProvider"] = args ? args.isDefaultForProvider : undefined;
113
+ resourceInputs["name"] = args ? args.name : undefined;
97
114
  resourceInputs["personalAccessToken"] = args ? args.personalAccessToken : undefined;
98
115
  }
99
116
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"gitCredential.js","sourceRoot":"","sources":["../gitCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,MAAa,aAAc,SAAQ,MAAM,CAAC,cAAc;IACpD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,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,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAoD,EAAE,IAAmC;QAC/G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA6C,CAAC;YAC5D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC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AC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;;AAtFL,sCAuFC;AAzEG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
package/grant.d.ts CHANGED
@@ -4,6 +4,8 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * > Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).
6
6
  *
7
+ * > This resource is _authoritative_ for grants on securables for a given principal. Configuring this resource for a securable will **OVERWRITE** any existing grants for the principal and changes made outside of Pulumi will be reset.
8
+ *
7
9
  * In Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.
8
10
  *
9
11
  * Securable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.
@@ -15,7 +17,7 @@ import * as pulumi from "@pulumi/pulumi";
15
17
  *
16
18
  * For the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)
17
19
  *
18
- * Pulumi will handle any configuration drift for the specified principal on every `pulumi up` run, even when grants are changed outside of Pulumi state.
20
+ * Unlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`.
19
21
  *
20
22
  * See databricks.Grants for the list of privilege types that apply to each securable object.
21
23
  *
package/grant.js CHANGED
@@ -10,6 +10,8 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * > Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).
12
12
  *
13
+ * > This resource is _authoritative_ for grants on securables for a given principal. Configuring this resource for a securable will **OVERWRITE** any existing grants for the principal and changes made outside of Pulumi will be reset.
14
+ *
13
15
  * In Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.
14
16
  *
15
17
  * Securable objects are hierarchical and privileges are inherited downward. The highest level object that privileges are inherited from is the catalog. This means that granting a privilege on a catalog or schema automatically grants the privilege to all current and future objects within the catalog or schema. Privileges that are granted on a metastore are not inherited.
@@ -21,7 +23,7 @@ const utilities = require("./utilities");
21
23
  *
22
24
  * For the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)
23
25
  *
24
- * Pulumi will handle any configuration drift for the specified principal on every `pulumi up` run, even when grants are changed outside of Pulumi state.
26
+ * Unlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`.
25
27
  *
26
28
  * See databricks.Grants for the list of privilege types that apply to each securable object.
27
29
  *
package/grant.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"grant.js","sourceRoot":"","sources":["../grant.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;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Ac,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArGL,sBAsGC;AAxFG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
package/grants.d.ts CHANGED
@@ -6,10 +6,7 @@ import * as outputs from "./types/output";
6
6
  *
7
7
  * > Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).
8
8
  *
9
- * Two different resources help you manage your Unity Catalog grants for a securable. Each of these resources serves a different use case:
10
- *
11
- * - databricks_grants: Authoritative. Sets the grants of a securable and *replaces* any existing grants defined inside or outside of Pulumi.
12
- * - databricks_grant: Authoritative for a given principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.
9
+ * > This resource is _authoritative_ for grants on securables. Configuring this resource for a securable will **OVERWRITE** any existing grants and changes made outside of Pulumi will be reset. Use databricks.Grant for more granular grant management.
13
10
  *
14
11
  * In Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.
15
12
  *
@@ -22,8 +19,6 @@ import * as outputs from "./types/output";
22
19
  *
23
20
  * For the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)
24
21
  *
25
- * Pulumi will handle any configuration drift on every `pulumi up` run, even when grants are changed outside of Pulumi state.
26
- *
27
22
  * When applying grants using an identity with [`MANAGE` permission](https://docs.databricks.com/aws/en/data-governance/unity-catalog/manage-privileges/ownership#ownership-versus-the-manage-privilege), their `MANAGE` permission must also be defined, otherwise Pulumi will remove their permissions, leading to errors.
28
23
  *
29
24
  * Unlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`. Below summarizes which privilege types apply to each securable object in the catalog:
@@ -108,7 +103,7 @@ import * as outputs from "./types/output";
108
103
  *
109
104
  * ## Schema grants
110
105
  *
111
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to *`catalog.schema`* specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
106
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
112
107
  *
113
108
  * ```typescript
114
109
  * import * as pulumi from "@pulumi/pulumi";
@@ -136,7 +131,7 @@ import * as outputs from "./types/output";
136
131
  *
137
132
  * ## Table grants
138
133
  *
139
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to *`catalog.schema.table`* specified in the `table` attribute.
134
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
140
135
  *
141
136
  * ```typescript
142
137
  * import * as pulumi from "@pulumi/pulumi";
@@ -189,7 +184,7 @@ import * as outputs from "./types/output";
189
184
  *
190
185
  * ## View grants
191
186
  *
192
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to *`catalog.schema.view`* specified in `table` attribute.
187
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
193
188
  *
194
189
  * ```typescript
195
190
  * import * as pulumi from "@pulumi/pulumi";
@@ -233,7 +228,7 @@ import * as outputs from "./types/output";
233
228
  *
234
229
  * ## Volume grants
235
230
  *
236
- * You can grant `ALL_PRIVILEGES`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to *`catalog.schema.volume`* specified in the `volume` attribute.
231
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
237
232
  *
238
233
  * ```typescript
239
234
  * import * as pulumi from "@pulumi/pulumi";
@@ -258,7 +253,7 @@ import * as outputs from "./types/output";
258
253
  *
259
254
  * ## Registered model grants
260
255
  *
261
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to *`catalog.schema.model`* specified in the `model` attribute.
256
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.
262
257
  *
263
258
  * ```typescript
264
259
  * import * as pulumi from "@pulumi/pulumi";
@@ -284,7 +279,7 @@ import * as outputs from "./types/output";
284
279
  *
285
280
  * ## Function grants
286
281
  *
287
- * You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to *`catalog.schema.function`* specified in the `function` attribute.
282
+ * You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.
288
283
  *
289
284
  * ```typescript
290
285
  * import * as pulumi from "@pulumi/pulumi";
package/grants.js CHANGED
@@ -10,10 +10,7 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * > Most of Unity Catalog APIs are only accessible via **workspace-level APIs**. This design may change in the future. Account-level principal grants can be assigned with any valid workspace as the Unity Catalog is decoupled from specific workspaces. More information in [the official documentation](https://docs.databricks.com/data-governance/unity-catalog/index.html).
12
12
  *
13
- * Two different resources help you manage your Unity Catalog grants for a securable. Each of these resources serves a different use case:
14
- *
15
- * - databricks_grants: Authoritative. Sets the grants of a securable and *replaces* any existing grants defined inside or outside of Pulumi.
16
- * - databricks_grant: Authoritative for a given principal. Updates the grants of a securable to a single principal. Other principals within the grants for the securables are preserved.
13
+ * > This resource is _authoritative_ for grants on securables. Configuring this resource for a securable will **OVERWRITE** any existing grants and changes made outside of Pulumi will be reset. Use databricks.Grant for more granular grant management.
17
14
  *
18
15
  * In Unity Catalog all users initially have no access to data. Only Metastore Admins can create objects and can grant/revoke access on individual objects to users and groups. Every securable object in Unity Catalog has an owner. The owner can be any account-level user or group, called principals in general. The principal that creates an object becomes its owner. Owners receive `ALL_PRIVILEGES` on the securable object (e.g., `SELECT` and `MODIFY` on a table), as well as the permission to grant privileges to other principals.
19
16
  *
@@ -26,8 +23,6 @@ const utilities = require("./utilities");
26
23
  *
27
24
  * For the latest list of privilege types that apply to each securable object in Unity Catalog, please refer to the [official documentation](https://docs.databricks.com/en/data-governance/unity-catalog/manage-privileges/privileges.html#privilege-types-by-securable-object-in-unity-catalog)
28
25
  *
29
- * Pulumi will handle any configuration drift on every `pulumi up` run, even when grants are changed outside of Pulumi state.
30
- *
31
26
  * When applying grants using an identity with [`MANAGE` permission](https://docs.databricks.com/aws/en/data-governance/unity-catalog/manage-privileges/ownership#ownership-versus-the-manage-privilege), their `MANAGE` permission must also be defined, otherwise Pulumi will remove their permissions, leading to errors.
32
27
  *
33
28
  * Unlike the [SQL specification](https://docs.databricks.com/sql/language-manual/sql-ref-privileges.html#privilege-types), all privileges to be written with underscore instead of space, e.g. `CREATE_TABLE` and not `CREATE TABLE`. Below summarizes which privilege types apply to each securable object in the catalog:
@@ -112,7 +107,7 @@ const utilities = require("./utilities");
112
107
  *
113
108
  * ## Schema grants
114
109
  *
115
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to *`catalog.schema`* specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
110
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `CREATE_FUNCTION`, `CREATE_TABLE`, `CREATE_VOLUME`, `MANAGE` and `USE_SCHEMA` privileges to _`catalog.schema`_ specified in the `schema` attribute. You can also grant `EXECUTE`, `MODIFY`, `REFRESH`, `SELECT`, `READ_VOLUME`, `WRITE_VOLUME` at the schema level to apply them to the pertinent current and future securable objects within the schema:
116
111
  *
117
112
  * ```typescript
118
113
  * import * as pulumi from "@pulumi/pulumi";
@@ -140,7 +135,7 @@ const utilities = require("./utilities");
140
135
  *
141
136
  * ## Table grants
142
137
  *
143
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to *`catalog.schema.table`* specified in the `table` attribute.
138
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `SELECT` and `MODIFY` privileges to _`catalog.schema.table`_ specified in the `table` attribute.
144
139
  *
145
140
  * ```typescript
146
141
  * import * as pulumi from "@pulumi/pulumi";
@@ -193,7 +188,7 @@ const utilities = require("./utilities");
193
188
  *
194
189
  * ## View grants
195
190
  *
196
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to *`catalog.schema.view`* specified in `table` attribute.
191
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE` and `SELECT` privileges to _`catalog.schema.view`_ specified in `table` attribute.
197
192
  *
198
193
  * ```typescript
199
194
  * import * as pulumi from "@pulumi/pulumi";
@@ -237,7 +232,7 @@ const utilities = require("./utilities");
237
232
  *
238
233
  * ## Volume grants
239
234
  *
240
- * You can grant `ALL_PRIVILEGES`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to *`catalog.schema.volume`* specified in the `volume` attribute.
235
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `MANAGE`, `READ_VOLUME` and `WRITE_VOLUME` privileges to _`catalog.schema.volume`_ specified in the `volume` attribute.
241
236
  *
242
237
  * ```typescript
243
238
  * import * as pulumi from "@pulumi/pulumi";
@@ -262,7 +257,7 @@ const utilities = require("./utilities");
262
257
  *
263
258
  * ## Registered model grants
264
259
  *
265
- * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to *`catalog.schema.model`* specified in the `model` attribute.
260
+ * You can grant `ALL_PRIVILEGES`, `APPLY_TAG`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.model`_ specified in the `model` attribute.
266
261
  *
267
262
  * ```typescript
268
263
  * import * as pulumi from "@pulumi/pulumi";
@@ -288,7 +283,7 @@ const utilities = require("./utilities");
288
283
  *
289
284
  * ## Function grants
290
285
  *
291
- * You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to *`catalog.schema.function`* specified in the `function` attribute.
286
+ * You can grant `ALL_PRIVILEGES`, `EXECUTE`, and `MANAGE` privileges to _`catalog.schema.function`_ specified in the `function` attribute.
292
287
  *
293
288
  * ```typescript
294
289
  * import * as pulumi from "@pulumi/pulumi";
package/grants.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"grants.js","sourceRoot":"","sources":["../grants.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA/FL,wBAgGC;AAlFG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
@@ -25,7 +25,7 @@ import * as pulumi from "@pulumi/pulumi";
25
25
  * * End to end workspace management guide.
26
26
  * * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
27
27
  * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
28
- * * 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).
28
+ * * databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
29
29
  * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
30
30
  * * databricks.GroupMember to attach users and groups as group members.
31
31
  * * 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.
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
31
31
  * * End to end workspace management guide.
32
32
  * * databricks.getAwsBucketPolicy data to configure a simple access policy for AWS S3 buckets, so that Databricks can access data in it.
33
33
  * * databricks.ClusterPolicy to create a databricks.Cluster policy, which limits the ability to create clusters based on a set of rules.
34
- * * 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).
34
+ * * databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
35
35
  * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
36
36
  * * databricks.GroupMember to attach users and groups as group members.
37
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.
package/groupMember.d.ts CHANGED
@@ -32,7 +32,7 @@ import * as pulumi from "@pulumi/pulumi";
32
32
  * The following resources are often used in the same context:
33
33
  *
34
34
  * * End to end workspace management guide.
35
- * * 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).
35
+ * * databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
36
36
  * * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
37
37
  * * databricks.GroupInstanceProfile to attach databricks.InstanceProfile (AWS) to databricks_group.
38
38
  * * databricks.IpAccessList to allow access from [predefined IP ranges](https://docs.databricks.com/security/network/ip-access-list.html).