pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -29,7 +28,7 @@ class GetSqlWarehouseResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getSqlWarehouse.
|
|
31
30
|
"""
|
|
32
|
-
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):
|
|
33
32
|
if auto_stop_mins and not isinstance(auto_stop_mins, int):
|
|
34
33
|
raise TypeError("Expected argument 'auto_stop_mins' to be a int")
|
|
35
34
|
pulumi.set(__self__, "auto_stop_mins", auto_stop_mins)
|
|
@@ -81,6 +80,9 @@ class GetSqlWarehouseResult:
|
|
|
81
80
|
if odbc_params and not isinstance(odbc_params, dict):
|
|
82
81
|
raise TypeError("Expected argument 'odbc_params' to be a dict")
|
|
83
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)
|
|
84
86
|
if spot_instance_policy and not isinstance(spot_instance_policy, str):
|
|
85
87
|
raise TypeError("Expected argument 'spot_instance_policy' to be a str")
|
|
86
88
|
pulumi.set(__self__, "spot_instance_policy", spot_instance_policy)
|
|
@@ -94,15 +96,15 @@ class GetSqlWarehouseResult:
|
|
|
94
96
|
raise TypeError("Expected argument 'warehouse_type' to be a str")
|
|
95
97
|
pulumi.set(__self__, "warehouse_type", warehouse_type)
|
|
96
98
|
|
|
97
|
-
@property
|
|
99
|
+
@_builtins.property
|
|
98
100
|
@pulumi.getter(name="autoStopMins")
|
|
99
|
-
def auto_stop_mins(self) ->
|
|
101
|
+
def auto_stop_mins(self) -> _builtins.int:
|
|
100
102
|
"""
|
|
101
103
|
Time in minutes until an idle SQL warehouse terminates all clusters and stops.
|
|
102
104
|
"""
|
|
103
105
|
return pulumi.get(self, "auto_stop_mins")
|
|
104
106
|
|
|
105
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
106
108
|
@pulumi.getter
|
|
107
109
|
def channel(self) -> 'outputs.GetSqlWarehouseChannelResult':
|
|
108
110
|
"""
|
|
@@ -110,47 +112,47 @@ class GetSqlWarehouseResult:
|
|
|
110
112
|
"""
|
|
111
113
|
return pulumi.get(self, "channel")
|
|
112
114
|
|
|
113
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
114
116
|
@pulumi.getter(name="clusterSize")
|
|
115
|
-
def cluster_size(self) ->
|
|
117
|
+
def cluster_size(self) -> _builtins.str:
|
|
116
118
|
"""
|
|
117
119
|
The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large".
|
|
118
120
|
"""
|
|
119
121
|
return pulumi.get(self, "cluster_size")
|
|
120
122
|
|
|
121
|
-
@property
|
|
123
|
+
@_builtins.property
|
|
122
124
|
@pulumi.getter(name="creatorName")
|
|
123
|
-
def creator_name(self) ->
|
|
125
|
+
def creator_name(self) -> _builtins.str:
|
|
124
126
|
"""
|
|
125
127
|
The username of the user who created the endpoint.
|
|
126
128
|
"""
|
|
127
129
|
return pulumi.get(self, "creator_name")
|
|
128
130
|
|
|
129
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
130
132
|
@pulumi.getter(name="dataSourceId")
|
|
131
|
-
def data_source_id(self) ->
|
|
133
|
+
def data_source_id(self) -> _builtins.str:
|
|
132
134
|
"""
|
|
133
135
|
ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
|
|
134
136
|
"""
|
|
135
137
|
return pulumi.get(self, "data_source_id")
|
|
136
138
|
|
|
137
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
138
140
|
@pulumi.getter(name="enablePhoton")
|
|
139
|
-
def enable_photon(self) ->
|
|
141
|
+
def enable_photon(self) -> _builtins.bool:
|
|
140
142
|
"""
|
|
141
143
|
Whether [Photon](https://databricks.com/product/delta-engine) is enabled.
|
|
142
144
|
"""
|
|
143
145
|
return pulumi.get(self, "enable_photon")
|
|
144
146
|
|
|
145
|
-
@property
|
|
147
|
+
@_builtins.property
|
|
146
148
|
@pulumi.getter(name="enableServerlessCompute")
|
|
147
|
-
def enable_serverless_compute(self) ->
|
|
149
|
+
def enable_serverless_compute(self) -> _builtins.bool:
|
|
148
150
|
"""
|
|
149
151
|
Whether this SQL warehouse is a serverless SQL warehouse.
|
|
150
152
|
"""
|
|
151
153
|
return pulumi.get(self, "enable_serverless_compute")
|
|
152
154
|
|
|
153
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
154
156
|
@pulumi.getter
|
|
155
157
|
def health(self) -> 'outputs.GetSqlWarehouseHealthResult':
|
|
156
158
|
"""
|
|
@@ -158,68 +160,68 @@ class GetSqlWarehouseResult:
|
|
|
158
160
|
"""
|
|
159
161
|
return pulumi.get(self, "health")
|
|
160
162
|
|
|
161
|
-
@property
|
|
163
|
+
@_builtins.property
|
|
162
164
|
@pulumi.getter
|
|
163
|
-
def id(self) ->
|
|
165
|
+
def id(self) -> _builtins.str:
|
|
164
166
|
"""
|
|
165
167
|
The ID of the SQL warehouse.
|
|
166
168
|
"""
|
|
167
169
|
return pulumi.get(self, "id")
|
|
168
170
|
|
|
169
|
-
@property
|
|
171
|
+
@_builtins.property
|
|
170
172
|
@pulumi.getter(name="instanceProfileArn")
|
|
171
|
-
def instance_profile_arn(self) ->
|
|
173
|
+
def instance_profile_arn(self) -> _builtins.str:
|
|
172
174
|
return pulumi.get(self, "instance_profile_arn")
|
|
173
175
|
|
|
174
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
175
177
|
@pulumi.getter(name="jdbcUrl")
|
|
176
|
-
def jdbc_url(self) ->
|
|
178
|
+
def jdbc_url(self) -> _builtins.str:
|
|
177
179
|
"""
|
|
178
180
|
JDBC connection string.
|
|
179
181
|
"""
|
|
180
182
|
return pulumi.get(self, "jdbc_url")
|
|
181
183
|
|
|
182
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
183
185
|
@pulumi.getter(name="maxNumClusters")
|
|
184
|
-
def max_num_clusters(self) ->
|
|
186
|
+
def max_num_clusters(self) -> _builtins.int:
|
|
185
187
|
"""
|
|
186
188
|
Maximum number of clusters available when a SQL warehouse is running.
|
|
187
189
|
"""
|
|
188
190
|
return pulumi.get(self, "max_num_clusters")
|
|
189
191
|
|
|
190
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
191
193
|
@pulumi.getter(name="minNumClusters")
|
|
192
|
-
def min_num_clusters(self) ->
|
|
194
|
+
def min_num_clusters(self) -> _builtins.int:
|
|
193
195
|
"""
|
|
194
196
|
Minimum number of clusters available when a SQL warehouse is running.
|
|
195
197
|
"""
|
|
196
198
|
return pulumi.get(self, "min_num_clusters")
|
|
197
199
|
|
|
198
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
199
201
|
@pulumi.getter
|
|
200
|
-
def name(self) ->
|
|
202
|
+
def name(self) -> _builtins.str:
|
|
201
203
|
"""
|
|
202
204
|
Name of the Databricks SQL release channel. Possible values are: `CHANNEL_NAME_PREVIEW` and `CHANNEL_NAME_CURRENT`. Default is `CHANNEL_NAME_CURRENT`.
|
|
203
205
|
"""
|
|
204
206
|
return pulumi.get(self, "name")
|
|
205
207
|
|
|
206
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
207
209
|
@pulumi.getter(name="numActiveSessions")
|
|
208
|
-
def num_active_sessions(self) ->
|
|
210
|
+
def num_active_sessions(self) -> _builtins.int:
|
|
209
211
|
"""
|
|
210
212
|
The current number of clusters used by the endpoint.
|
|
211
213
|
"""
|
|
212
214
|
return pulumi.get(self, "num_active_sessions")
|
|
213
215
|
|
|
214
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
215
217
|
@pulumi.getter(name="numClusters")
|
|
216
|
-
def num_clusters(self) ->
|
|
218
|
+
def num_clusters(self) -> _builtins.int:
|
|
217
219
|
"""
|
|
218
220
|
The current number of clusters used by the endpoint.
|
|
219
221
|
"""
|
|
220
222
|
return pulumi.get(self, "num_clusters")
|
|
221
223
|
|
|
222
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
223
225
|
@pulumi.getter(name="odbcParams")
|
|
224
226
|
def odbc_params(self) -> 'outputs.GetSqlWarehouseOdbcParamsResult':
|
|
225
227
|
"""
|
|
@@ -227,23 +229,28 @@ class GetSqlWarehouseResult:
|
|
|
227
229
|
"""
|
|
228
230
|
return pulumi.get(self, "odbc_params")
|
|
229
231
|
|
|
230
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
233
|
+
@pulumi.getter(name="providerConfig")
|
|
234
|
+
def provider_config(self) -> Optional['outputs.GetSqlWarehouseProviderConfigResult']:
|
|
235
|
+
return pulumi.get(self, "provider_config")
|
|
236
|
+
|
|
237
|
+
@_builtins.property
|
|
231
238
|
@pulumi.getter(name="spotInstancePolicy")
|
|
232
|
-
def spot_instance_policy(self) ->
|
|
239
|
+
def spot_instance_policy(self) -> _builtins.str:
|
|
233
240
|
"""
|
|
234
241
|
The spot policy to use for allocating instances to clusters: `COST_OPTIMIZED` or `RELIABILITY_OPTIMIZED`.
|
|
235
242
|
"""
|
|
236
243
|
return pulumi.get(self, "spot_instance_policy")
|
|
237
244
|
|
|
238
|
-
@property
|
|
245
|
+
@_builtins.property
|
|
239
246
|
@pulumi.getter
|
|
240
|
-
def state(self) ->
|
|
247
|
+
def state(self) -> _builtins.str:
|
|
241
248
|
"""
|
|
242
249
|
The current state of the endpoint.
|
|
243
250
|
"""
|
|
244
251
|
return pulumi.get(self, "state")
|
|
245
252
|
|
|
246
|
-
@property
|
|
253
|
+
@_builtins.property
|
|
247
254
|
@pulumi.getter
|
|
248
255
|
def tags(self) -> 'outputs.GetSqlWarehouseTagsResult':
|
|
249
256
|
"""
|
|
@@ -251,11 +258,11 @@ class GetSqlWarehouseResult:
|
|
|
251
258
|
"""
|
|
252
259
|
return pulumi.get(self, "tags")
|
|
253
260
|
|
|
254
|
-
@property
|
|
261
|
+
@_builtins.property
|
|
255
262
|
@pulumi.getter(name="warehouseType")
|
|
256
|
-
def warehouse_type(self) ->
|
|
263
|
+
def warehouse_type(self) -> _builtins.str:
|
|
257
264
|
"""
|
|
258
|
-
SQL warehouse type. See
|
|
265
|
+
SQL warehouse type. See [documentation](https://docs.databricks.com/sql/index.html#warehouse-types).
|
|
259
266
|
"""
|
|
260
267
|
return pulumi.get(self, "warehouse_type")
|
|
261
268
|
|
|
@@ -283,33 +290,35 @@ class AwaitableGetSqlWarehouseResult(GetSqlWarehouseResult):
|
|
|
283
290
|
num_active_sessions=self.num_active_sessions,
|
|
284
291
|
num_clusters=self.num_clusters,
|
|
285
292
|
odbc_params=self.odbc_params,
|
|
293
|
+
provider_config=self.provider_config,
|
|
286
294
|
spot_instance_policy=self.spot_instance_policy,
|
|
287
295
|
state=self.state,
|
|
288
296
|
tags=self.tags,
|
|
289
297
|
warehouse_type=self.warehouse_type)
|
|
290
298
|
|
|
291
299
|
|
|
292
|
-
def get_sql_warehouse(auto_stop_mins: Optional[
|
|
300
|
+
def get_sql_warehouse(auto_stop_mins: Optional[_builtins.int] = None,
|
|
293
301
|
channel: Optional[Union['GetSqlWarehouseChannelArgs', 'GetSqlWarehouseChannelArgsDict']] = None,
|
|
294
|
-
cluster_size: Optional[
|
|
295
|
-
creator_name: Optional[
|
|
296
|
-
data_source_id: Optional[
|
|
297
|
-
enable_photon: Optional[
|
|
298
|
-
enable_serverless_compute: Optional[
|
|
302
|
+
cluster_size: Optional[_builtins.str] = None,
|
|
303
|
+
creator_name: Optional[_builtins.str] = None,
|
|
304
|
+
data_source_id: Optional[_builtins.str] = None,
|
|
305
|
+
enable_photon: Optional[_builtins.bool] = None,
|
|
306
|
+
enable_serverless_compute: Optional[_builtins.bool] = None,
|
|
299
307
|
health: Optional[Union['GetSqlWarehouseHealthArgs', 'GetSqlWarehouseHealthArgsDict']] = None,
|
|
300
|
-
id: Optional[
|
|
301
|
-
instance_profile_arn: Optional[
|
|
302
|
-
jdbc_url: Optional[
|
|
303
|
-
max_num_clusters: Optional[
|
|
304
|
-
min_num_clusters: Optional[
|
|
305
|
-
name: Optional[
|
|
306
|
-
num_active_sessions: Optional[
|
|
307
|
-
num_clusters: Optional[
|
|
308
|
+
id: Optional[_builtins.str] = None,
|
|
309
|
+
instance_profile_arn: Optional[_builtins.str] = None,
|
|
310
|
+
jdbc_url: Optional[_builtins.str] = None,
|
|
311
|
+
max_num_clusters: Optional[_builtins.int] = None,
|
|
312
|
+
min_num_clusters: Optional[_builtins.int] = None,
|
|
313
|
+
name: Optional[_builtins.str] = None,
|
|
314
|
+
num_active_sessions: Optional[_builtins.int] = None,
|
|
315
|
+
num_clusters: Optional[_builtins.int] = None,
|
|
308
316
|
odbc_params: Optional[Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict']] = None,
|
|
309
|
-
|
|
310
|
-
|
|
317
|
+
provider_config: Optional[Union['GetSqlWarehouseProviderConfigArgs', 'GetSqlWarehouseProviderConfigArgsDict']] = None,
|
|
318
|
+
spot_instance_policy: Optional[_builtins.str] = None,
|
|
319
|
+
state: Optional[_builtins.str] = None,
|
|
311
320
|
tags: Optional[Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict']] = None,
|
|
312
|
-
warehouse_type: Optional[
|
|
321
|
+
warehouse_type: Optional[_builtins.str] = None,
|
|
313
322
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlWarehouseResult:
|
|
314
323
|
"""
|
|
315
324
|
Retrieves information about a get_sql_warehouse using its id. This could be retrieved programmatically using get_sql_warehouses data source.
|
|
@@ -345,29 +354,29 @@ def get_sql_warehouse(auto_stop_mins: Optional[builtins.int] = None,
|
|
|
345
354
|
* InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount.
|
|
346
355
|
* SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
347
356
|
* SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all get_sql_warehouse of workspace.
|
|
348
|
-
*
|
|
357
|
+
* Grants to manage data access in Unity Catalog.
|
|
349
358
|
|
|
350
359
|
|
|
351
|
-
:param
|
|
360
|
+
:param _builtins.int auto_stop_mins: Time in minutes until an idle SQL warehouse terminates all clusters and stops.
|
|
352
361
|
:param Union['GetSqlWarehouseChannelArgs', 'GetSqlWarehouseChannelArgsDict'] channel: block, consisting of following fields:
|
|
353
|
-
:param
|
|
354
|
-
:param
|
|
355
|
-
:param
|
|
356
|
-
:param
|
|
357
|
-
:param
|
|
362
|
+
:param _builtins.str cluster_size: The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large".
|
|
363
|
+
:param _builtins.str creator_name: The username of the user who created the endpoint.
|
|
364
|
+
:param _builtins.str data_source_id: ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
|
|
365
|
+
:param _builtins.bool enable_photon: Whether [Photon](https://databricks.com/product/delta-engine) is enabled.
|
|
366
|
+
:param _builtins.bool enable_serverless_compute: Whether this SQL warehouse is a serverless SQL warehouse.
|
|
358
367
|
:param Union['GetSqlWarehouseHealthArgs', 'GetSqlWarehouseHealthArgsDict'] health: Health status of the endpoint.
|
|
359
|
-
:param
|
|
360
|
-
:param
|
|
361
|
-
:param
|
|
362
|
-
:param
|
|
363
|
-
:param
|
|
364
|
-
:param
|
|
365
|
-
:param
|
|
368
|
+
:param _builtins.str id: The ID of the SQL warehouse.
|
|
369
|
+
:param _builtins.str jdbc_url: JDBC connection string.
|
|
370
|
+
:param _builtins.int max_num_clusters: Maximum number of clusters available when a SQL warehouse is running.
|
|
371
|
+
:param _builtins.int min_num_clusters: Minimum number of clusters available when a SQL warehouse is running.
|
|
372
|
+
:param _builtins.str name: Name of the SQL warehouse to search (case-sensitive).
|
|
373
|
+
:param _builtins.int num_active_sessions: The current number of clusters used by the endpoint.
|
|
374
|
+
:param _builtins.int num_clusters: The current number of clusters used by the endpoint.
|
|
366
375
|
:param Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict'] odbc_params: ODBC connection params: `odbc_params.hostname`, `odbc_params.path`, `odbc_params.protocol`, and `odbc_params.port`.
|
|
367
|
-
:param
|
|
368
|
-
:param
|
|
376
|
+
:param _builtins.str spot_instance_policy: The spot policy to use for allocating instances to clusters: `COST_OPTIMIZED` or `RELIABILITY_OPTIMIZED`.
|
|
377
|
+
:param _builtins.str state: The current state of the endpoint.
|
|
369
378
|
:param Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict'] tags: tags used for SQL warehouse resources.
|
|
370
|
-
:param
|
|
379
|
+
:param _builtins.str warehouse_type: SQL warehouse type. See [documentation](https://docs.databricks.com/sql/index.html#warehouse-types).
|
|
371
380
|
"""
|
|
372
381
|
__args__ = dict()
|
|
373
382
|
__args__['autoStopMins'] = auto_stop_mins
|
|
@@ -387,6 +396,7 @@ def get_sql_warehouse(auto_stop_mins: Optional[builtins.int] = None,
|
|
|
387
396
|
__args__['numActiveSessions'] = num_active_sessions
|
|
388
397
|
__args__['numClusters'] = num_clusters
|
|
389
398
|
__args__['odbcParams'] = odbc_params
|
|
399
|
+
__args__['providerConfig'] = provider_config
|
|
390
400
|
__args__['spotInstancePolicy'] = spot_instance_policy
|
|
391
401
|
__args__['state'] = state
|
|
392
402
|
__args__['tags'] = tags
|
|
@@ -412,31 +422,33 @@ def get_sql_warehouse(auto_stop_mins: Optional[builtins.int] = None,
|
|
|
412
422
|
num_active_sessions=pulumi.get(__ret__, 'num_active_sessions'),
|
|
413
423
|
num_clusters=pulumi.get(__ret__, 'num_clusters'),
|
|
414
424
|
odbc_params=pulumi.get(__ret__, 'odbc_params'),
|
|
425
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
415
426
|
spot_instance_policy=pulumi.get(__ret__, 'spot_instance_policy'),
|
|
416
427
|
state=pulumi.get(__ret__, 'state'),
|
|
417
428
|
tags=pulumi.get(__ret__, 'tags'),
|
|
418
429
|
warehouse_type=pulumi.get(__ret__, 'warehouse_type'))
|
|
419
|
-
def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[
|
|
430
|
+
def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
420
431
|
channel: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseChannelArgs', 'GetSqlWarehouseChannelArgsDict']]]] = None,
|
|
421
|
-
cluster_size: Optional[pulumi.Input[Optional[
|
|
422
|
-
creator_name: Optional[pulumi.Input[Optional[
|
|
423
|
-
data_source_id: Optional[pulumi.Input[Optional[
|
|
424
|
-
enable_photon: Optional[pulumi.Input[Optional[
|
|
425
|
-
enable_serverless_compute: Optional[pulumi.Input[Optional[
|
|
432
|
+
cluster_size: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
433
|
+
creator_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
434
|
+
data_source_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
435
|
+
enable_photon: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
436
|
+
enable_serverless_compute: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
426
437
|
health: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseHealthArgs', 'GetSqlWarehouseHealthArgsDict']]]] = None,
|
|
427
|
-
id: Optional[pulumi.Input[Optional[
|
|
428
|
-
instance_profile_arn: Optional[pulumi.Input[Optional[
|
|
429
|
-
jdbc_url: Optional[pulumi.Input[Optional[
|
|
430
|
-
max_num_clusters: Optional[pulumi.Input[Optional[
|
|
431
|
-
min_num_clusters: Optional[pulumi.Input[Optional[
|
|
432
|
-
name: Optional[pulumi.Input[Optional[
|
|
433
|
-
num_active_sessions: Optional[pulumi.Input[Optional[
|
|
434
|
-
num_clusters: Optional[pulumi.Input[Optional[
|
|
438
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
439
|
+
instance_profile_arn: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
440
|
+
jdbc_url: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
441
|
+
max_num_clusters: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
442
|
+
min_num_clusters: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
443
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
444
|
+
num_active_sessions: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
445
|
+
num_clusters: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
435
446
|
odbc_params: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict']]]] = None,
|
|
436
|
-
|
|
437
|
-
|
|
447
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseProviderConfigArgs', 'GetSqlWarehouseProviderConfigArgsDict']]]] = None,
|
|
448
|
+
spot_instance_policy: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
449
|
+
state: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
438
450
|
tags: Optional[pulumi.Input[Optional[Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict']]]] = None,
|
|
439
|
-
warehouse_type: Optional[pulumi.Input[Optional[
|
|
451
|
+
warehouse_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
440
452
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlWarehouseResult]:
|
|
441
453
|
"""
|
|
442
454
|
Retrieves information about a get_sql_warehouse using its id. This could be retrieved programmatically using get_sql_warehouses data source.
|
|
@@ -472,29 +484,29 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[buil
|
|
|
472
484
|
* InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount.
|
|
473
485
|
* SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
474
486
|
* SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all get_sql_warehouse of workspace.
|
|
475
|
-
*
|
|
487
|
+
* Grants to manage data access in Unity Catalog.
|
|
476
488
|
|
|
477
489
|
|
|
478
|
-
:param
|
|
490
|
+
:param _builtins.int auto_stop_mins: Time in minutes until an idle SQL warehouse terminates all clusters and stops.
|
|
479
491
|
:param Union['GetSqlWarehouseChannelArgs', 'GetSqlWarehouseChannelArgsDict'] channel: block, consisting of following fields:
|
|
480
|
-
:param
|
|
481
|
-
:param
|
|
482
|
-
:param
|
|
483
|
-
:param
|
|
484
|
-
:param
|
|
492
|
+
:param _builtins.str cluster_size: The size of the clusters allocated to the warehouse: "2X-Small", "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large", "3X-Large", "4X-Large".
|
|
493
|
+
:param _builtins.str creator_name: The username of the user who created the endpoint.
|
|
494
|
+
:param _builtins.str data_source_id: ID of the data source for this warehouse. This is used to bind an Databricks SQL query to an warehouse.
|
|
495
|
+
:param _builtins.bool enable_photon: Whether [Photon](https://databricks.com/product/delta-engine) is enabled.
|
|
496
|
+
:param _builtins.bool enable_serverless_compute: Whether this SQL warehouse is a serverless SQL warehouse.
|
|
485
497
|
:param Union['GetSqlWarehouseHealthArgs', 'GetSqlWarehouseHealthArgsDict'] health: Health status of the endpoint.
|
|
486
|
-
:param
|
|
487
|
-
:param
|
|
488
|
-
:param
|
|
489
|
-
:param
|
|
490
|
-
:param
|
|
491
|
-
:param
|
|
492
|
-
:param
|
|
498
|
+
:param _builtins.str id: The ID of the SQL warehouse.
|
|
499
|
+
:param _builtins.str jdbc_url: JDBC connection string.
|
|
500
|
+
:param _builtins.int max_num_clusters: Maximum number of clusters available when a SQL warehouse is running.
|
|
501
|
+
:param _builtins.int min_num_clusters: Minimum number of clusters available when a SQL warehouse is running.
|
|
502
|
+
:param _builtins.str name: Name of the SQL warehouse to search (case-sensitive).
|
|
503
|
+
:param _builtins.int num_active_sessions: The current number of clusters used by the endpoint.
|
|
504
|
+
:param _builtins.int num_clusters: The current number of clusters used by the endpoint.
|
|
493
505
|
:param Union['GetSqlWarehouseOdbcParamsArgs', 'GetSqlWarehouseOdbcParamsArgsDict'] odbc_params: ODBC connection params: `odbc_params.hostname`, `odbc_params.path`, `odbc_params.protocol`, and `odbc_params.port`.
|
|
494
|
-
:param
|
|
495
|
-
:param
|
|
506
|
+
:param _builtins.str spot_instance_policy: The spot policy to use for allocating instances to clusters: `COST_OPTIMIZED` or `RELIABILITY_OPTIMIZED`.
|
|
507
|
+
:param _builtins.str state: The current state of the endpoint.
|
|
496
508
|
:param Union['GetSqlWarehouseTagsArgs', 'GetSqlWarehouseTagsArgsDict'] tags: tags used for SQL warehouse resources.
|
|
497
|
-
:param
|
|
509
|
+
:param _builtins.str warehouse_type: SQL warehouse type. See [documentation](https://docs.databricks.com/sql/index.html#warehouse-types).
|
|
498
510
|
"""
|
|
499
511
|
__args__ = dict()
|
|
500
512
|
__args__['autoStopMins'] = auto_stop_mins
|
|
@@ -514,6 +526,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[buil
|
|
|
514
526
|
__args__['numActiveSessions'] = num_active_sessions
|
|
515
527
|
__args__['numClusters'] = num_clusters
|
|
516
528
|
__args__['odbcParams'] = odbc_params
|
|
529
|
+
__args__['providerConfig'] = provider_config
|
|
517
530
|
__args__['spotInstancePolicy'] = spot_instance_policy
|
|
518
531
|
__args__['state'] = state
|
|
519
532
|
__args__['tags'] = tags
|
|
@@ -538,6 +551,7 @@ def get_sql_warehouse_output(auto_stop_mins: Optional[pulumi.Input[Optional[buil
|
|
|
538
551
|
num_active_sessions=pulumi.get(__response__, 'num_active_sessions'),
|
|
539
552
|
num_clusters=pulumi.get(__response__, 'num_clusters'),
|
|
540
553
|
odbc_params=pulumi.get(__response__, 'odbc_params'),
|
|
554
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
541
555
|
spot_instance_policy=pulumi.get(__response__, 'spot_instance_policy'),
|
|
542
556
|
state=pulumi.get(__response__, 'state'),
|
|
543
557
|
tags=pulumi.get(__response__, 'tags'),
|
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -14,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
13
|
else:
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetSqlWarehousesResult',
|
|
@@ -27,36 +28,44 @@ class GetSqlWarehousesResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getSqlWarehouses.
|
|
29
30
|
"""
|
|
30
|
-
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):
|
|
31
32
|
if id and not isinstance(id, str):
|
|
32
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
34
|
pulumi.set(__self__, "id", id)
|
|
34
35
|
if ids and not isinstance(ids, list):
|
|
35
36
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
36
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)
|
|
37
41
|
if warehouse_name_contains and not isinstance(warehouse_name_contains, str):
|
|
38
42
|
raise TypeError("Expected argument 'warehouse_name_contains' to be a str")
|
|
39
43
|
pulumi.set(__self__, "warehouse_name_contains", warehouse_name_contains)
|
|
40
44
|
|
|
41
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
42
46
|
@pulumi.getter
|
|
43
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
44
48
|
"""
|
|
45
49
|
The provider-assigned unique ID for this managed resource.
|
|
46
50
|
"""
|
|
47
51
|
return pulumi.get(self, "id")
|
|
48
52
|
|
|
49
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
50
54
|
@pulumi.getter
|
|
51
|
-
def ids(self) -> Sequence[
|
|
55
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
52
56
|
"""
|
|
53
57
|
list of SqlEndpoint ids
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "ids")
|
|
56
60
|
|
|
57
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="providerConfig")
|
|
63
|
+
def provider_config(self) -> Optional['outputs.GetSqlWarehousesProviderConfigResult']:
|
|
64
|
+
return pulumi.get(self, "provider_config")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
58
67
|
@pulumi.getter(name="warehouseNameContains")
|
|
59
|
-
def warehouse_name_contains(self) -> Optional[
|
|
68
|
+
def warehouse_name_contains(self) -> Optional[_builtins.str]:
|
|
60
69
|
return pulumi.get(self, "warehouse_name_contains")
|
|
61
70
|
|
|
62
71
|
|
|
@@ -68,11 +77,13 @@ class AwaitableGetSqlWarehousesResult(GetSqlWarehousesResult):
|
|
|
68
77
|
return GetSqlWarehousesResult(
|
|
69
78
|
id=self.id,
|
|
70
79
|
ids=self.ids,
|
|
80
|
+
provider_config=self.provider_config,
|
|
71
81
|
warehouse_name_contains=self.warehouse_name_contains)
|
|
72
82
|
|
|
73
83
|
|
|
74
|
-
def get_sql_warehouses(ids: Optional[Sequence[
|
|
75
|
-
|
|
84
|
+
def get_sql_warehouses(ids: Optional[Sequence[_builtins.str]] = None,
|
|
85
|
+
provider_config: Optional[Union['GetSqlWarehousesProviderConfigArgs', 'GetSqlWarehousesProviderConfigArgsDict']] = None,
|
|
86
|
+
warehouse_name_contains: Optional[_builtins.str] = None,
|
|
76
87
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSqlWarehousesResult:
|
|
77
88
|
"""
|
|
78
89
|
Retrieves a list of SqlEndpoint ids, that were created by Pulumi or manually.
|
|
@@ -107,14 +118,16 @@ def get_sql_warehouses(ids: Optional[Sequence[builtins.str]] = None,
|
|
|
107
118
|
* InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount.
|
|
108
119
|
* SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
109
120
|
* SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all get_sql_warehouse of workspace.
|
|
110
|
-
*
|
|
121
|
+
* Grants to manage data access in Unity Catalog.
|
|
111
122
|
|
|
112
123
|
|
|
113
|
-
:param Sequence[
|
|
114
|
-
:param
|
|
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:
|
|
126
|
+
:param _builtins.str warehouse_name_contains: Only return SqlEndpoint ids that match the given name string.
|
|
115
127
|
"""
|
|
116
128
|
__args__ = dict()
|
|
117
129
|
__args__['ids'] = ids
|
|
130
|
+
__args__['providerConfig'] = provider_config
|
|
118
131
|
__args__['warehouseNameContains'] = warehouse_name_contains
|
|
119
132
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
133
|
__ret__ = pulumi.runtime.invoke('databricks:index/getSqlWarehouses:getSqlWarehouses', __args__, opts=opts, typ=GetSqlWarehousesResult).value
|
|
@@ -122,9 +135,11 @@ def get_sql_warehouses(ids: Optional[Sequence[builtins.str]] = None,
|
|
|
122
135
|
return AwaitableGetSqlWarehousesResult(
|
|
123
136
|
id=pulumi.get(__ret__, 'id'),
|
|
124
137
|
ids=pulumi.get(__ret__, 'ids'),
|
|
138
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
125
139
|
warehouse_name_contains=pulumi.get(__ret__, 'warehouse_name_contains'))
|
|
126
|
-
def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[
|
|
127
|
-
|
|
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,
|
|
142
|
+
warehouse_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
128
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSqlWarehousesResult]:
|
|
129
144
|
"""
|
|
130
145
|
Retrieves a list of SqlEndpoint ids, that were created by Pulumi or manually.
|
|
@@ -159,18 +174,21 @@ def get_sql_warehouses_output(ids: Optional[pulumi.Input[Optional[Sequence[built
|
|
|
159
174
|
* InstanceProfile to manage AWS EC2 instance profiles that users can launch Cluster and access data, like databricks_mount.
|
|
160
175
|
* SqlDashboard to manage Databricks SQL [Dashboards](https://docs.databricks.com/sql/user/dashboards/index.html).
|
|
161
176
|
* SqlGlobalConfig to configure the security policy, databricks_instance_profile, and [data access properties](https://docs.databricks.com/sql/admin/data-access-configuration.html) for all get_sql_warehouse of workspace.
|
|
162
|
-
*
|
|
177
|
+
* Grants to manage data access in Unity Catalog.
|
|
163
178
|
|
|
164
179
|
|
|
165
|
-
:param Sequence[
|
|
166
|
-
:param
|
|
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:
|
|
182
|
+
:param _builtins.str warehouse_name_contains: Only return SqlEndpoint ids that match the given name string.
|
|
167
183
|
"""
|
|
168
184
|
__args__ = dict()
|
|
169
185
|
__args__['ids'] = ids
|
|
186
|
+
__args__['providerConfig'] = provider_config
|
|
170
187
|
__args__['warehouseNameContains'] = warehouse_name_contains
|
|
171
188
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
172
189
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getSqlWarehouses:getSqlWarehouses', __args__, opts=opts, typ=GetSqlWarehousesResult)
|
|
173
190
|
return __ret__.apply(lambda __response__: GetSqlWarehousesResult(
|
|
174
191
|
id=pulumi.get(__response__, 'id'),
|
|
175
192
|
ids=pulumi.get(__response__, 'ids'),
|
|
193
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
176
194
|
warehouse_name_contains=pulumi.get(__response__, 'warehouse_name_contains')))
|