pulumi-databricks 1.77.0a1761975834__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.0a1761975834.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.0a1761975834.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
@@ -1,217 +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__ = [
18
- 'GetCleanRoomAutoApprovalRuleResult',
19
- 'AwaitableGetCleanRoomAutoApprovalRuleResult',
20
- 'get_clean_room_auto_approval_rule',
21
- 'get_clean_room_auto_approval_rule_output',
22
- ]
23
-
24
- @pulumi.output_type
25
- class GetCleanRoomAutoApprovalRuleResult:
26
- """
27
- A collection of values returned by getCleanRoomAutoApprovalRule.
28
- """
29
- def __init__(__self__, author_collaborator_alias=None, author_scope=None, clean_room_name=None, created_at=None, id=None, rule_id=None, rule_owner_collaborator_alias=None, runner_collaborator_alias=None, workspace_id=None):
30
- if author_collaborator_alias and not isinstance(author_collaborator_alias, str):
31
- raise TypeError("Expected argument 'author_collaborator_alias' to be a str")
32
- pulumi.set(__self__, "author_collaborator_alias", author_collaborator_alias)
33
- if author_scope and not isinstance(author_scope, str):
34
- raise TypeError("Expected argument 'author_scope' to be a str")
35
- pulumi.set(__self__, "author_scope", author_scope)
36
- if clean_room_name and not isinstance(clean_room_name, str):
37
- raise TypeError("Expected argument 'clean_room_name' to be a str")
38
- pulumi.set(__self__, "clean_room_name", clean_room_name)
39
- if created_at and not isinstance(created_at, int):
40
- raise TypeError("Expected argument 'created_at' to be a int")
41
- pulumi.set(__self__, "created_at", created_at)
42
- if id and not isinstance(id, str):
43
- raise TypeError("Expected argument 'id' to be a str")
44
- pulumi.set(__self__, "id", id)
45
- if rule_id and not isinstance(rule_id, str):
46
- raise TypeError("Expected argument 'rule_id' to be a str")
47
- pulumi.set(__self__, "rule_id", rule_id)
48
- if rule_owner_collaborator_alias and not isinstance(rule_owner_collaborator_alias, str):
49
- raise TypeError("Expected argument 'rule_owner_collaborator_alias' to be a str")
50
- pulumi.set(__self__, "rule_owner_collaborator_alias", rule_owner_collaborator_alias)
51
- if runner_collaborator_alias and not isinstance(runner_collaborator_alias, str):
52
- raise TypeError("Expected argument 'runner_collaborator_alias' to be a str")
53
- pulumi.set(__self__, "runner_collaborator_alias", runner_collaborator_alias)
54
- if workspace_id and not isinstance(workspace_id, str):
55
- raise TypeError("Expected argument 'workspace_id' to be a str")
56
- pulumi.set(__self__, "workspace_id", workspace_id)
57
-
58
- @_builtins.property
59
- @pulumi.getter(name="authorCollaboratorAlias")
60
- def author_collaborator_alias(self) -> Optional[_builtins.str]:
61
- """
62
- (string) - Collaborator alias of the author covered by the rule.
63
- Only one of `author_collaborator_alias` and `author_scope` can be set
64
- """
65
- return pulumi.get(self, "author_collaborator_alias")
66
-
67
- @_builtins.property
68
- @pulumi.getter(name="authorScope")
69
- def author_scope(self) -> Optional[_builtins.str]:
70
- """
71
- (string) - Scope of authors covered by the rule.
72
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
73
- """
74
- return pulumi.get(self, "author_scope")
75
-
76
- @_builtins.property
77
- @pulumi.getter(name="cleanRoomName")
78
- def clean_room_name(self) -> Optional[_builtins.str]:
79
- """
80
- (string) - The name of the clean room this auto-approval rule belongs to
81
- """
82
- return pulumi.get(self, "clean_room_name")
83
-
84
- @_builtins.property
85
- @pulumi.getter(name="createdAt")
86
- def created_at(self) -> _builtins.int:
87
- """
88
- (integer) - Timestamp of when the rule was created, in epoch milliseconds
89
- """
90
- return pulumi.get(self, "created_at")
91
-
92
- @_builtins.property
93
- @pulumi.getter
94
- def id(self) -> _builtins.str:
95
- """
96
- The provider-assigned unique ID for this managed resource.
97
- """
98
- return pulumi.get(self, "id")
99
-
100
- @_builtins.property
101
- @pulumi.getter(name="ruleId")
102
- def rule_id(self) -> _builtins.str:
103
- """
104
- (string) - A generated UUID identifying the rule
105
- """
106
- return pulumi.get(self, "rule_id")
107
-
108
- @_builtins.property
109
- @pulumi.getter(name="ruleOwnerCollaboratorAlias")
110
- def rule_owner_collaborator_alias(self) -> _builtins.str:
111
- """
112
- (string) - The owner of the rule to whom the rule applies
113
- """
114
- return pulumi.get(self, "rule_owner_collaborator_alias")
115
-
116
- @_builtins.property
117
- @pulumi.getter(name="runnerCollaboratorAlias")
118
- def runner_collaborator_alias(self) -> Optional[_builtins.str]:
119
- """
120
- (string) - Collaborator alias of the runner covered by the rule
121
- """
122
- return pulumi.get(self, "runner_collaborator_alias")
123
-
124
- @_builtins.property
125
- @pulumi.getter(name="workspaceId")
126
- def workspace_id(self) -> Optional[_builtins.str]:
127
- return pulumi.get(self, "workspace_id")
128
-
129
-
130
- class AwaitableGetCleanRoomAutoApprovalRuleResult(GetCleanRoomAutoApprovalRuleResult):
131
- # pylint: disable=using-constant-test
132
- def __await__(self):
133
- if False:
134
- yield self
135
- return GetCleanRoomAutoApprovalRuleResult(
136
- author_collaborator_alias=self.author_collaborator_alias,
137
- author_scope=self.author_scope,
138
- clean_room_name=self.clean_room_name,
139
- created_at=self.created_at,
140
- id=self.id,
141
- rule_id=self.rule_id,
142
- rule_owner_collaborator_alias=self.rule_owner_collaborator_alias,
143
- runner_collaborator_alias=self.runner_collaborator_alias,
144
- workspace_id=self.workspace_id)
145
-
146
-
147
- def get_clean_room_auto_approval_rule(author_collaborator_alias: Optional[_builtins.str] = None,
148
- author_scope: Optional[_builtins.str] = None,
149
- clean_room_name: Optional[_builtins.str] = None,
150
- runner_collaborator_alias: Optional[_builtins.str] = None,
151
- workspace_id: Optional[_builtins.str] = None,
152
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomAutoApprovalRuleResult:
153
- """
154
- Use this data source to access information about an existing resource.
155
-
156
- :param _builtins.str author_collaborator_alias: (string) - Collaborator alias of the author covered by the rule.
157
- Only one of `author_collaborator_alias` and `author_scope` can be set
158
- :param _builtins.str author_scope: (string) - Scope of authors covered by the rule.
159
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
160
- :param _builtins.str clean_room_name: (string) - The name of the clean room this auto-approval rule belongs to
161
- :param _builtins.str runner_collaborator_alias: (string) - Collaborator alias of the runner covered by the rule
162
- :param _builtins.str workspace_id: Workspace ID of the resource
163
- """
164
- __args__ = dict()
165
- __args__['authorCollaboratorAlias'] = author_collaborator_alias
166
- __args__['authorScope'] = author_scope
167
- __args__['cleanRoomName'] = clean_room_name
168
- __args__['runnerCollaboratorAlias'] = runner_collaborator_alias
169
- __args__['workspaceId'] = workspace_id
170
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomAutoApprovalRule:getCleanRoomAutoApprovalRule', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRuleResult).value
172
-
173
- return AwaitableGetCleanRoomAutoApprovalRuleResult(
174
- author_collaborator_alias=pulumi.get(__ret__, 'author_collaborator_alias'),
175
- author_scope=pulumi.get(__ret__, 'author_scope'),
176
- clean_room_name=pulumi.get(__ret__, 'clean_room_name'),
177
- created_at=pulumi.get(__ret__, 'created_at'),
178
- id=pulumi.get(__ret__, 'id'),
179
- rule_id=pulumi.get(__ret__, 'rule_id'),
180
- rule_owner_collaborator_alias=pulumi.get(__ret__, 'rule_owner_collaborator_alias'),
181
- runner_collaborator_alias=pulumi.get(__ret__, 'runner_collaborator_alias'),
182
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
183
- def get_clean_room_auto_approval_rule_output(author_collaborator_alias: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
184
- author_scope: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
185
- clean_room_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
186
- runner_collaborator_alias: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
187
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
188
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomAutoApprovalRuleResult]:
189
- """
190
- Use this data source to access information about an existing resource.
191
-
192
- :param _builtins.str author_collaborator_alias: (string) - Collaborator alias of the author covered by the rule.
193
- Only one of `author_collaborator_alias` and `author_scope` can be set
194
- :param _builtins.str author_scope: (string) - Scope of authors covered by the rule.
195
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
196
- :param _builtins.str clean_room_name: (string) - The name of the clean room this auto-approval rule belongs to
197
- :param _builtins.str runner_collaborator_alias: (string) - Collaborator alias of the runner covered by the rule
198
- :param _builtins.str workspace_id: Workspace ID of the resource
199
- """
200
- __args__ = dict()
201
- __args__['authorCollaboratorAlias'] = author_collaborator_alias
202
- __args__['authorScope'] = author_scope
203
- __args__['cleanRoomName'] = clean_room_name
204
- __args__['runnerCollaboratorAlias'] = runner_collaborator_alias
205
- __args__['workspaceId'] = workspace_id
206
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
207
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomAutoApprovalRule:getCleanRoomAutoApprovalRule', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRuleResult)
208
- return __ret__.apply(lambda __response__: GetCleanRoomAutoApprovalRuleResult(
209
- author_collaborator_alias=pulumi.get(__response__, 'author_collaborator_alias'),
210
- author_scope=pulumi.get(__response__, 'author_scope'),
211
- clean_room_name=pulumi.get(__response__, 'clean_room_name'),
212
- created_at=pulumi.get(__response__, 'created_at'),
213
- id=pulumi.get(__response__, 'id'),
214
- rule_id=pulumi.get(__response__, 'rule_id'),
215
- rule_owner_collaborator_alias=pulumi.get(__response__, 'rule_owner_collaborator_alias'),
216
- runner_collaborator_alias=pulumi.get(__response__, 'runner_collaborator_alias'),
217
- workspace_id=pulumi.get(__response__, 'workspace_id')))
@@ -1,101 +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
- from . import outputs
17
-
18
- __all__ = [
19
- 'GetCleanRoomAutoApprovalRulesResult',
20
- 'AwaitableGetCleanRoomAutoApprovalRulesResult',
21
- 'get_clean_room_auto_approval_rules',
22
- 'get_clean_room_auto_approval_rules_output',
23
- ]
24
-
25
- @pulumi.output_type
26
- class GetCleanRoomAutoApprovalRulesResult:
27
- """
28
- A collection of values returned by getCleanRoomAutoApprovalRules.
29
- """
30
- def __init__(__self__, id=None, rules=None, workspace_id=None):
31
- if id and not isinstance(id, str):
32
- raise TypeError("Expected argument 'id' to be a str")
33
- pulumi.set(__self__, "id", id)
34
- if rules and not isinstance(rules, list):
35
- raise TypeError("Expected argument 'rules' to be a list")
36
- pulumi.set(__self__, "rules", rules)
37
- if workspace_id and not isinstance(workspace_id, str):
38
- raise TypeError("Expected argument 'workspace_id' to be a str")
39
- pulumi.set(__self__, "workspace_id", workspace_id)
40
-
41
- @_builtins.property
42
- @pulumi.getter
43
- def id(self) -> _builtins.str:
44
- """
45
- The provider-assigned unique ID for this managed resource.
46
- """
47
- return pulumi.get(self, "id")
48
-
49
- @_builtins.property
50
- @pulumi.getter
51
- def rules(self) -> Sequence['outputs.GetCleanRoomAutoApprovalRulesRuleResult']:
52
- return pulumi.get(self, "rules")
53
-
54
- @_builtins.property
55
- @pulumi.getter(name="workspaceId")
56
- def workspace_id(self) -> Optional[_builtins.str]:
57
- return pulumi.get(self, "workspace_id")
58
-
59
-
60
- class AwaitableGetCleanRoomAutoApprovalRulesResult(GetCleanRoomAutoApprovalRulesResult):
61
- # pylint: disable=using-constant-test
62
- def __await__(self):
63
- if False:
64
- yield self
65
- return GetCleanRoomAutoApprovalRulesResult(
66
- id=self.id,
67
- rules=self.rules,
68
- workspace_id=self.workspace_id)
69
-
70
-
71
- def get_clean_room_auto_approval_rules(workspace_id: Optional[_builtins.str] = None,
72
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomAutoApprovalRulesResult:
73
- """
74
- Use this data source to access information about an existing resource.
75
-
76
- :param _builtins.str workspace_id: Workspace ID of the resource
77
- """
78
- __args__ = dict()
79
- __args__['workspaceId'] = workspace_id
80
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
81
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomAutoApprovalRules:getCleanRoomAutoApprovalRules', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRulesResult).value
82
-
83
- return AwaitableGetCleanRoomAutoApprovalRulesResult(
84
- id=pulumi.get(__ret__, 'id'),
85
- rules=pulumi.get(__ret__, 'rules'),
86
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
87
- def get_clean_room_auto_approval_rules_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
88
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomAutoApprovalRulesResult]:
89
- """
90
- Use this data source to access information about an existing resource.
91
-
92
- :param _builtins.str workspace_id: Workspace ID of the resource
93
- """
94
- __args__ = dict()
95
- __args__['workspaceId'] = workspace_id
96
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomAutoApprovalRules:getCleanRoomAutoApprovalRules', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRulesResult)
98
- return __ret__.apply(lambda __response__: GetCleanRoomAutoApprovalRulesResult(
99
- id=pulumi.get(__response__, 'id'),
100
- rules=pulumi.get(__response__, 'rules'),
101
- workspace_id=pulumi.get(__response__, 'workspace_id')))
@@ -1,289 +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
- from . import outputs
17
- from ._inputs import *
18
-
19
- __all__ = [
20
- 'GetCleanRoomsCleanRoomResult',
21
- 'AwaitableGetCleanRoomsCleanRoomResult',
22
- 'get_clean_rooms_clean_room',
23
- 'get_clean_rooms_clean_room_output',
24
- ]
25
-
26
- @pulumi.output_type
27
- class GetCleanRoomsCleanRoomResult:
28
- """
29
- A collection of values returned by getCleanRoomsCleanRoom.
30
- """
31
- def __init__(__self__, access_restricted=None, comment=None, created_at=None, id=None, local_collaborator_alias=None, name=None, output_catalog=None, owner=None, remote_detailed_info=None, status=None, updated_at=None, workspace_id=None):
32
- if access_restricted and not isinstance(access_restricted, str):
33
- raise TypeError("Expected argument 'access_restricted' to be a str")
34
- pulumi.set(__self__, "access_restricted", access_restricted)
35
- if comment and not isinstance(comment, str):
36
- raise TypeError("Expected argument 'comment' to be a str")
37
- pulumi.set(__self__, "comment", comment)
38
- if created_at and not isinstance(created_at, int):
39
- raise TypeError("Expected argument 'created_at' to be a int")
40
- pulumi.set(__self__, "created_at", created_at)
41
- if id and not isinstance(id, str):
42
- raise TypeError("Expected argument 'id' to be a str")
43
- pulumi.set(__self__, "id", id)
44
- if local_collaborator_alias and not isinstance(local_collaborator_alias, str):
45
- raise TypeError("Expected argument 'local_collaborator_alias' to be a str")
46
- pulumi.set(__self__, "local_collaborator_alias", local_collaborator_alias)
47
- if name and not isinstance(name, str):
48
- raise TypeError("Expected argument 'name' to be a str")
49
- pulumi.set(__self__, "name", name)
50
- if output_catalog and not isinstance(output_catalog, dict):
51
- raise TypeError("Expected argument 'output_catalog' to be a dict")
52
- pulumi.set(__self__, "output_catalog", output_catalog)
53
- if owner and not isinstance(owner, str):
54
- raise TypeError("Expected argument 'owner' to be a str")
55
- pulumi.set(__self__, "owner", owner)
56
- if remote_detailed_info and not isinstance(remote_detailed_info, dict):
57
- raise TypeError("Expected argument 'remote_detailed_info' to be a dict")
58
- pulumi.set(__self__, "remote_detailed_info", remote_detailed_info)
59
- if status and not isinstance(status, str):
60
- raise TypeError("Expected argument 'status' to be a str")
61
- pulumi.set(__self__, "status", status)
62
- if updated_at and not isinstance(updated_at, int):
63
- raise TypeError("Expected argument 'updated_at' to be a int")
64
- pulumi.set(__self__, "updated_at", updated_at)
65
- if workspace_id and not isinstance(workspace_id, str):
66
- raise TypeError("Expected argument 'workspace_id' to be a str")
67
- pulumi.set(__self__, "workspace_id", workspace_id)
68
-
69
- @_builtins.property
70
- @pulumi.getter(name="accessRestricted")
71
- def access_restricted(self) -> _builtins.str:
72
- """
73
- (string) - Whether clean room access is restricted due to [CSP](https://docs.databricks.com/en/security/privacy/security-profile.html). Possible values are: `CSP_MISMATCH`, `NO_RESTRICTION`
74
- """
75
- return pulumi.get(self, "access_restricted")
76
-
77
- @_builtins.property
78
- @pulumi.getter
79
- def comment(self) -> Optional[_builtins.str]:
80
- """
81
- (string)
82
- """
83
- return pulumi.get(self, "comment")
84
-
85
- @_builtins.property
86
- @pulumi.getter(name="createdAt")
87
- def created_at(self) -> _builtins.int:
88
- """
89
- (integer) - When the clean room was created, in epoch milliseconds
90
- """
91
- return pulumi.get(self, "created_at")
92
-
93
- @_builtins.property
94
- @pulumi.getter
95
- def id(self) -> _builtins.str:
96
- """
97
- The provider-assigned unique ID for this managed resource.
98
- """
99
- return pulumi.get(self, "id")
100
-
101
- @_builtins.property
102
- @pulumi.getter(name="localCollaboratorAlias")
103
- def local_collaborator_alias(self) -> _builtins.str:
104
- """
105
- (string) - The alias of the collaborator tied to the local clean room
106
- """
107
- return pulumi.get(self, "local_collaborator_alias")
108
-
109
- @_builtins.property
110
- @pulumi.getter
111
- def name(self) -> Optional[_builtins.str]:
112
- """
113
- (string) - The name of the clean room.
114
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
115
- """
116
- return pulumi.get(self, "name")
117
-
118
- @_builtins.property
119
- @pulumi.getter(name="outputCatalog")
120
- def output_catalog(self) -> 'outputs.GetCleanRoomsCleanRoomOutputCatalogResult':
121
- """
122
- (CleanRoomOutputCatalog) - Output catalog of the clean room. It is an output only field. Output catalog is manipulated
123
- using the separate CreateCleanRoomOutputCatalog API
124
- """
125
- return pulumi.get(self, "output_catalog")
126
-
127
- @_builtins.property
128
- @pulumi.getter
129
- def owner(self) -> Optional[_builtins.str]:
130
- """
131
- (string) - This is the Databricks username of the owner of the local clean room securable for permission management
132
- """
133
- return pulumi.get(self, "owner")
134
-
135
- @_builtins.property
136
- @pulumi.getter(name="remoteDetailedInfo")
137
- def remote_detailed_info(self) -> Optional['outputs.GetCleanRoomsCleanRoomRemoteDetailedInfoResult']:
138
- """
139
- (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
140
- cloud_vendor, region, and collaborators.global_metastore_id.
141
- This field will not be filled in the ListCleanRooms call
142
- """
143
- return pulumi.get(self, "remote_detailed_info")
144
-
145
- @_builtins.property
146
- @pulumi.getter
147
- def status(self) -> _builtins.str:
148
- """
149
- (string) - . Possible values are: `CREATED`, `NOT_CREATED`, `NOT_ELIGIBLE`
150
- """
151
- return pulumi.get(self, "status")
152
-
153
- @_builtins.property
154
- @pulumi.getter(name="updatedAt")
155
- def updated_at(self) -> _builtins.int:
156
- """
157
- (integer) - When the clean room was last updated, in epoch milliseconds
158
- """
159
- return pulumi.get(self, "updated_at")
160
-
161
- @_builtins.property
162
- @pulumi.getter(name="workspaceId")
163
- def workspace_id(self) -> Optional[_builtins.str]:
164
- return pulumi.get(self, "workspace_id")
165
-
166
-
167
- class AwaitableGetCleanRoomsCleanRoomResult(GetCleanRoomsCleanRoomResult):
168
- # pylint: disable=using-constant-test
169
- def __await__(self):
170
- if False:
171
- yield self
172
- return GetCleanRoomsCleanRoomResult(
173
- access_restricted=self.access_restricted,
174
- comment=self.comment,
175
- created_at=self.created_at,
176
- id=self.id,
177
- local_collaborator_alias=self.local_collaborator_alias,
178
- name=self.name,
179
- output_catalog=self.output_catalog,
180
- owner=self.owner,
181
- remote_detailed_info=self.remote_detailed_info,
182
- status=self.status,
183
- updated_at=self.updated_at,
184
- workspace_id=self.workspace_id)
185
-
186
-
187
- def get_clean_rooms_clean_room(comment: Optional[_builtins.str] = None,
188
- name: Optional[_builtins.str] = None,
189
- owner: Optional[_builtins.str] = None,
190
- remote_detailed_info: Optional[Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict']] = None,
191
- workspace_id: Optional[_builtins.str] = None,
192
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomsCleanRoomResult:
193
- """
194
- This data source can be used to get a single clean room.
195
-
196
- ## Example Usage
197
-
198
- # Example: Datasource (Singular) Artifact
199
-
200
- ```python
201
- import pulumi
202
- import pulumi_databricks as databricks
203
-
204
- example = databricks.get_clean_rooms_clean_room(name="example-clean-room")
205
- ```
206
-
207
-
208
- :param _builtins.str comment: (string)
209
- :param _builtins.str name: The name of the clean room.
210
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
211
- :param _builtins.str owner: (string) - This is the Databricks username of the owner of the local clean room securable for permission management
212
- :param Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict'] remote_detailed_info: (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
213
- cloud_vendor, region, and collaborators.global_metastore_id.
214
- This field will not be filled in the ListCleanRooms call
215
- :param _builtins.str workspace_id: Workspace ID of the resource
216
- """
217
- __args__ = dict()
218
- __args__['comment'] = comment
219
- __args__['name'] = name
220
- __args__['owner'] = owner
221
- __args__['remoteDetailedInfo'] = remote_detailed_info
222
- __args__['workspaceId'] = workspace_id
223
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
224
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomsCleanRoom:getCleanRoomsCleanRoom', __args__, opts=opts, typ=GetCleanRoomsCleanRoomResult).value
225
-
226
- return AwaitableGetCleanRoomsCleanRoomResult(
227
- access_restricted=pulumi.get(__ret__, 'access_restricted'),
228
- comment=pulumi.get(__ret__, 'comment'),
229
- created_at=pulumi.get(__ret__, 'created_at'),
230
- id=pulumi.get(__ret__, 'id'),
231
- local_collaborator_alias=pulumi.get(__ret__, 'local_collaborator_alias'),
232
- name=pulumi.get(__ret__, 'name'),
233
- output_catalog=pulumi.get(__ret__, 'output_catalog'),
234
- owner=pulumi.get(__ret__, 'owner'),
235
- remote_detailed_info=pulumi.get(__ret__, 'remote_detailed_info'),
236
- status=pulumi.get(__ret__, 'status'),
237
- updated_at=pulumi.get(__ret__, 'updated_at'),
238
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
239
- def get_clean_rooms_clean_room_output(comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
240
- name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
241
- owner: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
242
- remote_detailed_info: Optional[pulumi.Input[Optional[Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict']]]] = None,
243
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
244
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomsCleanRoomResult]:
245
- """
246
- This data source can be used to get a single clean room.
247
-
248
- ## Example Usage
249
-
250
- # Example: Datasource (Singular) Artifact
251
-
252
- ```python
253
- import pulumi
254
- import pulumi_databricks as databricks
255
-
256
- example = databricks.get_clean_rooms_clean_room(name="example-clean-room")
257
- ```
258
-
259
-
260
- :param _builtins.str comment: (string)
261
- :param _builtins.str name: The name of the clean room.
262
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
263
- :param _builtins.str owner: (string) - This is the Databricks username of the owner of the local clean room securable for permission management
264
- :param Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict'] remote_detailed_info: (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
265
- cloud_vendor, region, and collaborators.global_metastore_id.
266
- This field will not be filled in the ListCleanRooms call
267
- :param _builtins.str workspace_id: Workspace ID of the resource
268
- """
269
- __args__ = dict()
270
- __args__['comment'] = comment
271
- __args__['name'] = name
272
- __args__['owner'] = owner
273
- __args__['remoteDetailedInfo'] = remote_detailed_info
274
- __args__['workspaceId'] = workspace_id
275
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
276
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomsCleanRoom:getCleanRoomsCleanRoom', __args__, opts=opts, typ=GetCleanRoomsCleanRoomResult)
277
- return __ret__.apply(lambda __response__: GetCleanRoomsCleanRoomResult(
278
- access_restricted=pulumi.get(__response__, 'access_restricted'),
279
- comment=pulumi.get(__response__, 'comment'),
280
- created_at=pulumi.get(__response__, 'created_at'),
281
- id=pulumi.get(__response__, 'id'),
282
- local_collaborator_alias=pulumi.get(__response__, 'local_collaborator_alias'),
283
- name=pulumi.get(__response__, 'name'),
284
- output_catalog=pulumi.get(__response__, 'output_catalog'),
285
- owner=pulumi.get(__response__, 'owner'),
286
- remote_detailed_info=pulumi.get(__response__, 'remote_detailed_info'),
287
- status=pulumi.get(__response__, 'status'),
288
- updated_at=pulumi.get(__response__, 'updated_at'),
289
- workspace_id=pulumi.get(__response__, 'workspace_id')))