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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. pulumi_databricks/__init__.py +54 -46
  2. pulumi_databricks/_inputs.py +26079 -32918
  3. pulumi_databricks/account_federation_policy.py +44 -16
  4. pulumi_databricks/account_network_policy.py +56 -2
  5. pulumi_databricks/account_setting_v2.py +46 -83
  6. pulumi_databricks/alert_v2.py +168 -134
  7. pulumi_databricks/app.py +153 -0
  8. pulumi_databricks/apps_settings_custom_template.py +75 -52
  9. pulumi_databricks/budget_policy.py +6 -2
  10. pulumi_databricks/catalog.py +65 -23
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/cluster_policy.py +120 -0
  13. pulumi_databricks/config/__init__.pyi +4 -0
  14. pulumi_databricks/config/vars.py +8 -0
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +9 -52
  18. pulumi_databricks/database_instance.py +271 -120
  19. pulumi_databricks/database_synced_database_table.py +239 -52
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +83 -52
  22. pulumi_databricks/external_location.py +131 -7
  23. pulumi_databricks/external_metadata.py +16 -59
  24. pulumi_databricks/feature_engineering_feature.py +480 -0
  25. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  26. pulumi_databricks/file.py +2 -2
  27. pulumi_databricks/get_account_federation_policies.py +22 -3
  28. pulumi_databricks/get_account_federation_policy.py +12 -27
  29. pulumi_databricks/get_account_network_policies.py +4 -0
  30. pulumi_databricks/get_account_network_policy.py +9 -18
  31. pulumi_databricks/get_account_setting_v2.py +36 -141
  32. pulumi_databricks/get_alert_v2.py +41 -107
  33. pulumi_databricks/get_alerts_v2.py +29 -31
  34. pulumi_databricks/get_app.py +21 -5
  35. pulumi_databricks/get_apps.py +22 -6
  36. pulumi_databricks/get_apps_settings_custom_template.py +11 -55
  37. pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
  38. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  39. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  40. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  41. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  42. pulumi_databricks/get_budget_policies.py +70 -6
  43. pulumi_databricks/get_budget_policy.py +9 -32
  44. pulumi_databricks/get_catalog.py +21 -4
  45. pulumi_databricks/get_catalogs.py +23 -4
  46. pulumi_databricks/get_cluster.py +75 -4
  47. pulumi_databricks/get_cluster_policy.py +23 -4
  48. pulumi_databricks/get_clusters.py +21 -4
  49. pulumi_databricks/get_current_config.py +4 -4
  50. pulumi_databricks/get_current_metastore.py +21 -4
  51. pulumi_databricks/get_dashboards.py +20 -4
  52. pulumi_databricks/get_data_quality_monitor.py +210 -0
  53. pulumi_databricks/get_data_quality_monitors.py +143 -0
  54. pulumi_databricks/get_data_quality_refresh.py +270 -0
  55. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  56. pulumi_databricks/get_database_database_catalog.py +10 -41
  57. pulumi_databricks/get_database_database_catalogs.py +37 -18
  58. pulumi_databricks/get_database_instance.py +93 -99
  59. pulumi_databricks/get_database_instances.py +20 -16
  60. pulumi_databricks/get_database_synced_database_table.py +11 -49
  61. pulumi_databricks/get_database_synced_database_tables.py +42 -23
  62. pulumi_databricks/get_directory.py +20 -1
  63. pulumi_databricks/get_entity_tag_assignment.py +63 -30
  64. pulumi_databricks/get_entity_tag_assignments.py +69 -23
  65. pulumi_databricks/get_external_location.py +21 -4
  66. pulumi_databricks/get_external_locations.py +23 -4
  67. pulumi_databricks/get_external_metadata.py +18 -73
  68. pulumi_databricks/get_external_metadatas.py +22 -16
  69. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  70. pulumi_databricks/get_feature_engineering_features.py +103 -0
  71. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  72. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  73. pulumi_databricks/get_functions.py +16 -1
  74. pulumi_databricks/get_instance_profiles.py +21 -4
  75. pulumi_databricks/get_jobs.py +23 -4
  76. pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
  77. pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
  78. pulumi_databricks/get_metastore.py +6 -6
  79. pulumi_databricks/get_mlflow_experiment.py +18 -1
  80. pulumi_databricks/get_mlflow_model.py +18 -1
  81. pulumi_databricks/get_mlflow_models.py +23 -4
  82. pulumi_databricks/get_node_type.py +42 -5
  83. pulumi_databricks/get_notebook.py +20 -1
  84. pulumi_databricks/get_notification_destinations.py +17 -1
  85. pulumi_databricks/get_online_store.py +11 -38
  86. pulumi_databricks/get_online_stores.py +20 -18
  87. pulumi_databricks/get_pipelines.py +23 -4
  88. pulumi_databricks/get_policy_info.py +21 -109
  89. pulumi_databricks/get_policy_infos.py +50 -25
  90. pulumi_databricks/get_quality_monitor_v2.py +8 -21
  91. pulumi_databricks/get_quality_monitors_v2.py +23 -25
  92. pulumi_databricks/get_registered_model.py +19 -4
  93. pulumi_databricks/get_registered_model_versions.py +19 -4
  94. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  95. pulumi_databricks/get_schema.py +18 -1
  96. pulumi_databricks/get_schemas.py +23 -4
  97. pulumi_databricks/get_service_principal_federation_policies.py +23 -4
  98. pulumi_databricks/get_service_principal_federation_policy.py +15 -24
  99. pulumi_databricks/get_service_principals.py +64 -0
  100. pulumi_databricks/get_serving_endpoints.py +19 -4
  101. pulumi_databricks/get_share.py +117 -18
  102. pulumi_databricks/get_shares.py +22 -3
  103. pulumi_databricks/get_spark_version.py +20 -1
  104. pulumi_databricks/get_sql_warehouse.py +16 -1
  105. pulumi_databricks/get_sql_warehouses.py +20 -1
  106. pulumi_databricks/get_storage_credential.py +18 -1
  107. pulumi_databricks/get_storage_credentials.py +23 -4
  108. pulumi_databricks/get_table.py +18 -1
  109. pulumi_databricks/get_tables.py +20 -1
  110. pulumi_databricks/get_tag_policies.py +55 -23
  111. pulumi_databricks/get_tag_policy.py +60 -40
  112. pulumi_databricks/get_views.py +20 -1
  113. pulumi_databricks/get_volume.py +18 -1
  114. pulumi_databricks/get_volumes.py +20 -1
  115. pulumi_databricks/get_workspace_network_option.py +8 -16
  116. pulumi_databricks/get_workspace_setting_v2.py +41 -163
  117. pulumi_databricks/get_zones.py +20 -1
  118. pulumi_databricks/git_credential.py +54 -7
  119. pulumi_databricks/group.py +21 -21
  120. pulumi_databricks/instance_profile.py +0 -182
  121. pulumi_databricks/job.py +47 -0
  122. pulumi_databricks/library.py +165 -0
  123. pulumi_databricks/materialized_features_feature_tag.py +9 -52
  124. pulumi_databricks/metastore.py +81 -7
  125. pulumi_databricks/metastore_data_access.py +48 -0
  126. pulumi_databricks/mlflow_webhook.py +4 -4
  127. pulumi_databricks/mws_credentials.py +10 -10
  128. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  129. pulumi_databricks/mws_log_delivery.py +146 -0
  130. pulumi_databricks/mws_storage_configurations.py +16 -16
  131. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  132. pulumi_databricks/mws_workspaces.py +146 -65
  133. pulumi_databricks/notebook.py +49 -0
  134. pulumi_databricks/online_store.py +9 -52
  135. pulumi_databricks/outputs.py +11885 -13474
  136. pulumi_databricks/permission_assignment.py +299 -8
  137. pulumi_databricks/permissions.py +6 -6
  138. pulumi_databricks/pipeline.py +37 -3
  139. pulumi_databricks/policy_info.py +9 -52
  140. pulumi_databricks/provider.py +36 -1
  141. pulumi_databricks/pulumi-plugin.json +1 -1
  142. pulumi_databricks/quality_monitor.py +47 -0
  143. pulumi_databricks/quality_monitor_v2.py +9 -52
  144. pulumi_databricks/recipient.py +74 -0
  145. pulumi_databricks/registered_model.py +308 -36
  146. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  147. pulumi_databricks/schema.py +7 -7
  148. pulumi_databricks/service_principal_federation_policy.py +48 -16
  149. pulumi_databricks/share.py +71 -84
  150. pulumi_databricks/sql_table.py +42 -14
  151. pulumi_databricks/storage_credential.py +15 -2
  152. pulumi_databricks/tag_policy.py +111 -54
  153. pulumi_databricks/user.py +21 -21
  154. pulumi_databricks/volume.py +7 -7
  155. pulumi_databricks/workspace_binding.py +0 -48
  156. pulumi_databricks/workspace_network_option.py +6 -2
  157. pulumi_databricks/workspace_setting_v2.py +49 -133
  158. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
  159. pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
  160. pulumi_databricks/clean_room_asset.py +0 -938
  161. pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
  162. pulumi_databricks/clean_rooms_clean_room.py +0 -569
  163. pulumi_databricks/get_clean_room_asset.py +0 -416
  164. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
  165. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
  166. pulumi_databricks/get_clean_room_assets.py +0 -146
  167. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
  168. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
  169. pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
  170. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
  171. pulumi_databricks/get_recipient_federation_policies.py +0 -101
  172. pulumi_databricks/get_recipient_federation_policy.py +0 -182
  173. pulumi_databricks/recipient_federation_policy.py +0 -393
  174. pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
  175. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
  176. {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
@@ -27,16 +27,16 @@ class GetOnlineStoresResult:
27
27
  """
28
28
  A collection of values returned by getOnlineStores.
29
29
  """
30
- def __init__(__self__, id=None, online_stores=None, workspace_id=None):
30
+ def __init__(__self__, id=None, online_stores=None, page_size=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
34
  if online_stores and not isinstance(online_stores, list):
35
35
  raise TypeError("Expected argument 'online_stores' to be a list")
36
36
  pulumi.set(__self__, "online_stores", online_stores)
37
- if workspace_id and not isinstance(workspace_id, str):
38
- raise TypeError("Expected argument 'workspace_id' to be a str")
39
- pulumi.set(__self__, "workspace_id", workspace_id)
37
+ if page_size and not isinstance(page_size, int):
38
+ raise TypeError("Expected argument 'page_size' to be a int")
39
+ pulumi.set(__self__, "page_size", page_size)
40
40
 
41
41
  @_builtins.property
42
42
  @pulumi.getter
@@ -52,9 +52,9 @@ class GetOnlineStoresResult:
52
52
  return pulumi.get(self, "online_stores")
53
53
 
54
54
  @_builtins.property
55
- @pulumi.getter(name="workspaceId")
56
- def workspace_id(self) -> Optional[_builtins.str]:
57
- return pulumi.get(self, "workspace_id")
55
+ @pulumi.getter(name="pageSize")
56
+ def page_size(self) -> Optional[_builtins.int]:
57
+ return pulumi.get(self, "page_size")
58
58
 
59
59
 
60
60
  class AwaitableGetOnlineStoresResult(GetOnlineStoresResult):
@@ -65,37 +65,39 @@ class AwaitableGetOnlineStoresResult(GetOnlineStoresResult):
65
65
  return GetOnlineStoresResult(
66
66
  id=self.id,
67
67
  online_stores=self.online_stores,
68
- workspace_id=self.workspace_id)
68
+ page_size=self.page_size)
69
69
 
70
70
 
71
- def get_online_stores(workspace_id: Optional[_builtins.str] = None,
71
+ def get_online_stores(page_size: Optional[_builtins.int] = None,
72
72
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnlineStoresResult:
73
73
  """
74
- Use this data source to access information about an existing resource.
74
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
75
 
76
- :param _builtins.str workspace_id: Workspace ID of the resource
76
+
77
+ :param _builtins.int page_size: The maximum number of results to return. Defaults to 100 if not specified
77
78
  """
78
79
  __args__ = dict()
79
- __args__['workspaceId'] = workspace_id
80
+ __args__['pageSize'] = page_size
80
81
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
81
82
  __ret__ = pulumi.runtime.invoke('databricks:index/getOnlineStores:getOnlineStores', __args__, opts=opts, typ=GetOnlineStoresResult).value
82
83
 
83
84
  return AwaitableGetOnlineStoresResult(
84
85
  id=pulumi.get(__ret__, 'id'),
85
86
  online_stores=pulumi.get(__ret__, 'online_stores'),
86
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
87
- def get_online_stores_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
87
+ page_size=pulumi.get(__ret__, 'page_size'))
88
+ def get_online_stores_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
88
89
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOnlineStoresResult]:
89
90
  """
90
- Use this data source to access information about an existing resource.
91
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
92
+
91
93
 
92
- :param _builtins.str workspace_id: Workspace ID of the resource
94
+ :param _builtins.int page_size: The maximum number of results to return. Defaults to 100 if not specified
93
95
  """
94
96
  __args__ = dict()
95
- __args__['workspaceId'] = workspace_id
97
+ __args__['pageSize'] = page_size
96
98
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
99
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getOnlineStores:getOnlineStores', __args__, opts=opts, typ=GetOnlineStoresResult)
98
100
  return __ret__.apply(lambda __response__: GetOnlineStoresResult(
99
101
  id=pulumi.get(__response__, 'id'),
100
102
  online_stores=pulumi.get(__response__, 'online_stores'),
101
- workspace_id=pulumi.get(__response__, 'workspace_id')))
103
+ page_size=pulumi.get(__response__, 'page_size')))
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
13
13
  else:
