pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -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
|
'GetSparkVersionResult',
|
|
@@ -26,7 +28,7 @@ class GetSparkVersionResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getSparkVersion.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, beta=None, genomics=None, gpu=None, graviton=None, id=None, latest=None, long_term_support=None, ml=None, photon=None, scala=None, spark_version=None):
|
|
31
|
+
def __init__(__self__, beta=None, genomics=None, gpu=None, graviton=None, id=None, latest=None, long_term_support=None, ml=None, photon=None, provider_config=None, scala=None, spark_version=None):
|
|
30
32
|
if beta and not isinstance(beta, bool):
|
|
31
33
|
raise TypeError("Expected argument 'beta' to be a bool")
|
|
32
34
|
pulumi.set(__self__, "beta", beta)
|
|
@@ -54,6 +56,9 @@ class GetSparkVersionResult:
|
|
|
54
56
|
if photon and not isinstance(photon, bool):
|
|
55
57
|
raise TypeError("Expected argument 'photon' to be a bool")
|
|
56
58
|
pulumi.set(__self__, "photon", photon)
|
|
59
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
60
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
61
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
57
62
|
if scala and not isinstance(scala, str):
|
|
58
63
|
raise TypeError("Expected argument 'scala' to be a str")
|
|
59
64
|
pulumi.set(__self__, "scala", scala)
|
|
@@ -111,6 +116,11 @@ class GetSparkVersionResult:
|
|
|
111
116
|
def photon(self) -> Optional[_builtins.bool]:
|
|
112
117
|
return pulumi.get(self, "photon")
|
|
113
118
|
|
|
119
|
+
@_builtins.property
|
|
120
|
+
@pulumi.getter(name="providerConfig")
|
|
121
|
+
def provider_config(self) -> Optional['outputs.GetSparkVersionProviderConfigResult']:
|
|
122
|
+
return pulumi.get(self, "provider_config")
|
|
123
|
+
|
|
114
124
|
@_builtins.property
|
|
115
125
|
@pulumi.getter
|
|
116
126
|
def scala(self) -> Optional[_builtins.str]:
|
|
@@ -137,6 +147,7 @@ class AwaitableGetSparkVersionResult(GetSparkVersionResult):
|
|
|
137
147
|
long_term_support=self.long_term_support,
|
|
138
148
|
ml=self.ml,
|
|
139
149
|
photon=self.photon,
|
|
150
|
+
provider_config=self.provider_config,
|
|
140
151
|
scala=self.scala,
|
|
141
152
|
spark_version=self.spark_version)
|
|
142
153
|
|
|
@@ -150,6 +161,7 @@ def get_spark_version(beta: Optional[_builtins.bool] = None,
|
|
|
150
161
|
long_term_support: Optional[_builtins.bool] = None,
|
|
151
162
|
ml: Optional[_builtins.bool] = None,
|
|
152
163
|
photon: Optional[_builtins.bool] = None,
|
|
164
|
+
provider_config: Optional[Union['GetSparkVersionProviderConfigArgs', 'GetSparkVersionProviderConfigArgsDict']] = None,
|
|
153
165
|
scala: Optional[_builtins.str] = None,
|
|
154
166
|
spark_version: Optional[_builtins.str] = None,
|
|
155
167
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSparkVersionResult:
|
|
@@ -203,6 +215,7 @@ def get_spark_version(beta: Optional[_builtins.bool] = None,
|
|
|
203
215
|
:param _builtins.bool long_term_support: if we should limit the search only to LTS (long term support) & ESR (extended support) versions. Default to `false`.
|
|
204
216
|
:param _builtins.bool ml: if we should limit the search only to ML runtimes. Default to `false`.
|
|
205
217
|
:param _builtins.bool photon: if we should limit the search only to Photon runtimes. Default to `false`. *Deprecated with DBR 14.0 release. Specify `runtime_engine=\\"PHOTON\\"` in the cluster configuration instead!*
|
|
218
|
+
:param Union['GetSparkVersionProviderConfigArgs', 'GetSparkVersionProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
206
219
|
:param _builtins.str scala: if we should limit the search only to runtimes that are based on specific Scala version. Default to `2.12`.
|
|
207
220
|
:param _builtins.str spark_version: if we should limit the search only to runtimes that are based on specific Spark version. Default to empty string. It could be specified as `3`, or `3.0`, or full version, like, `3.0.1`.
|
|
208
221
|
"""
|
|
@@ -216,6 +229,7 @@ def get_spark_version(beta: Optional[_builtins.bool] = None,
|
|
|
216
229
|
__args__['longTermSupport'] = long_term_support
|
|
217
230
|
__args__['ml'] = ml
|
|
218
231
|
__args__['photon'] = photon
|
|
232
|
+
__args__['providerConfig'] = provider_config
|
|
219
233
|
__args__['scala'] = scala
|
|
220
234
|
__args__['sparkVersion'] = spark_version
|
|
221
235
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -231,6 +245,7 @@ def get_spark_version(beta: Optional[_builtins.bool] = None,
|
|
|
231
245
|
long_term_support=pulumi.get(__ret__, 'long_term_support'),
|
|
232
246
|
ml=pulumi.get(__ret__, 'ml'),
|
|
233
247
|
photon=pulumi.get(__ret__, 'photon'),
|
|
248
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
234
249
|
scala=pulumi.get(__ret__, 'scala'),
|
|
235
250
|
spark_version=pulumi.get(__ret__, 'spark_version'))
|
|
236
251
|
def get_spark_version_output(beta: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
@@ -242,6 +257,7 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[_builtins.bool
|
|
|
242
257
|
long_term_support: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
243
258
|
ml: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
244
259
|
photon: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
260
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetSparkVersionProviderConfigArgs', 'GetSparkVersionProviderConfigArgsDict']]]] = None,
|
|
245
261
|
scala: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
246
262
|
spark_version: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
247
263
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSparkVersionResult]:
|
|
@@ -295,6 +311,7 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[_builtins.bool
|
|
|
295
311
|
:param _builtins.bool long_term_support: if we should limit the search only to LTS (long term support) & ESR (extended support) versions. Default to `false`.
|
|
296
312
|
:param _builtins.bool ml: if we should limit the search only to ML runtimes. Default to `false`.
|
|
297
313
|
:param _builtins.bool photon: if we should limit the search only to Photon runtimes. Default to `false`. *Deprecated with DBR 14.0 release. Specify `runtime_engine=\\"PHOTON\\"` in the cluster configuration instead!*
|
|
314
|
+
:param Union['GetSparkVersionProviderConfigArgs', 'GetSparkVersionProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
298
315
|
:param _builtins.str scala: if we should limit the search only to runtimes that are based on specific Scala version. Default to `2.12`.
|
|
299
316
|
:param _builtins.str spark_version: if we should limit the search only to runtimes that are based on specific Spark version. Default to empty string. It could be specified as `3`, or `3.0`, or full version, like, `3.0.1`.
|
|
300
317
|
"""
|
|
@@ -308,6 +325,7 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[_builtins.bool
|
|
|
308
325
|
__args__['longTermSupport'] = long_term_support
|
|
309
326
|
__args__['ml'] = ml
|
|
310
327
|
__args__['photon'] = photon
|
|
328
|
+
__args__['providerConfig'] = provider_config
|
|
311
329
|
__args__['scala'] = scala
|
|
312
330
|
__args__['sparkVersion'] = spark_version
|
|
313
331
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -322,5 +340,6 @@ def get_spark_version_output(beta: Optional[pulumi.Input[Optional[_builtins.bool
|
|
|
322
340
|
long_term_support=pulumi.get(__response__, 'long_term_support'),
|
|
323
341
|
ml=pulumi.get(__response__, 'ml'),
|
|
324
342
|
photon=pulumi.get(__response__, 'photon'),
|
|
343
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
325
344
|
scala=pulumi.get(__response__, 'scala'),
|
|
326
345
|
spark_version=pulumi.get(__response__, 'spark_version')))
|
|
@@ -28,7 +28,7 @@ class GetSqlWarehouseResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getSqlWarehouse.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, auto_stop_mins=None, channel=None, cluster_size=None, creator_name=None, data_source_id=None, enable_photon=None, enable_serverless_compute=None, health=None, id=None, instance_profile_arn=None, jdbc_url=None, max_num_clusters=None, min_num_clusters=None, name=None, num_active_sessions=None, num_clusters=None, odbc_params=None, spot_instance_policy=None, state=None, tags=None, warehouse_type=None):
|
|
31
|
+
def __init__(__self__, auto_stop_mins=None, channel=None, cluster_size=None, creator_name=None, data_source_id=None, enable_photon=None, enable_serverless_compute=None, health=None, id=None, instance_profile_arn=None, jdbc_url=None, max_num_clusters=None, min_num_clusters=None, name=None, num_active_sessions=None, num_clusters=None, odbc_params=None, provider_config=None, spot_instance_policy=None, state=None, tags=None, warehouse_type=None):
|
|
32
32
|
if auto_stop_mins and not isinstance(auto_stop_mins, int):
|
|
33
33
|
raise TypeError("Expected argument 'auto_stop_mins' to be a int")
|
|
34
34
|
pulumi.set(__self__, "auto_stop_mins", auto_stop_mins)
|
|
@@ -80,6 +80,9 @@ class GetSqlWarehouseResult:
|
|
|
80
80
|
if odbc_params and not isinstance(odbc_params, dict):
|
|
81
81
|
raise TypeError("Expected argument 'odbc_params' to be a dict")
|
|
82
82
|
pulumi.set(__self__, "odbc_params", odbc_params)
|
|
83
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
84
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
85
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
83
86
|
if spot_instance_policy and not isinstance(spot_instance_policy, str):
|
|
84
87
|
raise TypeError("Expected argument 'spot_instance_policy' to be a str")
|
|
85
88
|
pulumi.set(__self__, "spot_instance_policy", spot_instance_policy)
|
|
@@ -226,6 +229,11 @@ class GetSqlWarehouseResult:
|
|
|
226
229
|
"""
|
|
227
230
|
return pulumi.get(self, "odbc_params")
|
|
228
231
|
|
|
232
|
+
@_builtins.property
|
|
233
|
+
@pulumi.getter(name="providerConfig")
|
|
234
|
+
def provider_config(self) -> Optional['outputs.GetSqlWarehouseProviderConfigResult']:
|
|
235
|
+
return pulumi.get(self, "provider_config")
|
|
236
|
+
|
|
229
237
|
@_builtins.property
|
|
230
238
|
@pulumi.getter(name="spotInstancePolicy")
|
|
231
239
|
def spot_instance_policy(self) -> _builtins.str:
|
|
@@ -282,6 +290,7 @@ class AwaitableGetSqlWarehouseResult(GetSqlWarehouseResult):
|
|
|
282
290
|
num_active_sessions=self.num_active_sessions,
|
|
283
291
|
num_clusters=self.num_clusters,
|
|
284
292
|
odbc_params=self.odbc_params,
|
|
293
|
+
provider_config=self.provider_config,
|
|
285
294
|
spot_instance_policy=self.spot_instance_policy,
|
|
286
295
|
state=self.state,
|
|
287
296
|
tags=self.tags,
|
|
@@ -305,6 +314,7 @@ def get_sql_warehouse(auto_stop_mins: Optional[_builtins.int] = None,
|
|
|
305
314
|
num_active_sessions: Optional[_builtins.int] = None,
|
|
306
315
|
num_clusters: Optional[_builtins.int] = None,
|
|
307
316
|
odbc_params: Optional[Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict']] = None,
|
|
317
|
+
provider_config: Optional[Union['GetSqlWarehouseProviderConfigArgs', 'GetSqlWarehouseProviderConfigArgsDict']] = None,
|
|
308
318
|
spot_instance_policy: Optional[_builtins.str] = None,
|
|
309
319
|
state: Optional[_builtins.str] = None,
|
|
310
320
|
tags: Optional[Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict']] = None,
|
|
@@ -386,6 +396,7 @@ def get_sql_warehouse(auto_stop_mins: Optional[_builtins.int] = None,
|
|
|
386
396
|
__args__['numActiveSessions'] = num_active_sessions
|
|
387
397
|
__args__['numClusters'] = num_clusters
|
|
388
398
|
__args__['odbcParams'] = odbc_params
|
|
399
|
+
__args__['providerConfig'] = provider_config
|
|
389
400
|
__args__['spotInstancePolicy'] = spot_instance_policy
|
|
390
401
|
__args__['state'] = state
|
|
391
402
|
__args__['tags'] = tags
|
|
@@ -411,6 +422,7 @@ def get_sql_warehouse(auto_stop_mins: Optional[_builtins.int] = None,
|
|
|
411
422
|
num_active_sessions=pulumi.get(__ret__, 'num_active_sessions'),
|
|
412
423
|
num_clusters=pulumi.get(__ret__, 'num_clusters'),
|
|
413
424
|
odbc_params=pulumi.get(__ret__, 'odbc_params'),
|
|
425
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
414
426
|
spot_instance_policy=pulumi.get(__ret__, 'spot_instance_policy'),
|
|
415
427
|
state=pulumi.get(__ret__, 'state'),
|
|
416
428
|
tags=pulumi.get(__ret__, 'tags'),
|
|
@@ -432,6 +444,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[_bui
|
|
|
432
444
|
num_active_sessions: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
433
445
|
num_clusters: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
434
446
|
odbc_params: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict']]]] = None,
|
|
447
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseProviderConfigArgs', 'GetSqlWarehouseProviderConfigArgsDict']]]] = None,
|
|
435
448
|
spot_instance_policy: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
436
449
|
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
437
450
|
tags: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict']]]] = None,
|
|
@@ -513,6 +526,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[_bui
|
|
|
513
526
|
__args__['numActiveSessions'] = num_active_sessions
|
|
514
527
|
__args__['numClusters'] = num_clusters
|
|
515
528
|
__args__['odbcParams'] = odbc_params
|
|
529
|
+
__args__['providerConfig'] = provider_config
|
|
516
530
|
__args__['spotInstancePolicy'] = spot_instance_policy
|
|
517
531
|
__args__['state'] = state
|
|
518
532
|
__args__['tags'] = tags
|
|
@@ -537,6 +551,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[_bui
|
|
|
537
551
|
num_active_sessions=pulumi.get(__response__, 'num_active_sessions'),
|
|
538
552
|
num_clusters=pulumi.get(__response__, 'num_clusters'),
|
|
539
553
|
odbc_params=pulumi.get(__response__, 'odbc_params'),
|
|
554
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
540
555
|
spot_instance_policy=pulumi.get(__response__, 'spot_instance_policy'),
|
|
541
556
|
state=pulumi.get(__response__, 'state'),
|
|
542
557
|
tags=pulumi.get(__response__, 'tags'),
|
|
@@ -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
|
'GetSqlWarehousesResult',
|
|
@@ -26,13 +28,16 @@ class GetSqlWarehousesResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getSqlWarehouses.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, ids=None, warehouse_name_contains=None):
|
|
31
|
+
def __init__(__self__, id=None, ids=None, provider_config=None, warehouse_name_contains=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)
|
|
33
35
|
if ids and not isinstance(ids, list):
|
|
34
36
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
35
37
|
pulumi.set(__self__, "ids", ids)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
36
41
|
if warehouse_name_contains and not isinstance(warehouse_name_contains, str):
|
|
37
42
|
raise TypeError("Expected argument 'warehouse_name_contains' to be a str")
|
|
38
43
|
pulumi.set(__self__, "warehouse_name_contains", warehouse_name_contains)
|
|
@@ -53,6 +58,11 @@ class GetSqlWarehousesResult:
|
|
|
53
58
|
"""
|
|
54
59
|
return pulumi.get(self, "ids")
|
|
55
60
|
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="providerConfig")
|
|
63
|
+
def provider_config(self) -> Optional['outputs.GetSqlWarehousesProviderConfigResult']:
|
|
64
|
+
return pulumi.get(self, "provider_config")
|
|
65
|
+
|
|
56
66
|
@_builtins.property
|
|
57
67
|
@pulumi.getter(name="warehouseNameContains")
|
|
58
68
|
def warehouse_name_contains(self) -> Optional[_builtins.str]:
|
|
@@ -67,10 +77,12 @@ class AwaitableGetSqlWarehousesResult(GetSqlWarehousesResult):
|
|
|
67
77
|
return GetSqlWarehousesResult(
|
|
68
78
|
id=self.id,
|
|
69
79
|
ids=self.ids,
|
|
80
|
+
provider_config=self.provider_config,
|
|
70
81
|
warehouse_name_contains=self.warehouse_name_contains)
|
|
71
82
|
|
|
72
83
|
|
|
73
84
|
def get_sql_warehouses(ids: Optional[Sequence[_builtins.str]] = None,
|
|
85
|
+
provider_config: Optional[Union['GetSqlWarehousesProviderConfigArgs', 'GetSqlWarehousesProviderConfigArgsDict']] = None,
|
|
74
86
|
warehouse_name_contains: Optional[_builtins.str] = None,
|
|
75
87
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlWarehousesResult:
|
|
76
88
|
"""
|
|
@@ -110,10 +122,12 @@ def get_sql_warehouses(ids: Optional[Sequence[_builtins.str]] = None,
|
|
|
110
122
|
|
|
111
123
|
|
|
112
124
|
:param Sequence[_builtins.str] ids: list of SqlEndpoint ids
|
|
125
|
+
:param Union['GetSqlWarehousesProviderConfigArgs', 'GetSqlWarehousesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
113
126
|
:param _builtins.str warehouse_name_contains: Only return SqlEndpoint ids that match the given name string.
|
|
114
127
|
"""
|
|
115
128
|
__args__ = dict()
|
|
116
129
|
__args__['ids'] = ids
|
|
130
|
+
__args__['providerConfig'] = provider_config
|
|
117
131
|
__args__['warehouseNameContains'] = warehouse_name_contains
|
|
118
132
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
119
133
|
__ret__ = pulumi.runtime.invoke('databricks:index/getSqlWarehouses:getSqlWarehouses', __args__, opts=opts, typ=GetSqlWarehousesResult).value
|
|
@@ -121,8 +135,10 @@ def get_sql_warehouses(ids: Optional[Sequence[_builtins.str]] = None,
|
|
|
121
135
|
return AwaitableGetSqlWarehousesResult(
|
|
122
136
|
id=pulumi.get(__ret__, 'id'),
|
|
123
137
|
ids=pulumi.get(__ret__, 'ids'),
|
|
138
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
124
139
|
warehouse_name_contains=pulumi.get(__ret__, 'warehouse_name_contains'))
|
|
125
140
|
def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
141
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetSqlWarehousesProviderConfigArgs', 'GetSqlWarehousesProviderConfigArgsDict']]]] = None,
|
|
126
142
|
warehouse_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
127
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlWarehousesResult]:
|
|
128
144
|
"""
|
|
@@ -162,14 +178,17 @@ def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[_buil
|
|
|
162
178
|
|
|
163
179
|
|
|
164
180
|
:param Sequence[_builtins.str] ids: list of SqlEndpoint ids
|
|
181
|
+
:param Union['GetSqlWarehousesProviderConfigArgs', 'GetSqlWarehousesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
165
182
|
:param _builtins.str warehouse_name_contains: Only return SqlEndpoint ids that match the given name string.
|
|
166
183
|
"""
|
|
167
184
|
__args__ = dict()
|
|
168
185
|
__args__['ids'] = ids
|
|
186
|
+
__args__['providerConfig'] = provider_config
|
|
169
187
|
__args__['warehouseNameContains'] = warehouse_name_contains
|
|
170
188
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
189
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getSqlWarehouses:getSqlWarehouses', __args__, opts=opts, typ=GetSqlWarehousesResult)
|
|
172
190
|
return __ret__.apply(lambda __response__: GetSqlWarehousesResult(
|
|
173
191
|
id=pulumi.get(__response__, 'id'),
|
|
174
192
|
ids=pulumi.get(__response__, 'ids'),
|
|
193
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
175
194
|
warehouse_name_contains=pulumi.get(__response__, 'warehouse_name_contains')))
|
|
@@ -28,13 +28,16 @@ class GetStorageCredentialResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getStorageCredential.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, name=None, storage_credential_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, storage_credential_info=None):
|
|
32
32
|
if id and not isinstance(id, str):
|
|
33
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "id", id)
|
|
35
35
|
if name and not isinstance(name, str):
|
|
36
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
37
37
|
pulumi.set(__self__, "name", name)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
38
41
|
if storage_credential_info and not isinstance(storage_credential_info, dict):
|
|
39
42
|
raise TypeError("Expected argument 'storage_credential_info' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "storage_credential_info", storage_credential_info)
|
|
@@ -52,6 +55,11 @@ class GetStorageCredentialResult:
|
|
|
52
55
|
def name(self) -> _builtins.str:
|
|
53
56
|
return pulumi.get(self, "name")
|
|
54
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetStorageCredentialProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
55
63
|
@_builtins.property
|
|
56
64
|
@pulumi.getter(name="storageCredentialInfo")
|
|
57
65
|
def storage_credential_info(self) -> 'outputs.GetStorageCredentialStorageCredentialInfoResult':
|
|
@@ -69,11 +77,13 @@ class AwaitableGetStorageCredentialResult(GetStorageCredentialResult):
|
|
|
69
77
|
return GetStorageCredentialResult(
|
|
70
78
|
id=self.id,
|
|
71
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
72
81
|
storage_credential_info=self.storage_credential_info)
|
|
73
82
|
|
|
74
83
|
|
|
75
84
|
def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
76
85
|
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']] = None,
|
|
77
87
|
storage_credential_info: Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']] = None,
|
|
78
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialResult:
|
|
79
89
|
"""
|
|
@@ -103,11 +113,13 @@ def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
|
103
113
|
|
|
104
114
|
:param _builtins.str id: Unique ID of storage credential.
|
|
105
115
|
:param _builtins.str name: The name of the storage credential
|
|
116
|
+
:param Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
106
117
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
107
118
|
"""
|
|
108
119
|
__args__ = dict()
|
|
109
120
|
__args__['id'] = id
|
|
110
121
|
__args__['name'] = name
|
|
122
|
+
__args__['providerConfig'] = provider_config
|
|
111
123
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
112
124
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
113
125
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult).value
|
|
@@ -115,9 +127,11 @@ def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
|
115
127
|
return AwaitableGetStorageCredentialResult(
|
|
116
128
|
id=pulumi.get(__ret__, 'id'),
|
|
117
129
|
name=pulumi.get(__ret__, 'name'),
|
|
130
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
118
131
|
storage_credential_info=pulumi.get(__ret__, 'storage_credential_info'))
|
|
119
132
|
def get_storage_credential_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
120
133
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']]]] = None,
|
|
121
135
|
storage_credential_info: Optional[pulumi.Input[Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']]]] = None,
|
|
122
136
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialResult]:
|
|
123
137
|
"""
|
|
@@ -147,15 +161,18 @@ def get_storage_credential_output(id: Optional[pulumi.Input[Optional[_builtins.s
|
|
|
147
161
|
|
|
148
162
|
:param _builtins.str id: Unique ID of storage credential.
|
|
149
163
|
:param _builtins.str name: The name of the storage credential
|
|
164
|
+
:param Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
150
165
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
151
166
|
"""
|
|
152
167
|
__args__ = dict()
|
|
153
168
|
__args__['id'] = id
|
|
154
169
|
__args__['name'] = name
|
|
170
|
+
__args__['providerConfig'] = provider_config
|
|
155
171
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
156
172
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
157
173
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult)
|
|
158
174
|
return __ret__.apply(lambda __response__: GetStorageCredentialResult(
|
|
159
175
|
id=pulumi.get(__response__, 'id'),
|
|
160
176
|
name=pulumi.get(__response__, 'name'),
|
|
177
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
161
178
|
storage_credential_info=pulumi.get(__response__, 'storage_credential_info')))
|
|
@@ -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
|
'GetStorageCredentialsResult',
|
|
@@ -26,13 +28,16 @@ class GetStorageCredentialsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getStorageCredentials.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, names=None):
|
|
31
|
+
def __init__(__self__, id=None, names=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)
|
|
33
35
|
if names and not isinstance(names, list):
|
|
34
36
|
raise TypeError("Expected argument 'names' to be a list")
|
|
35
37
|
pulumi.set(__self__, "names", names)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
36
41
|
|
|
37
42
|
@_builtins.property
|
|
38
43
|
@pulumi.getter
|
|
@@ -50,6 +55,11 @@ class GetStorageCredentialsResult:
|
|
|
50
55
|
"""
|
|
51
56
|
return pulumi.get(self, "names")
|
|
52
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetStorageCredentialsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
53
63
|
|
|
54
64
|
class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
55
65
|
# pylint: disable=using-constant-test
|
|
@@ -58,10 +68,12 @@ class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
|
58
68
|
yield self
|
|
59
69
|
return GetStorageCredentialsResult(
|
|
60
70
|
id=self.id,
|
|
61
|
-
names=self.names
|
|
71
|
+
names=self.names,
|
|
72
|
+
provider_config=self.provider_config)
|
|
62
73
|
|
|
63
74
|
|
|
64
75
|
def get_storage_credentials(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict']] = None,
|
|
65
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialsResult:
|
|
66
78
|
"""
|
|
67
79
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -89,16 +101,20 @@ def get_storage_credentials(names: Optional[Sequence[_builtins.str]] = None,
|
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
:param Sequence[_builtins.str] names: List of names of StorageCredential in the metastore
|
|
104
|
+
:param Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
92
105
|
"""
|
|
93
106
|
__args__ = dict()
|
|
94
107
|
__args__['names'] = names
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
95
109
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
110
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult).value
|
|
97
111
|
|
|
98
112
|
return AwaitableGetStorageCredentialsResult(
|
|
99
113
|
id=pulumi.get(__ret__, 'id'),
|
|
100
|
-
names=pulumi.get(__ret__, 'names')
|
|
114
|
+
names=pulumi.get(__ret__, 'names'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
101
116
|
def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
117
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict']]]] = None,
|
|
102
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialsResult]:
|
|
103
119
|
"""
|
|
104
120
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -126,11 +142,14 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc
|
|
|
126
142
|
|
|
127
143
|
|
|
128
144
|
:param Sequence[_builtins.str] names: List of names of StorageCredential in the metastore
|
|
145
|
+
:param Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
129
146
|
"""
|
|
130
147
|
__args__ = dict()
|
|
131
148
|
__args__['names'] = names
|
|
149
|
+
__args__['providerConfig'] = provider_config
|
|
132
150
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
133
151
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult)
|
|
134
152
|
return __ret__.apply(lambda __response__: GetStorageCredentialsResult(
|
|
135
153
|
id=pulumi.get(__response__, 'id'),
|
|
136
|
-
names=pulumi.get(__response__, 'names')
|
|
154
|
+
names=pulumi.get(__response__, 'names'),
|
|
155
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
pulumi_databricks/get_table.py
CHANGED
|
@@ -28,13 +28,16 @@ class GetTableResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getTable.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, name=None, table_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, table_info=None):
|
|
32
32
|
if id and not isinstance(id, str):
|
|
33
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "id", id)
|
|
35
35
|
if name and not isinstance(name, str):
|
|
36
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
37
37
|
pulumi.set(__self__, "name", name)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
38
41
|
if table_info and not isinstance(table_info, dict):
|
|
39
42
|
raise TypeError("Expected argument 'table_info' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "table_info", table_info)
|
|
@@ -52,6 +55,11 @@ class GetTableResult:
|
|
|
52
55
|
"""
|
|
53
56
|
return pulumi.get(self, "name")
|
|
54
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetTableProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
55
63
|
@_builtins.property
|
|
56
64
|
@pulumi.getter(name="tableInfo")
|
|
57
65
|
def table_info(self) -> 'outputs.GetTableTableInfoResult':
|
|
@@ -69,11 +77,13 @@ class AwaitableGetTableResult(GetTableResult):
|
|
|
69
77
|
return GetTableResult(
|
|
70
78
|
id=self.id,
|
|
71
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
72
81
|
table_info=self.table_info)
|
|
73
82
|
|
|
74
83
|
|
|
75
84
|
def get_table(id: Optional[_builtins.str] = None,
|
|
76
85
|
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']] = None,
|
|
77
87
|
table_info: Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']] = None,
|
|
78
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResult:
|
|
79
89
|
"""
|
|
@@ -110,11 +120,13 @@ def get_table(id: Optional[_builtins.str] = None,
|
|
|
110
120
|
|
|
111
121
|
|
|
112
122
|
:param _builtins.str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_
|
|
123
|
+
:param Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
113
124
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
114
125
|
"""
|
|
115
126
|
__args__ = dict()
|
|
116
127
|
__args__['id'] = id
|
|
117
128
|
__args__['name'] = name
|
|
129
|
+
__args__['providerConfig'] = provider_config
|
|
118
130
|
__args__['tableInfo'] = table_info
|
|
119
131
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
132
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult).value
|
|
@@ -122,9 +134,11 @@ def get_table(id: Optional[_builtins.str] = None,
|
|
|
122
134
|
return AwaitableGetTableResult(
|
|
123
135
|
id=pulumi.get(__ret__, 'id'),
|
|
124
136
|
name=pulumi.get(__ret__, 'name'),
|
|
137
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
125
138
|
table_info=pulumi.get(__ret__, 'table_info'))
|
|
126
139
|
def get_table_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
127
140
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']]]] = None,
|
|
128
142
|
table_info: Optional[pulumi.Input[Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']]]] = None,
|
|
129
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTableResult]:
|
|
130
144
|
"""
|
|
@@ -161,15 +175,18 @@ def get_table_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
|
161
175
|
|
|
162
176
|
|
|
163
177
|
:param _builtins.str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_
|
|
178
|
+
:param Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
164
179
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
165
180
|
"""
|
|
166
181
|
__args__ = dict()
|
|
167
182
|
__args__['id'] = id
|
|
168
183
|
__args__['name'] = name
|
|
184
|
+
__args__['providerConfig'] = provider_config
|
|
169
185
|
__args__['tableInfo'] = table_info
|
|
170
186
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
187
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult)
|
|
172
188
|
return __ret__.apply(lambda __response__: GetTableResult(
|
|
173
189
|
id=pulumi.get(__response__, 'id'),
|
|
174
190
|
name=pulumi.get(__response__, 'name'),
|
|
191
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
175
192
|
table_info=pulumi.get(__response__, 'table_info')))
|