pulumi-databricks 1.77.0a1760375482__py3-none-any.whl → 1.79.0a1762839813__py3-none-any.whl

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 (176) hide show
  1. pulumi_databricks/__init__.py +54 -46
  2. pulumi_databricks/_inputs.py +26079 -32918
  3. pulumi_databricks/account_federation_policy.py +44 -16
  4. pulumi_databricks/account_network_policy.py +56 -2
  5. pulumi_databricks/account_setting_v2.py +46 -83
  6. pulumi_databricks/alert_v2.py +168 -134
  7. pulumi_databricks/app.py +153 -0
  8. pulumi_databricks/apps_settings_custom_template.py +75 -52
  9. pulumi_databricks/budget_policy.py +6 -2
  10. pulumi_databricks/catalog.py +65 -23
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/cluster_policy.py +120 -0
  13. pulumi_databricks/config/__init__.pyi +4 -0
  14. pulumi_databricks/config/vars.py +8 -0
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +9 -52
  18. pulumi_databricks/database_instance.py +271 -120
  19. pulumi_databricks/database_synced_database_table.py +239 -52
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +83 -52
  22. pulumi_databricks/external_location.py +131 -7
  23. pulumi_databricks/external_metadata.py +16 -59
  24. pulumi_databricks/feature_engineering_feature.py +480 -0
  25. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  26. pulumi_databricks/file.py +2 -2
  27. pulumi_databricks/get_account_federation_policies.py +22 -3
  28. pulumi_databricks/get_account_federation_policy.py +12 -27
  29. pulumi_databricks/get_account_network_policies.py +4 -0
  30. pulumi_databricks/get_account_network_policy.py +9 -18
  31. pulumi_databricks/get_account_setting_v2.py +36 -141
  32. pulumi_databricks/get_alert_v2.py +41 -107
  33. pulumi_databricks/get_alerts_v2.py +29 -31
  34. pulumi_databricks/get_app.py +21 -5
  35. pulumi_databricks/get_apps.py +22 -6
  36. pulumi_databricks/get_apps_settings_custom_template.py +11 -55
  37. pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
  38. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  39. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  40. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  41. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  42. pulumi_databricks/get_budget_policies.py +70 -6
  43. pulumi_databricks/get_budget_policy.py +9 -32
  44. pulumi_databricks/get_catalog.py +21 -4
  45. pulumi_databricks/get_catalogs.py +23 -4
  46. pulumi_databricks/get_cluster.py +75 -4
  47. pulumi_databricks/get_cluster_policy.py +23 -4
  48. pulumi_databricks/get_clusters.py +21 -4
  49. pulumi_databricks/get_current_config.py +4 -4
  50. pulumi_databricks/get_current_metastore.py +21 -4
  51. pulumi_databricks/get_dashboards.py +20 -4
  52. pulumi_databricks/get_data_quality_monitor.py +210 -0
  53. pulumi_databricks/get_data_quality_monitors.py +143 -0
  54. pulumi_databricks/get_data_quality_refresh.py +270 -0
  55. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  56. pulumi_databricks/get_database_database_catalog.py +10 -41
  57. pulumi_databricks/get_database_database_catalogs.py +37 -18
  58. pulumi_databricks/get_database_instance.py +93 -99
  59. pulumi_databricks/get_database_instances.py +20 -16
  60. pulumi_databricks/get_database_synced_database_table.py +11 -49
  61. pulumi_databricks/get_database_synced_database_tables.py +42 -23
  62. pulumi_databricks/get_directory.py +20 -1
  63. pulumi_databricks/get_entity_tag_assignment.py +63 -30
  64. pulumi_databricks/get_entity_tag_assignments.py +69 -23
  65. pulumi_databricks/get_external_location.py +21 -4
  66. pulumi_databricks/get_external_locations.py +23 -4
  67. pulumi_databricks/get_external_metadata.py +18 -73
  68. pulumi_databricks/get_external_metadatas.py +22 -16
  69. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  70. pulumi_databricks/get_feature_engineering_features.py +103 -0
  71. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  72. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  73. pulumi_databricks/get_functions.py +16 -1
  74. pulumi_databricks/get_instance_profiles.py +21 -4
  75. pulumi_databricks/get_jobs.py +23 -4
  76. pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
  77. pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
  78. pulumi_databricks/get_metastore.py +6 -6
  79. pulumi_databricks/get_mlflow_experiment.py +18 -1
  80. pulumi_databricks/get_mlflow_model.py +18 -1
  81. pulumi_databricks/get_mlflow_models.py +23 -4
  82. pulumi_databricks/get_node_type.py +42 -5
  83. pulumi_databricks/get_notebook.py +20 -1
  84. pulumi_databricks/get_notification_destinations.py +17 -1
  85. pulumi_databricks/get_online_store.py +11 -38
  86. pulumi_databricks/get_online_stores.py +20 -18
  87. pulumi_databricks/get_pipelines.py +23 -4
  88. pulumi_databricks/get_policy_info.py +21 -109
  89. pulumi_databricks/get_policy_infos.py +50 -25
  90. pulumi_databricks/get_quality_monitor_v2.py +8 -21
  91. pulumi_databricks/get_quality_monitors_v2.py +23 -25
  92. pulumi_databricks/get_registered_model.py +19 -4
  93. pulumi_databricks/get_registered_model_versions.py +19 -4
  94. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  95. pulumi_databricks/get_schema.py +18 -1
  96. pulumi_databricks/get_schemas.py +23 -4
  97. pulumi_databricks/get_service_principal_federation_policies.py +23 -4
  98. pulumi_databricks/get_service_principal_federation_policy.py +15 -24
  99. pulumi_databricks/get_service_principals.py +64 -0
  100. pulumi_databricks/get_serving_endpoints.py +19 -4
  101. pulumi_databricks/get_share.py +117 -18
  102. pulumi_databricks/get_shares.py +22 -3
  103. pulumi_databricks/get_spark_version.py +20 -1
  104. pulumi_databricks/get_sql_warehouse.py +16 -1
  105. pulumi_databricks/get_sql_warehouses.py +20 -1
  106. pulumi_databricks/get_storage_credential.py +18 -1
  107. pulumi_databricks/get_storage_credentials.py +23 -4
  108. pulumi_databricks/get_table.py +18 -1
  109. pulumi_databricks/get_tables.py +20 -1
  110. pulumi_databricks/get_tag_policies.py +55 -23
  111. pulumi_databricks/get_tag_policy.py +60 -40
  112. pulumi_databricks/get_views.py +20 -1
  113. pulumi_databricks/get_volume.py +18 -1
  114. pulumi_databricks/get_volumes.py +20 -1
  115. pulumi_databricks/get_workspace_network_option.py +8 -16
  116. pulumi_databricks/get_workspace_setting_v2.py +41 -163
  117. pulumi_databricks/get_zones.py +20 -1
  118. pulumi_databricks/git_credential.py +54 -7
  119. pulumi_databricks/group.py +21 -21
  120. pulumi_databricks/instance_profile.py +0 -182
  121. pulumi_databricks/job.py +47 -0
  122. pulumi_databricks/library.py +165 -0
  123. pulumi_databricks/materialized_features_feature_tag.py +9 -52
  124. pulumi_databricks/metastore.py +81 -7
  125. pulumi_databricks/metastore_data_access.py +48 -0
  126. pulumi_databricks/mlflow_webhook.py +4 -4
  127. pulumi_databricks/mws_credentials.py +10 -10
  128. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  129. pulumi_databricks/mws_log_delivery.py +146 -0
  130. pulumi_databricks/mws_storage_configurations.py +16 -16
  131. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  132. pulumi_databricks/mws_workspaces.py +146 -65
  133. pulumi_databricks/notebook.py +49 -0
  134. pulumi_databricks/online_store.py +9 -52
  135. pulumi_databricks/outputs.py +11885 -13474
  136. pulumi_databricks/permission_assignment.py +299 -8
  137. pulumi_databricks/permissions.py +6 -6
  138. pulumi_databricks/pipeline.py +37 -3
  139. pulumi_databricks/policy_info.py +9 -52
  140. pulumi_databricks/provider.py +36 -1
  141. pulumi_databricks/pulumi-plugin.json +1 -1
  142. pulumi_databricks/quality_monitor.py +47 -0
  143. pulumi_databricks/quality_monitor_v2.py +9 -52
  144. pulumi_databricks/recipient.py +74 -0
  145. pulumi_databricks/registered_model.py +308 -36
  146. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  147. pulumi_databricks/schema.py +7 -7
  148. pulumi_databricks/service_principal_federation_policy.py +48 -16
  149. pulumi_databricks/share.py +71 -84
  150. pulumi_databricks/sql_table.py +42 -14
  151. pulumi_databricks/storage_credential.py +15 -2
  152. pulumi_databricks/tag_policy.py +111 -54
  153. pulumi_databricks/user.py +21 -21
  154. pulumi_databricks/volume.py +7 -7
  155. pulumi_databricks/workspace_binding.py +0 -48
  156. pulumi_databricks/workspace_network_option.py +6 -2
  157. pulumi_databricks/workspace_setting_v2.py +49 -133
  158. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
  159. pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
  160. pulumi_databricks/clean_room_asset.py +0 -938
  161. pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
  162. pulumi_databricks/clean_rooms_clean_room.py +0 -569
  163. pulumi_databricks/get_clean_room_asset.py +0 -416
  164. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
  165. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
  166. pulumi_databricks/get_clean_room_assets.py +0 -146
  167. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
  168. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
  169. pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
  170. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
  171. pulumi_databricks/get_recipient_federation_policies.py +0 -101
  172. pulumi_databricks/get_recipient_federation_policy.py +0 -182
  173. pulumi_databricks/recipient_federation_policy.py +0 -393
  174. pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
