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,19 @@ class GetDatabaseDatabaseCatalogsResult:
27
27
  """
28
28
  A collection of values returned by getDatabaseDatabaseCatalogs.
29
29
  """
30
- def __init__(__self__, database_catalogs=None, id=None, workspace_id=None):
30
+ def __init__(__self__, database_catalogs=None, id=None, instance_name=None, page_size=None):
31
31
  if database_catalogs and not isinstance(database_catalogs, list):
32
32
  raise TypeError("Expected argument 'database_catalogs' to be a list")
33
33
  pulumi.set(__self__, "database_catalogs", database_catalogs)
34
34
  if id and not isinstance(id, str):
35
35
  raise TypeError("Expected argument 'id' to be a str")
36
36
  pulumi.set(__self__, "id", id)
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 instance_name and not isinstance(instance_name, str):
38
+ raise TypeError("Expected argument 'instance_name' to be a str")
39
+ pulumi.set(__self__, "instance_name", instance_name)
40
+ if page_size and not isinstance(page_size, int):
41
+ raise TypeError("Expected argument 'page_size' to be a int")
42
+ pulumi.set(__self__, "page_size", page_size)
40
43
 
41
44
  @_builtins.property
42
45
  @pulumi.getter(name="databaseCatalogs")
@@ -52,9 +55,14 @@ class GetDatabaseDatabaseCatalogsResult:
52
55
  return pulumi.get(self, "id")
53
56
 
54
57
  @_builtins.property
55
- @pulumi.getter(name="workspaceId")
56
- def workspace_id(self) -> Optional[_builtins.str]:
57
- return pulumi.get(self, "workspace_id")
58
+ @pulumi.getter(name="instanceName")
59
+ def instance_name(self) -> _builtins.str:
60
+ return pulumi.get(self, "instance_name")
61
+
62
+ @_builtins.property
63
+ @pulumi.getter(name="pageSize")
64
+ def page_size(self) -> Optional[_builtins.int]:
65
+ return pulumi.get(self, "page_size")
58
66
 
59
67
 
60
68
  class AwaitableGetDatabaseDatabaseCatalogsResult(GetDatabaseDatabaseCatalogsResult):
@@ -65,37 +73,48 @@ class AwaitableGetDatabaseDatabaseCatalogsResult(GetDatabaseDatabaseCatalogsResu
65
73
  return GetDatabaseDatabaseCatalogsResult(
66
74
  database_catalogs=self.database_catalogs,
67
75
  id=self.id,
68
- workspace_id=self.workspace_id)
76
+ instance_name=self.instance_name,
77
+ page_size=self.page_size)
69
78
 
70
79
 
71
- def get_database_database_catalogs(workspace_id: Optional[_builtins.str] = None,
80
+ def get_database_database_catalogs(instance_name: Optional[_builtins.str] = None,
81
+ page_size: Optional[_builtins.int] = None,
72
82
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseDatabaseCatalogsResult:
73
83
  """
74
- Use this data source to access information about an existing resource.
84
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
85
 
76
- :param _builtins.str workspace_id: Workspace ID of the resource
86
+
87
+ :param _builtins.str instance_name: Name of the instance to get database catalogs for
88
+ :param _builtins.int page_size: Upper bound for items returned
77
89
  """
78
90
  __args__ = dict()
79
- __args__['workspaceId'] = workspace_id
91
+ __args__['instanceName'] = instance_name
92
+ __args__['pageSize'] = page_size
80
93
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
81
94
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseDatabaseCatalogs:getDatabaseDatabaseCatalogs', __args__, opts=opts, typ=GetDatabaseDatabaseCatalogsResult).value
82
95
 
83
96
  return AwaitableGetDatabaseDatabaseCatalogsResult(
84
97
  database_catalogs=pulumi.get(__ret__, 'database_catalogs'),
85
98
  id=pulumi.get(__ret__, 'id'),
86
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
87
- def get_database_database_catalogs_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
99
+ instance_name=pulumi.get(__ret__, 'instance_name'),
100
+ page_size=pulumi.get(__ret__, 'page_size'))
101
+ def get_database_database_catalogs_output(instance_name: Optional[pulumi.Input[_builtins.str]] = None,
102
+ page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
88
103
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseDatabaseCatalogsResult]:
89
104
  """
90
- Use this data source to access information about an existing resource.
105
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
106
+
91
107
 
92
- :param _builtins.str workspace_id: Workspace ID of the resource
108
+ :param _builtins.str instance_name: Name of the instance to get database catalogs for
109
+ :param _builtins.int page_size: Upper bound for items returned
93
110
  """
94
111
  __args__ = dict()
95
- __args__['workspaceId'] = workspace_id
112
+ __args__['instanceName'] = instance_name
113
+ __args__['pageSize'] = page_size
96
114
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
97
115
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseDatabaseCatalogs:getDatabaseDatabaseCatalogs', __args__, opts=opts, typ=GetDatabaseDatabaseCatalogsResult)
98
116
  return __ret__.apply(lambda __response__: GetDatabaseDatabaseCatalogsResult(
99
117
  database_catalogs=pulumi.get(__response__, 'database_catalogs'),
100
118
  id=pulumi.get(__response__, 'id'),
101
- workspace_id=pulumi.get(__response__, 'workspace_id')))
119
+ instance_name=pulumi.get(__response__, 'instance_name'),
120
+ page_size=pulumi.get(__response__, 'page_size')))
@@ -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
  'GetDatabaseInstanceResult',