14
14
  from typing_extensions import NotRequired, TypedDict, TypeAlias
15
15
  from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
16
18
 
17
19
  __all__ = [
18
20
  'GetPipelinesResult',
@@ -26,7 +28,7 @@ class GetPipelinesResult:
26
28
  """
27
29
  A collection of values returned by getPipelines.
28
30
  """
29
- def __init__(__self__, id=None, ids=None, pipeline_name=None):
31
+ def __init__(__self__, id=None, ids=None, pipeline_name=None, provider_config=None):
30
32
  if id and not isinstance(id, str):
31
33
  raise TypeError("Expected argument 'id' to be a str")
32
34
  pulumi.set(__self__, "id", id)
@@ -36,6 +38,9 @@ class GetPipelinesResult:
36
38
  if pipeline_name and not isinstance(pipeline_name, str):
37
39
  raise TypeError("Expected argument 'pipeline_name' to be a str")
38
40
  pulumi.set(__self__, "pipeline_name", pipeline_name)
41
+ if provider_config and not isinstance(provider_config, dict):
42
+ raise TypeError("Expected argument 'provider_config' to be a dict")
43
+ pulumi.set(__self__, "provider_config", provider_config)
39
44
 
40
45
  @_builtins.property
41
46
  @pulumi.getter
@@ -58,6 +63,11 @@ class GetPipelinesResult:
58
63
  def pipeline_name(self) -> Optional[_builtins.str]:
59
64
  return pulumi.get(self, "pipeline_name")
60
65
 
66
+ @_builtins.property
67
+ @pulumi.getter(name="providerConfig")
68
+ def provider_config(self) -> Optional['outputs.GetPipelinesProviderConfigResult']:
69
+ return pulumi.get(self, "provider_config")
70
+
61
71
 
62
72
  class AwaitableGetPipelinesResult(GetPipelinesResult):
63
73
  # pylint: disable=using-constant-test
@@ -67,11 +77,13 @@ class AwaitableGetPipelinesResult(GetPipelinesResult):
67
77
  return GetPipelinesResult(
68
78
  id=self.id,
69
79
  ids=self.ids,
70
- pipeline_name=self.pipeline_name)
80
+ pipeline_name=self.pipeline_name,
81
+ provider_config=self.provider_config)
71
82
 