@@ -1,473 +0,0 @@
1
- # coding=utf-8
2
- # *** WARNING: this file was generated by pulumi-language-python. ***
3
- # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
-
5
- import builtins as _builtins
6
- import warnings
7
- import sys
8
- import pulumi
9
- import pulumi.runtime
10
- from typing import Any, Mapping, Optional, Sequence, Union, overload
11
- if sys.version_info >= (3, 11):
12
- from typing import NotRequired, TypedDict, TypeAlias
13
- else:
14
- from typing_extensions import NotRequired, TypedDict, TypeAlias
15
- from . import _utilities
16
-
17
- __all__ = ['CleanRoomAutoApprovalRuleArgs', 'CleanRoomAutoApprovalRule']
18
-
19
- @pulumi.input_type
20
- class CleanRoomAutoApprovalRuleArgs:
21
- def __init__(__self__, *,
22
- author_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
23
- author_scope: Optional[pulumi.Input[_builtins.str]] = None,
24
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
25
- runner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
26
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
27
- """
28
- The set of arguments for constructing a CleanRoomAutoApprovalRule resource.
29
- :param pulumi.Input[_builtins.str] author_collaborator_alias: Collaborator alias of the author covered by the rule.
30
- Only one of `author_collaborator_alias` and `author_scope` can be set
31
- :param pulumi.Input[_builtins.str] author_scope: Scope of authors covered by the rule.
32
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
33
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this auto-approval rule belongs to
34
- :param pulumi.Input[_builtins.str] runner_collaborator_alias: Collaborator alias of the runner covered by the rule
35
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
36
- """
37
- if author_collaborator_alias is not None:
38
- pulumi.set(__self__, "author_collaborator_alias", author_collaborator_alias)
39
- if author_scope is not None:
40
- pulumi.set(__self__, "author_scope", author_scope)
41
- if clean_room_name is not None:
42
- pulumi.set(__self__, "clean_room_name", clean_room_name)
43
- if runner_collaborator_alias is not None:
44
- pulumi.set(__self__, "runner_collaborator_alias", runner_collaborator_alias)
45
- if workspace_id is not None:
46
- pulumi.set(__self__, "workspace_id", workspace_id)
47
-
48
- @_builtins.property
49
- @pulumi.getter(name="authorCollaboratorAlias")
50
- def author_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
51
- """
52
- Collaborator alias of the author covered by the rule.
53
- Only one of `author_collaborator_alias` and `author_scope` can be set
54
- """
55
- return pulumi.get(self, "author_collaborator_alias")
56
-
57
- @author_collaborator_alias.setter
58
- def author_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
59
- pulumi.set(self, "author_collaborator_alias", value)
60
-
61
- @_builtins.property
62
- @pulumi.getter(name="authorScope")
63
- def author_scope(self) -> Optional[pulumi.Input[_builtins.str]]:
64
- """
65
- Scope of authors covered by the rule.
66
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
67
- """
68
- return pulumi.get(self, "author_scope")
69
-
70
- @author_scope.setter
71
- def author_scope(self, value: Optional[pulumi.Input[_builtins.str]]):
72
- pulumi.set(self, "author_scope", value)
73
-
74
- @_builtins.property
75
- @pulumi.getter(name="cleanRoomName")
76
- def clean_room_name(self) -> Optional[pulumi.Input[_builtins.str]]:
77
- """
78
- The name of the clean room this auto-approval rule belongs to
79
- """
80
- return pulumi.get(self, "clean_room_name")
81
-
82
- @clean_room_name.setter
83
- def clean_room_name(self, value: Optional[pulumi.Input[_builtins.str]]):
84
- pulumi.set(self, "clean_room_name", value)
85
-
86
- @_builtins.property
87
- @pulumi.getter(name="runnerCollaboratorAlias")
88
- def runner_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
89
- """
90
- Collaborator alias of the runner covered by the rule
91
- """
92
- return pulumi.get(self, "runner_collaborator_alias")
93
-
94
- @runner_collaborator_alias.setter
95
- def runner_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
96
- pulumi.set(self, "runner_collaborator_alias", value)
97
-
98
- @_builtins.property
99
- @pulumi.getter(name="workspaceId")
100
- def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
101
- """
102
- Workspace ID of the resource
103
- """
104
- return pulumi.get(self, "workspace_id")
105
-
106
- @workspace_id.setter
107
- def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
108
- pulumi.set(self, "workspace_id", value)
109
-
110
-
111
- @pulumi.input_type
112
- class _CleanRoomAutoApprovalRuleState:
113
- def __init__(__self__, *,
114
- author_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
115
- author_scope: Optional[pulumi.Input[_builtins.str]] = None,
116
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
117
- created_at: Optional[pulumi.Input[_builtins.int]] = None,
118
- rule_id: Optional[pulumi.Input[_builtins.str]] = None,
119
- rule_owner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
120
- runner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
121
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
122
- """
123
- Input properties used for looking up and filtering CleanRoomAutoApprovalRule resources.
124
- :param pulumi.Input[_builtins.str] author_collaborator_alias: Collaborator alias of the author covered by the rule.
125
- Only one of `author_collaborator_alias` and `author_scope` can be set
126
- :param pulumi.Input[_builtins.str] author_scope: Scope of authors covered by the rule.
127
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
128
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this auto-approval rule belongs to
129
- :param pulumi.Input[_builtins.int] created_at: (integer) - Timestamp of when the rule was created, in epoch milliseconds
130
- :param pulumi.Input[_builtins.str] rule_id: (string) - A generated UUID identifying the rule
131
- :param pulumi.Input[_builtins.str] rule_owner_collaborator_alias: (string) - The owner of the rule to whom the rule applies
132
- :param pulumi.Input[_builtins.str] runner_collaborator_alias: Collaborator alias of the runner covered by the rule
133
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
134
- """
135
- if author_collaborator_alias is not None:
136
- pulumi.set(__self__, "author_collaborator_alias", author_collaborator_alias)
137
- if author_scope is not None:
138
- pulumi.set(__self__, "author_scope", author_scope)
139
- if clean_room_name is not None:
140
- pulumi.set(__self__, "clean_room_name", clean_room_name)
141
- if created_at is not None:
142
- pulumi.set(__self__, "created_at", created_at)
143
- if rule_id is not None:
144
- pulumi.set(__self__, "rule_id", rule_id)
145
- if rule_owner_collaborator_alias is not None:
146
- pulumi.set(__self__, "rule_owner_collaborator_alias", rule_owner_collaborator_alias)
147
- if runner_collaborator_alias is not None:
148
- pulumi.set(__self__, "runner_collaborator_alias", runner_collaborator_alias)
149
- if workspace_id is not None:
150
- pulumi.set(__self__, "workspace_id", workspace_id)
151
-
152
- @_builtins.property
153
- @pulumi.getter(name="authorCollaboratorAlias")
154
- def author_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
155
- """
156
- Collaborator alias of the author covered by the rule.
157
- Only one of `author_collaborator_alias` and `author_scope` can be set
158
- """
159
- return pulumi.get(self, "author_collaborator_alias")
160
-
161
- @author_collaborator_alias.setter
162
- def author_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
163
- pulumi.set(self, "author_collaborator_alias", value)
164
-
165
- @_builtins.property
166
- @pulumi.getter(name="authorScope")
167
- def author_scope(self) -> Optional[pulumi.Input[_builtins.str]]:
168
- """
169
- Scope of authors covered by the rule.
170
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
171
- """
172
- return pulumi.get(self, "author_scope")
173
-
174
- @author_scope.setter
175
- def author_scope(self, value: Optional[pulumi.Input[_builtins.str]]):
176
- pulumi.set(self, "author_scope", value)
177
-
178
- @_builtins.property
179
- @pulumi.getter(name="cleanRoomName")
180
- def clean_room_name(self) -> Optional[pulumi.Input[_builtins.str]]:
181
- """
182
- The name of the clean room this auto-approval rule belongs to
183
- """
184
- return pulumi.get(self, "clean_room_name")
185
-
186
- @clean_room_name.setter
187
- def clean_room_name(self, value: Optional[pulumi.Input[_builtins.str]]):
188
- pulumi.set(self, "clean_room_name", value)
189
-
190
- @_builtins.property
191
- @pulumi.getter(name="createdAt")
192
- def created_at(self) -> Optional[pulumi.Input[_builtins.int]]:
193
- """
194
- (integer) - Timestamp of when the rule was created, in epoch milliseconds
195
- """
196
- return pulumi.get(self, "created_at")
197
-
198
- @created_at.setter
199
- def created_at(self, value: Optional[pulumi.Input[_builtins.int]]):
200
- pulumi.set(self, "created_at", value)
201
-
202
- @_builtins.property
203
- @pulumi.getter(name="ruleId")
204
- def rule_id(self) -> Optional[pulumi.Input[_builtins.str]]:
205
- """
206
- (string) - A generated UUID identifying the rule
207
- """
208
- return pulumi.get(self, "rule_id")
209
-
210
- @rule_id.setter
211
- def rule_id(self, value: Optional[pulumi.Input[_builtins.str]]):
212
- pulumi.set(self, "rule_id", value)
213
-
214
- @_builtins.property
215
- @pulumi.getter(name="ruleOwnerCollaboratorAlias")
216
- def rule_owner_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
217
- """
218
- (string) - The owner of the rule to whom the rule applies
219
- """
220
- return pulumi.get(self, "rule_owner_collaborator_alias")
221
-
222
- @rule_owner_collaborator_alias.setter
223
- def rule_owner_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
224
- pulumi.set(self, "rule_owner_collaborator_alias", value)
225
-
226
- @_builtins.property
227
- @pulumi.getter(name="runnerCollaboratorAlias")
228
- def runner_collaborator_alias(self) -> Optional[pulumi.Input[_builtins.str]]:
229
- """
230
- Collaborator alias of the runner covered by the rule
231
- """
232
- return pulumi.get(self, "runner_collaborator_alias")
233
-
234
- @runner_collaborator_alias.setter
235
- def runner_collaborator_alias(self, value: Optional[pulumi.Input[_builtins.str]]):
236
- pulumi.set(self, "runner_collaborator_alias", value)
237
-
238
- @_builtins.property
239
- @pulumi.getter(name="workspaceId")
240
- def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
241
- """
242
- Workspace ID of the resource
243
- """
244
- return pulumi.get(self, "workspace_id")
245
-
246
- @workspace_id.setter
247
- def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
248
- pulumi.set(self, "workspace_id", value)
249
-
250
-
251
- @pulumi.type_token("databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule")
252
- class CleanRoomAutoApprovalRule(pulumi.CustomResource):
253
- @overload
254
- def __init__(__self__,
255
- resource_name: str,
256
- opts: Optional[pulumi.ResourceOptions] = None,
257
- author_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
258
- author_scope: Optional[pulumi.Input[_builtins.str]] = None,
259
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
260
- runner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
261
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
262
- __props__=None):
263
- """
264
- ## Import
265
-
266
- As of Pulumi v1.5, resources can be imported through configuration.
267
-
268
- hcl
269
-
270
- import {
271
-
272
- id = "rule_id"
273
-
274
- to = databricks_clean_room_auto_approval_rule.this
275
-
276
- }
277
-
278
- If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
279
-
280
- ```sh
281
- $ pulumi import databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule databricks_clean_room_auto_approval_rule "rule_id"
282
- ```
283
-
284
- :param str resource_name: The name of the resource.
285
- :param pulumi.ResourceOptions opts: Options for the resource.
286
- :param pulumi.Input[_builtins.str] author_collaborator_alias: Collaborator alias of the author covered by the rule.
287
- Only one of `author_collaborator_alias` and `author_scope` can be set
288
- :param pulumi.Input[_builtins.str] author_scope: Scope of authors covered by the rule.
289
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
290
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this auto-approval rule belongs to
291
- :param pulumi.Input[_builtins.str] runner_collaborator_alias: Collaborator alias of the runner covered by the rule
292
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
293
- """
294
- ...
295
- @overload
296
- def __init__(__self__,
297
- resource_name: str,
298
- args: Optional[CleanRoomAutoApprovalRuleArgs] = None,
299
- opts: Optional[pulumi.ResourceOptions] = None):
300
- """
301
- ## Import
302
-
303
- As of Pulumi v1.5, resources can be imported through configuration.
304
-
305
- hcl
306
-
307
- import {
308
-
309
- id = "rule_id"
310
-
311
- to = databricks_clean_room_auto_approval_rule.this
312
-
313
- }
314
-
315
- If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
316
-
317
- ```sh
318
- $ pulumi import databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule databricks_clean_room_auto_approval_rule "rule_id"
319
- ```
320
-
321
- :param str resource_name: The name of the resource.
322
- :param CleanRoomAutoApprovalRuleArgs args: The arguments to use to populate this resource's properties.
323
- :param pulumi.ResourceOptions opts: Options for the resource.
324
- """
325
- ...
326
- def __init__(__self__, resource_name: str, *args, **kwargs):
327
- resource_args, opts = _utilities.get_resource_args_opts(CleanRoomAutoApprovalRuleArgs, pulumi.ResourceOptions, *args, **kwargs)
328
- if resource_args is not None:
329
- __self__._internal_init(resource_name, opts, **resource_args.__dict__)
330
- else:
331
- __self__._internal_init(resource_name, *args, **kwargs)
332
-
333
- def _internal_init(__self__,
334
- resource_name: str,
335
- opts: Optional[pulumi.ResourceOptions] = None,
336
- author_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
337
- author_scope: Optional[pulumi.Input[_builtins.str]] = None,
338
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
339
- runner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
340
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
341
- __props__=None):
342
- opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
343
- if not isinstance(opts, pulumi.ResourceOptions):
344
- raise TypeError('Expected resource options to be a ResourceOptions instance')
345
- if opts.id is None:
346
- if __props__ is not None:
347
- raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
348
- __props__ = CleanRoomAutoApprovalRuleArgs.__new__(CleanRoomAutoApprovalRuleArgs)
349
-
350
- __props__.__dict__["author_collaborator_alias"] = author_collaborator_alias
351
- __props__.__dict__["author_scope"] = author_scope
352
- __props__.__dict__["clean_room_name"] = clean_room_name
353
- __props__.__dict__["runner_collaborator_alias"] = runner_collaborator_alias
354
- __props__.__dict__["workspace_id"] = workspace_id
355
- __props__.__dict__["created_at"] = None
356
- __props__.__dict__["rule_id"] = None
357
- __props__.__dict__["rule_owner_collaborator_alias"] = None
358
- super(CleanRoomAutoApprovalRule, __self__).__init__(
359
- 'databricks:index/cleanRoomAutoApprovalRule:CleanRoomAutoApprovalRule',
360
- resource_name,
361
- __props__,
362
- opts)
363
-
364
- @staticmethod
365
- def get(resource_name: str,
366
- id: pulumi.Input[str],
367
- opts: Optional[pulumi.ResourceOptions] = None,
368
- author_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
369
- author_scope: Optional[pulumi.Input[_builtins.str]] = None,
370
- clean_room_name: Optional[pulumi.Input[_builtins.str]] = None,
371
- created_at: Optional[pulumi.Input[_builtins.int]] = None,
372
- rule_id: Optional[pulumi.Input[_builtins.str]] = None,
373
- rule_owner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
374
- runner_collaborator_alias: Optional[pulumi.Input[_builtins.str]] = None,
375
- workspace_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'CleanRoomAutoApprovalRule':
376
- """
377
- Get an existing CleanRoomAutoApprovalRule resource's state with the given name, id, and optional extra
378
- properties used to qualify the lookup.
379
-
380
- :param str resource_name: The unique name of the resulting resource.
381
- :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
382
- :param pulumi.ResourceOptions opts: Options for the resource.
383
- :param pulumi.Input[_builtins.str] author_collaborator_alias: Collaborator alias of the author covered by the rule.
384
- Only one of `author_collaborator_alias` and `author_scope` can be set
385
- :param pulumi.Input[_builtins.str] author_scope: Scope of authors covered by the rule.
386
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
387
- :param pulumi.Input[_builtins.str] clean_room_name: The name of the clean room this auto-approval rule belongs to
388
- :param pulumi.Input[_builtins.int] created_at: (integer) - Timestamp of when the rule was created, in epoch milliseconds
389
- :param pulumi.Input[_builtins.str] rule_id: (string) - A generated UUID identifying the rule
390
- :param pulumi.Input[_builtins.str] rule_owner_collaborator_alias: (string) - The owner of the rule to whom the rule applies
391
- :param pulumi.Input[_builtins.str] runner_collaborator_alias: Collaborator alias of the runner covered by the rule
392
- :param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
393
- """
394
- opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
395
-
396
- __props__ = _CleanRoomAutoApprovalRuleState.__new__(_CleanRoomAutoApprovalRuleState)
397
-
398
- __props__.__dict__["author_collaborator_alias"] = author_collaborator_alias
399
- __props__.__dict__["author_scope"] = author_scope
400
- __props__.__dict__["clean_room_name"] = clean_room_name
401
- __props__.__dict__["created_at"] = created_at
402
- __props__.__dict__["rule_id"] = rule_id
403
- __props__.__dict__["rule_owner_collaborator_alias"] = rule_owner_collaborator_alias
404
- __props__.__dict__["runner_collaborator_alias"] = runner_collaborator_alias
405
- __props__.__dict__["workspace_id"] = workspace_id
406
- return CleanRoomAutoApprovalRule(resource_name, opts=opts, __props__=__props__)
407
-
408
- @_builtins.property
409
- @pulumi.getter(name="authorCollaboratorAlias")
410
- def author_collaborator_alias(self) -> pulumi.Output[Optional[_builtins.str]]:
411
- """
412
- Collaborator alias of the author covered by the rule.
413
- Only one of `author_collaborator_alias` and `author_scope` can be set
414
- """
415
- return pulumi.get(self, "author_collaborator_alias")
416
-
417
- @_builtins.property
418
- @pulumi.getter(name="authorScope")
419
- def author_scope(self) -> pulumi.Output[Optional[_builtins.str]]:
420
- """
421
- Scope of authors covered by the rule.
422
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
423
- """
424
- return pulumi.get(self, "author_scope")
425
-
426
- @_builtins.property
427
- @pulumi.getter(name="cleanRoomName")
428
- def clean_room_name(self) -> pulumi.Output[Optional[_builtins.str]]:
429
- """
430
- The name of the clean room this auto-approval rule belongs to
431
- """
432
- return pulumi.get(self, "clean_room_name")
433
-
434
- @_builtins.property
435
- @pulumi.getter(name="createdAt")
436
- def created_at(self) -> pulumi.Output[_builtins.int]:
437
- """
438
- (integer) - Timestamp of when the rule was created, in epoch milliseconds
439
- """
440
- return pulumi.get(self, "created_at")
441
-
442
- @_builtins.property
443
- @pulumi.getter(name="ruleId")
444
- def rule_id(self) -> pulumi.Output[_builtins.str]:
445
- """
446
- (string) - A generated UUID identifying the rule
447
- """
448
- return pulumi.get(self, "rule_id")
449
-
450
- @_builtins.property
451
- @pulumi.getter(name="ruleOwnerCollaboratorAlias")
452
- def rule_owner_collaborator_alias(self) -> pulumi.Output[_builtins.str]:
453
- """
454
- (string) - The owner of the rule to whom the rule applies
455
- """
456
- return pulumi.get(self, "rule_owner_collaborator_alias")
457
-
458
- @_builtins.property
459
- @pulumi.getter(name="runnerCollaboratorAlias")
460
- def runner_collaborator_alias(self) -> pulumi.Output[Optional[_builtins.str]]:
461
- """
462
- Collaborator alias of the runner covered by the rule
463
- """
464
- return pulumi.get(self, "runner_collaborator_alias")
465
-
466
- @_builtins.property
467
- @pulumi.getter(name="workspaceId")
468
- def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
469
- """
470
- Workspace ID of the resource
471
- """
472
- return pulumi.get(self, "workspace_id")
473
-