pulumi-databricks 1.78.0a1762407761__py3-none-any.whl → 1.79.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. pulumi_databricks/__init__.py +23 -0
  2. pulumi_databricks/_inputs.py +1630 -181
  3. pulumi_databricks/access_control_rule_set.py +81 -0
  4. pulumi_databricks/account_federation_policy.py +24 -0
  5. pulumi_databricks/account_network_policy.py +50 -0
  6. pulumi_databricks/account_setting_v2.py +181 -12
  7. pulumi_databricks/alert_v2.py +74 -2
  8. pulumi_databricks/app.py +71 -7
  9. pulumi_databricks/apps_settings_custom_template.py +102 -0
  10. pulumi_databricks/catalog.py +8 -8
  11. pulumi_databricks/cluster_policy.py +120 -0
  12. pulumi_databricks/config/__init__.pyi +4 -0
  13. pulumi_databricks/config/vars.py +8 -0
  14. pulumi_databricks/credential.py +7 -7
  15. pulumi_databricks/dashboard.py +94 -0
  16. pulumi_databricks/data_quality_monitor.py +2 -2
  17. pulumi_databricks/data_quality_refresh.py +78 -2
  18. pulumi_databricks/database_synced_database_table.py +212 -0
  19. pulumi_databricks/external_location.py +131 -7
  20. pulumi_databricks/feature_engineering_feature.py +52 -19
  21. pulumi_databricks/feature_engineering_kafka_config.py +463 -0
  22. pulumi_databricks/feature_engineering_materialized_feature.py +47 -0
  23. pulumi_databricks/file.py +2 -2
  24. pulumi_databricks/get_account_setting_v2.py +16 -16
  25. pulumi_databricks/get_alert_v2.py +2 -2
  26. pulumi_databricks/get_alerts_v2.py +2 -2
  27. pulumi_databricks/get_aws_assume_role_policy.py +14 -14
  28. pulumi_databricks/get_aws_bucket_policy.py +10 -10
  29. pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
  30. pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
  31. pulumi_databricks/get_cluster.py +54 -0
  32. pulumi_databricks/get_current_config.py +4 -4
  33. pulumi_databricks/get_dashboards.py +32 -0
  34. pulumi_databricks/get_data_quality_monitor.py +2 -2
  35. pulumi_databricks/get_data_quality_monitors.py +2 -2
  36. pulumi_databricks/get_data_quality_refresh.py +2 -2
  37. pulumi_databricks/get_data_quality_refreshes.py +2 -2
  38. pulumi_databricks/get_feature_engineering_feature.py +12 -1
  39. pulumi_databricks/get_feature_engineering_kafka_config.py +182 -0
  40. pulumi_databricks/get_feature_engineering_kafka_configs.py +103 -0
  41. pulumi_databricks/get_feature_engineering_materialized_feature.py +16 -2
  42. pulumi_databricks/get_metastore.py +6 -6
  43. pulumi_databricks/get_notebook.py +20 -1
  44. pulumi_databricks/get_policy_info.py +36 -2
  45. pulumi_databricks/get_policy_infos.py +34 -2
  46. pulumi_databricks/get_service_principals.py +93 -7
  47. pulumi_databricks/get_spark_version.py +2 -2
  48. pulumi_databricks/get_tag_policies.py +2 -2
  49. pulumi_databricks/get_tag_policy.py +2 -2
  50. pulumi_databricks/get_users.py +194 -0
  51. pulumi_databricks/get_workspace_entity_tag_assignment.py +180 -0
  52. pulumi_databricks/get_workspace_entity_tag_assignments.py +171 -0
  53. pulumi_databricks/get_workspace_setting_v2.py +16 -16
  54. pulumi_databricks/instance_profile.py +0 -182
  55. pulumi_databricks/lakehouse_monitor.py +2 -2
  56. pulumi_databricks/metastore.py +81 -7
  57. pulumi_databricks/metastore_data_access.py +48 -0
  58. pulumi_databricks/mlflow_webhook.py +4 -4
  59. pulumi_databricks/mws_credentials.py +10 -10
  60. pulumi_databricks/mws_customer_managed_keys.py +0 -288
  61. pulumi_databricks/mws_log_delivery.py +146 -0
  62. pulumi_databricks/mws_storage_configurations.py +16 -16
  63. pulumi_databricks/mws_vpc_endpoint.py +56 -56
  64. pulumi_databricks/mws_workspaces.py +115 -55
  65. pulumi_databricks/notebook.py +49 -0
  66. pulumi_databricks/outputs.py +2017 -240
  67. pulumi_databricks/permission_assignment.py +49 -0
  68. pulumi_databricks/permissions.py +6 -6
  69. pulumi_databricks/pipeline.py +7 -7
  70. pulumi_databricks/policy_info.py +122 -2
  71. pulumi_databricks/provider.py +36 -1
  72. pulumi_databricks/pulumi-plugin.json +1 -1
  73. pulumi_databricks/recipient.py +74 -0
  74. pulumi_databricks/registered_model.py +7 -7
  75. pulumi_databricks/rfa_access_request_destinations.py +86 -19
  76. pulumi_databricks/schema.py +7 -7
  77. pulumi_databricks/service_principal_federation_policy.py +28 -0
  78. pulumi_databricks/sql_table.py +7 -7
  79. pulumi_databricks/tag_policy.py +2 -2
  80. pulumi_databricks/volume.py +7 -7
  81. pulumi_databricks/workspace_entity_tag_assignment.py +375 -0
  82. pulumi_databricks/workspace_setting_v2.py +181 -12
  83. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/METADATA +1 -1
  84. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/RECORD +86 -79
  85. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/WHEEL +0 -0
  86. {pulumi_databricks-1.78.0a1762407761.dist-info → pulumi_databricks-1.79.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,182 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetFeatureEngineeringKafkaConfigResult',
20
+ 'AwaitableGetFeatureEngineeringKafkaConfigResult',
21
+ 'get_feature_engineering_kafka_config',
22
+ 'get_feature_engineering_kafka_config_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetFeatureEngineeringKafkaConfigResult:
27
+ """
28
+ A collection of values returned by getFeatureEngineeringKafkaConfig.
29
+ """
30
+ def __init__(__self__, auth_config=None, bootstrap_servers=None, extra_options=None, id=None, key_schema=None, name=None, subscription_mode=None, value_schema=None):
31
+ if auth_config and not isinstance(auth_config, dict):
32
+ raise TypeError("Expected argument 'auth_config' to be a dict")
33
+ pulumi.set(__self__, "auth_config", auth_config)
34
+ if bootstrap_servers and not isinstance(bootstrap_servers, str):
35
+ raise TypeError("Expected argument 'bootstrap_servers' to be a str")
36
+ pulumi.set(__self__, "bootstrap_servers", bootstrap_servers)
37
+ if extra_options and not isinstance(extra_options, dict):
38
+ raise TypeError("Expected argument 'extra_options' to be a dict")
39
+ pulumi.set(__self__, "extra_options", extra_options)
40
+ if id and not isinstance(id, str):
41
+ raise TypeError("Expected argument 'id' to be a str")
42
+ pulumi.set(__self__, "id", id)
43
+ if key_schema and not isinstance(key_schema, dict):
44
+ raise TypeError("Expected argument 'key_schema' to be a dict")
45
+ pulumi.set(__self__, "key_schema", key_schema)
46
+ if name and not isinstance(name, str):
47
+ raise TypeError("Expected argument 'name' to be a str")
48
+ pulumi.set(__self__, "name", name)
49
+ if subscription_mode and not isinstance(subscription_mode, dict):
50
+ raise TypeError("Expected argument 'subscription_mode' to be a dict")
51
+ pulumi.set(__self__, "subscription_mode", subscription_mode)
52
+ if value_schema and not isinstance(value_schema, dict):
53
+ raise TypeError("Expected argument 'value_schema' to be a dict")
54
+ pulumi.set(__self__, "value_schema", value_schema)
55
+
56
+ @_builtins.property
57
+ @pulumi.getter(name="authConfig")
58
+ def auth_config(self) -> 'outputs.GetFeatureEngineeringKafkaConfigAuthConfigResult':
59
+ """
60
+ (AuthConfig) - Authentication configuration for connection to topics
61
+ """
62
+ return pulumi.get(self, "auth_config")
63
+
64
+ @_builtins.property
65
+ @pulumi.getter(name="bootstrapServers")
66
+ def bootstrap_servers(self) -> _builtins.str:
67
+ """
68
+ (string) - A comma-separated list of host/port pairs pointing to Kafka cluster
69
+ """
70
+ return pulumi.get(self, "bootstrap_servers")
71
+
72
+ @_builtins.property
73
+ @pulumi.getter(name="extraOptions")
74
+ def extra_options(self) -> Mapping[str, _builtins.str]:
75
+ """
76
+ (object) - Catch-all for miscellaneous options. Keys should be source options or Kafka consumer options (kafka.*)
77
+ """
78
+ return pulumi.get(self, "extra_options")
79
+
80
+ @_builtins.property
81
+ @pulumi.getter
82
+ def id(self) -> _builtins.str:
83
+ """
84
+ The provider-assigned unique ID for this managed resource.
85
+ """
86
+ return pulumi.get(self, "id")
87
+
88
+ @_builtins.property
89
+ @pulumi.getter(name="keySchema")
90
+ def key_schema(self) -> 'outputs.GetFeatureEngineeringKafkaConfigKeySchemaResult':
91
+ """
92
+ (SchemaConfig) - Schema configuration for extracting message keys from topics. At least one of key_schema and value_schema must be provided
93
+ """
94
+ return pulumi.get(self, "key_schema")
95
+
96
+ @_builtins.property
97
+ @pulumi.getter
98
+ def name(self) -> _builtins.str:
99
+ """
100
+ (string) - Name that uniquely identifies this Kafka config within the metastore. This will be the identifier used from the Feature object to reference these configs for a feature.
101
+ Can be distinct from topic name
102
+ """
103
+ return pulumi.get(self, "name")
104
+
105
+ @_builtins.property
106
+ @pulumi.getter(name="subscriptionMode")
107
+ def subscription_mode(self) -> 'outputs.GetFeatureEngineeringKafkaConfigSubscriptionModeResult':
108
+ """
109
+ (SubscriptionMode) - Options to configure which Kafka topics to pull data from
110
+ """
111
+ return pulumi.get(self, "subscription_mode")
112
+
113
+ @_builtins.property
114
+ @pulumi.getter(name="valueSchema")
115
+ def value_schema(self) -> 'outputs.GetFeatureEngineeringKafkaConfigValueSchemaResult':
116
+ """
117
+ (SchemaConfig) - Schema configuration for extracting message values from topics. At least one of key_schema and value_schema must be provided
118
+ """
119
+ return pulumi.get(self, "value_schema")
120
+
121
+
122
+ class AwaitableGetFeatureEngineeringKafkaConfigResult(GetFeatureEngineeringKafkaConfigResult):
123
+ # pylint: disable=using-constant-test
124
+ def __await__(self):
125
+ if False:
126
+ yield self
127
+ return GetFeatureEngineeringKafkaConfigResult(
128
+ auth_config=self.auth_config,
129
+ bootstrap_servers=self.bootstrap_servers,
130
+ extra_options=self.extra_options,
131
+ id=self.id,
132
+ key_schema=self.key_schema,
133
+ name=self.name,
134
+ subscription_mode=self.subscription_mode,
135
+ value_schema=self.value_schema)
136
+
137
+
138
+ def get_feature_engineering_kafka_config(name: Optional[_builtins.str] = None,
139
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFeatureEngineeringKafkaConfigResult:
140
+ """
141
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
142
+
143
+
144
+ :param _builtins.str name: Name that uniquely identifies this Kafka config within the metastore. This will be the identifier used from the Feature object to reference these configs for a feature.
145
+ Can be distinct from topic name
146
+ """
147
+ __args__ = dict()
148
+ __args__['name'] = name
149
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
150
+ __ret__ = pulumi.runtime.invoke('databricks:index/getFeatureEngineeringKafkaConfig:getFeatureEngineeringKafkaConfig', __args__, opts=opts, typ=GetFeatureEngineeringKafkaConfigResult).value
151
+
152
+ return AwaitableGetFeatureEngineeringKafkaConfigResult(
153
+ auth_config=pulumi.get(__ret__, 'auth_config'),
154
+ bootstrap_servers=pulumi.get(__ret__, 'bootstrap_servers'),
155
+ extra_options=pulumi.get(__ret__, 'extra_options'),
156
+ id=pulumi.get(__ret__, 'id'),
157
+ key_schema=pulumi.get(__ret__, 'key_schema'),
158
+ name=pulumi.get(__ret__, 'name'),
159
+ subscription_mode=pulumi.get(__ret__, 'subscription_mode'),
160
+ value_schema=pulumi.get(__ret__, 'value_schema'))
161
+ def get_feature_engineering_kafka_config_output(name: Optional[pulumi.Input[_builtins.str]] = None,
162
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFeatureEngineeringKafkaConfigResult]:
163
+ """
164
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
165
+
166
+
167
+ :param _builtins.str name: Name that uniquely identifies this Kafka config within the metastore. This will be the identifier used from the Feature object to reference these configs for a feature.
168
+ Can be distinct from topic name
169
+ """
170
+ __args__ = dict()
171
+ __args__['name'] = name
172
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
173
+ __ret__ = pulumi.runtime.invoke_output('databricks:index/getFeatureEngineeringKafkaConfig:getFeatureEngineeringKafkaConfig', __args__, opts=opts, typ=GetFeatureEngineeringKafkaConfigResult)
174
+ return __ret__.apply(lambda __response__: GetFeatureEngineeringKafkaConfigResult(
175
+ auth_config=pulumi.get(__response__, 'auth_config'),
176
+ bootstrap_servers=pulumi.get(__response__, 'bootstrap_servers'),
177
+ extra_options=pulumi.get(__response__, 'extra_options'),
178
+ id=pulumi.get(__response__, 'id'),
179
+ key_schema=pulumi.get(__response__, 'key_schema'),
180
+ name=pulumi.get(__response__, 'name'),
181
+ subscription_mode=pulumi.get(__response__, 'subscription_mode'),
182
+ value_schema=pulumi.get(__response__, 'value_schema')))
@@ -0,0 +1,103 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+
18
+ __all__ = [
19
+ 'GetFeatureEngineeringKafkaConfigsResult',
20
+ 'AwaitableGetFeatureEngineeringKafkaConfigsResult',
21
+ 'get_feature_engineering_kafka_configs',
22
+ 'get_feature_engineering_kafka_configs_output',
23
+ ]
24
+
25
+ @pulumi.output_type
26
+ class GetFeatureEngineeringKafkaConfigsResult:
27
+ """
28
+ A collection of values returned by getFeatureEngineeringKafkaConfigs.
29
+ """
30
+ def __init__(__self__, id=None, kafka_configs=None, page_size=None):
31
+ if id and not isinstance(id, str):
32
+ raise TypeError("Expected argument 'id' to be a str")
33
+ pulumi.set(__self__, "id", id)
34
+ if kafka_configs and not isinstance(kafka_configs, list):
35
+ raise TypeError("Expected argument 'kafka_configs' to be a list")
36
+ pulumi.set(__self__, "kafka_configs", kafka_configs)
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
+
41
+ @_builtins.property
42
+ @pulumi.getter
43
+ def id(self) -> _builtins.str:
44
+ """
45
+ The provider-assigned unique ID for this managed resource.
46
+ """
47
+ return pulumi.get(self, "id")
48
+
49
+ @_builtins.property
50
+ @pulumi.getter(name="kafkaConfigs")
51
+ def kafka_configs(self) -> Sequence['outputs.GetFeatureEngineeringKafkaConfigsKafkaConfigResult']:
52
+ return pulumi.get(self, "kafka_configs")
53
+
54
+ @_builtins.property
55
+ @pulumi.getter(name="pageSize")
56
+ def page_size(self) -> Optional[_builtins.int]:
57
+ return pulumi.get(self, "page_size")
58
+
59
+
60
+ class AwaitableGetFeatureEngineeringKafkaConfigsResult(GetFeatureEngineeringKafkaConfigsResult):
61
+ # pylint: disable=using-constant-test
62
+ def __await__(self):
63
+ if False:
64
+ yield self
65
+ return GetFeatureEngineeringKafkaConfigsResult(
66
+ id=self.id,
67
+ kafka_configs=self.kafka_configs,
68
+ page_size=self.page_size)
69
+
70
+
71
+ def get_feature_engineering_kafka_configs(page_size: Optional[_builtins.int] = None,
72
+ opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetFeatureEngineeringKafkaConfigsResult:
73
+ """
74
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
75
+
76
+
77
+ :param _builtins.int page_size: The maximum number of results to return
78
+ """
79
+ __args__ = dict()
80
+ __args__['pageSize'] = page_size
81
+ opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
82
+ __ret__ = pulumi.runtime.invoke('databricks:index/getFeatureEngineeringKafkaConfigs:getFeatureEngineeringKafkaConfigs', __args__, opts=opts, typ=GetFeatureEngineeringKafkaConfigsResult).value
83
+
84
+ return AwaitableGetFeatureEngineeringKafkaConfigsResult(
85
+ id=pulumi.get(__ret__, 'id'),
86
+ kafka_configs=pulumi.get(__ret__, 'kafka_configs'),
87
+ page_size=pulumi.get(__ret__, 'page_size'))
88
+ def get_feature_engineering_kafka_configs_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
89
+ opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetFeatureEngineeringKafkaConfigsResult]:
90
+ """
91
+ [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
92
+
93
+
94
+ :param _builtins.int page_size: The maximum number of results to return
95
+ """
96
+ __args__ = dict()
97
+ __args__['pageSize'] = page_size
98
+ opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
99
+ __ret__ = pulumi.runtime.invoke_output('databricks:index/getFeatureEngineeringKafkaConfigs:getFeatureEngineeringKafkaConfigs', __args__, opts=opts, typ=GetFeatureEngineeringKafkaConfigsResult)
100
+ return __ret__.apply(lambda __response__: GetFeatureEngineeringKafkaConfigsResult(
101
+ id=pulumi.get(__response__, 'id'),
102
+ kafka_configs=pulumi.get(__response__, 'kafka_configs'),
103
+ page_size=pulumi.get(__response__, 'page_size')))
@@ -27,7 +27,10 @@ class GetFeatureEngineeringMaterializedFeatureResult:
27
27
  """
28
28
  A collection of values returned by getFeatureEngineeringMaterializedFeature.
29
29
  """
30
- def __init__(__self__, feature_name=None, id=None, last_materialization_time=None, materialized_feature_id=None, offline_store_config=None, online_store_config=None, pipeline_schedule_state=None, table_name=None):
30
+ def __init__(__self__, cron_schedule=None, feature_name=None, id=None, last_materialization_time=None, materialized_feature_id=None, offline_store_config=None, online_store_config=None, pipeline_schedule_state=None, table_name=None):
31
+ if cron_schedule and not isinstance(cron_schedule, str):
32
+ raise TypeError("Expected argument 'cron_schedule' to be a str")
33
+ pulumi.set(__self__, "cron_schedule", cron_schedule)
31
34
  if feature_name and not isinstance(feature_name, str):
32
35
  raise TypeError("Expected argument 'feature_name' to be a str")
33
36
  pulumi.set(__self__, "feature_name", feature_name)
@@ -53,6 +56,14 @@ class GetFeatureEngineeringMaterializedFeatureResult:
53
56
  raise TypeError("Expected argument 'table_name' to be a str")
54
57
  pulumi.set(__self__, "table_name", table_name)
55
58
 
59
+ @_builtins.property
60
+ @pulumi.getter(name="cronSchedule")
61
+ def cron_schedule(self) -> _builtins.str:
62
+ """
63
+ (string) - The quartz cron expression that defines the schedule of the materialization pipeline. The schedule is evaluated in the UTC timezone
64
+ """
65
+ return pulumi.get(self, "cron_schedule")
66
+
56
67
  @_builtins.property
57
68
  @pulumi.getter(name="featureName")
58
69
  def feature_name(self) -> _builtins.str:
@@ -98,7 +109,7 @@ class GetFeatureEngineeringMaterializedFeatureResult:
98
109
  @pulumi.getter(name="onlineStoreConfig")
99
110
  def online_store_config(self) -> 'outputs.GetFeatureEngineeringMaterializedFeatureOnlineStoreConfigResult':
100
111
  """
101
- (OnlineStore)
112
+ (OnlineStoreConfig)
102
113
  """
103
114
  return pulumi.get(self, "online_store_config")
104
115
 
@@ -125,6 +136,7 @@ class AwaitableGetFeatureEngineeringMaterializedFeatureResult(GetFeatureEngineer
125
136
  if False:
126
137
  yield self
127
138
  return GetFeatureEngineeringMaterializedFeatureResult(
139
+ cron_schedule=self.cron_schedule,
128
140
  feature_name=self.feature_name,
129
141
  id=self.id,
130
142
  last_materialization_time=self.last_materialization_time,
@@ -149,6 +161,7 @@ def get_feature_engineering_materialized_feature(materialized_feature_id: Option
149
161
  __ret__ = pulumi.runtime.invoke('databricks:index/getFeatureEngineeringMaterializedFeature:getFeatureEngineeringMaterializedFeature', __args__, opts=opts, typ=GetFeatureEngineeringMaterializedFeatureResult).value
150
162
 
151
163
  return AwaitableGetFeatureEngineeringMaterializedFeatureResult(
164
+ cron_schedule=pulumi.get(__ret__, 'cron_schedule'),
152
165
  feature_name=pulumi.get(__ret__, 'feature_name'),
153
166
  id=pulumi.get(__ret__, 'id'),
154
167
  last_materialization_time=pulumi.get(__ret__, 'last_materialization_time'),
@@ -170,6 +183,7 @@ def get_feature_engineering_materialized_feature_output(materialized_feature_id:
170
183
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
171
184
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getFeatureEngineeringMaterializedFeature:getFeatureEngineeringMaterializedFeature', __args__, opts=opts, typ=GetFeatureEngineeringMaterializedFeatureResult)
172
185
  return __ret__.apply(lambda __response__: GetFeatureEngineeringMaterializedFeatureResult(
186
+ cron_schedule=pulumi.get(__response__, 'cron_schedule'),
173
187
  feature_name=pulumi.get(__response__, 'feature_name'),
174
188
  id=pulumi.get(__response__, 'id'),
175
189
  last_materialization_time=pulumi.get(__response__, 'last_materialization_time'),
@@ -113,12 +113,12 @@ def get_metastore(id: Optional[_builtins.str] = None,
113
113
  import pulumi_aws as aws
114
114
  import pulumi_databricks as databricks
115
115
 
116
- metastore = aws.s3.Bucket("metastore",
117
- bucket=f"{prefix}-metastore",
116
+ metastore = aws.index.S3Bucket("metastore",
117
+ bucket=f{prefix}-metastore,
118
118
  force_destroy=True)
119
119
  this_metastore = databricks.Metastore("this",
120
120
  name="primary",
121
- storage_root=metastore.id.apply(lambda id: f"s3://{id}/metastore"),
121
+ storage_root=f"s3://{metastore['id']}/metastore",
122
122
  owner=unity_admin_group,
123
123
  force_destroy=True)
124
124
  this = databricks.get_metastore_output(metastore_id=this_metastore.id)
@@ -175,12 +175,12 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = N
175
175
  import pulumi_aws as aws
176
176
  import pulumi_databricks as databricks
177
177
 
178
- metastore = aws.s3.Bucket("metastore",
179
- bucket=f"{prefix}-metastore",
178
+ metastore = aws.index.S3Bucket("metastore",
179
+ bucket=f{prefix}-metastore,
180
180
  force_destroy=True)
181
181
  this_metastore = databricks.Metastore("this",
182
182
  name="primary",
183
- storage_root=metastore.id.apply(lambda id: f"s3://{id}/metastore"),
183
+ storage_root=f"s3://{metastore['id']}/metastore",
184
184
  owner=unity_admin_group,
185
185
  force_destroy=True)
186
186
  this = databricks.get_metastore_output(metastore_id=this_metastore.id)
@@ -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
  'GetNotebookResult',
@@ -26,7 +28,7 @@ class GetNotebookResult:
26
28
  """
27
29
  A collection of values returned by getNotebook.
28
30
  """
29
- def __init__(__self__, content=None, format=None, id=None, language=None, object_id=None, object_type=None, path=None, workspace_path=None):
31
+ def __init__(__self__, content=None, format=None, id=None, language=None, object_id=None, object_type=None, path=None, provider_config=None, workspace_path=None):
30
32
  if content and not isinstance(content, str):
31
33
  raise TypeError("Expected argument 'content' to be a str")
32
34
  pulumi.set(__self__, "content", content)
@@ -48,6 +50,9 @@ class GetNotebookResult:
48
50
  if path and not isinstance(path, str):
49
51
  raise TypeError("Expected argument 'path' to be a str")
50
52
  pulumi.set(__self__, "path", path)
53
+ if provider_config and not isinstance(provider_config, dict):
54
+ raise TypeError("Expected argument 'provider_config' to be a dict")
55
+ pulumi.set(__self__, "provider_config", provider_config)
51
56
  if workspace_path and not isinstance(workspace_path, str):
52
57
  raise TypeError("Expected argument 'workspace_path' to be a str")
53
58
  pulumi.set(__self__, "workspace_path", workspace_path)
@@ -102,6 +107,11 @@ class GetNotebookResult:
102
107
  def path(self) -> _builtins.str:
103
108
  return pulumi.get(self, "path")
104
109
 
110
+ @_builtins.property
111
+ @pulumi.getter(name="providerConfig")
112
+ def provider_config(self) -> Optional['outputs.GetNotebookProviderConfigResult']:
113
+ return pulumi.get(self, "provider_config")
114
+
105
115
  @_builtins.property
106
116
  @pulumi.getter(name="workspacePath")
107
117
  def workspace_path(self) -> _builtins.str:
@@ -124,6 +134,7 @@ class AwaitableGetNotebookResult(GetNotebookResult):
124
134
  object_id=self.object_id,
125
135
  object_type=self.object_type,
126
136
  path=self.path,
137
+ provider_config=self.provider_config,
127
138
  workspace_path=self.workspace_path)
128
139
 
129
140
 
@@ -132,6 +143,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
132
143
  object_id: Optional[_builtins.int] = None,
133
144
  object_type: Optional[_builtins.str] = None,
134
145
  path: Optional[_builtins.str] = None,
146
+ provider_config: Optional[Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict']] = None,
135
147
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookResult:
136
148
  """
137
149
  This data source allows to export a notebook from Databricks Workspace.
@@ -154,6 +166,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
154
166
  :param _builtins.int object_id: notebook object ID
155
167
  :param _builtins.str object_type: notebook object type
156
168
  :param _builtins.str path: Notebook path on the workspace
169
+ :param Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
157
170
  """
158
171
  __args__ = dict()
159
172
  __args__['format'] = format
@@ -161,6 +174,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
161
174
  __args__['objectId'] = object_id
162
175
  __args__['objectType'] = object_type
163
176
  __args__['path'] = path
177
+ __args__['providerConfig'] = provider_config
164
178
  opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
165
179
  __ret__ = pulumi.runtime.invoke('databricks:index/getNotebook:getNotebook', __args__, opts=opts, typ=GetNotebookResult).value
166
180
 
@@ -172,12 +186,14 @@ def get_notebook(format: Optional[_builtins.str] = None,
172
186
  object_id=pulumi.get(__ret__, 'object_id'),
173
187
  object_type=pulumi.get(__ret__, 'object_type'),
174
188
  path=pulumi.get(__ret__, 'path'),
189
+ provider_config=pulumi.get(__ret__, 'provider_config'),
175
190
  workspace_path=pulumi.get(__ret__, 'workspace_path'))
176
191
  def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
177
192
  language: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
178
193
  object_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
179
194
  object_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
180
195
  path: Optional[pulumi.Input[_builtins.str]] = None,
196
+ provider_config: Optional[pulumi.Input[Optional[Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict']]]] = None,
181
197
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookResult]:
182
198
  """
183
199
  This data source allows to export a notebook from Databricks Workspace.
@@ -200,6 +216,7 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
200
216
  :param _builtins.int object_id: notebook object ID
201
217
  :param _builtins.str object_type: notebook object type
202
218
  :param _builtins.str path: Notebook path on the workspace
219
+ :param Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
203
220
  """
204
221
  __args__ = dict()
205
222
  __args__['format'] = format
@@ -207,6 +224,7 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
207
224
  __args__['objectId'] = object_id
208
225
  __args__['objectType'] = object_type
209
226
  __args__['path'] = path
227
+ __args__['providerConfig'] = provider_config
210
228
  opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
211
229
  __ret__ = pulumi.runtime.invoke_output('databricks:index/getNotebook:getNotebook', __args__, opts=opts, typ=GetNotebookResult)
212
230
  return __ret__.apply(lambda __response__: GetNotebookResult(
@@ -217,4 +235,5 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
217
235
  object_id=pulumi.get(__response__, 'object_id'),
218
236
  object_type=pulumi.get(__response__, 'object_type'),
219
237
  path=pulumi.get(__response__, 'path'),
238
+ provider_config=pulumi.get(__response__, 'provider_config'),
220
239
  workspace_path=pulumi.get(__response__, 'workspace_path')))
@@ -260,7 +260,24 @@ def get_policy_info(name: Optional[_builtins.str] = None,
260
260
  on_securable_type: Optional[_builtins.str] = None,
261
261
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfoResult:
262
262
  """
263
- [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
263
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
264
+
265
+ Retrieves information about a specific ABAC (Attribute-Based Access Control) policy in Unity Catalog. Use this data source to query details of an existing policy by its securable type, securable name, and policy name.
266
+
267
+ ABAC policies provide governance for enforcing compliance through data attributes, allowing flexible and comprehensive access control based on conditions rather than specific resources.
268
+
269
+ ## Example Usage
270
+
271
+ ### Get Policy Information
272
+
273
+ ```python
274
+ import pulumi
275
+ import pulumi_databricks as databricks
276
+
277
+ pii_policy = databricks.get_policy_info(on_securable_type="catalog",
278
+ on_securable_fullname="main",
279
+ name="pii_data_policy")
280
+ ```
264
281
 
265
282
 
266
283
  :param _builtins.str name: Name of the policy. Required on create and optional on update.
@@ -301,7 +318,24 @@ def get_policy_info_output(name: Optional[pulumi.Input[_builtins.str]] = None,
301
318
  on_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
302
319
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfoResult]:
303
320
  """
304
- [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
321
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
322
+
323
+ Retrieves information about a specific ABAC (Attribute-Based Access Control) policy in Unity Catalog. Use this data source to query details of an existing policy by its securable type, securable name, and policy name.
324
+
325
+ ABAC policies provide governance for enforcing compliance through data attributes, allowing flexible and comprehensive access control based on conditions rather than specific resources.
326
+
327
+ ## Example Usage
328
+
329
+ ### Get Policy Information
330
+
331
+ ```python
332
+ import pulumi
333
+ import pulumi_databricks as databricks
334
+
335
+ pii_policy = databricks.get_policy_info(on_securable_type="catalog",
336
+ on_securable_fullname="main",
337
+ name="pii_data_policy")
338
+ ```
305
339
 
306
340
 
307
341
  :param _builtins.str name: Name of the policy. Required on create and optional on update.
@@ -110,7 +110,23 @@ def get_policy_infos(include_inherited: Optional[_builtins.bool] = None,
110
110
  on_securable_type: Optional[_builtins.str] = None,
111
111
  opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetPolicyInfosResult:
112
112
  """
113
- [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
113
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
114
+
115
+ Retrieves a list of all ABAC (Attribute-Based Access Control) policies defined on a specific securable in Unity Catalog. Use this data source to query all policies for a given securable type and name.
116
+
117
+ ABAC policies provide governance for enforcing compliance through data attributes, allowing flexible and comprehensive access control based on conditions rather than specific resources.
118
+
119
+ ## Example Usage
120
+
121
+ ### List All Policies on a Securable
122
+
123
+ ```python
124
+ import pulumi
125
+ import pulumi_databricks as databricks
126
+
127
+ catalog_policies = databricks.get_policy_infos(on_securable_type="catalog",
128
+ on_securable_fullname="main")
129
+ ```
114
130
 
115
131
 
116
132
  :param _builtins.bool include_inherited: Optional. Whether to include policies defined on parent securables.
@@ -142,7 +158,23 @@ def get_policy_infos_output(include_inherited: Optional[pulumi.Input[Optional[_b
142
158
  on_securable_type: Optional[pulumi.Input[_builtins.str]] = None,
143
159
  opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetPolicyInfosResult]:
144
160
  """
145
- [![Public Beta](https://img.shields.io/badge/Release_Stage-Public_Beta-orange)](https://docs.databricks.com/aws/en/release-notes/release-types)
161
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
162
+
163
+ Retrieves a list of all ABAC (Attribute-Based Access Control) policies defined on a specific securable in Unity Catalog. Use this data source to query all policies for a given securable type and name.
164
+
165
+ ABAC policies provide governance for enforcing compliance through data attributes, allowing flexible and comprehensive access control based on conditions rather than specific resources.
166
+
167
+ ## Example Usage
168
+
169
+ ### List All Policies on a Securable
170
+
171
+ ```python
172
+ import pulumi
173
+ import pulumi_databricks as databricks
174
+
175
+ catalog_policies = databricks.get_policy_infos(on_securable_type="catalog",
176
+ on_securable_fullname="main")
177
+ ```
146
178
 
147
179
 
148
180
  :param _builtins.bool include_inherited: Optional. Whether to include policies defined on parent securables.