72
83
 
73
84
  def get_pipelines(ids: Optional[Sequence[_builtins.str]] = None,
74
85
  pipeline_name: Optional[_builtins.str] = None,
86
+ provider_config: Optional[Union['GetPipelinesProviderConfigArgs', 'GetPipelinesProviderConfigArgsDict']] = None,
75
87
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPipelinesResult:
76
88
  """
77
89
  Retrieves a list of all Pipeline ([Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results.
@@ -123,19 +135,23 @@ def get_pipelines(ids: Optional[Sequence[_builtins.str]] = None,
123
135
 
124
136
  :param Sequence[_builtins.str] ids: List of ids for [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt) pipelines matching the provided search criteria.
125
137
  :param _builtins.str pipeline_name: Filter Lakeflow Declarative Pipelines by name for a given search term. `%` is the supported wildcard operator.
138
+ :param Union['GetPipelinesProviderConfigArgs', 'GetPipelinesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
126
139
  """
127
140
  __args__ = dict()
128
141
  __args__['ids'] = ids
129
142
  __args__['pipelineName'] = pipeline_name
143
+ __args__['providerConfig'] = provider_config
130
144
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
131
145
  __ret__ = pulumi.runtime.invoke('databricks:index/getPipelines:getPipelines', __args__, opts=opts, typ=GetPipelinesResult).value
132
146
 
133
147
  return AwaitableGetPipelinesResult(
134
148
  id=pulumi.get(__ret__, 'id'),
135
149
  ids=pulumi.get(__ret__, 'ids'),
136
- pipeline_name=pulumi.get(__ret__, 'pipeline_name'))
150
+ pipeline_name=pulumi.get(__ret__, 'pipeline_name'),
151
+ provider_config=pulumi.get(__ret__, 'provider_config'))
137
152
  def get_pipelines_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