@@ -28,7 +27,7 @@ class GetDatabaseInstanceResult:
28
27
  """
29
28
  A collection of values returned by getDatabaseInstance.
30
29
  """
31
- def __init__(__self__, capacity=None, child_instance_refs=None, creation_time=None, creator=None, effective_enable_pg_native_login=None, effective_enable_readable_secondaries=None, effective_node_count=None, effective_retention_window_in_days=None, effective_stopped=None, enable_pg_native_login=None, enable_readable_secondaries=None, id=None, name=None, node_count=None, parent_instance_ref=None, pg_version=None, read_only_dns=None, read_write_dns=None, retention_window_in_days=None, state=None, stopped=None, uid=None, workspace_id=None):
30
+ def __init__(__self__, capacity=None, child_instance_refs=None, creation_time=None, creator=None, custom_tags=None, effective_capacity=None, effective_custom_tags=None, effective_enable_pg_native_login=None, effective_enable_readable_secondaries=None, effective_node_count=None, effective_retention_window_in_days=None, effective_stopped=None, effective_usage_policy_id=None, enable_pg_native_login=None, enable_readable_secondaries=None, id=None, name=None, node_count=None, parent_instance_ref=None, pg_version=None, read_only_dns=None, read_write_dns=None, retention_window_in_days=None, state=None, stopped=None, uid=None, usage_policy_id=None):
32
31
  if capacity and not isinstance(capacity, str):
33
32
  raise TypeError("Expected argument 'capacity' to be a str")
34
33
  pulumi.set(__self__, "capacity", capacity)
@@ -41,6 +40,15 @@ class GetDatabaseInstanceResult:
41
40
  if creator and not isinstance(creator, str):
42
41
  raise TypeError("Expected argument 'creator' to be a str")
43
42
  pulumi.set(__self__, "creator", creator)
43
+ if custom_tags and not isinstance(custom_tags, list):
44
+ raise TypeError("Expected argument 'custom_tags' to be a list")
45
+ pulumi.set(__self__, "custom_tags", custom_tags)
46
+ if effective_capacity and not isinstance(effective_capacity, str):
47
+ raise TypeError("Expected argument 'effective_capacity' to be a str")
48
+ pulumi.set(__self__, "effective_capacity", effective_capacity)
49
+ if effective_custom_tags and not isinstance(effective_custom_tags, list):
50
+ raise TypeError("Expected argument 'effective_custom_tags' to be a list")
51
+ pulumi.set(__self__, "effective_custom_tags", effective_custom_tags)
44
52
  if effective_enable_pg_native_login and not isinstance(effective_enable_pg_native_login, bool):
45
53
  raise TypeError("Expected argument 'effective_enable_pg_native_login' to be a bool")
