@pulumi/databricks 1.79.0-alpha.1766122666 → 1.79.0-alpha.1766202127

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 (98) hide show
  1. package/accessControlRuleSet.d.ts +46 -0
  2. package/accessControlRuleSet.js +43 -0
  3. package/accessControlRuleSet.js.map +1 -1
  4. package/accountSettingV2.d.ts +123 -6
  5. package/accountSettingV2.js.map +1 -1
  6. package/alertV2.d.ts +1 -1
  7. package/alertV2.js +1 -1
  8. package/app.d.ts +3 -3
  9. package/catalog.d.ts +1 -1
  10. package/credential.d.ts +3 -3
  11. package/dashboard.d.ts +24 -0
  12. package/dashboard.js +4 -0
  13. package/dashboard.js.map +1 -1
  14. package/dataQualityMonitor.d.ts +1 -1
  15. package/dataQualityMonitor.js +1 -1
  16. package/dataQualityRefresh.d.ts +1 -1
  17. package/dataQualityRefresh.js +1 -1
  18. package/featureEngineeringFeature.d.ts +5 -2
  19. package/featureEngineeringFeature.js +2 -3
  20. package/featureEngineeringFeature.js.map +1 -1
  21. package/featureEngineeringKafkaConfig.d.ts +149 -0
  22. package/featureEngineeringKafkaConfig.js +93 -0
  23. package/featureEngineeringKafkaConfig.js.map +1 -0
  24. package/featureEngineeringMaterializedFeature.d.ts +12 -0
  25. package/featureEngineeringMaterializedFeature.js +2 -0
  26. package/featureEngineeringMaterializedFeature.js.map +1 -1
  27. package/getAccountSettingV2.d.ts +16 -16
  28. package/getAlertV2.d.ts +2 -2
  29. package/getAlertV2.js +2 -2
  30. package/getAlertsV2.d.ts +2 -2
  31. package/getAlertsV2.js +2 -2
  32. package/getDataQualityMonitor.d.ts +2 -2
  33. package/getDataQualityMonitor.js +2 -2
  34. package/getDataQualityMonitors.d.ts +2 -2
  35. package/getDataQualityMonitors.js +2 -2
  36. package/getDataQualityRefresh.d.ts +2 -2
  37. package/getDataQualityRefresh.js +2 -2
  38. package/getDataQualityRefreshes.d.ts +2 -2
  39. package/getDataQualityRefreshes.js +2 -2
  40. package/getFeatureEngineeringFeature.d.ts +1 -0
  41. package/getFeatureEngineeringFeature.js.map +1 -1
  42. package/getFeatureEngineeringKafkaConfig.d.ts +70 -0
  43. package/getFeatureEngineeringKafkaConfig.js +28 -0
  44. package/getFeatureEngineeringKafkaConfig.js.map +1 -0
  45. package/getFeatureEngineeringKafkaConfigs.d.ts +39 -0
  46. package/getFeatureEngineeringKafkaConfigs.js +30 -0
  47. package/getFeatureEngineeringKafkaConfigs.js.map +1 -0
  48. package/getFeatureEngineeringMaterializedFeature.d.ts +5 -1
  49. package/getFeatureEngineeringMaterializedFeature.js.map +1 -1
  50. package/getPolicyInfo.d.ts +40 -2
  51. package/getPolicyInfo.js +40 -2
  52. package/getPolicyInfo.js.map +1 -1
  53. package/getPolicyInfos.d.ts +38 -2
  54. package/getPolicyInfos.js +38 -2
  55. package/getPolicyInfos.js.map +1 -1
  56. package/getServicePrincipals.d.ts +17 -3
  57. package/getServicePrincipals.js +2 -0
  58. package/getServicePrincipals.js.map +1 -1
  59. package/getSparkVersion.d.ts +2 -2
  60. package/getTagPolicies.d.ts +2 -2
  61. package/getTagPolicies.js +2 -2
  62. package/getTagPolicy.d.ts +2 -2
  63. package/getTagPolicy.js +2 -2
  64. package/getUsers.d.ts +136 -0
  65. package/getUsers.js +104 -0
  66. package/getUsers.js.map +1 -0
  67. package/getWorkspaceEntityTagAssignment.d.ts +108 -0
  68. package/getWorkspaceEntityTagAssignment.js +72 -0
  69. package/getWorkspaceEntityTagAssignment.js.map +1 -0
  70. package/getWorkspaceEntityTagAssignments.d.ts +99 -0
  71. package/getWorkspaceEntityTagAssignments.js +68 -0
  72. package/getWorkspaceEntityTagAssignments.js.map +1 -0
  73. package/getWorkspaceSettingV2.d.ts +16 -16
  74. package/index.d.ts +21 -0
  75. package/index.js +33 -7
  76. package/index.js.map +1 -1
  77. package/lakehouseMonitor.d.ts +1 -1
  78. package/lakehouseMonitor.js +1 -1
  79. package/mwsWorkspaces.d.ts +19 -5
  80. package/mwsWorkspaces.js +16 -2
  81. package/mwsWorkspaces.js.map +1 -1
  82. package/package.json +2 -2
  83. package/pipeline.d.ts +3 -3
  84. package/policyInfo.d.ts +63 -1
  85. package/policyInfo.js +63 -1
  86. package/policyInfo.js.map +1 -1
  87. package/rfaAccessRequestDestinations.d.ts +2 -2
  88. package/rfaAccessRequestDestinations.js +0 -3
  89. package/rfaAccessRequestDestinations.js.map +1 -1
  90. package/tagPolicy.d.ts +1 -1
  91. package/tagPolicy.js +1 -1
  92. package/types/input.d.ts +357 -35
  93. package/types/output.d.ts +512 -78
  94. package/workspaceEntityTagAssignment.d.ts +129 -0
  95. package/workspaceEntityTagAssignment.js +109 -0
  96. package/workspaceEntityTagAssignment.js.map +1 -0
  97. package/workspaceSettingV2.d.ts +123 -6
  98. package/workspaceSettingV2.js.map +1 -1
