@pulumi/databricks 1.75.0-alpha.1757081845 → 1.75.0-alpha.1757354185

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 (228) hide show
  1. package/accountFederationPolicy.d.ts +148 -0
  2. package/accountFederationPolicy.js +92 -0
  3. package/accountFederationPolicy.js.map +1 -0
  4. package/accountNetworkPolicy.d.ts +2 -2
  5. package/accountNetworkPolicy.js +2 -2
  6. package/accountSettingV2.d.ts +149 -0
  7. package/accountSettingV2.js +106 -0
  8. package/accountSettingV2.js.map +1 -0
  9. package/alertV2.d.ts +56 -5
  10. package/alertV2.js +8 -2
  11. package/alertV2.js.map +1 -1
  12. package/app.d.ts +0 -2
  13. package/app.js +0 -2
  14. package/app.js.map +1 -1
  15. package/appsSettingsCustomTemplate.d.ts +179 -0
  16. package/appsSettingsCustomTemplate.js +121 -0
  17. package/appsSettingsCustomTemplate.js.map +1 -0
  18. package/budgetPolicy.d.ts +6 -2
  19. package/budgetPolicy.js +3 -3
  20. package/budgetPolicy.js.map +1 -1
  21. package/catalog.d.ts +28 -0
  22. package/catalog.js +22 -0
  23. package/catalog.js.map +1 -1
  24. package/cleanRoomAsset.d.ts +14 -2
  25. package/cleanRoomAsset.js +4 -2
  26. package/cleanRoomAsset.js.map +1 -1
  27. package/cleanRoomAutoApprovalRule.d.ts +14 -2
  28. package/cleanRoomAutoApprovalRule.js +4 -2
  29. package/cleanRoomAutoApprovalRule.js.map +1 -1
  30. package/cleanRoomsCleanRoom.d.ts +17 -5
  31. package/cleanRoomsCleanRoom.js +4 -2
  32. package/cleanRoomsCleanRoom.js.map +1 -1
  33. package/config/vars.d.ts +1 -0
  34. package/config/vars.js +6 -0
  35. package/config/vars.js.map +1 -1
  36. package/connection.d.ts +0 -3
  37. package/connection.js +0 -2
  38. package/connection.js.map +1 -1
  39. package/databaseDatabaseCatalog.d.ts +14 -2
  40. package/databaseDatabaseCatalog.js +4 -2
  41. package/databaseDatabaseCatalog.js.map +1 -1
  42. package/databaseInstance.d.ts +38 -2
  43. package/databaseInstance.js +8 -2
  44. package/databaseInstance.js.map +1 -1
  45. package/databaseSyncedDatabaseTable.d.ts +14 -2
  46. package/databaseSyncedDatabaseTable.js +4 -2
  47. package/databaseSyncedDatabaseTable.js.map +1 -1
  48. package/entityTagAssignment.d.ts +117 -0
  49. package/entityTagAssignment.js +87 -0
  50. package/entityTagAssignment.js.map +1 -0
  51. package/externalMetadata.d.ts +14 -2
  52. package/externalMetadata.js +4 -2
  53. package/externalMetadata.js.map +1 -1
  54. package/getAccountFederationPolicies.d.ts +46 -0
  55. package/getAccountFederationPolicies.js +50 -0
  56. package/getAccountFederationPolicies.js.map +1 -0
  57. package/getAccountFederationPolicy.d.ts +103 -0
  58. package/getAccountFederationPolicy.js +40 -0
  59. package/getAccountFederationPolicy.js.map +1 -0
  60. package/getAccountSettingV2.d.ts +228 -0
  61. package/getAccountSettingV2.js +54 -0
  62. package/getAccountSettingV2.js.map +1 -0
  63. package/getAlertV2.d.ts +48 -6
  64. package/getAlertV2.js +4 -0
  65. package/getAlertV2.js.map +1 -1
  66. package/getAlertsV2.d.ts +21 -2
  67. package/getAlertsV2.js +10 -4
  68. package/getAlertsV2.js.map +1 -1
  69. package/getApp.d.ts +0 -4
  70. package/getApp.js +0 -4
  71. package/getApp.js.map +1 -1
  72. package/getApps.d.ts +0 -4
  73. package/getApps.js +0 -4
  74. package/getApps.js.map +1 -1
  75. package/getAppsSettingsCustomTemplate.d.ts +143 -0
  76. package/getAppsSettingsCustomTemplate.js +66 -0
  77. package/getAppsSettingsCustomTemplate.js.map +1 -0
  78. package/getAppsSettingsCustomTemplates.d.ts +65 -0
  79. package/getAppsSettingsCustomTemplates.js +56 -0
  80. package/getAppsSettingsCustomTemplates.js.map +1 -0
  81. package/getBudgetPolicy.d.ts +34 -0
  82. package/getBudgetPolicy.js +28 -0
  83. package/getBudgetPolicy.js.map +1 -1
  84. package/getCleanRoomAsset.d.ts +9 -0
  85. package/getCleanRoomAsset.js +2 -0
  86. package/getCleanRoomAsset.js.map +1 -1
  87. package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +9 -0
  88. package/getCleanRoomAssetRevisionsCleanRoomAsset.js +2 -0
  89. package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -1
  90. package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +33 -2
  91. package/getCleanRoomAssetRevisionsCleanRoomAssets.js +10 -4
  92. package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -1
  93. package/getCleanRoomAssets.d.ts +34 -2
  94. package/getCleanRoomAssets.js +10 -4
  95. package/getCleanRoomAssets.js.map +1 -1
  96. package/getCleanRoomAutoApprovalRule.d.ts +9 -0
  97. package/getCleanRoomAutoApprovalRule.js +2 -0
  98. package/getCleanRoomAutoApprovalRule.js.map +1 -1
  99. package/getCleanRoomAutoApprovalRules.d.ts +21 -2
  100. package/getCleanRoomAutoApprovalRules.js +10 -4
  101. package/getCleanRoomAutoApprovalRules.js.map +1 -1
  102. package/getCleanRoomsCleanRoom.d.ts +12 -3
  103. package/getCleanRoomsCleanRoom.js +2 -0
  104. package/getCleanRoomsCleanRoom.js.map +1 -1
  105. package/getCleanRoomsCleanRooms.d.ts +21 -2
  106. package/getCleanRoomsCleanRooms.js +10 -4
  107. package/getCleanRoomsCleanRooms.js.map +1 -1
  108. package/getDatabaseDatabaseCatalog.d.ts +9 -0
  109. package/getDatabaseDatabaseCatalog.js +2 -0
  110. package/getDatabaseDatabaseCatalog.js.map +1 -1
  111. package/getDatabaseDatabaseCatalogs.d.ts +21 -2
  112. package/getDatabaseDatabaseCatalogs.js +10 -4
  113. package/getDatabaseDatabaseCatalogs.js.map +1 -1
  114. package/getDatabaseInstance.d.ts +27 -0
  115. package/getDatabaseInstance.js +4 -0
  116. package/getDatabaseInstance.js.map +1 -1
  117. package/getDatabaseInstances.d.ts +21 -2
  118. package/getDatabaseInstances.js +10 -4
  119. package/getDatabaseInstances.js.map +1 -1
  120. package/getDatabaseSyncedDatabaseTable.d.ts +9 -0
  121. package/getDatabaseSyncedDatabaseTable.js +2 -0
  122. package/getDatabaseSyncedDatabaseTable.js.map +1 -1
  123. package/getDatabaseSyncedDatabaseTables.d.ts +21 -2
  124. package/getDatabaseSyncedDatabaseTables.js +10 -4
  125. package/getDatabaseSyncedDatabaseTables.js.map +1 -1
  126. package/getEntityTagAssignment.d.ts +79 -0
  127. package/getEntityTagAssignment.js +30 -0
  128. package/getEntityTagAssignment.js.map +1 -0
  129. package/getEntityTagAssignments.d.ts +57 -0
  130. package/getEntityTagAssignments.js +26 -0
  131. package/getEntityTagAssignments.js.map +1 -0
  132. package/getExternalMetadata.d.ts +9 -0
  133. package/getExternalMetadata.js +2 -0
  134. package/getExternalMetadata.js.map +1 -1
  135. package/getExternalMetadatas.d.ts +43 -2
  136. package/getExternalMetadatas.js +32 -4
  137. package/getExternalMetadatas.js.map +1 -1
  138. package/getMaterializedFeaturesFeatureTag.d.ts +9 -0
  139. package/getMaterializedFeaturesFeatureTag.js +2 -0
  140. package/getMaterializedFeaturesFeatureTag.js.map +1 -1
  141. package/getMaterializedFeaturesFeatureTags.d.ts +21 -2
  142. package/getMaterializedFeaturesFeatureTags.js +10 -4
  143. package/getMaterializedFeaturesFeatureTags.js.map +1 -1
  144. package/getOnlineStore.d.ts +9 -0
  145. package/getOnlineStore.js +2 -0
  146. package/getOnlineStore.js.map +1 -1
  147. package/getOnlineStores.d.ts +21 -2
  148. package/getOnlineStores.js +10 -4
  149. package/getOnlineStores.js.map +1 -1
  150. package/getPolicyInfo.d.ts +24 -15
  151. package/getPolicyInfo.js +2 -0
  152. package/getPolicyInfo.js.map +1 -1
  153. package/getPolicyInfos.d.ts +48 -2
  154. package/getPolicyInfos.js +12 -4
  155. package/getPolicyInfos.js.map +1 -1
  156. package/getQualityMonitorV2.d.ts +9 -0
  157. package/getQualityMonitorV2.js +2 -0
  158. package/getQualityMonitorV2.js.map +1 -1
  159. package/getQualityMonitorsV2.d.ts +21 -2
  160. package/getQualityMonitorsV2.js +10 -4
  161. package/getQualityMonitorsV2.js.map +1 -1
  162. package/getRecipientFederationPolicies.d.ts +21 -2
  163. package/getRecipientFederationPolicies.js +10 -4
  164. package/getRecipientFederationPolicies.js.map +1 -1
  165. package/getRecipientFederationPolicy.d.ts +9 -0
  166. package/getRecipientFederationPolicy.js +2 -0
  167. package/getRecipientFederationPolicy.js.map +1 -1
  168. package/getServicePrincipalFederationPolicies.d.ts +72 -0
  169. package/getServicePrincipalFederationPolicies.js +58 -0
  170. package/getServicePrincipalFederationPolicies.js.map +1 -0
  171. package/getServicePrincipalFederationPolicy.d.ts +103 -0
  172. package/getServicePrincipalFederationPolicy.js +40 -0
  173. package/getServicePrincipalFederationPolicy.js.map +1 -0
  174. package/getTagPolicies.d.ts +43 -0
  175. package/getTagPolicies.js +34 -0
  176. package/getTagPolicies.js.map +1 -0
  177. package/getTagPolicy.d.ts +73 -0
  178. package/getTagPolicy.js +38 -0
  179. package/getTagPolicy.js.map +1 -0
  180. package/getWorkspaceSettingV2.d.ts +237 -0
  181. package/getWorkspaceSettingV2.js +56 -0
  182. package/getWorkspaceSettingV2.js.map +1 -0
  183. package/grant.d.ts +1 -1
  184. package/grant.js +1 -1
  185. package/index.d.ts +71 -14
  186. package/index.js +78 -7
  187. package/index.js.map +1 -1
  188. package/materializedFeaturesFeatureTag.d.ts +14 -2
  189. package/materializedFeaturesFeatureTag.js +4 -2
  190. package/materializedFeaturesFeatureTag.js.map +1 -1
  191. package/mwsNccPrivateEndpointRule.d.ts +3 -3
  192. package/mwsPermissionAssignment.d.ts +7 -7
  193. package/mwsPermissionAssignment.js +1 -1
  194. package/mwsWorkspaces.d.ts +3 -3
  195. package/onlineStore.d.ts +14 -2
  196. package/onlineStore.js +4 -2
  197. package/onlineStore.js.map +1 -1
  198. package/package.json +2 -2
  199. package/permissionAssignment.d.ts +7 -7
  200. package/permissionAssignment.js +1 -1
  201. package/policyInfo.d.ts +29 -17
  202. package/policyInfo.js +4 -2
  203. package/policyInfo.js.map +1 -1
  204. package/provider.d.ts +1 -0
  205. package/provider.js +1 -0
  206. package/provider.js.map +1 -1
  207. package/qualityMonitorV2.d.ts +14 -2
  208. package/qualityMonitorV2.js +4 -2
  209. package/qualityMonitorV2.js.map +1 -1
  210. package/recipientFederationPolicy.d.ts +14 -2
  211. package/recipientFederationPolicy.js +4 -2
  212. package/recipientFederationPolicy.js.map +1 -1
  213. package/servicePrincipalFederationPolicy.d.ts +146 -0
  214. package/servicePrincipalFederationPolicy.js +90 -0
  215. package/servicePrincipalFederationPolicy.js.map +1 -0
  216. package/storageCredential.d.ts +23 -3
  217. package/storageCredential.js +23 -3
  218. package/storageCredential.js.map +1 -1
  219. package/tagPolicy.d.ts +84 -0
  220. package/tagPolicy.js +83 -0
  221. package/tagPolicy.js.map +1 -0
  222. package/types/input.d.ts +7590 -5903
  223. package/types/output.d.ts +1525 -37
  224. package/workspaceNetworkOption.d.ts +2 -2
  225. package/workspaceNetworkOption.js +2 -2
  226. package/workspaceSettingV2.d.ts +161 -0
  227. package/workspaceSettingV2.js +108 -0
  228. package/workspaceSettingV2.js.map +1 -0