46
54
  pulumi.set(__self__, "effective_enable_pg_native_login", effective_enable_pg_native_login)
@@ -56,6 +64,9 @@ class GetDatabaseInstanceResult:
56
64
  if effective_stopped and not isinstance(effective_stopped, bool):
57
65
  raise TypeError("Expected argument 'effective_stopped' to be a bool")
58
66
  pulumi.set(__self__, "effective_stopped", effective_stopped)
67
+ if effective_usage_policy_id and not isinstance(effective_usage_policy_id, str):
68
+ raise TypeError("Expected argument 'effective_usage_policy_id' to be a str")
69
+ pulumi.set(__self__, "effective_usage_policy_id", effective_usage_policy_id)
59
70
  if enable_pg_native_login and not isinstance(enable_pg_native_login, bool):
60
71
  raise TypeError("Expected argument 'enable_pg_native_login' to be a bool")
61
72
  pulumi.set(__self__, "enable_pg_native_login", enable_pg_native_login)
@@ -95,13 +106,13 @@ class GetDatabaseInstanceResult:
95
106
  if uid and not isinstance(uid, str):
96
107
  raise TypeError("Expected argument 'uid' to be a str")
97
108
  pulumi.set(__self__, "uid", uid)
98
- if workspace_id and not isinstance(workspace_id, str):
99
- raise TypeError("Expected argument 'workspace_id' to be a str")
100
- pulumi.set(__self__, "workspace_id", workspace_id)
109
+ if usage_policy_id and not isinstance(usage_policy_id, str):
110
+ raise TypeError("Expected argument 'usage_policy_id' to be a str")
111
+ pulumi.set(__self__, "usage_policy_id", usage_policy_id)
101
112
 
102
113
  @_builtins.property
103
114
  @pulumi.getter
104
- def capacity(self) -> Optional[_builtins.str]:
115
+ def capacity(self) -> _builtins.str:
105
116
  """
106
117
  (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
107
118
  """
@@ -132,13 +143,35 @@ class GetDatabaseInstanceResult:
132
143
  """
133
144
  return pulumi.get(self, "creator")
134
145
 
146
+ @_builtins.property
147
+ @pulumi.getter(name="customTags")
148
+ def custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceCustomTagResult']:
149
+ """
150
+ (list of CustomTag) - Custom tags associated with the instance. This field is only included on create and update responses
151
+ """
152
+ return pulumi.get(self, "custom_tags")
153
+
154
+ @_builtins.property
155
+ @pulumi.getter(name="effectiveCapacity")
156
+ def effective_capacity(self) -> _builtins.str:
157
+ """
158
+ (string, deprecated) - Deprecated. The sku of the instance; this field will always match the value of capacity
159
+ """
160
+ return pulumi.get(self, "effective_capacity")
161
+
162
+ @_builtins.property
163
+ @pulumi.getter(name="effectiveCustomTags")
164
+ def effective_custom_tags(self) -> Sequence['outputs.GetDatabaseInstanceEffectiveCustomTagResult']:
165
+ """
166
+ (list of CustomTag) - The recorded custom tags associated with the instance
167
+ """
168
+ return pulumi.get(self, "effective_custom_tags")
169
+
135
170
  @_builtins.property
136
171
  @pulumi.getter(name="effectiveEnablePgNativeLogin")
137
172
  def effective_enable_pg_native_login(self) -> _builtins.bool:
138
173
  """
139
- (boolean) - xref AIP-129. `enable_pg_native_login` is owned by the client, while `effective_enable_pg_native_login` is owned by the server.
140
- `enable_pg_native_login` will only be set in Create/Update response messages if and only if the user provides the field via the request.
141
- `effective_enable_pg_native_login` on the other hand will always bet set in all response messages (Create/Update/Get/List)
174
+ (boolean) - Whether the instance has PG native password login enabled
142
175
  """
143
176
  return pulumi.get(self, "effective_enable_pg_native_login")
144
177
 
@@ -146,9 +179,7 @@ class GetDatabaseInstanceResult:
146
179
  @pulumi.getter(name="effectiveEnableReadableSecondaries")
147
180
  def effective_enable_readable_secondaries(self) -> _builtins.bool:
148
181
  """