138
153
  pipeline_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
154
+ provider_config: Optional[pulumi.Input[Optional[Union['GetPipelinesProviderConfigArgs', 'GetPipelinesProviderConfigArgsDict']]]] = None,
139
155
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPipelinesResult]:
140
156
  """
141
157
  Retrieves a list of all Pipeline ([Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt)) ids deployed in a workspace, or those matching the provided search term. Maximum 100 results.
@@ -187,13 +203,16 @@ def get_pipelines_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.
187
203
 
188
204
  :param Sequence[_builtins.str] ids: List of ids for [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt) pipelines matching the provided search criteria.
189
205
  :param _builtins.str pipeline_name: Filter Lakeflow Declarative Pipelines by name for a given search term. `%` is the supported wildcard operator.
206
+ :param Union['GetPipelinesProviderConfigArgs', 'GetPipelinesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
190
207
  """
191
208
  __args__ = dict()
192
209
  __args__['ids'] = ids
193
210
  __args__['pipelineName'] = pipeline_name
211
+ __args__['providerConfig'] = provider_config
194
212
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
195
213
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getPipelines:getPipelines', __args__, opts=opts, typ=GetPipelinesResult)
196
214
  return __ret__.apply(lambda __response__: GetPipelinesResult(
197
215
  id=pulumi.get(__response__, 'id'),
198
216
  ids=pulumi.get(__response__, 'ids'),
199
- pipeline_name=pulumi.get(__response__, 'pipeline_name')))
217
+ pipeline_name=pulumi.get(__response__, 'pipeline_name'),
218
+ provider_config=pulumi.get(__response__, 'provider_config')))
@@ -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',
@@ -28,7 +27,7 @@ class GetPolicyInfoResult:
28
27
  """
29
28
  A collection of values returned by getPolicyInfo.
30
29
  """
31
- 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, workspace_id=None):
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):
32
31
  if column_mask and not isinstance(column_mask, dict):
33
32
  raise TypeError("Expected argument 'column_mask' to be a dict")
