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.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -14,7 +14,6 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
-
from ._inputs import *
|
|
18
17
|
|
|
19
18
|
__all__ = [
|
|
20
19
|
'GetPolicyInfoResult',
|
|
@@ -83,7 +82,7 @@ class GetPolicyInfoResult:
|
|
|
83
82
|
|
|
84
83
|
@_builtins.property
|
|
85
84
|
@pulumi.getter(name="columnMask")
|
|
86
|
-
def column_mask(self) ->
|
|
85
|
+
def column_mask(self) -> 'outputs.GetPolicyInfoColumnMaskResult':
|
|
87
86
|
"""
|
|
88
87
|
(ColumnMaskOptions) - Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`.
|
|
89
88
|
Required on create and optional on update. When specified on update,
|
|
@@ -93,7 +92,7 @@ class GetPolicyInfoResult:
|
|
|
93
92
|
|
|
94
93
|
@_builtins.property
|
|
95
94
|
@pulumi.getter
|
|
96
|
-
def comment(self) ->
|
|
95
|
+
def comment(self) -> _builtins.str:
|
|
97
96
|
"""
|
|
98
97
|
(string) - Optional description of the policy
|
|
99
98
|
"""
|
|
@@ -117,7 +116,7 @@ class GetPolicyInfoResult:
|
|
|
117
116
|
|
|
118
117
|
@_builtins.property
|
|
119
118
|
@pulumi.getter(name="exceptPrincipals")
|
|
120
|
-
def except_principals(self) ->
|
|
119
|
+
def except_principals(self) -> Sequence[_builtins.str]:
|
|
121
120
|
"""
|
|
122
121
|
(list of string) - Optional list of user or group names that should be excluded from the policy
|
|
123
122
|
"""
|
|
@@ -128,7 +127,7 @@ class GetPolicyInfoResult:
|
|
|
128
127
|
def for_securable_type(self) -> _builtins.str:
|
|
129
128
|
"""
|
|
130
129
|
(string) - Type of securables that the policy should take effect on.
|
|
131
|
-
Only `
|
|
130
|
+
Only `TABLE` is supported at this moment.
|
|
132
131
|
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
133
132
|
"""
|
|
134
133
|
return pulumi.get(self, "for_securable_type")
|
|
@@ -143,26 +142,26 @@ class GetPolicyInfoResult:
|
|
|
143
142
|
|
|
144
143
|
@_builtins.property
|
|
145
144
|
@pulumi.getter(name="matchColumns")
|
|
146
|
-
def match_columns(self) ->
|
|
145
|
+
def match_columns(self) -> Sequence['outputs.GetPolicyInfoMatchColumnResult']:
|
|
147
146
|
"""
|
|
148
147
|
(list of MatchColumn) - Optional list of condition expressions used to match table columns.
|
|
149
|
-
Only valid when `for_securable_type` is `
|
|
148
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
150
149
|
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
151
150
|
"""
|
|
152
151
|
return pulumi.get(self, "match_columns")
|
|
153
152
|
|
|
154
153
|
@_builtins.property
|
|
155
154
|
@pulumi.getter
|
|
156
|
-
def name(self) ->
|
|
155
|
+
def name(self) -> _builtins.str:
|
|
157
156
|
"""
|
|
158
|
-
(string) - Name of the policy. Required on create and
|
|
159
|
-
To
|
|
157
|
+
(string) - Name of the policy. Required on create and optional on update.
|
|
158
|
+
To rename the policy, set `name` to a different value on update
|
|
160
159
|
"""
|
|
161
160
|
return pulumi.get(self, "name")
|
|
162
161
|
|
|
163
162
|
@_builtins.property
|
|
164
163
|
@pulumi.getter(name="onSecurableFullname")
|
|
165
|
-
def on_securable_fullname(self) ->
|
|
164
|
+
def on_securable_fullname(self) -> _builtins.str:
|
|
166
165
|
"""
|
|
167
166
|
(string) - Full name of the securable on which the policy is defined.
|
|
168
167
|
Required on create and ignored on update
|
|
@@ -171,10 +170,10 @@ class GetPolicyInfoResult:
|
|
|
171
170
|
|
|
172
171
|
@_builtins.property
|
|
173
172
|
@pulumi.getter(name="onSecurableType")
|
|
174
|
-
def on_securable_type(self) ->
|
|
173
|
+
def on_securable_type(self) -> _builtins.str:
|
|
175
174
|
"""
|
|
176
175
|
(string) - Type of the securable on which the policy is defined.
|
|
177
|
-
Only `
|
|
176
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
178
177
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
179
178
|
"""
|
|
180
179
|
return pulumi.get(self, "on_securable_type")
|
|
@@ -189,7 +188,7 @@ class GetPolicyInfoResult:
|
|
|
189
188
|
|
|
190
189
|
@_builtins.property
|
|
191
190
|
@pulumi.getter(name="rowFilter")
|
|
192
|
-
def row_filter(self) ->
|
|
191
|
+
def row_filter(self) -> 'outputs.GetPolicyInfoRowFilterResult':
|
|
193
192
|
"""
|
|
194
193
|
(RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
195
194
|
Required on create and optional on update. When specified on update,
|
|
@@ -224,7 +223,7 @@ class GetPolicyInfoResult:
|
|
|
224
223
|
|
|
225
224
|
@_builtins.property
|
|
226
225
|
@pulumi.getter(name="whenCondition")
|
|
227
|
-
def when_condition(self) ->
|
|
226
|
+
def when_condition(self) -> _builtins.str:
|
|
228
227
|
"""
|
|
229
228
|
(string) - Optional condition when the policy should take effect
|
|
230
229
|
"""
|
|
@@ -256,61 +255,26 @@ class AwaitableGetPolicyInfoResult(GetPolicyInfoResult):
|
|
|
256
255
|
when_condition=self.when_condition)
|
|
257
256
|
|
|
258
257
|
|
|
259
|
-
def get_policy_info(
|
|
260
|
-
comment: Optional[_builtins.str] = None,
|
|
261
|
-
except_principals: Optional[Sequence[_builtins.str]] = None,
|
|
262
|
-
for_securable_type: Optional[_builtins.str] = None,
|
|
263
|
-
match_columns: Optional[Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']]] = None,
|
|
264
|
-
name: Optional[_builtins.str] = None,
|
|
258
|
+
def get_policy_info(name: Optional[_builtins.str] = None,
|
|
265
259
|
on_securable_fullname: Optional[_builtins.str] = None,
|
|
266
260
|
on_securable_type: Optional[_builtins.str] = None,
|
|
267
|
-
policy_type: Optional[_builtins.str] = None,
|
|
268
|
-
row_filter: Optional[Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict']] = None,
|
|
269
|
-
to_principals: Optional[Sequence[_builtins.str]] = None,
|
|
270
|
-
when_condition: Optional[_builtins.str] = None,
|
|
271
261
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfoResult:
|
|
272
262
|
"""
|
|
273
|
-
|
|
263
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
274
264
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
the
|
|
278
|
-
:param _builtins.str comment: (string) - Optional description of the policy
|
|
279
|
-
:param Sequence[_builtins.str] except_principals: (list of string) - Optional list of user or group names that should be excluded from the policy
|
|
280
|
-
:param _builtins.str for_securable_type: (string) - Type of securables that the policy should take effect on.
|
|
281
|
-
Only `table` is supported at this moment.
|
|
282
|
-
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
283
|
-
:param Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']] match_columns: (list of MatchColumn) - Optional list of condition expressions used to match table columns.
|
|
284
|
-
Only valid when `for_securable_type` is `table`.
|
|
285
|
-
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
286
|
-
:param _builtins.str name: Name of the policy. Required on create and ignored on update.
|
|
287
|
-
To update the name, use the `new_name` field
|
|
265
|
+
|
|
266
|
+
:param _builtins.str name: Name of the policy. Required on create and optional on update.
|
|
267
|
+
To rename the policy, set `name` to a different value on update
|
|
288
268
|
:param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
289
269
|
Required on create and ignored on update
|
|
290
270
|
:param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
|
|
291
|
-
Only `
|
|
271
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
292
272
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
293
|
-
:param _builtins.str policy_type: (string) - Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
294
|
-
:param Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict'] row_filter: (RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
295
|
-
Required on create and optional on update. When specified on update,
|
|
296
|
-
the new options will replace the existing options as a whole
|
|
297
|
-
:param Sequence[_builtins.str] to_principals: (list of string) - List of user or group names that the policy applies to.
|
|
298
|
-
Required on create and optional on update
|
|
299
|
-
:param _builtins.str when_condition: (string) - Optional condition when the policy should take effect
|
|
300
273
|
"""
|
|
301
274
|
__args__ = dict()
|
|
302
|
-
__args__['columnMask'] = column_mask
|
|
303
|
-
__args__['comment'] = comment
|
|
304
|
-
__args__['exceptPrincipals'] = except_principals
|
|
305
|
-
__args__['forSecurableType'] = for_securable_type
|
|
306
|
-
__args__['matchColumns'] = match_columns
|
|
307
275
|
__args__['name'] = name
|
|
308
276
|
__args__['onSecurableFullname'] = on_securable_fullname
|
|
309
277
|
__args__['onSecurableType'] = on_securable_type
|
|
310
|
-
__args__['policyType'] = policy_type
|
|
311
|
-
__args__['rowFilter'] = row_filter
|
|
312
|
-
__args__['toPrincipals'] = to_principals
|
|
313
|
-
__args__['whenCondition'] = when_condition
|
|
314
278
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
315
279
|
__ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult).value
|
|
316
280
|
|
|
@@ -332,61 +296,26 @@ def get_policy_info(column_mask: Optional[Union['GetPolicyInfoColumnMaskArgs', '
|
|
|
332
296
|
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
333
297
|
updated_by=pulumi.get(__ret__, 'updated_by'),
|
|
334
298
|
when_condition=pulumi.get(__ret__, 'when_condition'))
|
|
335
|
-
def get_policy_info_output(
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
for_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
339
|
-
match_columns: Optional[pulumi.Input[Optional[Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']]]]] = None,
|
|
340
|
-
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
341
|
-
on_securable_fullname: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
342
|
-
on_securable_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
343
|
-
policy_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
-
row_filter: Optional[pulumi.Input[Optional[Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict']]]] = None,
|
|
345
|
-
to_principals: Optional[pulumi.Input[Sequence[_builtins.str]]] = None,
|
|
346
|
-
when_condition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
299
|
+
def get_policy_info_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
300
|
+
on_securable_fullname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
301
|
+
on_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
347
302
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfoResult]:
|
|
348
303
|
"""
|
|
349
|
-
|
|
304
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
305
|
+
|
|
350
306
|
|
|
351
|
-
:param
|
|
352
|
-
|
|
353
|
-
the new options will replace the existing options as a whole
|
|
354
|
-
:param _builtins.str comment: (string) - Optional description of the policy
|
|
355
|
-
:param Sequence[_builtins.str] except_principals: (list of string) - Optional list of user or group names that should be excluded from the policy
|
|
356
|
-
:param _builtins.str for_securable_type: (string) - Type of securables that the policy should take effect on.
|
|
357
|
-
Only `table` is supported at this moment.
|
|
358
|
-
Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
359
|
-
:param Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']] match_columns: (list of MatchColumn) - Optional list of condition expressions used to match table columns.
|
|
360
|
-
Only valid when `for_securable_type` is `table`.
|
|
361
|
-
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
362
|
-
:param _builtins.str name: Name of the policy. Required on create and ignored on update.
|
|
363
|
-
To update the name, use the `new_name` field
|
|
307
|
+
:param _builtins.str name: Name of the policy. Required on create and optional on update.
|
|
308
|
+
To rename the policy, set `name` to a different value on update
|
|
364
309
|
:param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
365
310
|
Required on create and ignored on update
|
|
366
311
|
:param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
|
|
367
|
-
Only `
|
|
312
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
368
313
|
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
369
|
-
:param _builtins.str policy_type: (string) - Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
370
|
-
:param Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict'] row_filter: (RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
371
|
-
Required on create and optional on update. When specified on update,
|
|
372
|
-
the new options will replace the existing options as a whole
|
|
373
|
-
:param Sequence[_builtins.str] to_principals: (list of string) - List of user or group names that the policy applies to.
|
|
374
|
-
Required on create and optional on update
|
|
375
|
-
:param _builtins.str when_condition: (string) - Optional condition when the policy should take effect
|
|
376
314
|
"""
|
|
377
315
|
__args__ = dict()
|
|
378
|
-
__args__['columnMask'] = column_mask
|
|
379
|
-
__args__['comment'] = comment
|
|
380
|
-
__args__['exceptPrincipals'] = except_principals
|
|
381
|
-
__args__['forSecurableType'] = for_securable_type
|
|
382
|
-
__args__['matchColumns'] = match_columns
|
|
383
316
|
__args__['name'] = name
|
|
384
317
|
__args__['onSecurableFullname'] = on_securable_fullname
|
|
385
318
|
__args__['onSecurableType'] = on_securable_type
|
|
386
|
-
__args__['policyType'] = policy_type
|
|
387
|
-
__args__['rowFilter'] = row_filter
|
|
388
|
-
__args__['toPrincipals'] = to_principals
|
|
389
|
-
__args__['whenCondition'] = when_condition
|
|
390
319
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
391
320
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult)
|
|
392
321
|
return __ret__.apply(lambda __response__: GetPolicyInfoResult(
|
|
@@ -27,10 +27,22 @@ class GetPolicyInfosResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getPolicyInfos.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None, policies=None):
|
|
30
|
+
def __init__(__self__, id=None, include_inherited=None, max_results=None, on_securable_fullname=None, on_securable_type=None, policies=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if include_inherited and not isinstance(include_inherited, bool):
|
|
35
|
+
raise TypeError("Expected argument 'include_inherited' to be a bool")
|
|
36
|
+
pulumi.set(__self__, "include_inherited", include_inherited)
|
|
37
|
+
if max_results and not isinstance(max_results, int):
|
|
38
|
+
raise TypeError("Expected argument 'max_results' to be a int")
|
|
39
|
+
pulumi.set(__self__, "max_results", max_results)
|
|
40
|
+
if on_securable_fullname and not isinstance(on_securable_fullname, str):
|
|
41
|
+
raise TypeError("Expected argument 'on_securable_fullname' to be a str")
|
|
42
|
+
pulumi.set(__self__, "on_securable_fullname", on_securable_fullname)
|
|
43
|
+
if on_securable_type and not isinstance(on_securable_type, str):
|
|
44
|
+
raise TypeError("Expected argument 'on_securable_type' to be a str")
|
|
45
|
+
pulumi.set(__self__, "on_securable_type", on_securable_type)
|
|
34
46
|
if policies and not isinstance(policies, list):
|
|
35
47
|
raise TypeError("Expected argument 'policies' to be a list")
|
|
36
48
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -43,6 +55,35 @@ class GetPolicyInfosResult:
|
|
|
43
55
|
"""
|
|
44
56
|
return pulumi.get(self, "id")
|
|
45
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="includeInherited")
|
|
60
|
+
def include_inherited(self) -> Optional[_builtins.bool]:
|
|
61
|
+
return pulumi.get(self, "include_inherited")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
64
|
+
@pulumi.getter(name="maxResults")
|
|
65
|
+
def max_results(self) -> Optional[_builtins.int]:
|
|
66
|
+
return pulumi.get(self, "max_results")
|
|
67
|
+
|
|
68
|
+
@_builtins.property
|
|
69
|
+
@pulumi.getter(name="onSecurableFullname")
|
|
70
|
+
def on_securable_fullname(self) -> _builtins.str:
|
|
71
|
+
"""
|
|
72
|
+
(string) - Full name of the securable on which the policy is defined.
|
|
73
|
+
Required on create and ignored on update
|
|
74
|
+
"""
|
|
75
|
+
return pulumi.get(self, "on_securable_fullname")
|
|
76
|
+
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@pulumi.getter(name="onSecurableType")
|
|
79
|
+
def on_securable_type(self) -> _builtins.str:
|
|
80
|
+
"""
|
|
81
|
+
(string) - Type of the securable on which the policy is defined.
|
|
82
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
83
|
+
Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
84
|
+
"""
|
|
85
|
+
return pulumi.get(self, "on_securable_type")
|
|
86
|
+
|
|
46
87
|
@_builtins.property
|
|
47
88
|
@pulumi.getter
|
|
48
89
|
def policies(self) -> Sequence['outputs.GetPolicyInfosPolicyResult']:
|
|
@@ -56,27 +97,73 @@ class AwaitableGetPolicyInfosResult(GetPolicyInfosResult):
|
|
|
56
97
|
yield self
|
|
57
98
|
return GetPolicyInfosResult(
|
|
58
99
|
id=self.id,
|
|
100
|
+
include_inherited=self.include_inherited,
|
|
101
|
+
max_results=self.max_results,
|
|
102
|
+
on_securable_fullname=self.on_securable_fullname,
|
|
103
|
+
on_securable_type=self.on_securable_type,
|
|
59
104
|
policies=self.policies)
|
|
60
105
|
|
|
61
106
|
|
|
62
|
-
def get_policy_infos(
|
|
107
|
+
def get_policy_infos(include_inherited: Optional[_builtins.bool] = None,
|
|
108
|
+
max_results: Optional[_builtins.int] = None,
|
|
109
|
+
on_securable_fullname: Optional[_builtins.str] = None,
|
|
110
|
+
on_securable_type: Optional[_builtins.str] = None,
|
|
111
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfosResult:
|
|
63
112
|
"""
|
|
64
|
-
|
|
113
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
:param _builtins.bool include_inherited: Optional. Whether to include policies defined on parent securables.
|
|
117
|
+
By default, the inherited policies are not included
|
|
118
|
+
:param _builtins.int max_results: Optional. Maximum number of policies to return on a single page (page length).
|
|
119
|
+
- When not set or set to 0, the page length is set to a server configured value (recommended);
|
|
120
|
+
- When set to a value greater than 0, the page length is the minimum of this value and a server configured value;
|
|
121
|
+
:param _builtins.str on_securable_fullname: Required. The fully qualified name of securable to list policies for
|
|
122
|
+
:param _builtins.str on_securable_type: Required. The type of the securable to list policies for
|
|
65
123
|
"""
|
|
66
124
|
__args__ = dict()
|
|
125
|
+
__args__['includeInherited'] = include_inherited
|
|
126
|
+
__args__['maxResults'] = max_results
|
|
127
|
+
__args__['onSecurableFullname'] = on_securable_fullname
|
|
128
|
+
__args__['onSecurableType'] = on_securable_type
|
|
67
129
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
68
130
|
__ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult).value
|
|
69
131
|
|
|
70
132
|
return AwaitableGetPolicyInfosResult(
|
|
71
133
|
id=pulumi.get(__ret__, 'id'),
|
|
134
|
+
include_inherited=pulumi.get(__ret__, 'include_inherited'),
|
|
135
|
+
max_results=pulumi.get(__ret__, 'max_results'),
|
|
136
|
+
on_securable_fullname=pulumi.get(__ret__, 'on_securable_fullname'),
|
|
137
|
+
on_securable_type=pulumi.get(__ret__, 'on_securable_type'),
|
|
72
138
|
policies=pulumi.get(__ret__, 'policies'))
|
|
73
|
-
def get_policy_infos_output(
|
|
139
|
+
def get_policy_infos_output(include_inherited: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
140
|
+
max_results: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
141
|
+
on_securable_fullname: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
|
+
on_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfosResult]:
|
|
74
144
|
"""
|
|
75
|
-
|
|
145
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
:param _builtins.bool include_inherited: Optional. Whether to include policies defined on parent securables.
|
|
149
|
+
By default, the inherited policies are not included
|
|
150
|
+
:param _builtins.int max_results: Optional. Maximum number of policies to return on a single page (page length).
|
|
151
|
+
- When not set or set to 0, the page length is set to a server configured value (recommended);
|
|
152
|
+
- When set to a value greater than 0, the page length is the minimum of this value and a server configured value;
|
|
153
|
+
:param _builtins.str on_securable_fullname: Required. The fully qualified name of securable to list policies for
|
|
154
|
+
:param _builtins.str on_securable_type: Required. The type of the securable to list policies for
|
|
76
155
|
"""
|
|
77
156
|
__args__ = dict()
|
|
157
|
+
__args__['includeInherited'] = include_inherited
|
|
158
|
+
__args__['maxResults'] = max_results
|
|
159
|
+
__args__['onSecurableFullname'] = on_securable_fullname
|
|
160
|
+
__args__['onSecurableType'] = on_securable_type
|
|
78
161
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
162
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult)
|
|
80
163
|
return __ret__.apply(lambda __response__: GetPolicyInfosResult(
|
|
81
164
|
id=pulumi.get(__response__, 'id'),
|
|
165
|
+
include_inherited=pulumi.get(__response__, 'include_inherited'),
|
|
166
|
+
max_results=pulumi.get(__response__, 'max_results'),
|
|
167
|
+
on_securable_fullname=pulumi.get(__response__, 'on_securable_fullname'),
|
|
168
|
+
on_securable_type=pulumi.get(__response__, 'on_securable_type'),
|
|
82
169
|
policies=pulumi.get(__response__, 'policies')))
|
|
@@ -90,6 +90,8 @@ def get_quality_monitor_v2(object_id: Optional[_builtins.str] = None,
|
|
|
90
90
|
object_type: Optional[_builtins.str] = None,
|
|
91
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQualityMonitorV2Result:
|
|
92
92
|
"""
|
|
93
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
94
|
+
|
|
93
95
|
This data source can be used to fetch a quality monitors v2.
|
|
94
96
|
|
|
95
97
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -126,6 +128,8 @@ def get_quality_monitor_v2_output(object_id: Optional[pulumi.Input[_builtins.str
|
|
|
126
128
|
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetQualityMonitorV2Result]:
|
|
128
130
|
"""
|
|
131
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
132
|
+
|
|
129
133
|
This data source can be used to fetch a quality monitors v2.
|
|
130
134
|
|
|
131
135
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -27,10 +27,13 @@ class GetQualityMonitorsV2Result:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getQualityMonitorsV2.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None, quality_monitors=None):
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, quality_monitors=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
33
|
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
34
37
|
if quality_monitors and not isinstance(quality_monitors, list):
|
|
35
38
|
raise TypeError("Expected argument 'quality_monitors' to be a list")
|
|
36
39
|
pulumi.set(__self__, "quality_monitors", quality_monitors)
|
|
@@ -43,6 +46,11 @@ class GetQualityMonitorsV2Result:
|
|
|
43
46
|
"""
|
|
44
47
|
return pulumi.get(self, "id")
|
|
45
48
|
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
46
54
|
@_builtins.property
|
|
47
55
|
@pulumi.getter(name="qualityMonitors")
|
|
48
56
|
def quality_monitors(self) -> Sequence['outputs.GetQualityMonitorsV2QualityMonitorResult']:
|
|
@@ -56,11 +64,15 @@ class AwaitableGetQualityMonitorsV2Result(GetQualityMonitorsV2Result):
|
|
|
56
64
|
yield self
|
|
57
65
|
return GetQualityMonitorsV2Result(
|
|
58
66
|
id=self.id,
|
|
67
|
+
page_size=self.page_size,
|
|
59
68
|
quality_monitors=self.quality_monitors)
|
|
60
69
|
|
|
61
70
|
|
|
62
|
-
def get_quality_monitors_v2(
|
|
71
|
+
def get_quality_monitors_v2(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQualityMonitorsV2Result:
|
|
63
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
64
76
|
This data source can be used to fetch the list of quality monitors v2.
|
|
65
77
|
|
|
66
78
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -77,14 +89,19 @@ def get_quality_monitors_v2(opts: Optional[pulumi.InvokeOptions] = None) -> Awai
|
|
|
77
89
|
```
|
|
78
90
|
"""
|
|
79
91
|
__args__ = dict()
|
|
92
|
+
__args__['pageSize'] = page_size
|
|
80
93
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
81
94
|
__ret__ = pulumi.runtime.invoke('databricks:index/getQualityMonitorsV2:getQualityMonitorsV2', __args__, opts=opts, typ=GetQualityMonitorsV2Result).value
|
|
82
95
|
|
|
83
96
|
return AwaitableGetQualityMonitorsV2Result(
|
|
84
97
|
id=pulumi.get(__ret__, 'id'),
|
|
98
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
85
99
|
quality_monitors=pulumi.get(__ret__, 'quality_monitors'))
|
|
86
|
-
def get_quality_monitors_v2_output(
|
|
100
|
+
def get_quality_monitors_v2_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
101
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetQualityMonitorsV2Result]:
|
|
87
102
|
"""
|
|
103
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
104
|
+
|
|
88
105
|
This data source can be used to fetch the list of quality monitors v2.
|
|
89
106
|
|
|
90
107
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -101,8 +118,10 @@ def get_quality_monitors_v2_output(opts: Optional[Union[pulumi.InvokeOptions, pu
|
|
|
101
118
|
```
|
|
102
119
|
"""
|
|
103
120
|
__args__ = dict()
|
|
121
|
+
__args__['pageSize'] = page_size
|
|
104
122
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
105
123
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getQualityMonitorsV2:getQualityMonitorsV2', __args__, opts=opts, typ=GetQualityMonitorsV2Result)
|
|
106
124
|
return __ret__.apply(lambda __response__: GetQualityMonitorsV2Result(
|
|
107
125
|
id=pulumi.get(__response__, 'id'),
|
|
126
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
108
127
|
quality_monitors=pulumi.get(__response__, 'quality_monitors')))
|
|
@@ -28,7 +28,7 @@ class GetRegisteredModelResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getRegisteredModel.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, full_name=None, id=None, include_aliases=None, include_browse=None, model_infos=None):
|
|
31
|
+
def __init__(__self__, full_name=None, id=None, include_aliases=None, include_browse=None, model_infos=None, provider_config=None):
|
|
32
32
|
if full_name and not isinstance(full_name, str):
|
|
33
33
|
raise TypeError("Expected argument 'full_name' to be a str")
|
|
34
34
|
pulumi.set(__self__, "full_name", full_name)
|
|
@@ -44,6 +44,9 @@ class GetRegisteredModelResult:
|
|
|
44
44
|
if model_infos and not isinstance(model_infos, list):
|
|
45
45
|
raise TypeError("Expected argument 'model_infos' to be a list")
|
|
46
46
|
pulumi.set(__self__, "model_infos", model_infos)
|
|
47
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
48
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
47
50
|
|
|
48
51
|
@_builtins.property
|
|
49
52
|
@pulumi.getter(name="fullName")
|
|
@@ -79,6 +82,11 @@ class GetRegisteredModelResult:
|
|
|
79
82
|
"""
|
|
80
83
|
return pulumi.get(self, "model_infos")
|
|
81
84
|
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter(name="providerConfig")
|
|
87
|
+
def provider_config(self) -> Optional['outputs.GetRegisteredModelProviderConfigResult']:
|
|
88
|
+
return pulumi.get(self, "provider_config")
|
|
89
|
+
|
|
82
90
|
|
|
83
91
|
class AwaitableGetRegisteredModelResult(GetRegisteredModelResult):
|
|
84
92
|
# pylint: disable=using-constant-test
|
|
@@ -90,13 +98,15 @@ class AwaitableGetRegisteredModelResult(GetRegisteredModelResult):
|
|
|
90
98
|
id=self.id,
|
|
91
99
|
include_aliases=self.include_aliases,
|
|
92
100
|
include_browse=self.include_browse,
|
|
93
|
-
model_infos=self.model_infos
|
|
101
|
+
model_infos=self.model_infos,
|
|
102
|
+
provider_config=self.provider_config)
|
|
94
103
|
|
|
95
104
|
|
|
96
105
|
def get_registered_model(full_name: Optional[_builtins.str] = None,
|
|
97
106
|
include_aliases: Optional[_builtins.bool] = None,
|
|
98
107
|
include_browse: Optional[_builtins.bool] = None,
|
|
99
108
|
model_infos: Optional[Sequence[Union['GetRegisteredModelModelInfoArgs', 'GetRegisteredModelModelInfoArgsDict']]] = None,
|
|
109
|
+
provider_config: Optional[Union['GetRegisteredModelProviderConfigArgs', 'GetRegisteredModelProviderConfigArgsDict']] = None,
|
|
100
110
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetRegisteredModelResult:
|
|
101
111
|
"""
|
|
102
112
|
This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
|
|
@@ -131,6 +141,7 @@ def get_registered_model(full_name: Optional[_builtins.str] = None,
|
|
|
131
141
|
__args__['includeAliases'] = include_aliases
|
|
132
142
|
__args__['includeBrowse'] = include_browse
|
|
133
143
|
__args__['modelInfos'] = model_infos
|
|
144
|
+
__args__['providerConfig'] = provider_config
|
|
134
145
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
146
|
__ret__ = pulumi.runtime.invoke('databricks:index/getRegisteredModel:getRegisteredModel', __args__, opts=opts, typ=GetRegisteredModelResult).value
|
|
136
147
|
|
|
@@ -139,11 +150,13 @@ def get_registered_model(full_name: Optional[_builtins.str] = None,
|
|
|
139
150
|
id=pulumi.get(__ret__, 'id'),
|
|
140
151
|
include_aliases=pulumi.get(__ret__, 'include_aliases'),
|
|
141
152
|
include_browse=pulumi.get(__ret__, 'include_browse'),
|
|
142
|
-
model_infos=pulumi.get(__ret__, 'model_infos')
|
|
153
|
+
model_infos=pulumi.get(__ret__, 'model_infos'),
|
|
154
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
143
155
|
def get_registered_model_output(full_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
144
156
|
include_aliases: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
145
157
|
include_browse: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
146
158
|
model_infos: Optional[pulumi.Input[Optional[Sequence[Union['GetRegisteredModelModelInfoArgs', 'GetRegisteredModelModelInfoArgsDict']]]]] = None,
|
|
159
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetRegisteredModelProviderConfigArgs', 'GetRegisteredModelProviderConfigArgsDict']]]] = None,
|
|
147
160
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetRegisteredModelResult]:
|
|
148
161
|
"""
|
|
149
162
|
This resource allows you to get information about [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
|
|
@@ -178,6 +191,7 @@ def get_registered_model_output(full_name: Optional[pulumi.Input[_builtins.str]]
|
|
|
178
191
|
__args__['includeAliases'] = include_aliases
|
|
179
192
|
__args__['includeBrowse'] = include_browse
|
|
180
193
|
__args__['modelInfos'] = model_infos
|
|
194
|
+
__args__['providerConfig'] = provider_config
|
|
181
195
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
196
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getRegisteredModel:getRegisteredModel', __args__, opts=opts, typ=GetRegisteredModelResult)
|
|
183
197
|
return __ret__.apply(lambda __response__: GetRegisteredModelResult(
|
|
@@ -185,4 +199,5 @@ def get_registered_model_output(full_name: Optional[pulumi.Input[_builtins.str]]
|
|
|
185
199
|
id=pulumi.get(__response__, 'id'),
|
|
186
200
|
include_aliases=pulumi.get(__response__, 'include_aliases'),
|
|
187
201
|
include_browse=pulumi.get(__response__, 'include_browse'),
|
|
188
|
-
model_infos=pulumi.get(__response__, 'model_infos')
|
|
202
|
+
model_infos=pulumi.get(__response__, 'model_infos'),
|
|
203
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|