pulumi-databricks 1.74.0a1753335781__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 +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- 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 +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- 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 +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- 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 +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,338 @@
|
|
|
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
|
+
'GetPolicyInfoResult',
|
|
20
|
+
'AwaitableGetPolicyInfoResult',
|
|
21
|
+
'get_policy_info',
|
|
22
|
+
'get_policy_info_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetPolicyInfoResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getPolicyInfo.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, column_mask=None, comment=None, created_at=None, created_by=None, except_principals=None, for_securable_type=None, id=None, match_columns=None, name=None, on_securable_fullname=None, on_securable_type=None, policy_type=None, row_filter=None, to_principals=None, updated_at=None, updated_by=None, when_condition=None):
|
|
31
|
+
if column_mask and not isinstance(column_mask, dict):
|
|
32
|
+
raise TypeError("Expected argument 'column_mask' to be a dict")
|
|
33
|
+
pulumi.set(__self__, "column_mask", column_mask)
|
|
34
|
+
if comment and not isinstance(comment, str):
|
|
35
|
+
raise TypeError("Expected argument 'comment' to be a str")
|
|
36
|
+
pulumi.set(__self__, "comment", comment)
|
|
37
|
+
if created_at and not isinstance(created_at, int):
|
|
38
|
+
raise TypeError("Expected argument 'created_at' to be a int")
|
|
39
|
+
pulumi.set(__self__, "created_at", created_at)
|
|
40
|
+
if created_by and not isinstance(created_by, str):
|
|
41
|
+
raise TypeError("Expected argument 'created_by' to be a str")
|
|
42
|
+
pulumi.set(__self__, "created_by", created_by)
|
|
43
|
+
if except_principals and not isinstance(except_principals, list):
|
|
44
|
+
raise TypeError("Expected argument 'except_principals' to be a list")
|
|
45
|
+
pulumi.set(__self__, "except_principals", except_principals)
|
|
46
|
+
if for_securable_type and not isinstance(for_securable_type, str):
|
|
47
|
+
raise TypeError("Expected argument 'for_securable_type' to be a str")
|
|
48
|
+
pulumi.set(__self__, "for_securable_type", for_securable_type)
|
|
49
|
+
if id and not isinstance(id, str):
|
|
50
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
51
|
+
pulumi.set(__self__, "id", id)
|
|
52
|
+
if match_columns and not isinstance(match_columns, list):
|
|
53
|
+
raise TypeError("Expected argument 'match_columns' to be a list")
|
|
54
|
+
pulumi.set(__self__, "match_columns", match_columns)
|
|
55
|
+
if name and not isinstance(name, str):
|
|
56
|
+
raise TypeError("Expected argument 'name' to be a str")
|
|
57
|
+
pulumi.set(__self__, "name", name)
|
|
58
|
+
if on_securable_fullname and not isinstance(on_securable_fullname, str):
|
|
59
|
+
raise TypeError("Expected argument 'on_securable_fullname' to be a str")
|
|
60
|
+
pulumi.set(__self__, "on_securable_fullname", on_securable_fullname)
|
|
61
|
+
if on_securable_type and not isinstance(on_securable_type, str):
|
|
62
|
+
raise TypeError("Expected argument 'on_securable_type' to be a str")
|
|
63
|
+
pulumi.set(__self__, "on_securable_type", on_securable_type)
|
|
64
|
+
if policy_type and not isinstance(policy_type, str):
|
|
65
|
+
raise TypeError("Expected argument 'policy_type' to be a str")
|
|
66
|
+
pulumi.set(__self__, "policy_type", policy_type)
|
|
67
|
+
if row_filter and not isinstance(row_filter, dict):
|
|
68
|
+
raise TypeError("Expected argument 'row_filter' to be a dict")
|
|
69
|
+
pulumi.set(__self__, "row_filter", row_filter)
|
|
70
|
+
if to_principals and not isinstance(to_principals, list):
|
|
71
|
+
raise TypeError("Expected argument 'to_principals' to be a list")
|
|
72
|
+
pulumi.set(__self__, "to_principals", to_principals)
|
|
73
|
+
if updated_at and not isinstance(updated_at, int):
|
|
74
|
+
raise TypeError("Expected argument 'updated_at' to be a int")
|
|
75
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
76
|
+
if updated_by and not isinstance(updated_by, str):
|
|
77
|
+
raise TypeError("Expected argument 'updated_by' to be a str")
|
|
78
|
+
pulumi.set(__self__, "updated_by", updated_by)
|
|
79
|
+
if when_condition and not isinstance(when_condition, str):
|
|
80
|
+
raise TypeError("Expected argument 'when_condition' to be a str")
|
|
81
|
+
pulumi.set(__self__, "when_condition", when_condition)
|
|
82
|
+
|
|
83
|
+
@_builtins.property
|
|
84
|
+
@pulumi.getter(name="columnMask")
|
|
85
|
+
def column_mask(self) -> 'outputs.GetPolicyInfoColumnMaskResult':
|
|
86
|
+
"""
|
|
87
|
+
(ColumnMaskOptions) - Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`.
|
|
88
|
+
Required on create and optional on update. When specified on update,
|
|
89
|
+
the new options will replace the existing options as a whole
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "column_mask")
|
|
92
|
+
|
|
93
|
+
@_builtins.property
|
|
94
|
+
@pulumi.getter
|
|
95
|
+
def comment(self) -> _builtins.str:
|
|
96
|
+
"""
|
|
97
|
+
(string) - Optional description of the policy
|
|
98
|
+
"""
|
|
99
|
+
return pulumi.get(self, "comment")
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
102
|
+
@pulumi.getter(name="createdAt")
|
|
103
|
+
def created_at(self) -> _builtins.int:
|
|
104
|
+
"""
|
|
105
|
+
(integer) - Time at which the policy was created, in epoch milliseconds. Output only
|
|
106
|
+
"""
|
|
107
|
+
return pulumi.get(self, "created_at")
|
|
108
|
+
|
|
109
|
+
@_builtins.property
|
|
110
|
+
@pulumi.getter(name="createdBy")
|
|
111
|
+
def created_by(self) -> _builtins.str:
|
|
112
|
+
"""
|
|
113
|
+
(string) - Username of the user who created the policy. Output only
|
|
114
|
+
"""
|
|
115
|
+
return pulumi.get(self, "created_by")
|
|
116
|
+
|
|
117
|
+
@_builtins.property
|
|
118
|
+
@pulumi.getter(name="exceptPrincipals")
|
|
119
|
+
def except_principals(self) -> Sequence[_builtins.str]:
|
|
120
|
+
"""
|
|
121
|
+
(list of string) - Optional list of user or group names that should be excluded from the policy
|
|
122
|
+
"""
|
|
123
|
+
return pulumi.get(self, "except_principals")
|
|
124
|
+
|
|
125
|
+
@_builtins.property
|
|
126
|
+
@pulumi.getter(name="forSecurableType")
|
|
127
|
+
def for_securable_type(self) -> _builtins.str:
|
|
128
|
+
"""
|
|
129
|
+
(string) - Type of securables that the policy should take effect on.
|
|
130
|
+
Only `TABLE` is supported at this moment.
|
|
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`
|
|
132
|
+
"""
|
|
133
|
+
return pulumi.get(self, "for_securable_type")
|
|
134
|
+
|
|
135
|
+
@_builtins.property
|
|
136
|
+
@pulumi.getter
|
|
137
|
+
def id(self) -> _builtins.str:
|
|
138
|
+
"""
|
|
139
|
+
(string) - Unique identifier of the policy. This field is output only and is generated by the system
|
|
140
|
+
"""
|
|
141
|
+
return pulumi.get(self, "id")
|
|
142
|
+
|
|
143
|
+
@_builtins.property
|
|
144
|
+
@pulumi.getter(name="matchColumns")
|
|
145
|
+
def match_columns(self) -> Sequence['outputs.GetPolicyInfoMatchColumnResult']:
|
|
146
|
+
"""
|
|
147
|
+
(list of MatchColumn) - Optional list of condition expressions used to match table columns.
|
|
148
|
+
Only valid when `for_securable_type` is `TABLE`.
|
|
149
|
+
When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
150
|
+
"""
|
|
151
|
+
return pulumi.get(self, "match_columns")
|
|
152
|
+
|
|
153
|
+
@_builtins.property
|
|
154
|
+
@pulumi.getter
|
|
155
|
+
def name(self) -> _builtins.str:
|
|
156
|
+
"""
|
|
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
|
|
159
|
+
"""
|
|
160
|
+
return pulumi.get(self, "name")
|
|
161
|
+
|
|
162
|
+
@_builtins.property
|
|
163
|
+
@pulumi.getter(name="onSecurableFullname")
|
|
164
|
+
def on_securable_fullname(self) -> _builtins.str:
|
|
165
|
+
"""
|
|
166
|
+
(string) - Full name of the securable on which the policy is defined.
|
|
167
|
+
Required on create and ignored on update
|
|
168
|
+
"""
|
|
169
|
+
return pulumi.get(self, "on_securable_fullname")
|
|
170
|
+
|
|
171
|
+
@_builtins.property
|
|
172
|
+
@pulumi.getter(name="onSecurableType")
|
|
173
|
+
def on_securable_type(self) -> _builtins.str:
|
|
174
|
+
"""
|
|
175
|
+
(string) - Type of the securable on which the policy is defined.
|
|
176
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
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`
|
|
178
|
+
"""
|
|
179
|
+
return pulumi.get(self, "on_securable_type")
|
|
180
|
+
|
|
181
|
+
@_builtins.property
|
|
182
|
+
@pulumi.getter(name="policyType")
|
|
183
|
+
def policy_type(self) -> _builtins.str:
|
|
184
|
+
"""
|
|
185
|
+
(string) - Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
186
|
+
"""
|
|
187
|
+
return pulumi.get(self, "policy_type")
|
|
188
|
+
|
|
189
|
+
@_builtins.property
|
|
190
|
+
@pulumi.getter(name="rowFilter")
|
|
191
|
+
def row_filter(self) -> 'outputs.GetPolicyInfoRowFilterResult':
|
|
192
|
+
"""
|
|
193
|
+
(RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
|
|
194
|
+
Required on create and optional on update. When specified on update,
|
|
195
|
+
the new options will replace the existing options as a whole
|
|
196
|
+
"""
|
|
197
|
+
return pulumi.get(self, "row_filter")
|
|
198
|
+
|
|
199
|
+
@_builtins.property
|
|
200
|
+
@pulumi.getter(name="toPrincipals")
|
|
201
|
+
def to_principals(self) -> Sequence[_builtins.str]:
|
|
202
|
+
"""
|
|
203
|
+
(list of string) - List of user or group names that the policy applies to.
|
|
204
|
+
Required on create and optional on update
|
|
205
|
+
"""
|
|
206
|
+
return pulumi.get(self, "to_principals")
|
|
207
|
+
|
|
208
|
+
@_builtins.property
|
|
209
|
+
@pulumi.getter(name="updatedAt")
|
|
210
|
+
def updated_at(self) -> _builtins.int:
|
|
211
|
+
"""
|
|
212
|
+
(integer) - Time at which the policy was last modified, in epoch milliseconds. Output only
|
|
213
|
+
"""
|
|
214
|
+
return pulumi.get(self, "updated_at")
|
|
215
|
+
|
|
216
|
+
@_builtins.property
|
|
217
|
+
@pulumi.getter(name="updatedBy")
|
|
218
|
+
def updated_by(self) -> _builtins.str:
|
|
219
|
+
"""
|
|
220
|
+
(string) - Username of the user who last modified the policy. Output only
|
|
221
|
+
"""
|
|
222
|
+
return pulumi.get(self, "updated_by")
|
|
223
|
+
|
|
224
|
+
@_builtins.property
|
|
225
|
+
@pulumi.getter(name="whenCondition")
|
|
226
|
+
def when_condition(self) -> _builtins.str:
|
|
227
|
+
"""
|
|
228
|
+
(string) - Optional condition when the policy should take effect
|
|
229
|
+
"""
|
|
230
|
+
return pulumi.get(self, "when_condition")
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
class AwaitableGetPolicyInfoResult(GetPolicyInfoResult):
|
|
234
|
+
# pylint: disable=using-constant-test
|
|
235
|
+
def __await__(self):
|
|
236
|
+
if False:
|
|
237
|
+
yield self
|
|
238
|
+
return GetPolicyInfoResult(
|
|
239
|
+
column_mask=self.column_mask,
|
|
240
|
+
comment=self.comment,
|
|
241
|
+
created_at=self.created_at,
|
|
242
|
+
created_by=self.created_by,
|
|
243
|
+
except_principals=self.except_principals,
|
|
244
|
+
for_securable_type=self.for_securable_type,
|
|
245
|
+
id=self.id,
|
|
246
|
+
match_columns=self.match_columns,
|
|
247
|
+
name=self.name,
|
|
248
|
+
on_securable_fullname=self.on_securable_fullname,
|
|
249
|
+
on_securable_type=self.on_securable_type,
|
|
250
|
+
policy_type=self.policy_type,
|
|
251
|
+
row_filter=self.row_filter,
|
|
252
|
+
to_principals=self.to_principals,
|
|
253
|
+
updated_at=self.updated_at,
|
|
254
|
+
updated_by=self.updated_by,
|
|
255
|
+
when_condition=self.when_condition)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
def get_policy_info(name: Optional[_builtins.str] = None,
|
|
259
|
+
on_securable_fullname: Optional[_builtins.str] = None,
|
|
260
|
+
on_securable_type: Optional[_builtins.str] = None,
|
|
261
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfoResult:
|
|
262
|
+
"""
|
|
263
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
264
|
+
|
|
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
|
|
268
|
+
:param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
269
|
+
Required on create and ignored on update
|
|
270
|
+
:param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
|
|
271
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
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`
|
|
273
|
+
"""
|
|
274
|
+
__args__ = dict()
|
|
275
|
+
__args__['name'] = name
|
|
276
|
+
__args__['onSecurableFullname'] = on_securable_fullname
|
|
277
|
+
__args__['onSecurableType'] = on_securable_type
|
|
278
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
279
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult).value
|
|
280
|
+
|
|
281
|
+
return AwaitableGetPolicyInfoResult(
|
|
282
|
+
column_mask=pulumi.get(__ret__, 'column_mask'),
|
|
283
|
+
comment=pulumi.get(__ret__, 'comment'),
|
|
284
|
+
created_at=pulumi.get(__ret__, 'created_at'),
|
|
285
|
+
created_by=pulumi.get(__ret__, 'created_by'),
|
|
286
|
+
except_principals=pulumi.get(__ret__, 'except_principals'),
|
|
287
|
+
for_securable_type=pulumi.get(__ret__, 'for_securable_type'),
|
|
288
|
+
id=pulumi.get(__ret__, 'id'),
|
|
289
|
+
match_columns=pulumi.get(__ret__, 'match_columns'),
|
|
290
|
+
name=pulumi.get(__ret__, 'name'),
|
|
291
|
+
on_securable_fullname=pulumi.get(__ret__, 'on_securable_fullname'),
|
|
292
|
+
on_securable_type=pulumi.get(__ret__, 'on_securable_type'),
|
|
293
|
+
policy_type=pulumi.get(__ret__, 'policy_type'),
|
|
294
|
+
row_filter=pulumi.get(__ret__, 'row_filter'),
|
|
295
|
+
to_principals=pulumi.get(__ret__, 'to_principals'),
|
|
296
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
297
|
+
updated_by=pulumi.get(__ret__, 'updated_by'),
|
|
298
|
+
when_condition=pulumi.get(__ret__, 'when_condition'))
|
|
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,
|
|
302
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfoResult]:
|
|
303
|
+
"""
|
|
304
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
305
|
+
|
|
306
|
+
|
|
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
|
|
309
|
+
:param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
|
|
310
|
+
Required on create and ignored on update
|
|
311
|
+
:param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
|
|
312
|
+
Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
|
|
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`
|
|
314
|
+
"""
|
|
315
|
+
__args__ = dict()
|
|
316
|
+
__args__['name'] = name
|
|
317
|
+
__args__['onSecurableFullname'] = on_securable_fullname
|
|
318
|
+
__args__['onSecurableType'] = on_securable_type
|
|
319
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
320
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult)
|
|
321
|
+
return __ret__.apply(lambda __response__: GetPolicyInfoResult(
|
|
322
|
+
column_mask=pulumi.get(__response__, 'column_mask'),
|
|
323
|
+
comment=pulumi.get(__response__, 'comment'),
|
|
324
|
+
created_at=pulumi.get(__response__, 'created_at'),
|
|
325
|
+
created_by=pulumi.get(__response__, 'created_by'),
|
|
326
|
+
except_principals=pulumi.get(__response__, 'except_principals'),
|
|
327
|
+
for_securable_type=pulumi.get(__response__, 'for_securable_type'),
|
|
328
|
+
id=pulumi.get(__response__, 'id'),
|
|
329
|
+
match_columns=pulumi.get(__response__, 'match_columns'),
|
|
330
|
+
name=pulumi.get(__response__, 'name'),
|
|
331
|
+
on_securable_fullname=pulumi.get(__response__, 'on_securable_fullname'),
|
|
332
|
+
on_securable_type=pulumi.get(__response__, 'on_securable_type'),
|
|
333
|
+
policy_type=pulumi.get(__response__, 'policy_type'),
|
|
334
|
+
row_filter=pulumi.get(__response__, 'row_filter'),
|
|
335
|
+
to_principals=pulumi.get(__response__, 'to_principals'),
|
|
336
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
337
|
+
updated_by=pulumi.get(__response__, 'updated_by'),
|
|
338
|
+
when_condition=pulumi.get(__response__, 'when_condition')))
|
|
@@ -0,0 +1,169 @@
|
|
|
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
|
+
'GetPolicyInfosResult',
|
|
20
|
+
'AwaitableGetPolicyInfosResult',
|
|
21
|
+
'get_policy_infos',
|
|
22
|
+
'get_policy_infos_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetPolicyInfosResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getPolicyInfos.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, include_inherited=None, max_results=None, on_securable_fullname=None, on_securable_type=None, policies=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 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)
|
|
46
|
+
if policies and not isinstance(policies, list):
|
|
47
|
+
raise TypeError("Expected argument 'policies' to be a list")
|
|
48
|
+
pulumi.set(__self__, "policies", policies)
|
|
49
|
+
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter
|
|
52
|
+
def id(self) -> _builtins.str:
|
|
53
|
+
"""
|
|
54
|
+
The provider-assigned unique ID for this managed resource.
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "id")
|
|
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
|
+
|
|
87
|
+
@_builtins.property
|
|
88
|
+
@pulumi.getter
|
|
89
|
+
def policies(self) -> Sequence['outputs.GetPolicyInfosPolicyResult']:
|
|
90
|
+
return pulumi.get(self, "policies")
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
class AwaitableGetPolicyInfosResult(GetPolicyInfosResult):
|
|
94
|
+
# pylint: disable=using-constant-test
|
|
95
|
+
def __await__(self):
|
|
96
|
+
if False:
|
|
97
|
+
yield self
|
|
98
|
+
return GetPolicyInfosResult(
|
|
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,
|
|
104
|
+
policies=self.policies)
|
|
105
|
+
|
|
106
|
+
|
|
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:
|
|
112
|
+
"""
|
|
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
|
|
123
|
+
"""
|
|
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
|
|
129
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult).value
|
|
131
|
+
|
|
132
|
+
return AwaitableGetPolicyInfosResult(
|
|
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'),
|
|
138
|
+
policies=pulumi.get(__ret__, 'policies'))
|
|
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]:
|
|
144
|
+
"""
|
|
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
|
|
155
|
+
"""
|
|
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
|
|
161
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
162
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult)
|
|
163
|
+
return __ret__.apply(lambda __response__: GetPolicyInfosResult(
|
|
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'),
|
|
169
|
+
policies=pulumi.get(__response__, 'policies')))
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -42,33 +41,33 @@ class GetQualityMonitorV2Result:
|
|
|
42
41
|
raise TypeError("Expected argument 'object_type' to be a str")
|
|
43
42
|
pulumi.set(__self__, "object_type", object_type)
|
|
44
43
|
|
|
45
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
46
45
|
@pulumi.getter(name="anomalyDetectionConfig")
|
|
47
46
|
def anomaly_detection_config(self) -> 'outputs.GetQualityMonitorV2AnomalyDetectionConfigResult':
|
|
48
47
|
"""
|
|
49
|
-
(AnomalyDetectionConfig)
|
|
48
|
+
(AnomalyDetectionConfig)
|
|
50
49
|
"""
|
|
51
50
|
return pulumi.get(self, "anomaly_detection_config")
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter
|
|
55
|
-
def id(self) ->
|
|
54
|
+
def id(self) -> _builtins.str:
|
|
56
55
|
"""
|
|
57
56
|
The provider-assigned unique ID for this managed resource.
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "id")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter(name="objectId")
|
|
63
|
-
def object_id(self) ->
|
|
62
|
+
def object_id(self) -> _builtins.str:
|
|
64
63
|
"""
|
|
65
64
|
(string) - The uuid of the request object. For example, schema id
|
|
66
65
|
"""
|
|
67
66
|
return pulumi.get(self, "object_id")
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter(name="objectType")
|
|
71
|
-
def object_type(self) ->
|
|
70
|
+
def object_type(self) -> _builtins.str:
|
|
72
71
|
"""
|
|
73
72
|
(string) - The type of the monitored object. Can be one of the following: schema
|
|
74
73
|
"""
|
|
@@ -87,10 +86,12 @@ class AwaitableGetQualityMonitorV2Result(GetQualityMonitorV2Result):
|
|
|
87
86
|
object_type=self.object_type)
|
|
88
87
|
|
|
89
88
|
|
|
90
|
-
def get_quality_monitor_v2(object_id: Optional[
|
|
91
|
-
object_type: Optional[
|
|
89
|
+
def get_quality_monitor_v2(object_id: Optional[_builtins.str] = None,
|
|
90
|
+
object_type: Optional[_builtins.str] = None,
|
|
92
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetQualityMonitorV2Result:
|
|
93
92
|
"""
|
|
93
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
94
|
+
|
|
94
95
|
This data source can be used to fetch a quality monitors v2.
|
|
95
96
|
|
|
96
97
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -109,8 +110,8 @@ def get_quality_monitor_v2(object_id: Optional[builtins.str] = None,
|
|
|
109
110
|
```
|
|
110
111
|
|
|
111
112
|
|
|
112
|
-
:param
|
|
113
|
-
:param
|
|
113
|
+
:param _builtins.str object_id: The uuid of the request object. For example, schema id
|
|
114
|
+
:param _builtins.str object_type: The type of the monitored object. Can be one of the following: schema
|
|
114
115
|
"""
|
|
115
116
|
__args__ = dict()
|
|
116
117
|
__args__['objectId'] = object_id
|
|
@@ -123,10 +124,12 @@ def get_quality_monitor_v2(object_id: Optional[builtins.str] = None,
|
|
|
123
124
|
id=pulumi.get(__ret__, 'id'),
|
|
124
125
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
125
126
|
object_type=pulumi.get(__ret__, 'object_type'))
|
|
126
|
-
def get_quality_monitor_v2_output(object_id: Optional[pulumi.Input[
|
|
127
|
-
object_type: Optional[pulumi.Input[
|
|
127
|
+
def get_quality_monitor_v2_output(object_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
object_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
129
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetQualityMonitorV2Result]:
|
|
129
130
|
"""
|
|
131
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
132
|
+
|
|
130
133
|
This data source can be used to fetch a quality monitors v2.
|
|
131
134
|
|
|
132
135
|
> **Note** This data source can only be used with an workspace-level provider!
|
|
@@ -145,8 +148,8 @@ def get_quality_monitor_v2_output(object_id: Optional[pulumi.Input[builtins.str]
|
|
|
145
148
|
```
|
|
146
149
|
|
|
147
150
|
|
|
148
|
-
:param
|
|
149
|
-
:param
|
|
151
|
+
:param _builtins.str object_id: The uuid of the request object. For example, schema id
|
|
152
|
+
:param _builtins.str object_type: The type of the monitored object. Can be one of the following: schema
|
|
150
153
|
"""
|
|
151
154
|
__args__ = dict()
|
|
152
155
|
__args__['objectId'] = object_id
|