pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__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 (159) hide show
  1. pulumi_databricks/__init__.py +129 -46
  2. pulumi_databricks/_inputs.py +13377 -13798
  3. pulumi_databricks/account_federation_policy.py +473 -0
  4. pulumi_databricks/account_network_policy.py +12 -4
  5. pulumi_databricks/account_setting_v2.py +759 -0
  6. pulumi_databricks/alert_v2.py +223 -90
  7. pulumi_databricks/app.py +111 -4
  8. pulumi_databricks/apps_settings_custom_template.py +531 -0
  9. pulumi_databricks/budget_policy.py +28 -5
  10. pulumi_databricks/catalog.py +322 -2
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/config/__init__.pyi +2 -0
  13. pulumi_databricks/config/vars.py +4 -0
  14. pulumi_databricks/connection.py +0 -34
  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 +8 -4
  18. pulumi_databricks/database_instance.py +354 -73
  19. pulumi_databricks/database_synced_database_table.py +52 -4
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +409 -0
  22. pulumi_databricks/external_metadata.py +15 -11
  23. pulumi_databricks/feature_engineering_feature.py +480 -0
  24. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  25. pulumi_databricks/get_account_federation_policies.py +127 -0
  26. pulumi_databricks/get_account_federation_policy.py +214 -0
  27. pulumi_databricks/get_account_network_policies.py +4 -0
  28. pulumi_databricks/get_account_network_policy.py +17 -18
  29. pulumi_databricks/get_account_setting_v2.py +331 -0
  30. pulumi_databricks/get_alert_v2.py +78 -70
  31. pulumi_databricks/get_alerts_v2.py +31 -12
  32. pulumi_databricks/get_app.py +21 -9
  33. pulumi_databricks/get_apps.py +22 -10
  34. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  35. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  36. pulumi_databricks/get_aws_bucket_policy.py +6 -6
  37. pulumi_databricks/get_budget_policies.py +70 -6
  38. pulumi_databricks/get_budget_policy.py +35 -30
  39. pulumi_databricks/get_catalog.py +21 -4
  40. pulumi_databricks/get_catalogs.py +23 -4
  41. pulumi_databricks/get_cluster.py +21 -4
  42. pulumi_databricks/get_cluster_policy.py +23 -4
  43. pulumi_databricks/get_clusters.py +21 -4
  44. pulumi_databricks/get_current_metastore.py +21 -4
  45. pulumi_databricks/get_dashboards.py +24 -4
  46. pulumi_databricks/get_data_quality_monitor.py +210 -0
  47. pulumi_databricks/get_data_quality_monitors.py +143 -0
  48. pulumi_databricks/get_data_quality_refresh.py +270 -0
  49. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  50. pulumi_databricks/get_database_database_catalog.py +6 -20
  51. pulumi_databricks/get_database_database_catalogs.py +46 -8
  52. pulumi_databricks/get_database_instance.py +122 -75
  53. pulumi_databricks/get_database_instances.py +31 -6
  54. pulumi_databricks/get_database_synced_database_table.py +7 -28
  55. pulumi_databricks/get_database_synced_database_tables.py +43 -5
  56. pulumi_databricks/get_directory.py +20 -1
  57. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  58. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  59. pulumi_databricks/get_external_location.py +21 -4
  60. pulumi_databricks/get_external_locations.py +23 -4
  61. pulumi_databricks/get_external_metadata.py +12 -50
  62. pulumi_databricks/get_external_metadatas.py +55 -6
  63. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  64. pulumi_databricks/get_feature_engineering_features.py +103 -0
  65. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  66. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  67. pulumi_databricks/get_functions.py +16 -1
  68. pulumi_databricks/get_instance_profiles.py +21 -4
  69. pulumi_databricks/get_jobs.py +23 -4
  70. pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
  71. pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
  72. pulumi_databricks/get_metastore.py +2 -2
  73. pulumi_databricks/get_mlflow_experiment.py +18 -1
  74. pulumi_databricks/get_mlflow_model.py +18 -1
  75. pulumi_databricks/get_mlflow_models.py +23 -4
  76. pulumi_databricks/get_node_type.py +42 -5
  77. pulumi_databricks/get_notification_destinations.py +17 -1
  78. pulumi_databricks/get_online_store.py +7 -17
  79. pulumi_databricks/get_online_stores.py +29 -8
  80. pulumi_databricks/get_pipelines.py +23 -4
  81. pulumi_databricks/get_policy_info.py +28 -99
  82. pulumi_databricks/get_policy_infos.py +92 -5
  83. pulumi_databricks/get_quality_monitor_v2.py +4 -0
  84. pulumi_databricks/get_quality_monitors_v2.py +22 -3
  85. pulumi_databricks/get_registered_model.py +19 -4
  86. pulumi_databricks/get_registered_model_versions.py +19 -4
  87. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  88. pulumi_databricks/get_schema.py +18 -1
  89. pulumi_databricks/get_schemas.py +23 -4
  90. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  91. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  92. pulumi_databricks/get_serving_endpoints.py +19 -4
  93. pulumi_databricks/get_share.py +117 -18
  94. pulumi_databricks/get_shares.py +22 -3
  95. pulumi_databricks/get_spark_version.py +20 -1
  96. pulumi_databricks/get_sql_warehouse.py +16 -1
  97. pulumi_databricks/get_sql_warehouses.py +20 -1
  98. pulumi_databricks/get_storage_credential.py +18 -1
  99. pulumi_databricks/get_storage_credentials.py +23 -4
  100. pulumi_databricks/get_table.py +18 -1
  101. pulumi_databricks/get_tables.py +20 -1
  102. pulumi_databricks/get_tag_policies.py +139 -0
  103. pulumi_databricks/get_tag_policy.py +175 -0
  104. pulumi_databricks/get_views.py +20 -1
  105. pulumi_databricks/get_volume.py +18 -1
  106. pulumi_databricks/get_volumes.py +20 -1
  107. pulumi_databricks/get_workspace_network_option.py +8 -16
  108. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  109. pulumi_databricks/get_zones.py +20 -1
  110. pulumi_databricks/git_credential.py +54 -7
  111. pulumi_databricks/grant.py +2 -2
  112. pulumi_databricks/group.py +21 -21
  113. pulumi_databricks/job.py +47 -0
  114. pulumi_databricks/library.py +165 -0
  115. pulumi_databricks/materialized_features_feature_tag.py +8 -4
  116. pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
  117. pulumi_databricks/mws_permission_assignment.py +16 -16
  118. pulumi_databricks/mws_storage_configurations.py +6 -6
  119. pulumi_databricks/mws_workspaces.py +76 -29
  120. pulumi_databricks/online_store.py +8 -4
  121. pulumi_databricks/outputs.py +26397 -22382
  122. pulumi_databricks/permission_assignment.py +266 -24
  123. pulumi_databricks/pipeline.py +37 -3
  124. pulumi_databricks/policy_info.py +43 -39
  125. pulumi_databricks/provider.py +15 -0
  126. pulumi_databricks/pulumi-plugin.json +1 -1
  127. pulumi_databricks/quality_monitor.py +47 -0
  128. pulumi_databricks/quality_monitor_v2.py +8 -4
  129. pulumi_databricks/registered_model.py +301 -29
  130. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  131. pulumi_databricks/service_principal_federation_policy.py +469 -0
  132. pulumi_databricks/share.py +71 -84
  133. pulumi_databricks/sql_endpoint.py +47 -0
  134. pulumi_databricks/sql_table.py +35 -7
  135. pulumi_databricks/storage_credential.py +59 -6
  136. pulumi_databricks/tag_policy.py +357 -0
  137. pulumi_databricks/user.py +21 -21
  138. pulumi_databricks/workspace_binding.py +0 -48
  139. pulumi_databricks/workspace_network_option.py +8 -4
  140. pulumi_databricks/workspace_setting_v2.py +759 -0
  141. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  142. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  143. pulumi_databricks/clean_room_asset.py +0 -891
  144. pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
  145. pulumi_databricks/clean_rooms_clean_room.py +0 -518
  146. pulumi_databricks/get_clean_room_asset.py +0 -399
  147. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
  148. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
  149. pulumi_databricks/get_clean_room_assets.py +0 -104
  150. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
  151. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
  152. pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
  153. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
  154. pulumi_databricks/get_recipient_federation_policies.py +0 -82
  155. pulumi_databricks/get_recipient_federation_policy.py +0 -165
  156. pulumi_databricks/recipient_federation_policy.py +0 -346
  157. pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
  158. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  159. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -1,200 +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):
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
-
55
- @_builtins.property
56
- @pulumi.getter(name="authorCollaboratorAlias")
57
- def author_collaborator_alias(self) -> Optional[_builtins.str]:
58
- """
59
- (string) - Collaborator alias of the author covered by the rule.
60
- Only one of `author_collaborator_alias` and `author_scope` can be set
61
- """
62
- return pulumi.get(self, "author_collaborator_alias")
63
-
64
- @_builtins.property
65
- @pulumi.getter(name="authorScope")
66
- def author_scope(self) -> Optional[_builtins.str]:
67
- """
68
- (string) - Scope of authors covered by the rule.
69
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
70
- """
71
- return pulumi.get(self, "author_scope")
72
-
73
- @_builtins.property
74
- @pulumi.getter(name="cleanRoomName")
75
- def clean_room_name(self) -> Optional[_builtins.str]:
76
- """
77
- (string) - The name of the clean room this auto-approval rule belongs to
78
- """
79
- return pulumi.get(self, "clean_room_name")
80
-
81
- @_builtins.property
82
- @pulumi.getter(name="createdAt")
83
- def created_at(self) -> _builtins.int:
84
- """
85
- (integer) - Timestamp of when the rule was created, in epoch milliseconds
86
- """
87
- return pulumi.get(self, "created_at")
88
-
89
- @_builtins.property
90
- @pulumi.getter
91
- def id(self) -> _builtins.str:
92
- """
93
- The provider-assigned unique ID for this managed resource.
94
- """
95
- return pulumi.get(self, "id")
96
-
97
- @_builtins.property
98
- @pulumi.getter(name="ruleId")
99
- def rule_id(self) -> _builtins.str:
100
- """
101
- (string) - A generated UUID identifying the rule
102
- """
103
- return pulumi.get(self, "rule_id")
104
-
105
- @_builtins.property
106
- @pulumi.getter(name="ruleOwnerCollaboratorAlias")
107
- def rule_owner_collaborator_alias(self) -> _builtins.str:
108
- """
109
- (string) - The owner of the rule to whom the rule applies
110
- """
111
- return pulumi.get(self, "rule_owner_collaborator_alias")
112
-
113
- @_builtins.property
114
- @pulumi.getter(name="runnerCollaboratorAlias")
115
- def runner_collaborator_alias(self) -> Optional[_builtins.str]:
116
- """
117
- (string) - Collaborator alias of the runner covered by the rule
118
- """
119
- return pulumi.get(self, "runner_collaborator_alias")
120
-
121
-
122
- class AwaitableGetCleanRoomAutoApprovalRuleResult(GetCleanRoomAutoApprovalRuleResult):
123
- # pylint: disable=using-constant-test
124
- def __await__(self):
125
- if False:
126
- yield self
127
- return GetCleanRoomAutoApprovalRuleResult(
128
- author_collaborator_alias=self.author_collaborator_alias,
129
- author_scope=self.author_scope,
130
- clean_room_name=self.clean_room_name,
131
- created_at=self.created_at,
132
- id=self.id,
133
- rule_id=self.rule_id,
134
- rule_owner_collaborator_alias=self.rule_owner_collaborator_alias,
135
- runner_collaborator_alias=self.runner_collaborator_alias)
136
-
137
-
138
- def get_clean_room_auto_approval_rule(author_collaborator_alias: Optional[_builtins.str] = None,
139
- author_scope: Optional[_builtins.str] = None,
140
- clean_room_name: Optional[_builtins.str] = None,
141
- runner_collaborator_alias: Optional[_builtins.str] = None,
142
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomAutoApprovalRuleResult:
143
- """
144
- Use this data source to access information about an existing resource.
145
-
146
- :param _builtins.str author_collaborator_alias: (string) - Collaborator alias of the author covered by the rule.
147
- Only one of `author_collaborator_alias` and `author_scope` can be set
148
- :param _builtins.str author_scope: (string) - Scope of authors covered by the rule.
149
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
150
- :param _builtins.str clean_room_name: (string) - The name of the clean room this auto-approval rule belongs to
151
- :param _builtins.str runner_collaborator_alias: (string) - Collaborator alias of the runner covered by the rule
152
- """
153
- __args__ = dict()
154
- __args__['authorCollaboratorAlias'] = author_collaborator_alias
155
- __args__['authorScope'] = author_scope
156
- __args__['cleanRoomName'] = clean_room_name
157
- __args__['runnerCollaboratorAlias'] = runner_collaborator_alias
158
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
159
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomAutoApprovalRule:getCleanRoomAutoApprovalRule', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRuleResult).value
160
-
161
- return AwaitableGetCleanRoomAutoApprovalRuleResult(
162
- author_collaborator_alias=pulumi.get(__ret__, 'author_collaborator_alias'),
163
- author_scope=pulumi.get(__ret__, 'author_scope'),
164
- clean_room_name=pulumi.get(__ret__, 'clean_room_name'),
165
- created_at=pulumi.get(__ret__, 'created_at'),
166
- id=pulumi.get(__ret__, 'id'),
167
- rule_id=pulumi.get(__ret__, 'rule_id'),
168
- rule_owner_collaborator_alias=pulumi.get(__ret__, 'rule_owner_collaborator_alias'),
169
- runner_collaborator_alias=pulumi.get(__ret__, 'runner_collaborator_alias'))
170
- def get_clean_room_auto_approval_rule_output(author_collaborator_alias: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
171
- author_scope: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
172
- clean_room_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
173
- runner_collaborator_alias: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
174
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomAutoApprovalRuleResult]:
175
- """
176
- Use this data source to access information about an existing resource.
177
-
178
- :param _builtins.str author_collaborator_alias: (string) - Collaborator alias of the author covered by the rule.
179
- Only one of `author_collaborator_alias` and `author_scope` can be set
180
- :param _builtins.str author_scope: (string) - Scope of authors covered by the rule.
181
- Only one of `author_collaborator_alias` and `author_scope` can be set. Possible values are: `ANY_AUTHOR`
182
- :param _builtins.str clean_room_name: (string) - The name of the clean room this auto-approval rule belongs to
183
- :param _builtins.str runner_collaborator_alias: (string) - Collaborator alias of the runner covered by the rule
184
- """
185
- __args__ = dict()
186
- __args__['authorCollaboratorAlias'] = author_collaborator_alias
187
- __args__['authorScope'] = author_scope
188
- __args__['cleanRoomName'] = clean_room_name
189
- __args__['runnerCollaboratorAlias'] = runner_collaborator_alias
190
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
191
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomAutoApprovalRule:getCleanRoomAutoApprovalRule', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRuleResult)
192
- return __ret__.apply(lambda __response__: GetCleanRoomAutoApprovalRuleResult(
193
- author_collaborator_alias=pulumi.get(__response__, 'author_collaborator_alias'),
194
- author_scope=pulumi.get(__response__, 'author_scope'),
195
- clean_room_name=pulumi.get(__response__, 'clean_room_name'),
196
- created_at=pulumi.get(__response__, 'created_at'),
197
- id=pulumi.get(__response__, 'id'),
198
- rule_id=pulumi.get(__response__, 'rule_id'),
199
- rule_owner_collaborator_alias=pulumi.get(__response__, 'rule_owner_collaborator_alias'),
200
- runner_collaborator_alias=pulumi.get(__response__, 'runner_collaborator_alias')))
@@ -1,82 +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):
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
-
38
- @_builtins.property
39
- @pulumi.getter
40
- def id(self) -> _builtins.str:
41
- """
42
- The provider-assigned unique ID for this managed resource.
43
- """
44
- return pulumi.get(self, "id")
45
-
46
- @_builtins.property
47
- @pulumi.getter
48
- def rules(self) -> Sequence['outputs.GetCleanRoomAutoApprovalRulesRuleResult']:
49
- return pulumi.get(self, "rules")
50
-
51
-
52
- class AwaitableGetCleanRoomAutoApprovalRulesResult(GetCleanRoomAutoApprovalRulesResult):
53
- # pylint: disable=using-constant-test
54
- def __await__(self):
55
- if False:
56
- yield self
57
- return GetCleanRoomAutoApprovalRulesResult(
58
- id=self.id,
59
- rules=self.rules)
60
-
61
-
62
- def get_clean_room_auto_approval_rules(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomAutoApprovalRulesResult:
63
- """
64
- Use this data source to access information about an existing resource.
65
- """
66
- __args__ = dict()
67
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
68
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomAutoApprovalRules:getCleanRoomAutoApprovalRules', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRulesResult).value
69
-
70
- return AwaitableGetCleanRoomAutoApprovalRulesResult(
71
- id=pulumi.get(__ret__, 'id'),
72
- rules=pulumi.get(__ret__, 'rules'))
73
- def get_clean_room_auto_approval_rules_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomAutoApprovalRulesResult]:
74
- """
75
- Use this data source to access information about an existing resource.
76
- """
77
- __args__ = dict()
78
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
79
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomAutoApprovalRules:getCleanRoomAutoApprovalRules', __args__, opts=opts, typ=GetCleanRoomAutoApprovalRulesResult)
80
- return __ret__.apply(lambda __response__: GetCleanRoomAutoApprovalRulesResult(
81
- id=pulumi.get(__response__, 'id'),
82
- rules=pulumi.get(__response__, 'rules')))
@@ -1,272 +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):
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
-
66
- @_builtins.property
67
- @pulumi.getter(name="accessRestricted")
68
- def access_restricted(self) -> _builtins.str:
69
- """
70
- (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`
71
- """
72
- return pulumi.get(self, "access_restricted")
73
-
74
- @_builtins.property
75
- @pulumi.getter
76
- def comment(self) -> Optional[_builtins.str]:
77
- """
78
- (string)
79
- """
80
- return pulumi.get(self, "comment")
81
-
82
- @_builtins.property
83
- @pulumi.getter(name="createdAt")
84
- def created_at(self) -> _builtins.int:
85
- """
86
- (integer) - When the clean room was created, in epoch milliseconds
87
- """
88
- return pulumi.get(self, "created_at")
89
-
90
- @_builtins.property
91
- @pulumi.getter
92
- def id(self) -> _builtins.str:
93
- """
94
- The provider-assigned unique ID for this managed resource.
95
- """
96
- return pulumi.get(self, "id")
97
-
98
- @_builtins.property
99
- @pulumi.getter(name="localCollaboratorAlias")
100
- def local_collaborator_alias(self) -> _builtins.str:
101
- """
102
- (string) - The alias of the collaborator tied to the local clean room
103
- """
104
- return pulumi.get(self, "local_collaborator_alias")
105
-
106
- @_builtins.property
107
- @pulumi.getter
108
- def name(self) -> Optional[_builtins.str]:
109
- """
110
- (string) - The name of the clean room.
111
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
112
- """
113
- return pulumi.get(self, "name")
114
-
115
- @_builtins.property
116
- @pulumi.getter(name="outputCatalog")
117
- def output_catalog(self) -> 'outputs.GetCleanRoomsCleanRoomOutputCatalogResult':
118
- """
119
- (CleanRoomOutputCatalog) - Output catalog of the clean room. It is an output only field. Output catalog is manipulated
120
- using the separate CreateCleanRoomOutputCatalog API
121
- """
122
- return pulumi.get(self, "output_catalog")
123
-
124
- @_builtins.property
125
- @pulumi.getter
126
- def owner(self) -> Optional[_builtins.str]:
127
- """
128
- (string) - This is Databricks username of the owner of the local clean room securable for permission management
129
- """
130
- return pulumi.get(self, "owner")
131
-
132
- @_builtins.property
133
- @pulumi.getter(name="remoteDetailedInfo")
134
- def remote_detailed_info(self) -> Optional['outputs.GetCleanRoomsCleanRoomRemoteDetailedInfoResult']:
135
- """
136
- (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
137
- cloud_vendor, region, and collaborators.global_metastore_id.
138
- This field will not be filled in the ListCleanRooms call
139
- """
140
- return pulumi.get(self, "remote_detailed_info")
141
-
142
- @_builtins.property
143
- @pulumi.getter
144
- def status(self) -> _builtins.str:
145
- """
146
- (string) - . Possible values are: `CREATED`, `NOT_CREATED`, `NOT_ELIGIBLE`
147
- """
148
- return pulumi.get(self, "status")
149
-
150
- @_builtins.property
151
- @pulumi.getter(name="updatedAt")
152
- def updated_at(self) -> _builtins.int:
153
- """
154
- (integer) - When the clean room was last updated, in epoch milliseconds
155
- """
156
- return pulumi.get(self, "updated_at")
157
-
158
-
159
- class AwaitableGetCleanRoomsCleanRoomResult(GetCleanRoomsCleanRoomResult):
160
- # pylint: disable=using-constant-test
161
- def __await__(self):
162
- if False:
163
- yield self
164
- return GetCleanRoomsCleanRoomResult(
165
- access_restricted=self.access_restricted,
166
- comment=self.comment,
167
- created_at=self.created_at,
168
- id=self.id,
169
- local_collaborator_alias=self.local_collaborator_alias,
170
- name=self.name,
171
- output_catalog=self.output_catalog,
172
- owner=self.owner,
173
- remote_detailed_info=self.remote_detailed_info,
174
- status=self.status,
175
- updated_at=self.updated_at)
176
-
177
-
178
- def get_clean_rooms_clean_room(comment: Optional[_builtins.str] = None,
179
- name: Optional[_builtins.str] = None,
180
- owner: Optional[_builtins.str] = None,
181
- remote_detailed_info: Optional[Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict']] = None,
182
- opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomsCleanRoomResult:
183
- """
184
- This data source can be used to get a single clean room.
185
-
186
- ## Example Usage
187
-
188
- # Example: Datasource (Singular) Artifact
189
-
190
- ```python
191
- import pulumi
192
- import pulumi_databricks as databricks
193
-
194
- example = databricks.get_clean_rooms_clean_room(name="example-clean-room")
195
- ```
196
-
197
-
198
- :param _builtins.str comment: (string)
199
- :param _builtins.str name: The name of the clean room.
200
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
201
- :param _builtins.str owner: (string) - This is Databricks username of the owner of the local clean room securable for permission management
202
- :param Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict'] remote_detailed_info: (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
203
- cloud_vendor, region, and collaborators.global_metastore_id.
204
- This field will not be filled in the ListCleanRooms call
205
- """
206
- __args__ = dict()
207
- __args__['comment'] = comment
208
- __args__['name'] = name
209
- __args__['owner'] = owner
210
- __args__['remoteDetailedInfo'] = remote_detailed_info
211
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
212
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomsCleanRoom:getCleanRoomsCleanRoom', __args__, opts=opts, typ=GetCleanRoomsCleanRoomResult).value
213
-
214
- return AwaitableGetCleanRoomsCleanRoomResult(
215
- access_restricted=pulumi.get(__ret__, 'access_restricted'),
216
- comment=pulumi.get(__ret__, 'comment'),
217
- created_at=pulumi.get(__ret__, 'created_at'),
218
- id=pulumi.get(__ret__, 'id'),
219
- local_collaborator_alias=pulumi.get(__ret__, 'local_collaborator_alias'),
220
- name=pulumi.get(__ret__, 'name'),
221
- output_catalog=pulumi.get(__ret__, 'output_catalog'),
222
- owner=pulumi.get(__ret__, 'owner'),
223
- remote_detailed_info=pulumi.get(__ret__, 'remote_detailed_info'),
224
- status=pulumi.get(__ret__, 'status'),
225
- updated_at=pulumi.get(__ret__, 'updated_at'))
226
- def get_clean_rooms_clean_room_output(comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
227
- name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
228
- owner: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
229
- remote_detailed_info: Optional[pulumi.Input[Optional[Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict']]]] = None,
230
- opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomsCleanRoomResult]:
231
- """
232
- This data source can be used to get a single clean room.
233
-
234
- ## Example Usage
235
-
236
- # Example: Datasource (Singular) Artifact
237
-
238
- ```python
239
- import pulumi
240
- import pulumi_databricks as databricks
241
-
242
- example = databricks.get_clean_rooms_clean_room(name="example-clean-room")
243
- ```
244
-
245
-
246
- :param _builtins.str comment: (string)
247
- :param _builtins.str name: The name of the clean room.
248
- It should follow [UC securable naming requirements](https://docs.databricks.com/en/data-governance/unity-catalog/index.html#securable-object-naming-requirements)
249
- :param _builtins.str owner: (string) - This is Databricks username of the owner of the local clean room securable for permission management
250
- :param Union['GetCleanRoomsCleanRoomRemoteDetailedInfoArgs', 'GetCleanRoomsCleanRoomRemoteDetailedInfoArgsDict'] remote_detailed_info: (CleanRoomRemoteDetail) - Central clean room details. During creation, users need to specify
251
- cloud_vendor, region, and collaborators.global_metastore_id.
252
- This field will not be filled in the ListCleanRooms call
253
- """
254
- __args__ = dict()
255
- __args__['comment'] = comment
256
- __args__['name'] = name
257
- __args__['owner'] = owner
258
- __args__['remoteDetailedInfo'] = remote_detailed_info
259
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
260
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomsCleanRoom:getCleanRoomsCleanRoom', __args__, opts=opts, typ=GetCleanRoomsCleanRoomResult)
261
- return __ret__.apply(lambda __response__: GetCleanRoomsCleanRoomResult(
262
- access_restricted=pulumi.get(__response__, 'access_restricted'),
263
- comment=pulumi.get(__response__, 'comment'),
264
- created_at=pulumi.get(__response__, 'created_at'),
265
- id=pulumi.get(__response__, 'id'),
266
- local_collaborator_alias=pulumi.get(__response__, 'local_collaborator_alias'),
267
- name=pulumi.get(__response__, 'name'),
268
- output_catalog=pulumi.get(__response__, 'output_catalog'),
269
- owner=pulumi.get(__response__, 'owner'),
270
- remote_detailed_info=pulumi.get(__response__, 'remote_detailed_info'),
271
- status=pulumi.get(__response__, 'status'),
272
- updated_at=pulumi.get(__response__, 'updated_at')))
@@ -1,104 +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
- 'GetCleanRoomsCleanRoomsResult',
20
- 'AwaitableGetCleanRoomsCleanRoomsResult',
21
- 'get_clean_rooms_clean_rooms',
22
- 'get_clean_rooms_clean_rooms_output',
23
- ]
24
-
25
- @pulumi.output_type
26
- class GetCleanRoomsCleanRoomsResult:
27
- """
28
- A collection of values returned by getCleanRoomsCleanRooms.
29
- """
30
- def __init__(__self__, clean_rooms=None, id=None):
31
- if clean_rooms and not isinstance(clean_rooms, list):
32
- raise TypeError("Expected argument 'clean_rooms' to be a list")
33
- pulumi.set(__self__, "clean_rooms", clean_rooms)
34
- if id and not isinstance(id, str):
35
- raise TypeError("Expected argument 'id' to be a str")
36
- pulumi.set(__self__, "id", id)
37
-
38
- @_builtins.property
39
- @pulumi.getter(name="cleanRooms")
40
- def clean_rooms(self) -> Sequence['outputs.GetCleanRoomsCleanRoomsCleanRoomResult']:
41
- return pulumi.get(self, "clean_rooms")
42
-
43
- @_builtins.property
44
- @pulumi.getter
45
- def id(self) -> _builtins.str:
46
- """
47
- The provider-assigned unique ID for this managed resource.
48
- """
49
- return pulumi.get(self, "id")
50
-
51
-
52
- class AwaitableGetCleanRoomsCleanRoomsResult(GetCleanRoomsCleanRoomsResult):
53
- # pylint: disable=using-constant-test
54
- def __await__(self):
55
- if False:
56
- yield self
57
- return GetCleanRoomsCleanRoomsResult(
58
- clean_rooms=self.clean_rooms,
59
- id=self.id)
60
-
61
-
62
- def get_clean_rooms_clean_rooms(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCleanRoomsCleanRoomsResult:
63
- """
64
- This data source can be used to fetch the list of clean rooms.
65
-
66
- ## Example Usage
67
-
68
- # Example: Clean Room Datasource (Plural)
69
-
70
- ```python
71
- import pulumi
72
- import pulumi_databricks as databricks
73
-
74
- all = databricks.get_clean_rooms_clean_room()
75
- ```
76
- """
77
- __args__ = dict()
78
- opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
79
- __ret__ = pulumi.runtime.invoke('databricks:index/getCleanRoomsCleanRooms:getCleanRoomsCleanRooms', __args__, opts=opts, typ=GetCleanRoomsCleanRoomsResult).value
80
-
81
- return AwaitableGetCleanRoomsCleanRoomsResult(
82
- clean_rooms=pulumi.get(__ret__, 'clean_rooms'),
83
- id=pulumi.get(__ret__, 'id'))
84
- def get_clean_rooms_clean_rooms_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCleanRoomsCleanRoomsResult]:
85
- """
86
- This data source can be used to fetch the list of clean rooms.
87
-
88
- ## Example Usage
89
-
90
- # Example: Clean Room Datasource (Plural)
91
-
92
- ```python
93
- import pulumi
94
- import pulumi_databricks as databricks
95
-
96
- all = databricks.get_clean_rooms_clean_room()
97
- ```
98
- """
99
- __args__ = dict()
100
- opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
101
- __ret__ = pulumi.runtime.invoke_output('databricks:index/getCleanRoomsCleanRooms:getCleanRoomsCleanRooms', __args__, opts=opts, typ=GetCleanRoomsCleanRoomsResult)
102
- return __ret__.apply(lambda __response__: GetCleanRoomsCleanRoomsResult(
103
- clean_rooms=pulumi.get(__response__, 'clean_rooms'),
104
- id=pulumi.get(__response__, 'id')))