34
33
  pulumi.set(__self__, "column_mask", column_mask)
@@ -80,13 +79,10 @@ class GetPolicyInfoResult:
80
79
  if when_condition and not isinstance(when_condition, str):
81
80
  raise TypeError("Expected argument 'when_condition' to be a str")
82
81
  pulumi.set(__self__, "when_condition", when_condition)
83
- if workspace_id and not isinstance(workspace_id, str):
84
- raise TypeError("Expected argument 'workspace_id' to be a str")
85
- pulumi.set(__self__, "workspace_id", workspace_id)
86
82
 
87
83
  @_builtins.property
88
84
  @pulumi.getter(name="columnMask")
89
- def column_mask(self) -> Optional['outputs.GetPolicyInfoColumnMaskResult']:
85
+ def column_mask(self) -> 'outputs.GetPolicyInfoColumnMaskResult':
90
86
  """
91
87
  (ColumnMaskOptions) - Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`.
92
88
  Required on create and optional on update. When specified on update,
@@ -96,7 +92,7 @@ class GetPolicyInfoResult:
96
92
 
97
93
  @_builtins.property
98
94
  @pulumi.getter
99
- def comment(self) -> Optional[_builtins.str]:
95
+ def comment(self) -> _builtins.str:
100
96
  """
101
97
  (string) - Optional description of the policy
102
98
  """
@@ -120,7 +116,7 @@ class GetPolicyInfoResult:
120
116
 
121
117
  @_builtins.property
122
118
  @pulumi.getter(name="exceptPrincipals")
123
- def except_principals(self) -> Optional[Sequence[_builtins.str]]:
119
+ def except_principals(self) -> Sequence[_builtins.str]:
124
120
  """
125
121
  (list of string) - Optional list of user or group names that should be excluded from the policy
126
122
  """
@@ -146,7 +142,7 @@ class GetPolicyInfoResult:
146
142
 
147
143
  @_builtins.property
148
144
  @pulumi.getter(name="matchColumns")
149
- def match_columns(self) -> Optional[Sequence['outputs.GetPolicyInfoMatchColumnResult']]:
145
+ def match_columns(self) -> Sequence['outputs.GetPolicyInfoMatchColumnResult']:
150
146
  """
151
147
  (list of MatchColumn) - Optional list of condition expressions used to match table columns.
152
148
  Only valid when `for_securable_type` is `TABLE`.
@@ -156,7 +152,7 @@ class GetPolicyInfoResult:
156
152
 
157
153
  @_builtins.property
158
154
  @pulumi.getter
159
- def name(self) -> Optional[_builtins.str]:
155
+ def name(self) -> _builtins.str:
160
156
  """
161
157
  (string) - Name of the policy. Required on create and optional on update.
162
158
  To rename the policy, set `name` to a different value on update
@@ -165,7 +161,7 @@ class GetPolicyInfoResult:
165
161
 
166
162
  @_builtins.property
167
163
  @pulumi.getter(name="onSecurableFullname")
168
- def on_securable_fullname(self) -> Optional[_builtins.str]:
164
+ def on_securable_fullname(self) -> _builtins.str:
169
165
  """
170
166
  (string) - Full name of the securable on which the policy is defined.
171
167
  Required on create and ignored on update
@@ -174,7 +170,7 @@ class GetPolicyInfoResult:
174
170
 
175
171
  @_builtins.property
176
172
  @pulumi.getter(name="onSecurableType")
177
- def on_securable_type(self) -> Optional[_builtins.str]:
173
+ def on_securable_type(self) -> _builtins.str:
178
174
  """
179
175
  (string) - Type of the securable on which the policy is defined.
180
176
  Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
@@ -192,7 +188,7 @@ class GetPolicyInfoResult:
192
188
 
193
189
  @_builtins.property
194
190
  @pulumi.getter(name="rowFilter")
195
- def row_filter(self) -> Optional['outputs.GetPolicyInfoRowFilterResult']:
191
+ def row_filter(self) -> 'outputs.GetPolicyInfoRowFilterResult':
196
192
  """
197
193
  (RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
198
194
  Required on create and optional on update. When specified on update,
@@ -227,17 +223,12 @@ class GetPolicyInfoResult:
227
223
 
228
224
  @_builtins.property
229
225
  @pulumi.getter(name="whenCondition")
230
- def when_condition(self) -> Optional[_builtins.str]:
226
+ def when_condition(self) -> _builtins.str:
231
227
  """
232
228
  (string) - Optional condition when the policy should take effect
233
229
  """
234
230
  return pulumi.get(self, "when_condition")
235
231
 
236
- @_builtins.property
237
- @pulumi.getter(name="workspaceId")
238
- def workspace_id(self) -> Optional[_builtins.str]:
239
- return pulumi.get(self, "workspace_id")
240
-
241
232
 
242
233
  class AwaitableGetPolicyInfoResult(GetPolicyInfoResult):
243
234
  # pylint: disable=using-constant-test
@@ -261,38 +252,17 @@ class AwaitableGetPolicyInfoResult(GetPolicyInfoResult):
261
252
  to_principals=self.to_principals,
262
253
  updated_at=self.updated_at,
263
254
  updated_by=self.updated_by,
264
- when_condition=self.when_condition,
265
- workspace_id=self.workspace_id)
255
+ when_condition=self.when_condition)
266
256
 