package/getTagPolicy.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
5
5
  *
6
- * This data source can be used to get a single tag policy by its tag key.
6
+ * This data source can be used to get a single tag policy by its tag key. Manage tag policy permissions using the `databricks.AccessControlRuleSet` resource.
7
7
  *
8
8
  * > **Note** This resource can only be used with a workspace-level provider!
9
9
  *
@@ -59,7 +59,7 @@ export interface GetTagPolicyResult {
59
59
  /**
60
60
  * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
61
61
  *
62
- * This data source can be used to get a single tag policy by its tag key.
62
+ * This data source can be used to get a single tag policy by its tag key. Manage tag policy permissions using the `databricks.AccessControlRuleSet` resource.
63
63
  *
64
64
  * > **Note** This resource can only be used with a workspace-level provider!
65
65
  *
package/getTagPolicy.js CHANGED
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
10
10
  *
11
- * This data source can be used to get a single tag policy by its tag key.
11
+ * This data source can be used to get a single tag policy by its tag key. Manage tag policy permissions using the `databricks.AccessControlRuleSet` resource.
12
12
  *
13
13
  * > **Note** This resource can only be used with a workspace-level provider!
14
14
  *
@@ -35,7 +35,7 @@ exports.getTagPolicy = getTagPolicy;
35
35
  /**
36
36
  * [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
37
37
  *
38
- * This data source can be used to get a single tag policy by its tag key.
38
+ * This data source can be used to get a single tag policy by its tag key. Manage tag policy permissions using the `databricks.AccessControlRuleSet` resource.
39
39
  *
40
40
  * > **Note** This resource can only be used with a workspace-level provider!
41
41
  *
package/getUsers.d.ts ADDED
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Retrieves information about multiple databricks.User resources.
6
+ *
7
+ * > This data source works with both the account-level and workspace-level provider.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Adding a subset of users to a group
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * export = async () => {
18
+ * const companyUsers = await databricks.getUsers({
19
+ * filter: "userName co \"@domain.org\"",
20
+ * });
21
+ * const dataUsersGroup = new databricks.Group("data_users_group", {displayName: "Data Users"});
22
+ * const addUsersToGroup: databricks.GroupMember[] = [];
23
+ * for (const range of Object.entries(.reduce((__obj, user) => ({ ...__obj, [user.id]: user }))).map(([k, v]) => ({key: k, value: v}))) {
24
+ * addUsersToGroup.push(new databricks.GroupMember(`add_users_to_group-${range.key}`, {
25
+ * groupId: dataUsersGroup.id,
26
+ * memberId: range.value.id,
27
+ * }));
28
+ * }
29
+ * }
30
+ * ```
31
+ *
32
+ * ## Related Resources
33
+ *
34
+ * The following resources are used in the same context:
35
+ *
36
+ * - **databricks_user**: Resource to manage individual users in Databricks.
37
+ * - **databricks_group**: Resource to manage groups in Databricks.
38
+ * - **databricks_group_member**: Resource to manage group memberships by adding users to groups.
39
+ * - **databricks_permissions**: Resource to manage access control in the Databricks workspace.
40
+ * - **databricks_current_user**: Data source to retrieve information about the user or service principal that is calling the Databricks REST API.
41
+ */
42
+ export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
43
+ /**
44
+ * A collection of arguments for invoking getUsers.
45
+ */
46
+ export interface GetUsersArgs {
47
+ /**
48
+ * A comma-separated list of additional user attributes to include in the results. By default, the data source returns the following attributes: `id`, `userName`, `displayName`, and `externalId`. Use this argument to request additional attributes as needed. The list of all available attributes can be found in the [API reference](https://docs.databricks.com/api/workspace/users/list).
49
+ */
50
+ extraAttributes?: string;
51
+ /**
52
+ * Query by which the results have to be filtered. If not specified, all users will be returned. Supported operators are equals (`eq`), contains (`co`), starts with (`sw`), and not equals (`ne`). Additionally, simple expressions can be formed using logical operators `and` and `or`.
53
+ *
54
+ * **Examples:**
55
+ * - User whose `displayName` equals "john":
56
+ */
57
+ filter?: string;
58
+ /**
59
+ * A list of users matching the specified criteria. Each user has the following attributes:
60
+ */
61
+ users?: inputs.GetUsersUser[];
62
+ }
63
+ /**
64
+ * A collection of values returned by getUsers.
65
+ */
66
+ export interface GetUsersResult {
67
+ readonly extraAttributes?: string;
68
+ readonly filter?: string;
69
+ /**
70
+ * The provider-assigned unique ID for this managed resource.
71
+ */
72
+ readonly id: string;
73
+ /**
74
+ * A list of users matching the specified criteria. Each user has the following attributes:
75
+ */
76
+ readonly users: outputs.GetUsersUser[];
77
+ }
78
+ /**
79
+ * Retrieves information about multiple databricks.User resources.
80
+ *
81
+ * > This data source works with both the account-level and workspace-level provider.
82
+ *
83
+ * ## Example Usage
84
+ *
85
+ * Adding a subset of users to a group
86
+ *
87
+ * ```typescript
88
+ * import * as pulumi from "@pulumi/pulumi";
89
+ * import * as databricks from "@pulumi/databricks";
90
+ *
91
+ * export = async () => {
92
+ * const companyUsers = await databricks.getUsers({
93
+ * filter: "userName co \"@domain.org\"",
94
+ * });
95
+ * const dataUsersGroup = new databricks.Group("data_users_group", {displayName: "Data Users"});
96
+ * const addUsersToGroup: databricks.GroupMember[] = [];
97
+ * for (const range of Object.entries(.reduce((__obj, user) => ({ ...__obj, [user.id]: user }))).map(([k, v]) => ({key: k, value: v}))) {
98
+ * addUsersToGroup.push(new databricks.GroupMember(`add_users_to_group-${range.key}`, {
99
+ * groupId: dataUsersGroup.id,
100
+ * memberId: range.value.id,
101
+ * }));
102
+ * }
103
+ * }
104
+ * ```
105
+ *
106
+ * ## Related Resources
107
+ *
108
+ * The following resources are used in the same context:
109
+ *
110
+ * - **databricks_user**: Resource to manage individual users in Databricks.
111
+ * - **databricks_group**: Resource to manage groups in Databricks.
112
+ * - **databricks_group_member**: Resource to manage group memberships by adding users to groups.
113
+ * - **databricks_permissions**: Resource to manage access control in the Databricks workspace.
114
+ * - **databricks_current_user**: Data source to retrieve information about the user or service principal that is calling the Databricks REST API.
115
+ */
116
+ export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
117
+ /**
118
+ * A collection of arguments for invoking getUsers.
119
+ */
120
+ export interface GetUsersOutputArgs {
121
+ /**
122
+ * A comma-separated list of additional user attributes to include in the results. By default, the data source returns the following attributes: `id`, `userName`, `displayName`, and `externalId`. Use this argument to request additional attributes as needed. The list of all available attributes can be found in the [API reference](https://docs.databricks.com/api/workspace/users/list).
123
+ */
124
+ extraAttributes?: pulumi.Input<string>;
125
+ /**
126
+ * Query by which the results have to be filtered. If not specified, all users will be returned. Supported operators are equals (`eq`), contains (`co`), starts with (`sw`), and not equals (`ne`). Additionally, simple expressions can be formed using logical operators `and` and `or`.
127
+ *
128
+ * **Examples:**
129
+ * - User whose `displayName` equals "john":
130
+ */
131
+ filter?: pulumi.Input<string>;
132
+ /**
133
+ * A list of users matching the specified criteria. Each user has the following attributes:
134
+ */
135
+ users?: pulumi.Input<pulumi.Input<inputs.GetUsersUserArgs>[]>;
136
+ }
package/getUsers.js ADDED
@@ -0,0 +1,104 @@
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.getUsersOutput = exports.getUsers = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * Retrieves information about multiple databricks.User resources.
10
+ *
11
+ * > This data source works with both the account-level and workspace-level provider.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * Adding a subset of users to a group
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * export = async () => {
22
+ * const companyUsers = await databricks.getUsers({
23
+ * filter: "userName co \"@domain.org\"",
24
+ * });
25
+ * const dataUsersGroup = new databricks.Group("data_users_group", {displayName: "Data Users"});
26
+ * const addUsersToGroup: databricks.GroupMember[] = [];
27
+ * for (const range of Object.entries(.reduce((__obj, user) => ({ ...__obj, [user.id]: user }))).map(([k, v]) => ({key: k, value: v}))) {
28
+ * addUsersToGroup.push(new databricks.GroupMember(`add_users_to_group-${range.key}`, {
29
+ * groupId: dataUsersGroup.id,
30
+ * memberId: range.value.id,
31
+ * }));
32
+ * }
33
+ * }
34
+ * ```
35
+ *
36
+ * ## Related Resources
37
+ *
38
+ * The following resources are used in the same context:
39
+ *
40
+ * - **databricks_user**: Resource to manage individual users in Databricks.
41
+ * - **databricks_group**: Resource to manage groups in Databricks.
42
+ * - **databricks_group_member**: Resource to manage group memberships by adding users to groups.
43
+ * - **databricks_permissions**: Resource to manage access control in the Databricks workspace.
44
+ * - **databricks_current_user**: Data source to retrieve information about the user or service principal that is calling the Databricks REST API.
45
+ */
46
+ function getUsers(args, opts) {
47
+ args = args || {};
48
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
49
+ return pulumi.runtime.invoke("databricks:index/getUsers:getUsers", {
50
+ "extraAttributes": args.extraAttributes,
51
+ "filter": args.filter,
52
+ "users": args.users,
53
+ }, opts);
54
+ }
55
+ exports.getUsers = getUsers;
56
+ /**
57
+ * Retrieves information about multiple databricks.User resources.
58
+ *
59
+ * > This data source works with both the account-level and workspace-level provider.
60
+ *
61
+ * ## Example Usage
62
+ *
63
+ * Adding a subset of users to a group
64
+ *
65
+ * ```typescript
66
+ * import * as pulumi from "@pulumi/pulumi";
67
+ * import * as databricks from "@pulumi/databricks";
68
+ *
69
+ * export = async () => {
70
+ * const companyUsers = await databricks.getUsers({
71
+ * filter: "userName co \"@domain.org\"",
72
+ * });
73
+ * const dataUsersGroup = new databricks.Group("data_users_group", {displayName: "Data Users"});
74
+ * const addUsersToGroup: databricks.GroupMember[] = [];
75
+ * for (const range of Object.entries(.reduce((__obj, user) => ({ ...__obj, [user.id]: user }))).map(([k, v]) => ({key: k, value: v}))) {
76
+ * addUsersToGroup.push(new databricks.GroupMember(`add_users_to_group-${range.key}`, {
77
+ * groupId: dataUsersGroup.id,
78
+ * memberId: range.value.id,
79
+ * }));
80
+ * }
81
+ * }
82
+ * ```
83
+ *
84
+ * ## Related Resources
85
+ *
86
+ * The following resources are used in the same context:
87
+ *
88
+ * - **databricks_user**: Resource to manage individual users in Databricks.
89
+ * - **databricks_group**: Resource to manage groups in Databricks.
90
+ * - **databricks_group_member**: Resource to manage group memberships by adding users to groups.
91
+ * - **databricks_permissions**: Resource to manage access control in the Databricks workspace.
92
+ * - **databricks_current_user**: Data source to retrieve information about the user or service principal that is calling the Databricks REST API.
93
+ */
94
+ function getUsersOutput(args, opts) {
95
+ args = args || {};
96
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
97
+ return pulumi.runtime.invokeOutput("databricks:index/getUsers:getUsers", {
98
+ "extraAttributes": args.extraAttributes,
99
+ "filter": args.filter,
100
+ "users": args.users,
101
+ }, opts);
102
+ }
103
+ exports.getUsersOutput = getUsersOutput;
104
+ //# sourceMappingURL=getUsers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,oCAAoC,EAAE;QAC/D,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4BAQC;AAsCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,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,oCAAoC,EAAE;QACrE,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,wCAQC"}
@@ -0,0 +1,108 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
4
+ *
5
+ * This data source allows you to get information about a tag assignment for a specific workspace scoped entity using the entity type, entity id, and tag key.
6
+ *
7
+ * ## Example Usage
8
+ *
9
+ * ```typescript
10
+ * import * as pulumi from "@pulumi/pulumi";
11
+ * import * as databricks from "@pulumi/databricks";
12
+ *
13
+ * const dashboardTag = databricks.getWorkspaceEntityTagAssignment({
14
+ * entityType: "dashboards",
15
+ * entityId: "2807324866692453",
16
+ * tagKey: "sensitivity_level",
17
+ * });
18
+ * const geniespaceTag = databricks.getWorkspaceEntityTagAssignment({
19
+ * entityType: "geniespaces",
20
+ * entityId: "2807324866692453",
21
+ * tagKey: "sensitivity_level",
22
+ * });
23
+ * ```
24
+ */
25
+ export declare function getWorkspaceEntityTagAssignment(args: GetWorkspaceEntityTagAssignmentArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceEntityTagAssignmentResult>;
26
+ /**
27
+ * A collection of arguments for invoking getWorkspaceEntityTagAssignment.
28
+ */
29
+ export interface GetWorkspaceEntityTagAssignmentArgs {
30
+ /**
31
+ * The identifier of the entity to which the tag is assigned
32
+ */
33
+ entityId: string;
34
+ /**
35
+ * The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
36
+ */
37
+ entityType: string;
38
+ /**
39
+ * The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
40
+ */
41
+ tagKey: string;
42
+ }
43
+ /**
44
+ * A collection of values returned by getWorkspaceEntityTagAssignment.
45
+ */
46
+ export interface GetWorkspaceEntityTagAssignmentResult {
47
+ /**
48
+ * (string) - The identifier of the entity to which the tag is assigned
49
+ */
50
+ readonly entityId: string;
51
+ /**
52
+ * (string) - The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
53
+ */
54
+ readonly entityType: string;
55
+ /**
56
+ * The provider-assigned unique ID for this managed resource.
57
+ */
58
+ readonly id: string;
59
+ /**
60
+ * (string) - The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
61
+ */
62
+ readonly tagKey: string;
63
+ /**
64
+ * (string) - The value of the tag
65
+ */
66
+ readonly tagValue: string;
67
+ }
68
+ /**
69
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
70
+ *
71
+ * This data source allows you to get information about a tag assignment for a specific workspace scoped entity using the entity type, entity id, and tag key.
72
+ *
73
+ * ## Example Usage
74
+ *
75
+ * ```typescript
76
+ * import * as pulumi from "@pulumi/pulumi";
77
+ * import * as databricks from "@pulumi/databricks";
78
+ *
79
+ * const dashboardTag = databricks.getWorkspaceEntityTagAssignment({
80
+ * entityType: "dashboards",
81
+ * entityId: "2807324866692453",
82
+ * tagKey: "sensitivity_level",
83
+ * });
84
+ * const geniespaceTag = databricks.getWorkspaceEntityTagAssignment({
85
+ * entityType: "geniespaces",
86
+ * entityId: "2807324866692453",
87
+ * tagKey: "sensitivity_level",
88
+ * });
89
+ * ```
90
+ */
91
+ export declare function getWorkspaceEntityTagAssignmentOutput(args: GetWorkspaceEntityTagAssignmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceEntityTagAssignmentResult>;
92
+ /**
93
+ * A collection of arguments for invoking getWorkspaceEntityTagAssignment.
94
+ */
95
+ export interface GetWorkspaceEntityTagAssignmentOutputArgs {
96
+ /**
97
+ * The identifier of the entity to which the tag is assigned
98
+ */
99
+ entityId: pulumi.Input<string>;
100
+ /**
101
+ * The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
102
+ */
103
+ entityType: pulumi.Input<string>;
104
+ /**
105
+ * The key of the tag. The characters , . : / - = and leading/trailing spaces are not allowed
106
+ */
107
+ tagKey: pulumi.Input<string>;
108
+ }
@@ -0,0 +1,72 @@
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.getWorkspaceEntityTagAssignmentOutput = exports.getWorkspaceEntityTagAssignment = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
10
+ *
11
+ * This data source allows you to get information about a tag assignment for a specific workspace scoped entity using the entity type, entity id, and tag key.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const dashboardTag = databricks.getWorkspaceEntityTagAssignment({
20
+ * entityType: "dashboards",
21
+ * entityId: "2807324866692453",
22
+ * tagKey: "sensitivity_level",
23
+ * });
24
+ * const geniespaceTag = databricks.getWorkspaceEntityTagAssignment({
25
+ * entityType: "geniespaces",
26
+ * entityId: "2807324866692453",
27
+ * tagKey: "sensitivity_level",
28
+ * });
29
+ * ```
30
+ */
31
+ function getWorkspaceEntityTagAssignment(args, opts) {
32
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
33
+ return pulumi.runtime.invoke("databricks:index/getWorkspaceEntityTagAssignment:getWorkspaceEntityTagAssignment", {
34
+ "entityId": args.entityId,
35
+ "entityType": args.entityType,
36
+ "tagKey": args.tagKey,
37
+ }, opts);
38
+ }
39
+ exports.getWorkspaceEntityTagAssignment = getWorkspaceEntityTagAssignment;
40
+ /**
41
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
42
+ *
43
+ * This data source allows you to get information about a tag assignment for a specific workspace scoped entity using the entity type, entity id, and tag key.
44
+ *
45
+ * ## Example Usage
46
+ *
47
+ * ```typescript
48
+ * import * as pulumi from "@pulumi/pulumi";
49
+ * import * as databricks from "@pulumi/databricks";
50
+ *
51
+ * const dashboardTag = databricks.getWorkspaceEntityTagAssignment({
52
+ * entityType: "dashboards",
53
+ * entityId: "2807324866692453",
54
+ * tagKey: "sensitivity_level",
55
+ * });
56
+ * const geniespaceTag = databricks.getWorkspaceEntityTagAssignment({
57
+ * entityType: "geniespaces",
58
+ * entityId: "2807324866692453",
59
+ * tagKey: "sensitivity_level",
60
+ * });
61
+ * ```
62
+ */
63
+ function getWorkspaceEntityTagAssignmentOutput(args, opts) {
64
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
65
+ return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceEntityTagAssignment:getWorkspaceEntityTagAssignment", {
66
+ "entityId": args.entityId,
67
+ "entityType": args.entityType,
68
+ "tagKey": args.tagKey,
69
+ }, opts);
70
+ }
71
+ exports.getWorkspaceEntityTagAssignmentOutput = getWorkspaceEntityTagAssignmentOutput;
72
+ //# sourceMappingURL=getWorkspaceEntityTagAssignment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkspaceEntityTagAssignment.js","sourceRoot":"","sources":["../getWorkspaceEntityTagAssignment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAA2B;IAClH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kFAAkF,EAAE;QAC7G,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0EAOC;AA6CD;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,SAAgB,qCAAqC,CAAC,IAA+C,EAAE,IAAiC;IACpI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kFAAkF,EAAE;QACnH,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sFAOC"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
5
+ *
6
+ * This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
7
+ *
8
+ * ## Example Usage
9
+ *
10
+ * ```typescript
11
+ * import * as pulumi from "@pulumi/pulumi";
12
+ * import * as databricks from "@pulumi/databricks";
13
+ *
14
+ * const dashboardTags = databricks.getWorkspaceEntityTagAssignments({
15
+ * entityType: "dashboards",
16
+ * entityId: "2807324866692453",
17
+ * });
18
+ * const geniespaceTags = databricks.getWorkspaceEntityTagAssignments({
19
+ * entityType: "geniespaces",
20
+ * entityId: "2807324866692453",
21
+ * });
22
+ * ```
23
+ */
24
+ export declare function getWorkspaceEntityTagAssignments(args: GetWorkspaceEntityTagAssignmentsArgs, opts?: pulumi.InvokeOptions): Promise<GetWorkspaceEntityTagAssignmentsResult>;
25
+ /**
26
+ * A collection of arguments for invoking getWorkspaceEntityTagAssignments.
27
+ */
28
+ export interface GetWorkspaceEntityTagAssignmentsArgs {
29
+ /**
30
+ * The identifier of the entity to which the tag is assigned
31
+ */
32
+ entityId: string;
33
+ /**
34
+ * The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
35
+ */
36
+ entityType: string;
37
+ /**
38
+ * Optional. Maximum number of tag assignments to return in a single page
39
+ */
40
+ pageSize?: number;
41
+ }
42
+ /**
43
+ * A collection of values returned by getWorkspaceEntityTagAssignments.
44
+ */
45
+ export interface GetWorkspaceEntityTagAssignmentsResult {
46
+ /**
47
+ * (string) - The identifier of the entity to which the tag is assigned
48
+ */
49
+ readonly entityId: string;
50
+ /**
51
+ * (string) - The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
52
+ */
53
+ readonly entityType: string;
54
+ /**
55
+ * The provider-assigned unique ID for this managed resource.
56
+ */
57
+ readonly id: string;
58
+ readonly pageSize?: number;
59
+ readonly tagAssignments: outputs.GetWorkspaceEntityTagAssignmentsTagAssignment[];
60
+ }
61
+ /**
62
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
63
+ *
64
+ * This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
65
+ *
66
+ * ## Example Usage
67
+ *
68
+ * ```typescript
69
+ * import * as pulumi from "@pulumi/pulumi";
70
+ * import * as databricks from "@pulumi/databricks";
71
+ *
72
+ * const dashboardTags = databricks.getWorkspaceEntityTagAssignments({
73
+ * entityType: "dashboards",
74
+ * entityId: "2807324866692453",
75
+ * });
76
+ * const geniespaceTags = databricks.getWorkspaceEntityTagAssignments({
77
+ * entityType: "geniespaces",
78
+ * entityId: "2807324866692453",
79
+ * });
80
+ * ```
81
+ */
82
+ export declare function getWorkspaceEntityTagAssignmentsOutput(args: GetWorkspaceEntityTagAssignmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetWorkspaceEntityTagAssignmentsResult>;
83
+ /**
84
+ * A collection of arguments for invoking getWorkspaceEntityTagAssignments.
85
+ */
86
+ export interface GetWorkspaceEntityTagAssignmentsOutputArgs {
87
+ /**
88
+ * The identifier of the entity to which the tag is assigned
89
+ */
90
+ entityId: pulumi.Input<string>;
91
+ /**
92
+ * The type of entity to which the tag is assigned. Allowed values are dashboards, geniespaces
93
+ */
94
+ entityType: pulumi.Input<string>;
95
+ /**
96
+ * Optional. Maximum number of tag assignments to return in a single page
97
+ */
98
+ pageSize?: pulumi.Input<number>;
99
+ }
@@ -0,0 +1,68 @@
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.getWorkspaceEntityTagAssignmentsOutput = exports.getWorkspaceEntityTagAssignments = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
10
+ *
11
+ * This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const dashboardTags = databricks.getWorkspaceEntityTagAssignments({
20
+ * entityType: "dashboards",
21
+ * entityId: "2807324866692453",
22
+ * });
23
+ * const geniespaceTags = databricks.getWorkspaceEntityTagAssignments({
24
+ * entityType: "geniespaces",
25
+ * entityId: "2807324866692453",
26
+ * });
27
+ * ```
28
+ */
29
+ function getWorkspaceEntityTagAssignments(args, opts) {
30
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
31
+ return pulumi.runtime.invoke("databricks:index/getWorkspaceEntityTagAssignments:getWorkspaceEntityTagAssignments", {
32
+ "entityId": args.entityId,
33
+ "entityType": args.entityType,
34
+ "pageSize": args.pageSize,
35
+ }, opts);
36
+ }
37
+ exports.getWorkspaceEntityTagAssignments = getWorkspaceEntityTagAssignments;
38
+ /**
39
+ * [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
40
+ *
41
+ * This data source allows you to retrieve tag assignments that have been applied to a particular workspace scoped entity.
42
+ *
43
+ * ## Example Usage
44
+ *
45
+ * ```typescript
46
+ * import * as pulumi from "@pulumi/pulumi";
47
+ * import * as databricks from "@pulumi/databricks";
48
+ *
49
+ * const dashboardTags = databricks.getWorkspaceEntityTagAssignments({
50
+ * entityType: "dashboards",
51
+ * entityId: "2807324866692453",
52
+ * });
53
+ * const geniespaceTags = databricks.getWorkspaceEntityTagAssignments({
54
+ * entityType: "geniespaces",
55
+ * entityId: "2807324866692453",
56
+ * });
57
+ * ```
58
+ */
59
+ function getWorkspaceEntityTagAssignmentsOutput(args, opts) {
60
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
61
+ return pulumi.runtime.invokeOutput("databricks:index/getWorkspaceEntityTagAssignments:getWorkspaceEntityTagAssignments", {
62
+ "entityId": args.entityId,
63
+ "entityType": args.entityType,
64
+ "pageSize": args.pageSize,
65
+ }, opts);
66
+ }
67
+ exports.getWorkspaceEntityTagAssignmentsOutput = getWorkspaceEntityTagAssignmentsOutput;
68
+ //# sourceMappingURL=getWorkspaceEntityTagAssignments.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWorkspaceEntityTagAssignments.js","sourceRoot":"","sources":["../getWorkspaceEntityTagAssignments.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAA2B;IACpH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oFAAoF,EAAE;QAC/G,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4EAOC;AAuCD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,SAAgB,sCAAsC,CAAC,IAAgD,EAAE,IAAiC;IACtI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oFAAoF,EAAE;QACrH,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wFAOC"}