@@ -0,0 +1,73 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * This data source can be used to get a single tag policy by its tag key.
6
+ *
7
+ * > **Note** This resource can only be used with an account-level provider!
8
+ */
9
+ export declare function getTagPolicy(args: GetTagPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetTagPolicyResult>;
10
+ /**
11
+ * A collection of arguments for invoking getTagPolicy.
12
+ */
13
+ export interface GetTagPolicyArgs {
14
+ /**
15
+ * (string)
16
+ */
17
+ description?: string;
18
+ tagKey: string;
19
+ /**
20
+ * (list of Value)
21
+ */
22
+ values?: inputs.GetTagPolicyValue[];
23
+ /**
24
+ * Workspace ID of the resource
25
+ */
26
+ workspaceId?: string;
27
+ }
28
+ /**
29
+ * A collection of values returned by getTagPolicy.
30
+ */
31
+ export interface GetTagPolicyResult {
32
+ /**
33
+ * (string)
34
+ */
35
+ readonly description?: string;
36
+ /**
37
+ * (string)
38
+ */
39
+ readonly id: string;
40
+ /**
41
+ * (string)
42
+ */
43
+ readonly tagKey: string;
44
+ /**
45
+ * (list of Value)
46
+ */
47
+ readonly values?: outputs.GetTagPolicyValue[];
48
+ readonly workspaceId?: string;
49
+ }
50
+ /**
51
+ * This data source can be used to get a single tag policy by its tag key.
52
+ *
53
+ * > **Note** This resource can only be used with an account-level provider!
54
+ */
55
+ export declare function getTagPolicyOutput(args: GetTagPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetTagPolicyResult>;
56
+ /**
57
+ * A collection of arguments for invoking getTagPolicy.
58
+ */
59
+ export interface GetTagPolicyOutputArgs {
60
+ /**
61
+ * (string)
62
+ */
63
+ description?: pulumi.Input<string>;
64
+ tagKey: pulumi.Input<string>;
65
+ /**
66
+ * (list of Value)
67
+ */
68
+ values?: pulumi.Input<pulumi.Input<inputs.GetTagPolicyValueArgs>[]>;
69
+ /**
70
+ * Workspace ID of the resource
71
+ */
72
+ workspaceId?: pulumi.Input<string>;
73
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getTagPolicyOutput = exports.getTagPolicy = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This data source can be used to get a single tag policy by its tag key.
10
+ *
11
+ * > **Note** This resource can only be used with an account-level provider!
12
+ */
13
+ function getTagPolicy(args, opts) {
14
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
15
+ return pulumi.runtime.invoke("databricks:index/getTagPolicy:getTagPolicy", {
16
+ "description": args.description,
17
+ "tagKey": args.tagKey,
18
+ "values": args.values,
19
+ "workspaceId": args.workspaceId,
20
+ }, opts);
21
+ }
22
+ exports.getTagPolicy = getTagPolicy;
23
+ /**
24
+ * This data source can be used to get a single tag policy by its tag key.
25
+ *
26
+ * > **Note** This resource can only be used with an account-level provider!
27
+ */
28
+ function getTagPolicyOutput(args, opts) {
29
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
30
+ return pulumi.runtime.invokeOutput("databricks:index/getTagPolicy:getTagPolicy", {
31
+ "description": args.description,
32
+ "tagKey": args.tagKey,
33
+ "values": args.values,
34
+ "workspaceId": args.workspaceId,
35
+ }, opts);
36
+ }
37
+ exports.getTagPolicyOutput = getTagPolicyOutput;
38
+ //# sourceMappingURL=getTagPolicy.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTagPolicy.js","sourceRoot":"","sources":["../getTagPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAC5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oCAQC;AA2CD;;;;GAIG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAAiC;IAC9F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC"}
@@ -0,0 +1,237 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ export declare function getWorkspaceSettingV2(args?: GetWorkspaceSettingV2Args, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceSettingV2Result>;
5
+ /**
6
+ * A collection of arguments for invoking getWorkspaceSettingV2.
7
+ */
8
+ export interface GetWorkspaceSettingV2Args {
9
+ /**
10
+ * (AibiDashboardEmbeddingAccessPolicy)
11
+ */
12
+ aibiDashboardEmbeddingAccessPolicy?: inputs.GetWorkspaceSettingV2AibiDashboardEmbeddingAccessPolicy;
13
+ /**
14
+ * (AibiDashboardEmbeddingApprovedDomains)
15
+ */
16
+ aibiDashboardEmbeddingApprovedDomains?: inputs.GetWorkspaceSettingV2AibiDashboardEmbeddingApprovedDomains;
17
+ /**
18
+ * (ClusterAutoRestartMessage) - todo: Mark these Public after onboarded to DSL
19
+ */
20
+ automaticClusterUpdateWorkspace?: inputs.GetWorkspaceSettingV2AutomaticClusterUpdateWorkspace;
21
+ /**
22
+ * (BooleanMessage)
23
+ */
24
+ booleanVal?: inputs.GetWorkspaceSettingV2BooleanVal;
25
+ /**
26
+ * (DefaultDataSecurityModeMessage)
27
+ */
28
+ defaultDataSecurityMode?: inputs.GetWorkspaceSettingV2DefaultDataSecurityMode;
29
+ /**
30
+ * (AibiDashboardEmbeddingAccessPolicy)
31
+ */
32
+ effectiveAibiDashboardEmbeddingAccessPolicy?: inputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingAccessPolicy;
33
+ /**
34
+ * (AibiDashboardEmbeddingApprovedDomains)
35
+ */
36
+ effectiveAibiDashboardEmbeddingApprovedDomains?: inputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingApprovedDomains;
37
+ /**
38
+ * (ClusterAutoRestartMessage)
39
+ */
40
+ effectiveAutomaticClusterUpdateWorkspace?: inputs.GetWorkspaceSettingV2EffectiveAutomaticClusterUpdateWorkspace;
41
+ /**
42
+ * (DefaultDataSecurityModeMessage)
43
+ */
44
+ effectiveDefaultDataSecurityMode?: inputs.GetWorkspaceSettingV2EffectiveDefaultDataSecurityMode;
45
+ /**
46
+ * (PersonalComputeMessage)
47
+ */
48
+ effectivePersonalCompute?: inputs.GetWorkspaceSettingV2EffectivePersonalCompute;
49
+ /**
50
+ * (RestrictWorkspaceAdminsMessage)
51
+ */
52
+ effectiveRestrictWorkspaceAdmins?: inputs.GetWorkspaceSettingV2EffectiveRestrictWorkspaceAdmins;
53
+ /**
54
+ * (IntegerMessage)
55
+ */
56
+ integerVal?: inputs.GetWorkspaceSettingV2IntegerVal;
57
+ /**
58
+ * Name of the setting
59
+ */
60
+ name?: string;
61
+ /**
62
+ * (PersonalComputeMessage)
63
+ */
64
+ personalCompute?: inputs.GetWorkspaceSettingV2PersonalCompute;
65
+ /**
66
+ * (RestrictWorkspaceAdminsMessage)
67
+ */
68
+ restrictWorkspaceAdmins?: inputs.GetWorkspaceSettingV2RestrictWorkspaceAdmins;
69
+ /**
70
+ * (StringMessage)
71
+ */
72
+ stringVal?: inputs.GetWorkspaceSettingV2StringVal;
73
+ /**
74
+ * Workspace ID of the resource
75
+ */
76
+ workspaceId?: string;
77
+ }
78
+ /**
79
+ * A collection of values returned by getWorkspaceSettingV2.
80
+ */
81
+ export interface GetWorkspaceSettingV2Result {
82
+ /**
83
+ * (AibiDashboardEmbeddingAccessPolicy)
84
+ */
85
+ readonly aibiDashboardEmbeddingAccessPolicy?: outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingAccessPolicy;
86
+ /**
87
+ * (AibiDashboardEmbeddingApprovedDomains)
88
+ */
89
+ readonly aibiDashboardEmbeddingApprovedDomains?: outputs.GetWorkspaceSettingV2AibiDashboardEmbeddingApprovedDomains;
90
+ /**
91
+ * (ClusterAutoRestartMessage) - todo: Mark these Public after onboarded to DSL
92
+ */
93
+ readonly automaticClusterUpdateWorkspace?: outputs.GetWorkspaceSettingV2AutomaticClusterUpdateWorkspace;
94
+ /**
95
+ * (BooleanMessage)
96
+ */
97
+ readonly booleanVal?: outputs.GetWorkspaceSettingV2BooleanVal;
98
+ /**
99
+ * (DefaultDataSecurityModeMessage)
100
+ */
101
+ readonly defaultDataSecurityMode?: outputs.GetWorkspaceSettingV2DefaultDataSecurityMode;
102
+ /**
103
+ * (AibiDashboardEmbeddingAccessPolicy)
104
+ */
105
+ readonly effectiveAibiDashboardEmbeddingAccessPolicy?: outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingAccessPolicy;
106
+ /**
107
+ * (AibiDashboardEmbeddingApprovedDomains)
108
+ */
109
+ readonly effectiveAibiDashboardEmbeddingApprovedDomains?: outputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingApprovedDomains;
110
+ /**
111
+ * (ClusterAutoRestartMessage)
112
+ */
113
+ readonly effectiveAutomaticClusterUpdateWorkspace?: outputs.GetWorkspaceSettingV2EffectiveAutomaticClusterUpdateWorkspace;
114
+ /**
115
+ * (BooleanMessage)
116
+ */
117
+ readonly effectiveBooleanVal: outputs.GetWorkspaceSettingV2EffectiveBooleanVal;
118
+ /**
119
+ * (DefaultDataSecurityModeMessage)
120
+ */
121
+ readonly effectiveDefaultDataSecurityMode?: outputs.GetWorkspaceSettingV2EffectiveDefaultDataSecurityMode;
122
+ /**
123
+ * (IntegerMessage)
124
+ */
125
+ readonly effectiveIntegerVal: outputs.GetWorkspaceSettingV2EffectiveIntegerVal;
126
+ /**
127
+ * (PersonalComputeMessage)
128
+ */
129
+ readonly effectivePersonalCompute?: outputs.GetWorkspaceSettingV2EffectivePersonalCompute;
130
+ /**
131
+ * (RestrictWorkspaceAdminsMessage)
132
+ */
133
+ readonly effectiveRestrictWorkspaceAdmins?: outputs.GetWorkspaceSettingV2EffectiveRestrictWorkspaceAdmins;
134
+ /**
135
+ * (StringMessage)
136
+ */
137
+ readonly effectiveStringVal: outputs.GetWorkspaceSettingV2EffectiveStringVal;
138
+ /**
139
+ * The provider-assigned unique ID for this managed resource.
140
+ */
141
+ readonly id: string;
142
+ /**
143
+ * (IntegerMessage)
144
+ */
145
+ readonly integerVal?: outputs.GetWorkspaceSettingV2IntegerVal;
146
+ /**
147
+ * (string) - Name of the setting
148
+ */
149
+ readonly name?: string;
150
+ /**
151
+ * (PersonalComputeMessage)
152
+ */
153
+ readonly personalCompute?: outputs.GetWorkspaceSettingV2PersonalCompute;
154
+ /**
155
+ * (RestrictWorkspaceAdminsMessage)
156
+ */
157
+ readonly restrictWorkspaceAdmins?: outputs.GetWorkspaceSettingV2RestrictWorkspaceAdmins;
158
+ /**
159
+ * (StringMessage)
160
+ */
161
+ readonly stringVal?: outputs.GetWorkspaceSettingV2StringVal;
162
+ readonly workspaceId?: string;
163
+ }
164
+ export declare function getWorkspaceSettingV2Output(args?: GetWorkspaceSettingV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceSettingV2Result>;
165
+ /**
166
+ * A collection of arguments for invoking getWorkspaceSettingV2.
167
+ */
168
+ export interface GetWorkspaceSettingV2OutputArgs {
169
+ /**
170
+ * (AibiDashboardEmbeddingAccessPolicy)
171
+ */
172
+ aibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.GetWorkspaceSettingV2AibiDashboardEmbeddingAccessPolicyArgs>;
173
+ /**
174
+ * (AibiDashboardEmbeddingApprovedDomains)
175
+ */
176
+ aibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.GetWorkspaceSettingV2AibiDashboardEmbeddingApprovedDomainsArgs>;
177
+ /**
178
+ * (ClusterAutoRestartMessage) - todo: Mark these Public after onboarded to DSL
179
+ */
180
+ automaticClusterUpdateWorkspace?: pulumi.Input<inputs.GetWorkspaceSettingV2AutomaticClusterUpdateWorkspaceArgs>;
181
+ /**
182
+ * (BooleanMessage)
183
+ */
184
+ booleanVal?: pulumi.Input<inputs.GetWorkspaceSettingV2BooleanValArgs>;
185
+ /**
186
+ * (DefaultDataSecurityModeMessage)
187
+ */
188
+ defaultDataSecurityMode?: pulumi.Input<inputs.GetWorkspaceSettingV2DefaultDataSecurityModeArgs>;
189
+ /**
190
+ * (AibiDashboardEmbeddingAccessPolicy)
191
+ */
192
+ effectiveAibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingAccessPolicyArgs>;
193
+ /**
194
+ * (AibiDashboardEmbeddingApprovedDomains)
195
+ */
196
+ effectiveAibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectiveAibiDashboardEmbeddingApprovedDomainsArgs>;
197
+ /**
198
+ * (ClusterAutoRestartMessage)
199
+ */
200
+ effectiveAutomaticClusterUpdateWorkspace?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectiveAutomaticClusterUpdateWorkspaceArgs>;
201
+ /**
202
+ * (DefaultDataSecurityModeMessage)
203
+ */
204
+ effectiveDefaultDataSecurityMode?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectiveDefaultDataSecurityModeArgs>;
205
+ /**
206
+ * (PersonalComputeMessage)
207
+ */
208
+ effectivePersonalCompute?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectivePersonalComputeArgs>;
209
+ /**
210
+ * (RestrictWorkspaceAdminsMessage)
211
+ */
212
+ effectiveRestrictWorkspaceAdmins?: pulumi.Input<inputs.GetWorkspaceSettingV2EffectiveRestrictWorkspaceAdminsArgs>;
213
+ /**
214
+ * (IntegerMessage)
215
+ */
216
+ integerVal?: pulumi.Input<inputs.GetWorkspaceSettingV2IntegerValArgs>;
217
+ /**
218
+ * Name of the setting
219
+ */
220
+ name?: pulumi.Input<string>;
221
+ /**
222
+ * (PersonalComputeMessage)
223
+ */
224
+ personalCompute?: pulumi.Input<inputs.GetWorkspaceSettingV2PersonalComputeArgs>;
225
+ /**
226
+ * (RestrictWorkspaceAdminsMessage)
227
+ */
228
+ restrictWorkspaceAdmins?: pulumi.Input<inputs.GetWorkspaceSettingV2RestrictWorkspaceAdminsArgs>;
229
+ /**
230
+ * (StringMessage)
231
+ */
232
+ stringVal?: pulumi.Input<inputs.GetWorkspaceSettingV2StringValArgs>;
233
+ /**
234
+ * Workspace ID of the resource
235
+ */
236
+ workspaceId?: pulumi.Input<string>;
237
+ }
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getWorkspaceSettingV2Output = exports.getWorkspaceSettingV2 = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ function getWorkspaceSettingV2(args, opts) {
9
+ args = args || {};
10
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
11
+ return pulumi.runtime.invoke("databricks:index/getWorkspaceSettingV2:getWorkspaceSettingV2", {
12
+ "aibiDashboardEmbeddingAccessPolicy": args.aibiDashboardEmbeddingAccessPolicy,
13
+ "aibiDashboardEmbeddingApprovedDomains": args.aibiDashboardEmbeddingApprovedDomains,
14
+ "automaticClusterUpdateWorkspace": args.automaticClusterUpdateWorkspace,
15
+ "booleanVal": args.booleanVal,
16
+ "defaultDataSecurityMode": args.defaultDataSecurityMode,
17
+ "effectiveAibiDashboardEmbeddingAccessPolicy": args.effectiveAibiDashboardEmbeddingAccessPolicy,
18
+ "effectiveAibiDashboardEmbeddingApprovedDomains": args.effectiveAibiDashboardEmbeddingApprovedDomains,
19
+ "effectiveAutomaticClusterUpdateWorkspace": args.effectiveAutomaticClusterUpdateWorkspace,
20
+ "effectiveDefaultDataSecurityMode": args.effectiveDefaultDataSecurityMode,
21
+ "effectivePersonalCompute": args.effectivePersonalCompute,
22
+ "effectiveRestrictWorkspaceAdmins": args.effectiveRestrictWorkspaceAdmins,
23
+ "integerVal": args.integerVal,
24
+ "name": args.name,
25
+ "personalCompute": args.personalCompute,
26
+ "restrictWorkspaceAdmins": args.restrictWorkspaceAdmins,
27
+ "stringVal": args.stringVal,
28
+ "workspaceId": args.workspaceId,
29
+ }, opts);
30
+ }
31
+ exports.getWorkspaceSettingV2 = getWorkspaceSettingV2;
32
+ function getWorkspaceSettingV2Output(args, opts) {
33
+ args = args || {};
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
+ return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceSettingV2:getWorkspaceSettingV2", {
36
+ "aibiDashboardEmbeddingAccessPolicy": args.aibiDashboardEmbeddingAccessPolicy,
37
+ "aibiDashboardEmbeddingApprovedDomains": args.aibiDashboardEmbeddingApprovedDomains,
38
+ "automaticClusterUpdateWorkspace": args.automaticClusterUpdateWorkspace,
39
+ "booleanVal": args.booleanVal,
40
+ "defaultDataSecurityMode": args.defaultDataSecurityMode,
41
+ "effectiveAibiDashboardEmbeddingAccessPolicy": args.effectiveAibiDashboardEmbeddingAccessPolicy,
42
+ "effectiveAibiDashboardEmbeddingApprovedDomains": args.effectiveAibiDashboardEmbeddingApprovedDomains,
43
+ "effectiveAutomaticClusterUpdateWorkspace": args.effectiveAutomaticClusterUpdateWorkspace,
44
+ "effectiveDefaultDataSecurityMode": args.effectiveDefaultDataSecurityMode,
45
+ "effectivePersonalCompute": args.effectivePersonalCompute,
46
+ "effectiveRestrictWorkspaceAdmins": args.effectiveRestrictWorkspaceAdmins,
47
+ "integerVal": args.integerVal,
48
+ "name": args.name,
49
+ "personalCompute": args.personalCompute,
50
+ "restrictWorkspaceAdmins": args.restrictWorkspaceAdmins,
51
+ "stringVal": args.stringVal,
52
+ "workspaceId": args.workspaceId,
53
+ }, opts);
54
+ }
55
+ exports.getWorkspaceSettingV2Output = getWorkspaceSettingV2Output;
56
+ //# sourceMappingURL=getWorkspaceSettingV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkspaceSettingV2.js","sourceRoot":"","sources":["../getWorkspaceSettingV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,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,8DAA8D,EAAE;QACzF,oCAAoC,EAAE,IAAI,CAAC,kCAAkC;QAC7E,uCAAuC,EAAE,IAAI,CAAC,qCAAqC;QACnF,iCAAiC,EAAE,IAAI,CAAC,+BAA+B;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,6CAA6C,EAAE,IAAI,CAAC,2CAA2C;QAC/F,gDAAgD,EAAE,IAAI,CAAC,8CAA8C;QACrG,0CAA0C,EAAE,IAAI,CAAC,wCAAwC;QACzF,kCAAkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,kCAAkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAtBD,sDAsBC;AAkKD,SAAgB,2BAA2B,CAAC,IAAsC,EAAE,IAAiC;IACjH,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,YAAY,CAAC,8DAA8D,EAAE;QAC/F,oCAAoC,EAAE,IAAI,CAAC,kCAAkC;QAC7E,uCAAuC,EAAE,IAAI,CAAC,qCAAqC;QACnF,iCAAiC,EAAE,IAAI,CAAC,+BAA+B;QACvE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,6CAA6C,EAAE,IAAI,CAAC,2CAA2C;QAC/F,gDAAgD,EAAE,IAAI,CAAC,8CAA8C;QACrG,0CAA0C,EAAE,IAAI,CAAC,wCAAwC;QACzF,kCAAkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,0BAA0B,EAAE,IAAI,CAAC,wBAAwB;QACzD,kCAAkC,EAAE,IAAI,CAAC,gCAAgC;QACzE,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAtBD,kEAsBC"}
package/grant.d.ts CHANGED
@@ -4,7 +4,7 @@ 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.
7
+ * > This resource is _authoritative_ for grants on securables for a given _singular_ principal. Configuring this resource for a securable will **OVERWRITE** any existing grants for the principal and changes made outside of Pulumi will be reset. Use databricks.Grants for authoritative control of all grants on a securable.
8
8
  *
9
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.
10
10
  *
package/grant.js CHANGED
@@ -10,7 +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
- * > 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.
13
+ * > This resource is _authoritative_ for grants on securables for a given _singular_ principal. Configuring this resource for a securable will **OVERWRITE** any existing grants for the principal and changes made outside of Pulumi will be reset. Use databricks.Grants for authoritative control of all grants on a securable.
14
14
  *
15
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.
16
16
  *