149
- (boolean) - xref AIP-129. `enable_readable_secondaries` is owned by the client, while `effective_enable_readable_secondaries` is owned by the server.
150
- `enable_readable_secondaries` will only be set in Create/Update response messages if and only if the user provides the field via the request.
151
- `effective_enable_readable_secondaries` on the other hand will always bet set in all response messages (Create/Update/Get/List)
182
+ (boolean) - Whether secondaries serving read-only traffic are enabled. Defaults to false
152
183
  """
153
184
  return pulumi.get(self, "effective_enable_readable_secondaries")
154
185
 
@@ -156,9 +187,8 @@ class GetDatabaseInstanceResult:
156
187
  @pulumi.getter(name="effectiveNodeCount")
157
188
  def effective_node_count(self) -> _builtins.int:
158
189
  """
159
- (integer) - xref AIP-129. `node_count` is owned by the client, while `effective_node_count` is owned by the server.
160
- `node_count` will only be set in Create/Update response messages if and only if the user provides the field via the request.
161
- `effective_node_count` on the other hand will always bet set in all response messages (Create/Update/Get/List)
190
+ (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
191
+ 1 primary and 0 secondaries
162
192
  """
163
193
  return pulumi.get(self, "effective_node_count")
164
194
 
@@ -166,9 +196,8 @@ class GetDatabaseInstanceResult:
166
196
  @pulumi.getter(name="effectiveRetentionWindowInDays")
167
197
  def effective_retention_window_in_days(self) -> _builtins.int:
168
198
  """
169
- (integer) - xref AIP-129. `retention_window_in_days` is owned by the client, while `effective_retention_window_in_days` is owned by the server.
170
- `retention_window_in_days` will only be set in Create/Update response messages if and only if the user provides the field via the request.
171
- `effective_retention_window_in_days` on the other hand will always bet set in all response messages (Create/Update/Get/List)
199
+ (integer) - The retention window for the instance. This is the time window in days
200
+ for which the historical data is retained
172
201
  """
173
202
  return pulumi.get(self, "effective_retention_window_in_days")
174
203
 
@@ -176,23 +205,29 @@ class GetDatabaseInstanceResult:
176
205
  @pulumi.getter(name="effectiveStopped")
177
206
  def effective_stopped(self) -> _builtins.bool:
178
207
  """
179
- (boolean) - xref AIP-129. `stopped` is owned by the client, while `effective_stopped` is owned by the server.
180
- `stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
181
- `effective_stopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
208
+ (boolean) - Whether the instance is stopped
182
209
  """
183
210
  return pulumi.get(self, "effective_stopped")
184
211
 
212
+ @_builtins.property
213
+ @pulumi.getter(name="effectiveUsagePolicyId")
214
+ def effective_usage_policy_id(self) -> _builtins.str:
215
+ """
216
+ (string) - The policy that is applied to the instance
217
+ """
218
+ return pulumi.get(self, "effective_usage_policy_id")
219
+
185
220
  @_builtins.property
186
221
  @pulumi.getter(name="enablePgNativeLogin")
187
222
  def enable_pg_native_login(self) -> _builtins.bool:
188
223
  """
189
- (boolean) - Whether the instance has PG native password login enabled. Defaults to true
224
+ (boolean) - Whether to enable PG native password login on the instance. Defaults to false
190
225
  """
191
226
  return pulumi.get(self, "enable_pg_native_login")
192
227
 
193
228
  @_builtins.property
194
229
  @pulumi.getter(name="enableReadableSecondaries")
195
- def enable_readable_secondaries(self) -> Optional[_builtins.bool]:
230
+ def enable_readable_secondaries(self) -> _builtins.bool:
196
231
  """
197
232
  (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
198
233
  """
@@ -216,16 +251,16 @@ class GetDatabaseInstanceResult:
216
251
 
217
252
  @_builtins.property
218
253
  @pulumi.getter(name="nodeCount")
219
- def node_count(self) -> Optional[_builtins.int]:
254
+ def node_count(self) -> _builtins.int:
220
255
  """
221
256
  (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
222
- 1 primary and 0 secondaries
257
+ 1 primary and 0 secondaries. This field is input only, see effective_node_count for the output
223
258
  """
224
259
  return pulumi.get(self, "node_count")
225
260
 
226
261
  @_builtins.property
227
262
  @pulumi.getter(name="parentInstanceRef")
228
- def parent_instance_ref(self) -> Optional['outputs.GetDatabaseInstanceParentInstanceRefResult']:
263
+ def parent_instance_ref(self) -> 'outputs.GetDatabaseInstanceParentInstanceRefResult':
229
264
  """
230
265
  (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
231
266
  child instance.
@@ -261,7 +296,7 @@ class GetDatabaseInstanceResult:
261
296
 
262
297
  @_builtins.property
263
298
  @pulumi.getter(name="retentionWindowInDays")
264
- def retention_window_in_days(self) -> Optional[_builtins.int]:
299
+ def retention_window_in_days(self) -> _builtins.int:
265
300
  """
266
301
  (integer) - The retention window for the instance. This is the time window in days
267
302
  for which the historical data is retained. The default value is 7 days.
@@ -279,9 +314,9 @@ class GetDatabaseInstanceResult:
279
314
 
280
315
  @_builtins.property
281
316
  @pulumi.getter
282
- def stopped(self) -> Optional[_builtins.bool]:
317
+ def stopped(self) -> _builtins.bool:
283
318
  """
284
- (boolean) - Whether the instance is stopped
319
+ (boolean) - Whether to stop the instance. An input only param, see effective_stopped for the output
285
320
  """
286
321
  return pulumi.get(self, "stopped")
287
322
 
@@ -294,9 +329,12 @@ class GetDatabaseInstanceResult:
294
329
  return pulumi.get(self, "uid")
295
330
 
296
331
  @_builtins.property
297
- @pulumi.getter(name="workspaceId")
298
- def workspace_id(self) -> Optional[_builtins.str]:
299
- return pulumi.get(self, "workspace_id")
332
+ @pulumi.getter(name="usagePolicyId")
333
+ def usage_policy_id(self) -> _builtins.str:
334
+ """
335
+ (string) - The desired usage policy to associate with the instance
336
+ """
337
+ return pulumi.get(self, "usage_policy_id")
300
338
 
301
339
 
302
340
  class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
@@ -309,11 +347,15 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
309
347
  child_instance_refs=self.child_instance_refs,
310
348
  creation_time=self.creation_time,
311
349
  creator=self.creator,
350
+ custom_tags=self.custom_tags,
351
+ effective_capacity=self.effective_capacity,
352
+ effective_custom_tags=self.effective_custom_tags,
312
353
  effective_enable_pg_native_login=self.effective_enable_pg_native_login,
313
354
  effective_enable_readable_secondaries=self.effective_enable_readable_secondaries,
314
355
  effective_node_count=self.effective_node_count,
315
356
  effective_retention_window_in_days=self.effective_retention_window_in_days,
316
357
  effective_stopped=self.effective_stopped,
358
+ effective_usage_policy_id=self.effective_usage_policy_id,
317
359
  enable_pg_native_login=self.enable_pg_native_login,
318
360
  enable_readable_secondaries=self.enable_readable_secondaries,
319
361
  id=self.id,
@@ -327,20 +369,14 @@ class AwaitableGetDatabaseInstanceResult(GetDatabaseInstanceResult):
327
369
  state=self.state,
328
370
  stopped=self.stopped,
329
371
  uid=self.uid,
330
- workspace_id=self.workspace_id)
331
-
332
-
333
- def get_database_instance(capacity: Optional[_builtins.str] = None,
334
- enable_pg_native_login: Optional[_builtins.bool] = None,
335
- enable_readable_secondaries: Optional[_builtins.bool] = None,
336
- name: Optional[_builtins.str] = None,
337
- node_count: Optional[_builtins.int] = None,
338
- parent_instance_ref: Optional[Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict']] = None,
339
- retention_window_in_days: Optional[_builtins.int] = None,
340
- stopped: Optional[_builtins.bool] = None,
341
- workspace_id: Optional[_builtins.str] = None,
372
+ usage_policy_id=self.usage_policy_id)
373
+
374
+
375
+ def get_database_instance(name: Optional[_builtins.str] = None,
342
376
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstanceResult:
343
377
  """
378
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
379
+
344
380
  This data source can be used to get a single Database Instance.
345
381
 
346
382
  ## Example Usage
@@ -355,32 +391,10 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
355
391
  ```
356
392
 
357
393
 
358
- :param _builtins.str capacity: (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
359
- :param _builtins.bool enable_pg_native_login: (boolean) - Whether the instance has PG native password login enabled. Defaults to true
360
- :param _builtins.bool enable_readable_secondaries: (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
361
394
  :param _builtins.str name: The name of the instance. This is the unique identifier for the instance
362
- :param _builtins.int node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
363
- 1 primary and 0 secondaries
364
- :param Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict'] parent_instance_ref: (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
365
- child instance.
366
- Input: For specifying the parent instance to create a child instance. Optional.
367
- Output: Only populated if provided as input to create a child instance
368
- :param _builtins.int retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
369
- for which the historical data is retained. The default value is 7 days.
370
- Valid values are 2 to 35 days
371
- :param _builtins.bool stopped: (boolean) - Whether the instance is stopped
372
- :param _builtins.str workspace_id: Workspace ID of the resource
373
395
  """
374
396
  __args__ = dict()
375
- __args__['capacity'] = capacity
376
- __args__['enablePgNativeLogin'] = enable_pg_native_login
377
- __args__['enableReadableSecondaries'] = enable_readable_secondaries
378
397
  __args__['name'] = name
379
- __args__['nodeCount'] = node_count
380
- __args__['parentInstanceRef'] = parent_instance_ref
381
- __args__['retentionWindowInDays'] = retention_window_in_days
382
- __args__['stopped'] = stopped
383
- __args__['workspaceId'] = workspace_id
384
398
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
385
399
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult).value
386
400
 
@@ -389,11 +403,15 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
389
403
  child_instance_refs=pulumi.get(__ret__, 'child_instance_refs'),
390
404
  creation_time=pulumi.get(__ret__, 'creation_time'),
391
405
  creator=pulumi.get(__ret__, 'creator'),
406
+ custom_tags=pulumi.get(__ret__, 'custom_tags'),
407
+ effective_capacity=pulumi.get(__ret__, 'effective_capacity'),
408
+ effective_custom_tags=pulumi.get(__ret__, 'effective_custom_tags'),
392
409
  effective_enable_pg_native_login=pulumi.get(__ret__, 'effective_enable_pg_native_login'),
393
410
  effective_enable_readable_secondaries=pulumi.get(__ret__, 'effective_enable_readable_secondaries'),
394
411
  effective_node_count=pulumi.get(__ret__, 'effective_node_count'),
395
412
  effective_retention_window_in_days=pulumi.get(__ret__, 'effective_retention_window_in_days'),
396
413
  effective_stopped=pulumi.get(__ret__, 'effective_stopped'),
414
+ effective_usage_policy_id=pulumi.get(__ret__, 'effective_usage_policy_id'),
397
415
  enable_pg_native_login=pulumi.get(__ret__, 'enable_pg_native_login'),
398
416
  enable_readable_secondaries=pulumi.get(__ret__, 'enable_readable_secondaries'),
399
417
  id=pulumi.get(__ret__, 'id'),
@@ -407,18 +425,12 @@ def get_database_instance(capacity: Optional[_builtins.str] = None,
407
425
  state=pulumi.get(__ret__, 'state'),
408
426
  stopped=pulumi.get(__ret__, 'stopped'),
409
427
  uid=pulumi.get(__ret__, 'uid'),
410
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
411
- def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
412
- enable_pg_native_login: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
413
- enable_readable_secondaries: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
414
- name: Optional[pulumi.Input[_builtins.str]] = None,
415
- node_count: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
416
- parent_instance_ref: Optional[pulumi.Input[Optional[Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict']]]] = None,
417
- retention_window_in_days: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
418
- stopped: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
419
- workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
428
+ usage_policy_id=pulumi.get(__ret__, 'usage_policy_id'))
429
+ def get_database_instance_output(name: Optional[pulumi.Input[_builtins.str]] = None,
420
430
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstanceResult]:
421
431
  """
432
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
433
+
422
434
  This data source can be used to get a single Database Instance.
423
435
 
424
436
  ## Example Usage
@@ -433,32 +445,10 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
433
445
  ```
434
446
 
435
447
 
436
- :param _builtins.str capacity: (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
437
- :param _builtins.bool enable_pg_native_login: (boolean) - Whether the instance has PG native password login enabled. Defaults to true
438
- :param _builtins.bool enable_readable_secondaries: (boolean) - Whether to enable secondaries to serve read-only traffic. Defaults to false
439
448
  :param _builtins.str name: The name of the instance. This is the unique identifier for the instance
440
- :param _builtins.int node_count: (integer) - The number of nodes in the instance, composed of 1 primary and 0 or more secondaries. Defaults to
441
- 1 primary and 0 secondaries
442
- :param Union['GetDatabaseInstanceParentInstanceRefArgs', 'GetDatabaseInstanceParentInstanceRefArgsDict'] parent_instance_ref: (DatabaseInstanceRef) - The ref of the parent instance. This is only available if the instance is
443
- child instance.
444
- Input: For specifying the parent instance to create a child instance. Optional.
445
- Output: Only populated if provided as input to create a child instance
446
- :param _builtins.int retention_window_in_days: (integer) - The retention window for the instance. This is the time window in days
447
- for which the historical data is retained. The default value is 7 days.
448
- Valid values are 2 to 35 days
449
- :param _builtins.bool stopped: (boolean) - Whether the instance is stopped
450
- :param _builtins.str workspace_id: Workspace ID of the resource
451
449
  """
452
450
  __args__ = dict()
453
- __args__['capacity'] = capacity
454
- __args__['enablePgNativeLogin'] = enable_pg_native_login
455
- __args__['enableReadableSecondaries'] = enable_readable_secondaries
456
451
  __args__['name'] = name
457
- __args__['nodeCount'] = node_count
458
- __args__['parentInstanceRef'] = parent_instance_ref
459
- __args__['retentionWindowInDays'] = retention_window_in_days
460
- __args__['stopped'] = stopped
461
- __args__['workspaceId'] = workspace_id
462
452
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
463
453
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstance:getDatabaseInstance', __args__, opts=opts, typ=GetDatabaseInstanceResult)
464
454
  return __ret__.apply(lambda __response__: GetDatabaseInstanceResult(
@@ -466,11 +456,15 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
466
456
  child_instance_refs=pulumi.get(__response__, 'child_instance_refs'),
467
457
  creation_time=pulumi.get(__response__, 'creation_time'),
468
458
  creator=pulumi.get(__response__, 'creator'),
459
+ custom_tags=pulumi.get(__response__, 'custom_tags'),
460
+ effective_capacity=pulumi.get(__response__, 'effective_capacity'),
461
+ effective_custom_tags=pulumi.get(__response__, 'effective_custom_tags'),
469
462
  effective_enable_pg_native_login=pulumi.get(__response__, 'effective_enable_pg_native_login'),
470
463
  effective_enable_readable_secondaries=pulumi.get(__response__, 'effective_enable_readable_secondaries'),
471
464
  effective_node_count=pulumi.get(__response__, 'effective_node_count'),
472
465
  effective_retention_window_in_days=pulumi.get(__response__, 'effective_retention_window_in_days'),
473
466
  effective_stopped=pulumi.get(__response__, 'effective_stopped'),
467
+ effective_usage_policy_id=pulumi.get(__response__, 'effective_usage_policy_id'),
474
468
  enable_pg_native_login=pulumi.get(__response__, 'enable_pg_native_login'),
475
469
  enable_readable_secondaries=pulumi.get(__response__, 'enable_readable_secondaries'),
476
470
  id=pulumi.get(__response__, 'id'),
@@ -484,4 +478,4 @@ def get_database_instance_output(capacity: Optional[pulumi.Input[Optional[_built
484
478
  state=pulumi.get(__response__, 'state'),
485
479
  stopped=pulumi.get(__response__, 'stopped'),
486
480
  uid=pulumi.get(__response__, 'uid'),
487
- workspace_id=pulumi.get(__response__, 'workspace_id')))
481
+ usage_policy_id=pulumi.get(__response__, 'usage_policy_id')))
@@ -27,16 +27,16 @@ class GetDatabaseInstancesResult:
27
27
  """
28
28
  A collection of values returned by getDatabaseInstances.
29
29
  """
30
- def __init__(__self__, database_instances=None, id=None, workspace_id=None):
30
+ def __init__(__self__, database_instances=None, id=None, page_size=None):
31
31
  if database_instances and not isinstance(database_instances, list):
32
32
  raise TypeError("Expected argument 'database_instances' to be a list")
33
33
  pulumi.set(__self__, "database_instances", database_instances)
34
34
  if id and not isinstance(id, str):
35
35
  raise TypeError("Expected argument 'id' to be a str")
36
36
  pulumi.set(__self__, "id", id)
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(name="databaseInstances")
@@ -52,9 +52,9 @@ class GetDatabaseInstancesResult:
52
52
  return pulumi.get(self, "id")
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 AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
@@ -65,12 +65,14 @@ class AwaitableGetDatabaseInstancesResult(GetDatabaseInstancesResult):
65
65
  return GetDatabaseInstancesResult(
66
66
  database_instances=self.database_instances,
67
67
  id=self.id,
68
- workspace_id=self.workspace_id)
68
+ page_size=self.page_size)
69
69
 
70
70
 
71
- def get_database_instances(workspace_id: Optional[_builtins.str] = None,
71
+ def get_database_instances(page_size: Optional[_builtins.int] = None,
72
72
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetDatabaseInstancesResult:
73
73
  """
74
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
+
74
76
  This data source can be used to fetch the list of Database Instances within the workspace.
75
77
  The list can then be accessed via the data object's `database_instances` field.
76
78
 
@@ -87,20 +89,22 @@ def get_database_instances(workspace_id: Optional[_builtins.str] = None,
87
89
  ```
88
90
 
89
91
 
90
- :param _builtins.str workspace_id: Workspace ID of the resource
92
+ :param _builtins.int page_size: Upper bound for items returned
91
93
  """
92
94
  __args__ = dict()
93
- __args__['workspaceId'] = workspace_id
95
+ __args__['pageSize'] = page_size
94
96
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
95
97
  __ret__ = pulumi.runtime.invoke('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult).value
96
98
 
97
99
  return AwaitableGetDatabaseInstancesResult(
98
100
  database_instances=pulumi.get(__ret__, 'database_instances'),
99
101
  id=pulumi.get(__ret__, 'id'),
100
- workspace_id=pulumi.get(__ret__, 'workspace_id'))
101
- def get_database_instances_output(workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
102
+ page_size=pulumi.get(__ret__, 'page_size'))
103
+ def get_database_instances_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
102
104
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetDatabaseInstancesResult]:
103
105
  """
106
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
107
+
104
108
  This data source can be used to fetch the list of Database Instances within the workspace.
105
109
  The list can then be accessed via the data object's `database_instances` field.
106
110
 
@@ -117,13 +121,13 @@ def get_database_instances_output(workspace_id: Optional[pulumi.Input[Optional[_
117
121
  ```
118
122
 
119
123
 
120
- :param _builtins.str workspace_id: Workspace ID of the resource
124
+ :param _builtins.int page_size: Upper bound for items returned
121
125
  """
122
126
  __args__ = dict()
123
- __args__['workspaceId'] = workspace_id
127
+ __args__['pageSize'] = page_size
124
128
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
125
129
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getDatabaseInstances:getDatabaseInstances', __args__, opts=opts, typ=GetDatabaseInstancesResult)
126
130
  return __ret__.apply(lambda __response__: GetDatabaseInstancesResult(
127
131
  database_instances=pulumi.get(__response__, 'database_instances'),
128
132
  id=pulumi.get(__response__, 'id'),
129
- workspace_id=pulumi.get(__response__, 'workspace_id')))
133
+ page_size=pulumi.get(__response__, 'page_size')))