@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
@@ -1,6 +1,6 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
- * This resource is used to assign account-level users, service principals and groups to a Databricks workspace.
3
+ * This resource is used to assign account-level users, service principals and groups to a Databricks workspace. To configure additional entitlements such as cluster creation, please use databricks.Entitlements
4
4
  *
5
5
  * > This resource can only be used with a workspace-level provider!
6
6
  *
@@ -108,8 +108,8 @@ export declare class PermissionAssignment extends pulumi.CustomResource {
108
108
  static isInstance(obj: any): obj is PermissionAssignment;
109
109
  /**
110
110
  * The list of workspace permissions to assign to the principal:
111
- * * `"USER"` - Can access the workspace with basic privileges.
112
- * * `"ADMIN"` - Can access the workspace and has workspace admin privileges to manage users and groups, workspace configurations, and more.
111
+ * * `"USER"` - Adds principal to the workspace `users` group. This gives basic workspace access.
112
+ * * `"ADMIN"` - Adds principal to the workspace `admins` group. This gives workspace admin privileges to manage users and groups, workspace configurations, and more.
113
113
  */
114
114
  readonly permissions: pulumi.Output<string[]>;
115
115
  /**
@@ -131,8 +131,8 @@ export declare class PermissionAssignment extends pulumi.CustomResource {
131
131
  export interface PermissionAssignmentState {
132
132
  /**
133
133
  * The list of workspace permissions to assign to the principal:
134
- * * `"USER"` - Can access the workspace with basic privileges.
135
- * * `"ADMIN"` - Can access the workspace and has workspace admin privileges to manage users and groups, workspace configurations, and more.
134
+ * * `"USER"` - Adds principal to the workspace `users` group. This gives basic workspace access.
135
+ * * `"ADMIN"` - Adds principal to the workspace `admins` group. This gives workspace admin privileges to manage users and groups, workspace configurations, and more.
136
136
  */
137
137
  permissions?: pulumi.Input<pulumi.Input<string>[]>;
138
138
  /**
@@ -146,8 +146,8 @@ export interface PermissionAssignmentState {
146
146
  export interface PermissionAssignmentArgs {
147
147
  /**
148
148
  * The list of workspace permissions to assign to the principal:
149
- * * `"USER"` - Can access the workspace with basic privileges.
150
- * * `"ADMIN"` - Can access the workspace and has workspace admin privileges to manage users and groups, workspace configurations, and more.
149
+ * * `"USER"` - Adds principal to the workspace `users` group. This gives basic workspace access.
150
+ * * `"ADMIN"` - Adds principal to the workspace `admins` group. This gives workspace admin privileges to manage users and groups, workspace configurations, and more.
151
151
  */
152
152
  permissions: pulumi.Input<pulumi.Input<string>[]>;
153
153
  /**
@@ -6,7 +6,7 @@ exports.PermissionAssignment = void 0;
6
6
  const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
- * This resource is used to assign account-level users, service principals and groups to a Databricks workspace.
9
+ * This resource is used to assign account-level users, service principals and groups to a Databricks workspace. To configure additional entitlements such as cluster creation, please use databricks.Entitlements
10
10
  *
11
11
  * > This resource can only be used with a workspace-level provider!
12
12
  *
package/policyInfo.d.ts CHANGED
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * import {
12
12
  *
13
- * id = on_securable_type,on_securable_fullname,name
13
+ * id = "on_securable_type,on_securable_fullname,name"
14
14
  *
15
15
  * to = databricks_policy_info.this
16
16
  *
@@ -19,7 +19,7 @@ import * as outputs from "./types/output";
19
19
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
20
20
  *
21
21
  * ```sh
22
- * $ pulumi import databricks:index/policyInfo:PolicyInfo databricks_policy_info on_securable_type,on_securable_fullname,name
22
+ * $ pulumi import databricks:index/policyInfo:PolicyInfo databricks_policy_info "on_securable_type,on_securable_fullname,name"
23
23
  * ```
24
24
  */
25
25
  export declare class PolicyInfo extends pulumi.CustomResource {
@@ -62,19 +62,19 @@ export declare class PolicyInfo extends pulumi.CustomResource {
62
62
  readonly exceptPrincipals: pulumi.Output<string[] | undefined>;
63
63
  /**
64
64
  * Type of securables that the policy should take effect on.
65
- * Only `table` is supported at this moment.
65
+ * Only `TABLE` is supported at this moment.
66
66
  * Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
67
67
  */
68
68
  readonly forSecurableType: pulumi.Output<string>;
69
69
  /**
70
70
  * Optional list of condition expressions used to match table columns.
71
- * Only valid when `forSecurableType` is `table`.
71
+ * Only valid when `forSecurableType` is `TABLE`.
72
72
  * When specified, the policy only applies to tables whose columns satisfy all match conditions
73
73
  */
74
74
  readonly matchColumns: pulumi.Output<outputs.PolicyInfoMatchColumn[] | undefined>;
75
75
  /**
76
- * Name of the policy. Required on create and ignored on update.
77
- * To update the name, use the `newName` field
76
+ * Name of the policy. Required on create and optional on update.
77
+ * To rename the policy, set `name` to a different value on update
78
78
  */
79
79
  readonly name: pulumi.Output<string>;
80
80
  /**
@@ -84,7 +84,7 @@ export declare class PolicyInfo extends pulumi.CustomResource {
84
84
  readonly onSecurableFullname: pulumi.Output<string | undefined>;
85
85
  /**
86
86
  * Type of the securable on which the policy is defined.
87
- * Only `catalog`, `schema` and `table` are supported at this moment.
87
+ * Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
88
88
  * Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
89
89
  */
90
90
  readonly onSecurableType: pulumi.Output<string | undefined>;
@@ -115,6 +115,10 @@ export declare class PolicyInfo extends pulumi.CustomResource {
115
115
  * Optional condition when the policy should take effect
116
116
  */
117
117
  readonly whenCondition: pulumi.Output<string | undefined>;
118
+ /**
119
+ * Workspace ID of the resource
120
+ */
121
+ readonly workspaceId: pulumi.Output<string | undefined>;
118
122
  /**
119
123
  * Create a PolicyInfo resource with the given unique name, arguments, and options.
120
124
  *
@@ -152,19 +156,19 @@ export interface PolicyInfoState {
152
156
  exceptPrincipals?: pulumi.Input<pulumi.Input<string>[]>;
153
157
  /**
154
158
  * Type of securables that the policy should take effect on.
155
- * Only `table` is supported at this moment.
159
+ * Only `TABLE` is supported at this moment.
156
160
  * Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
157
161
  */
158
162
  forSecurableType?: pulumi.Input<string>;
159
163
  /**
160
164
  * Optional list of condition expressions used to match table columns.
161
- * Only valid when `forSecurableType` is `table`.
165
+ * Only valid when `forSecurableType` is `TABLE`.
162
166
  * When specified, the policy only applies to tables whose columns satisfy all match conditions
163
167
  */
164
168
  matchColumns?: pulumi.Input<pulumi.Input<inputs.PolicyInfoMatchColumn>[]>;
165
169
  /**
166
- * Name of the policy. Required on create and ignored on update.
167
- * To update the name, use the `newName` field
170
+ * Name of the policy. Required on create and optional on update.
171
+ * To rename the policy, set `name` to a different value on update
168
172
  */
169
173
  name?: pulumi.Input<string>;
170
174
  /**
@@ -174,7 +178,7 @@ export interface PolicyInfoState {
174
178
  onSecurableFullname?: pulumi.Input<string>;
175
179
  /**
176
180
  * Type of the securable on which the policy is defined.
177
- * Only `catalog`, `schema` and `table` are supported at this moment.
181
+ * Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
178
182
  * Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
179
183
  */
180
184
  onSecurableType?: pulumi.Input<string>;
@@ -205,6 +209,10 @@ export interface PolicyInfoState {
205
209
  * Optional condition when the policy should take effect
206
210
  */
207
211
  whenCondition?: pulumi.Input<string>;
212
+ /**
213
+ * Workspace ID of the resource
214
+ */
215
+ workspaceId?: pulumi.Input<string>;
208
216
  }
209
217
  /**
210
218
  * The set of arguments for constructing a PolicyInfo resource.
@@ -226,19 +234,19 @@ export interface PolicyInfoArgs {
226
234
  exceptPrincipals?: pulumi.Input<pulumi.Input<string>[]>;
227
235
  /**
228
236
  * Type of securables that the policy should take effect on.
229
- * Only `table` is supported at this moment.
237
+ * Only `TABLE` is supported at this moment.
230
238
  * Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
231
239
  */
232
240
  forSecurableType: pulumi.Input<string>;
233
241
  /**
234
242
  * Optional list of condition expressions used to match table columns.
235
- * Only valid when `forSecurableType` is `table`.
243
+ * Only valid when `forSecurableType` is `TABLE`.
236
244
  * When specified, the policy only applies to tables whose columns satisfy all match conditions
237
245
  */
238
246
  matchColumns?: pulumi.Input<pulumi.Input<inputs.PolicyInfoMatchColumn>[]>;
239
247
  /**
240
- * Name of the policy. Required on create and ignored on update.
241
- * To update the name, use the `newName` field
248
+ * Name of the policy. Required on create and optional on update.
249
+ * To rename the policy, set `name` to a different value on update
242
250
  */
243
251
  name?: pulumi.Input<string>;
244
252
  /**
@@ -248,7 +256,7 @@ export interface PolicyInfoArgs {
248
256
  onSecurableFullname?: pulumi.Input<string>;
249
257
  /**
250
258
  * Type of the securable on which the policy is defined.
251
- * Only `catalog`, `schema` and `table` are supported at this moment.
259
+ * Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
252
260
  * Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
253
261
  */
254
262
  onSecurableType?: pulumi.Input<string>;
@@ -271,4 +279,8 @@ export interface PolicyInfoArgs {
271
279
  * Optional condition when the policy should take effect
272
280
  */
273
281
  whenCondition?: pulumi.Input<string>;
282
+ /**
283
+ * Workspace ID of the resource
284
+ */
285
+ workspaceId?: pulumi.Input<string>;
274
286
  }
package/policyInfo.js CHANGED
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * import {
16
16
  *
17
- * id = on_securable_type,on_securable_fullname,name
17
+ * id = "on_securable_type,on_securable_fullname,name"
18
18
  *
19
19
  * to = databricks_policy_info.this
20
20
  *
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
23
23
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
24
24
  *
25
25
  * ```sh
26
- * $ pulumi import databricks:index/policyInfo:PolicyInfo databricks_policy_info on_securable_type,on_securable_fullname,name
26
+ * $ pulumi import databricks:index/policyInfo:PolicyInfo databricks_policy_info "on_securable_type,on_securable_fullname,name"
27
27
  * ```
28
28
  */
29
29
  class PolicyInfo extends pulumi.CustomResource {
@@ -70,6 +70,7 @@ class PolicyInfo extends pulumi.CustomResource {
70
70
  resourceInputs["updatedAt"] = state?.updatedAt;
71
71
  resourceInputs["updatedBy"] = state?.updatedBy;
72
72
  resourceInputs["whenCondition"] = state?.whenCondition;
73
+ resourceInputs["workspaceId"] = state?.workspaceId;
73
74
  }
74
75
  else {
75
76
  const args = argsOrState;
@@ -94,6 +95,7 @@ class PolicyInfo extends pulumi.CustomResource {
94
95
  resourceInputs["rowFilter"] = args?.rowFilter;
95
96
  resourceInputs["toPrincipals"] = args?.toPrincipals;
96
97
  resourceInputs["whenCondition"] = args?.whenCondition;
98
+ resourceInputs["workspaceId"] = args?.workspaceId;
97
99
  resourceInputs["createdAt"] = undefined /*out*/;
98
100
  resourceInputs["createdBy"] = undefined /*out*/;
99
101
  resourceInputs["updatedAt"] = undefined /*out*/;
package/policyInfo.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"policyInfo.js","sourceRoot":"","sources":["../policyInfo.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC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c,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA3KL,gCA4KC;AA9JG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
package/provider.d.ts CHANGED
@@ -81,6 +81,7 @@ export interface ProviderArgs {
81
81
  host?: pulumi.Input<string>;
82
82
  httpTimeoutSeconds?: pulumi.Input<number>;
83
83
  metadataServiceUrl?: pulumi.Input<string>;
84
+ oauthCallbackPort?: pulumi.Input<number>;
84
85
  oidcTokenEnv?: pulumi.Input<string>;
85
86
  password?: pulumi.Input<string>;
86
87
  profile?: pulumi.Input<string>;
package/provider.js CHANGED
@@ -58,6 +58,7 @@ class Provider extends pulumi.ProviderResource {
58
58
  resourceInputs["host"] = args?.host;
59
59
  resourceInputs["httpTimeoutSeconds"] = pulumi.output(args?.httpTimeoutSeconds).apply(JSON.stringify);
60
60
  resourceInputs["metadataServiceUrl"] = args?.metadataServiceUrl ? pulumi.secret(args.metadataServiceUrl) : undefined;
61
+ resourceInputs["oauthCallbackPort"] = pulumi.output(args?.oauthCallbackPort).apply(JSON.stringify);
61
62
  resourceInputs["oidcTokenEnv"] = args?.oidcTokenEnv;
62
63
  resourceInputs["password"] = args?.password ? pulumi.secret(args.password) : undefined;
63
64
  resourceInputs["profile"] = args?.profile;
package/provider.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;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,mBAAmB,GAAG,QAAQ,CAAC,YAAY,CAAC;IAC/E,CAAC;IA+BD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmB,EAAE,IAA6B;QACxE,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB;YACI,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,0BAA0B,CAAC,GAAG,IAAI,EAAE,wBAAwB,CAAC;YAC5E,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAA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AC5C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,mBAAmB,EAAE,cAAc,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,CAAC;QACtJ,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;IAED;;OAEG;IACH,eAAe;QACX,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,6CAA6C,EAAE;YACtE,UAAU,EAAE,IAAI;SACnB,EAAE,IAAI,CAAC,CAAC;IACb,CAAC;;AAzGL,4BA0GC;AAzGG,gBAAgB;AACO,qBAAY,GAAG,YAAY,CAAC"}
@@ -30,7 +30,7 @@ import * as outputs from "./types/output";
30
30
  *
31
31
  * import {
32
32
  *
33
- * id = object_type,object_id
33
+ * id = "object_type,object_id"
34
34
  *
35
35
  * to = databricks_quality_monitor_v2.this
36
36
  *
@@ -39,7 +39,7 @@ import * as outputs from "./types/output";
39
39
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
40
40
  *
41
41
  * ```sh
42
- * $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 object_type,object_id
42
+ * $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 "object_type,object_id"
43
43
  * ```
44
44
  */
45
45
  export declare class QualityMonitorV2 extends pulumi.CustomResource {
@@ -70,6 +70,10 @@ export declare class QualityMonitorV2 extends pulumi.CustomResource {
70
70
  * The type of the monitored object. Can be one of the following: schema
71
71
  */
72
72
  readonly objectType: pulumi.Output<string>;
73
+ /**
74
+ * Workspace ID of the resource
75
+ */
76
+ readonly workspaceId: pulumi.Output<string | undefined>;
73
77
  /**
74
78
  * Create a QualityMonitorV2 resource with the given unique name, arguments, and options.
75
79
  *
@@ -95,6 +99,10 @@ export interface QualityMonitorV2State {
95
99
  * The type of the monitored object. Can be one of the following: schema
96
100
  */
97
101
  objectType?: pulumi.Input<string>;
102
+ /**
103
+ * Workspace ID of the resource
104
+ */
105
+ workspaceId?: pulumi.Input<string>;
98
106
  }
99
107
  /**
100
108
  * The set of arguments for constructing a QualityMonitorV2 resource.
@@ -108,4 +116,8 @@ export interface QualityMonitorV2Args {
108
116
  * The type of the monitored object. Can be one of the following: schema
109
117
  */
110
118
  objectType: pulumi.Input<string>;
119
+ /**
120
+ * Workspace ID of the resource
121
+ */
122
+ workspaceId?: pulumi.Input<string>;
111
123
  }
@@ -34,7 +34,7 @@ const utilities = require("./utilities");
34
34
  *
35
35
  * import {
36
36
  *
37
- * id = object_type,object_id
37
+ * id = "object_type,object_id"
38
38
  *
39
39
  * to = databricks_quality_monitor_v2.this
40
40
  *
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
43
43
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
44
44
  *
45
45
  * ```sh
46
- * $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 object_type,object_id
46
+ * $ pulumi import databricks:index/qualityMonitorV2:QualityMonitorV2 databricks_quality_monitor_v2 "object_type,object_id"
47
47
  * ```
48
48
  */
49
49
  class QualityMonitorV2 extends pulumi.CustomResource {
@@ -77,6 +77,7 @@ class QualityMonitorV2 extends pulumi.CustomResource {
77
77
  resourceInputs["anomalyDetectionConfig"] = state?.anomalyDetectionConfig;
78
78
  resourceInputs["objectId"] = state?.objectId;
79
79
  resourceInputs["objectType"] = state?.objectType;
80
+ resourceInputs["workspaceId"] = state?.workspaceId;
80
81
  }
81
82
  else {
82
83
  const args = argsOrState;
@@ -88,6 +89,7 @@ class QualityMonitorV2 extends pulumi.CustomResource {
88
89
  }
89
90
  resourceInputs["objectId"] = args?.objectId;
90
91
  resourceInputs["objectType"] = args?.objectType;
92
+ resourceInputs["workspaceId"] = args?.workspaceId;
91
93
  resourceInputs["anomalyDetectionConfig"] = undefined /*out*/;
92
94
  }
93
95
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
@@ -1 +1 @@
1
- {"version":3,"file":"qualityMonitorV2.js","sourceRoot":"","sources":["../qualityMonitorV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,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,gBAAgB,CAAC,YAAY,CAAC;IACjE,CAAC;IAuBD,YAAY,IAAY,EAAE,WAA0D,EAAE,IAAmC;QACrH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAgD,CAAC;YAC/D,cAAc,CAAC,wBAAwB,CAAC,GAAG,KAAK,EAAE,sBAAsB,CA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AAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,wBAAwB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gBAAgB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrE,CAAC;;AA7EL,4CA8EC;AAhEG,gBAAgB;AACO,6BAAY,GAAG,oDAAoD,CAAC"}
@@ -10,7 +10,7 @@ import * as outputs from "./types/output";
10
10
  *
11
11
  * import {
12
12
  *
13
- * id = name
13
+ * id = "name"
14
14
  *
15
15
  * to = databricks_recipient_federation_policy.this
16
16
  *
@@ -19,7 +19,7 @@ import * as outputs from "./types/output";
19
19
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
20
20
  *
21
21
  * ```sh
22
- * $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy name
22
+ * $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy "name"
23
23
  * ```
24
24
  */
25
25
  export declare class RecipientFederationPolicy extends pulumi.CustomResource {
@@ -59,6 +59,10 @@ export declare class RecipientFederationPolicy extends pulumi.CustomResource {
59
59
  * (string) - System-generated timestamp indicating when the policy was last updated
60
60
  */
61
61
  readonly updateTime: pulumi.Output<string>;
62
+ /**
63
+ * Workspace ID of the resource
64
+ */
65
+ readonly workspaceId: pulumi.Output<string | undefined>;
62
66
  /**
63
67
  * Create a RecipientFederationPolicy resource with the given unique name, arguments, and options.
64
68
  *
@@ -93,6 +97,10 @@ export interface RecipientFederationPolicyState {
93
97
  * (string) - System-generated timestamp indicating when the policy was last updated
94
98
  */
95
99
  updateTime?: pulumi.Input<string>;
100
+ /**
101
+ * Workspace ID of the resource
102
+ */
103
+ workspaceId?: pulumi.Input<string>;
96
104
  }
97
105
  /**
98
106
  * The set of arguments for constructing a RecipientFederationPolicy resource.
@@ -111,4 +119,8 @@ export interface RecipientFederationPolicyArgs {
111
119
  * Specifies the policy to use for validating OIDC claims in the federated tokens
112
120
  */
113
121
  oidcPolicy?: pulumi.Input<inputs.RecipientFederationPolicyOidcPolicy>;
122
+ /**
123
+ * Workspace ID of the resource
124
+ */
125
+ workspaceId?: pulumi.Input<string>;
114
126
  }
@@ -14,7 +14,7 @@ const utilities = require("./utilities");
14
14
  *
15
15
  * import {
16
16
  *
17
- * id = name
17
+ * id = "name"
18
18
  *
19
19
  * to = databricks_recipient_federation_policy.this
20
20
  *
@@ -23,7 +23,7 @@ const utilities = require("./utilities");
23
23
  * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
24
24
  *
25
25
  * ```sh
26
- * $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy name
26
+ * $ pulumi import databricks:index/recipientFederationPolicy:RecipientFederationPolicy databricks_recipient_federation_policy "name"
27
27
  * ```
28
28
  */
29
29
  class RecipientFederationPolicy extends pulumi.CustomResource {
@@ -59,12 +59,14 @@ class RecipientFederationPolicy extends pulumi.CustomResource {
59
59
  resourceInputs["name"] = state?.name;
60
60
  resourceInputs["oidcPolicy"] = state?.oidcPolicy;
61
61
  resourceInputs["updateTime"] = state?.updateTime;
62
+ resourceInputs["workspaceId"] = state?.workspaceId;
62
63
  }
63
64
  else {
64
65
  const args = argsOrState;
65
66
  resourceInputs["comment"] = args?.comment;
66
67
  resourceInputs["name"] = args?.name;
67
68
  resourceInputs["oidcPolicy"] = args?.oidcPolicy;
69
+ resourceInputs["workspaceId"] = args?.workspaceId;
68
70
  resourceInputs["createTime"] = undefined /*out*/;
69
71
  resourceInputs["updateTime"] = undefined /*out*/;
70
72
  }
@@ -1 +1 @@
1
- {"version":3,"file":"recipientFederationPolicy.js","sourceRoot":"","sources":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 import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * Service principal federation policies allow automated workloads running outside of Databricks to access Databricks APIs without the need for Databricks secrets. Your application (workload) authenticates to Databricks as a Databricks service principal using tokens issued by the workload runtime, for example Github Actions.
6
+ *
7
+ * A service principal federation policy is associated with a service principal in your Databricks account, and specifies:
8
+ * * The identity provider (or issuer) from which the service principal can authenticate.
9
+ * * The workload identity (or subject) that is permitted to authenticate as the Databricks service principal.
10
+ *
11
+ * ## Import
12
+ *
13
+ * As of Pulumi v1.5, resources can be imported through configuration.
14
+ *
15
+ * hcl
16
+ *
17
+ * import {
18
+ *
19
+ * id = "service_principal_id,policy_id"
20
+ *
21
+ * to = databricks_service_principal_federation_policy.this
22
+ *
23
+ * }
24
+ *
25
+ * If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
26
+ *
27
+ * ```sh
28
+ * $ pulumi import databricks:index/servicePrincipalFederationPolicy:ServicePrincipalFederationPolicy databricks_service_principal_federation_policy "service_principal_id,policy_id"
29
+ * ```
30
+ */
31
+ export declare class ServicePrincipalFederationPolicy extends pulumi.CustomResource {
32
+ /**
33
+ * Get an existing ServicePrincipalFederationPolicy resource's state with the given name, ID, and optional extra
34
+ * properties used to qualify the lookup.
35
+ *
36
+ * @param name The _unique_ name of the resulting resource.
37
+ * @param id The _unique_ provider ID of the resource to lookup.
38
+ * @param state Any extra arguments used during the lookup.
39
+ * @param opts Optional settings to control the behavior of the CustomResource.
40
+ */
41
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ServicePrincipalFederationPolicyState, opts?: pulumi.CustomResourceOptions): ServicePrincipalFederationPolicy;
42
+ /**
43
+ * Returns true if the given object is an instance of ServicePrincipalFederationPolicy. This is designed to work even
44
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
45
+ */
46
+ static isInstance(obj: any): obj is ServicePrincipalFederationPolicy;
47
+ /**
48
+ * (string) - Creation time of the federation policy
49
+ */
50
+ readonly createTime: pulumi.Output<string>;
51
+ /**
52
+ * Description of the federation policy
53
+ */
54
+ readonly description: pulumi.Output<string | undefined>;
55
+ /**
56
+ * (string) - Resource name for the federation policy. Example values include
57
+ * `accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
58
+ * `accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
59
+ * for Service Principal Federation Policies. Typically an output parameter, which does not need to be
60
+ * specified in create or update requests. If specified in a request, must match the value in the
61
+ * request URL
62
+ */
63
+ readonly name: pulumi.Output<string>;
64
+ readonly oidcPolicy: pulumi.Output<outputs.ServicePrincipalFederationPolicyOidcPolicy | undefined>;
65
+ /**
66
+ * (string) - The ID of the federation policy
67
+ */
68
+ readonly policyId: pulumi.Output<string>;
69
+ /**
70
+ * (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
71
+ */
72
+ readonly servicePrincipalId: pulumi.Output<number>;
73
+ /**
74
+ * (string) - Unique, immutable id of the federation policy
75
+ */
76
+ readonly uid: pulumi.Output<string>;
77
+ /**
78
+ * (string) - Last update time of the federation policy
79
+ */
80
+ readonly updateTime: pulumi.Output<string>;
81
+ /**
82
+ * Create a ServicePrincipalFederationPolicy resource with the given unique name, arguments, and options.
83
+ *
84
+ * @param name The _unique_ name of the resource.
85
+ * @param args The arguments to use to populate this resource's properties.
86
+ * @param opts A bag of options that control this resource's behavior.
87
+ */
88
+ constructor(name: string, args?: ServicePrincipalFederationPolicyArgs, opts?: pulumi.CustomResourceOptions);
89
+ }
90
+ /**
91
+ * Input properties used for looking up and filtering ServicePrincipalFederationPolicy resources.
92
+ */
93
+ export interface ServicePrincipalFederationPolicyState {
94
+ /**
95
+ * (string) - Creation time of the federation policy
96
+ */
97
+ createTime?: pulumi.Input<string>;
98
+ /**
99
+ * Description of the federation policy
100
+ */
101
+ description?: pulumi.Input<string>;
102
+ /**
103
+ * (string) - Resource name for the federation policy. Example values include
104
+ * `accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
105
+ * `accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
106
+ * for Service Principal Federation Policies. Typically an output parameter, which does not need to be
107
+ * specified in create or update requests. If specified in a request, must match the value in the
108
+ * request URL
109
+ */
110
+ name?: pulumi.Input<string>;
111
+ oidcPolicy?: pulumi.Input<inputs.ServicePrincipalFederationPolicyOidcPolicy>;
112
+ /**
113
+ * (string) - The ID of the federation policy
114
+ */
115
+ policyId?: pulumi.Input<string>;
116
+ /**
117
+ * (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
118
+ */
119
+ servicePrincipalId?: pulumi.Input<number>;
120
+ /**
121
+ * (string) - Unique, immutable id of the federation policy
122
+ */
123
+ uid?: pulumi.Input<string>;
124
+ /**
125
+ * (string) - Last update time of the federation policy
126
+ */
127
+ updateTime?: pulumi.Input<string>;
128
+ }
129
+ /**
130
+ * The set of arguments for constructing a ServicePrincipalFederationPolicy resource.
131
+ */
132
+ export interface ServicePrincipalFederationPolicyArgs {
133
+ /**
134
+ * Description of the federation policy
135
+ */
136
+ description?: pulumi.Input<string>;
137
+ oidcPolicy?: pulumi.Input<inputs.ServicePrincipalFederationPolicyOidcPolicy>;
138
+ /**
139
+ * (string) - The ID of the federation policy
140
+ */
141
+ policyId?: pulumi.Input<string>;
142
+ /**
143
+ * (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
144
+ */
145
+ servicePrincipalId?: pulumi.Input<number>;
146
+ }