267
257
 
268
- def get_policy_info(column_mask: Optional[Union['GetPolicyInfoColumnMaskArgs', 'GetPolicyInfoColumnMaskArgsDict']] = None,
269
- comment: Optional[_builtins.str] = None,
270
- except_principals: Optional[Sequence[_builtins.str]] = None,
271
- for_securable_type: Optional[_builtins.str] = None,
272
- match_columns: Optional[Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']]] = None,
273
- name: Optional[_builtins.str] = None,
258
+ def get_policy_info(name: Optional[_builtins.str] = None,
274
259
  on_securable_fullname: Optional[_builtins.str] = None,
275
260
  on_securable_type: Optional[_builtins.str] = None,
276
- policy_type: Optional[_builtins.str] = None,
277
- row_filter: Optional[Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict']] = None,
278
- to_principals: Optional[Sequence[_builtins.str]] = None,
279
- when_condition: Optional[_builtins.str] = None,
280
- workspace_id: Optional[_builtins.str] = None,
281
261
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfoResult:
282
262
  """
283
- Use this data source to access information about an existing resource.
263
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
264
+
284
265
 
285
- :param Union['GetPolicyInfoColumnMaskArgs', 'GetPolicyInfoColumnMaskArgsDict'] column_mask: (ColumnMaskOptions) - Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`.
286
- Required on create and optional on update. When specified on update,
287
- the new options will replace the existing options as a whole
288
- :param _builtins.str comment: (string) - Optional description of the policy
289
- :param Sequence[_builtins.str] except_principals: (list of string) - Optional list of user or group names that should be excluded from the policy
290
- :param _builtins.str for_securable_type: (string) - Type of securables that the policy should take effect on.
291
- Only `TABLE` is supported at this moment.
292
- 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`
293
- :param Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']] match_columns: (list of MatchColumn) - Optional list of condition expressions used to match table columns.
294
- Only valid when `for_securable_type` is `TABLE`.
295
- When specified, the policy only applies to tables whose columns satisfy all match conditions
296
266
  :param _builtins.str name: Name of the policy. Required on create and optional on update.
297
267
  To rename the policy, set `name` to a different value on update
298
268
  :param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
@@ -300,29 +270,11 @@ def get_policy_info(column_mask: Optional[Union['GetPolicyInfoColumnMaskArgs', '
300
270
  :param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
301
271
  Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
302
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`
303
- :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`
304
- :param Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict'] row_filter: (RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
305
- Required on create and optional on update. When specified on update,
306
- the new options will replace the existing options as a whole
307
- :param Sequence[_builtins.str] to_principals: (list of string) - List of user or group names that the policy applies to.
308
- Required on create and optional on update
309
- :param _builtins.str when_condition: (string) - Optional condition when the policy should take effect
310
- :param _builtins.str workspace_id: Workspace ID of the resource
311
273
  """
312
274
  __args__ = dict()
313
- __args__['columnMask'] = column_mask
314
- __args__['comment'] = comment
315
- __args__['exceptPrincipals'] = except_principals
316
- __args__['forSecurableType'] = for_securable_type
317
- __args__['matchColumns'] = match_columns
318
275
  __args__['name'] = name
319
276
  __args__['onSecurableFullname'] = on_securable_fullname
320
277
  __args__['onSecurableType'] = on_securable_type
321
- __args__['policyType'] = policy_type
322
- __args__['rowFilter'] = row_filter
323
- __args__['toPrincipals'] = to_principals
324
- __args__['whenCondition'] = when_condition
325
- __args__['workspaceId'] = workspace_id
326
278
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
327
279
  __ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult).value
328
280
 
@@ -343,36 +295,15 @@ def get_policy_info(column_mask: Optional[Union['GetPolicyInfoColumnMaskArgs', '
343
295
  to_principals=pulumi.get(__ret__, 'to_principals'),
344
296
  updated_at=pulumi.get(__ret__, 'updated_at'),
345
297
  updated_by=pulumi.get(__ret__, 'updated_by'),
346
- when_condition=pulumi.get(__ret__, 'when_condition'),
347
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
348
- def get_policy_info_output(column_mask: Optional[pulumi.Input[Optional[Union['GetPolicyInfoColumnMaskArgs', 'GetPolicyInfoColumnMaskArgsDict']]]] = None,
349
- comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
350
- except_principals: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
351
- for_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
352
- match_columns: Optional[pulumi.Input[Optional[Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']]]]] = None,
353
- name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
354
- on_securable_fullname: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
355
- on_securable_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
356
- policy_type: Optional[pulumi.Input[_builtins.str]] = None,
357
- row_filter: Optional[pulumi.Input[Optional[Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict']]]] = None,
358
- to_principals: Optional[pulumi.Input[Sequence[_builtins.str]]] = None,
359
- when_condition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
360
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
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,
361
302
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfoResult]:
362
303
  """
363
- Use this data source to access information about an existing resource.
304
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
305
+
364
306
 
365
- :param Union['GetPolicyInfoColumnMaskArgs', 'GetPolicyInfoColumnMaskArgsDict'] column_mask: (ColumnMaskOptions) - Options for column mask policies. Valid only if `policy_type` is `POLICY_TYPE_COLUMN_MASK`.
366
- Required on create and optional on update. When specified on update,
367
- the new options will replace the existing options as a whole
368
- :param _builtins.str comment: (string) - Optional description of the policy
369
- :param Sequence[_builtins.str] except_principals: (list of string) - Optional list of user or group names that should be excluded from the policy
370
- :param _builtins.str for_securable_type: (string) - Type of securables that the policy should take effect on.
371
- Only `TABLE` is supported at this moment.
372
- 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`
373
- :param Sequence[Union['GetPolicyInfoMatchColumnArgs', 'GetPolicyInfoMatchColumnArgsDict']] match_columns: (list of MatchColumn) - Optional list of condition expressions used to match table columns.
374
- Only valid when `for_securable_type` is `TABLE`.
375
- When specified, the policy only applies to tables whose columns satisfy all match conditions
376
307
  :param _builtins.str name: Name of the policy. Required on create and optional on update.
377
308
  To rename the policy, set `name` to a different value on update
378
309
  :param _builtins.str on_securable_fullname: Full name of the securable on which the policy is defined.
@@ -380,29 +311,11 @@ def get_policy_info_output(column_mask: Optional[pulumi.Input[Optional[Union['Ge
380
311
  :param _builtins.str on_securable_type: Type of the securable on which the policy is defined.
381
312
  Only `CATALOG`, `SCHEMA` and `TABLE` are supported at this moment.
382
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`
383
- :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`
384
- :param Union['GetPolicyInfoRowFilterArgs', 'GetPolicyInfoRowFilterArgsDict'] row_filter: (RowFilterOptions) - Options for row filter policies. Valid only if `policy_type` is `POLICY_TYPE_ROW_FILTER`.
385
- Required on create and optional on update. When specified on update,
386
- the new options will replace the existing options as a whole
387
- :param Sequence[_builtins.str] to_principals: (list of string) - List of user or group names that the policy applies to.
388
- Required on create and optional on update
389
- :param _builtins.str when_condition: (string) - Optional condition when the policy should take effect
390
- :param _builtins.str workspace_id: Workspace ID of the resource
391
314
  """
392
315
  __args__ = dict()
393
- __args__['columnMask'] = column_mask
394
- __args__['comment'] = comment
395
- __args__['exceptPrincipals'] = except_principals
396
- __args__['forSecurableType'] = for_securable_type
397
- __args__['matchColumns'] = match_columns
398
316
  __args__['name'] = name
399
317
  __args__['onSecurableFullname'] = on_securable_fullname
400
318
  __args__['onSecurableType'] = on_securable_type
401
- __args__['policyType'] = policy_type
402
- __args__['rowFilter'] = row_filter
403
- __args__['toPrincipals'] = to_principals
404
- __args__['whenCondition'] = when_condition
405
- __args__['workspaceId'] = workspace_id
406
319
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
407
320
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfo:getPolicyInfo', __args__, opts=opts, typ=GetPolicyInfoResult)
408
321
  return __ret__.apply(lambda __response__: GetPolicyInfoResult(
@@ -422,5 +335,4 @@ def get_policy_info_output(column_mask: Optional[pulumi.Input[Optional[Union['Ge
422
335
  to_principals=pulumi.get(__response__, 'to_principals'),
423
336
  updated_at=pulumi.get(__response__, 'updated_at'),
424
337
  updated_by=pulumi.get(__response__, 'updated_by'),
425
- when_condition=pulumi.get(__response__, 'when_condition'),
426
- workspace_id=pulumi.get(__response__, 'workspace_id')))
338
+ when_condition=pulumi.get(__response__, 'when_condition')))
@@ -27,10 +27,16 @@ class GetPolicyInfosResult:
27
27
  """
28
28
  A collection of values returned by getPolicyInfos.
29
29
  """
30
- def __init__(__self__, id=None, on_securable_fullname=None, on_securable_type=None, policies=None, workspace_id=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)
34
40
  if on_securable_fullname and not isinstance(on_securable_fullname, str):
35
41
  raise TypeError("Expected argument 'on_securable_fullname' to be a str")
36
42
  pulumi.set(__self__, "on_securable_fullname", on_securable_fullname)
@@ -40,9 +46,6 @@ class GetPolicyInfosResult:
40
46
  if policies and not isinstance(policies, list):
41
47
  raise TypeError("Expected argument 'policies' to be a list")
42
48
  pulumi.set(__self__, "policies", policies)
43
- if workspace_id and not isinstance(workspace_id, str):
44
- raise TypeError("Expected argument 'workspace_id' to be a str")
45
- pulumi.set(__self__, "workspace_id", workspace_id)
46
49
 
47
50
  @_builtins.property
48
51
  @pulumi.getter
@@ -52,6 +55,16 @@ class GetPolicyInfosResult:
52
55
  """
53
56
  return pulumi.get(self, "id")
54
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
+
55
68
  @_builtins.property
56
69
  @pulumi.getter(name="onSecurableFullname")
57
70
  def on_securable_fullname(self) -> _builtins.str:
@@ -76,11 +89,6 @@ class GetPolicyInfosResult:
76
89
  def policies(self) -> Sequence['outputs.GetPolicyInfosPolicyResult']:
77
90
  return pulumi.get(self, "policies")
78
91
 
79
- @_builtins.property
80
- @pulumi.getter(name="workspaceId")
81
- def workspace_id(self) -> Optional[_builtins.str]:
82
- return pulumi.get(self, "workspace_id")
83
-
84
92
 
85
93
  class AwaitableGetPolicyInfosResult(GetPolicyInfosResult):
86
94
  # pylint: disable=using-constant-test
@@ -89,56 +97,73 @@ class AwaitableGetPolicyInfosResult(GetPolicyInfosResult):
89
97
  yield self
90
98
  return GetPolicyInfosResult(
91
99
  id=self.id,
100
+ include_inherited=self.include_inherited,
101
+ max_results=self.max_results,
92
102
  on_securable_fullname=self.on_securable_fullname,
93
103
  on_securable_type=self.on_securable_type,
94
- policies=self.policies,
95
- workspace_id=self.workspace_id)
104
+ policies=self.policies)
96
105
 
97
106
 
98
- def get_policy_infos(on_securable_fullname: Optional[_builtins.str] = None,
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,
99
110
  on_securable_type: Optional[_builtins.str] = None,
100
- workspace_id: Optional[_builtins.str] = None,
101
111
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfosResult:
102
112
  """
103
- Use this data source to access information about an existing resource.
113
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
104
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;
105
121
  :param _builtins.str on_securable_fullname: Required. The fully qualified name of securable to list policies for
106
122
  :param _builtins.str on_securable_type: Required. The type of the securable to list policies for
107
- :param _builtins.str workspace_id: Workspace ID of the resource
108
123
  """
109
124
  __args__ = dict()
125
+ __args__['includeInherited'] = include_inherited
126
+ __args__['maxResults'] = max_results
110
127
  __args__['onSecurableFullname'] = on_securable_fullname
111
128
  __args__['onSecurableType'] = on_securable_type
112
- __args__['workspaceId'] = workspace_id
113
129
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
114
130
  __ret__ = pulumi.runtime.invoke('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult).value
115
131
 
116
132
  return AwaitableGetPolicyInfosResult(
117
133
  id=pulumi.get(__ret__, 'id'),
134
+ include_inherited=pulumi.get(__ret__, 'include_inherited'),
135
+ max_results=pulumi.get(__ret__, 'max_results'),
118
136
  on_securable_fullname=pulumi.get(__ret__, 'on_securable_fullname'),
119
137
  on_securable_type=pulumi.get(__ret__, 'on_securable_type'),
120
- policies=pulumi.get(__ret__, 'policies'),
121
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
122
- def get_policy_infos_output(on_securable_fullname: Optional[pulumi.Input[_builtins.str]] = None,
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,
123
142
  on_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
124
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
125
143
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfosResult]:
126
144
  """
127
- Use this data source to access information about an existing resource.
145
+ [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
146
+
128
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;
129
153
  :param _builtins.str on_securable_fullname: Required. The fully qualified name of securable to list policies for
130
154
  :param _builtins.str on_securable_type: Required. The type of the securable to list policies for
131
- :param _builtins.str workspace_id: Workspace ID of the resource
132
155
  """
133
156
  __args__ = dict()
157
+ __args__['includeInherited'] = include_inherited
158
+ __args__['maxResults'] = max_results
134
159
  __args__['onSecurableFullname'] = on_securable_fullname
135
160
  __args__['onSecurableType'] = on_securable_type
136
- __args__['workspaceId'] = workspace_id
137
161
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
138
162
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getPolicyInfos:getPolicyInfos', __args__, opts=opts, typ=GetPolicyInfosResult)
139
163
  return __ret__.apply(lambda __response__: GetPolicyInfosResult(
140
164
  id=pulumi.get(__response__, 'id'),
165
+ include_inherited=pulumi.get(__response__, 'include_inherited'),
166
+ max_results=pulumi.get(__response__, 'max_results'),
141
167
  on_securable_fullname=pulumi.get(__response__, 'on_securable_fullname'),
142
168
  on_securable_type=pulumi.get(__response__, 'on_securable_type'),
143
- policies=pulumi.get(__response__, 'policies'),
144
- workspace_id=pulumi.get(__response__, 'workspace_id')))
169
+ policies=pulumi.get(__response__, 'policies')))