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,31 +28,39 @@ class GetStorageCredentialResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getStorageCredential.
|
|
31
30
|
"""
|
|
32
|
-
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):
|
|
33
32
|
if id and not isinstance(id, str):
|
|
34
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
35
34
|
pulumi.set(__self__, "id", id)
|
|
36
35
|
if name and not isinstance(name, str):
|
|
37
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
38
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)
|
|
39
41
|
if storage_credential_info and not isinstance(storage_credential_info, dict):
|
|
40
42
|
raise TypeError("Expected argument 'storage_credential_info' to be a dict")
|
|
41
43
|
pulumi.set(__self__, "storage_credential_info", storage_credential_info)
|
|
42
44
|
|
|
43
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
44
46
|
@pulumi.getter
|
|
45
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
46
48
|
"""
|
|
47
49
|
Unique ID of storage credential.
|
|
48
50
|
"""
|
|
49
51
|
return pulumi.get(self, "id")
|
|
50
52
|
|
|
51
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
52
54
|
@pulumi.getter
|
|
53
|
-
def name(self) ->
|
|
55
|
+
def name(self) -> _builtins.str:
|
|
54
56
|
return pulumi.get(self, "name")
|
|
55
57
|
|
|
56
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetStorageCredentialProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
57
64
|
@pulumi.getter(name="storageCredentialInfo")
|
|
58
65
|
def storage_credential_info(self) -> 'outputs.GetStorageCredentialStorageCredentialInfoResult':
|
|
59
66
|
"""
|
|
@@ -70,11 +77,13 @@ class AwaitableGetStorageCredentialResult(GetStorageCredentialResult):
|
|
|
70
77
|
return GetStorageCredentialResult(
|
|
71
78
|
id=self.id,
|
|
72
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
73
81
|
storage_credential_info=self.storage_credential_info)
|
|
74
82
|
|
|
75
83
|
|
|
76
|
-
def get_storage_credential(id: Optional[
|
|
77
|
-
name: Optional[
|
|
84
|
+
def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
85
|
+
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']] = None,
|
|
78
87
|
storage_credential_info: Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']] = None,
|
|
79
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialResult:
|
|
80
89
|
"""
|
|
@@ -102,13 +111,15 @@ def get_storage_credential(id: Optional[builtins.str] = None,
|
|
|
102
111
|
* StorageCredential to manage Storage Credentials within Unity Catalog.
|
|
103
112
|
|
|
104
113
|
|
|
105
|
-
:param
|
|
106
|
-
:param
|
|
114
|
+
:param _builtins.str id: Unique ID of storage credential.
|
|
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:
|
|
107
117
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
108
118
|
"""
|
|
109
119
|
__args__ = dict()
|
|
110
120
|
__args__['id'] = id
|
|
111
121
|
__args__['name'] = name
|
|
122
|
+
__args__['providerConfig'] = provider_config
|
|
112
123
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
113
124
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
114
125
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult).value
|
|
@@ -116,9 +127,11 @@ def get_storage_credential(id: Optional[builtins.str] = None,
|
|
|
116
127
|
return AwaitableGetStorageCredentialResult(
|
|
117
128
|
id=pulumi.get(__ret__, 'id'),
|
|
118
129
|
name=pulumi.get(__ret__, 'name'),
|
|
130
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
119
131
|
storage_credential_info=pulumi.get(__ret__, 'storage_credential_info'))
|
|
120
|
-
def get_storage_credential_output(id: Optional[pulumi.Input[Optional[
|
|
121
|
-
name: Optional[pulumi.Input[
|
|
132
|
+
def get_storage_credential_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
133
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']]]] = None,
|
|
122
135
|
storage_credential_info: Optional[pulumi.Input[Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']]]] = None,
|
|
123
136
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialResult]:
|
|
124
137
|
"""
|
|
@@ -146,17 +159,20 @@ def get_storage_credential_output(id: Optional[pulumi.Input[Optional[builtins.st
|
|
|
146
159
|
* StorageCredential to manage Storage Credentials within Unity Catalog.
|
|
147
160
|
|
|
148
161
|
|
|
149
|
-
:param
|
|
150
|
-
:param
|
|
162
|
+
:param _builtins.str id: Unique ID of storage credential.
|
|
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:
|
|
151
165
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
152
166
|
"""
|
|
153
167
|
__args__ = dict()
|
|
154
168
|
__args__['id'] = id
|
|
155
169
|
__args__['name'] = name
|
|
170
|
+
__args__['providerConfig'] = provider_config
|
|
156
171
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
157
172
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
158
173
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult)
|
|
159
174
|
return __ret__.apply(lambda __response__: GetStorageCredentialResult(
|
|
160
175
|
id=pulumi.get(__response__, 'id'),
|
|
161
176
|
name=pulumi.get(__response__, 'name'),
|
|
177
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
162
178
|
storage_credential_info=pulumi.get(__response__, 'storage_credential_info')))
|
|
@@ -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
|
'GetStorageCredentialsResult',
|
|
@@ -27,30 +28,38 @@ class GetStorageCredentialsResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getStorageCredentials.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, names=None):
|
|
31
|
+
def __init__(__self__, id=None, names=None, provider_config=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 names and not isinstance(names, list):
|
|
35
36
|
raise TypeError("Expected argument 'names' to be a list")
|
|
36
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)
|
|
37
41
|
|
|
38
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
39
43
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
44
|
+
def id(self) -> _builtins.str:
|
|
41
45
|
"""
|
|
42
46
|
The provider-assigned unique ID for this managed resource.
|
|
43
47
|
"""
|
|
44
48
|
return pulumi.get(self, "id")
|
|
45
49
|
|
|
46
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
47
51
|
@pulumi.getter
|
|
48
|
-
def names(self) -> Sequence[
|
|
52
|
+
def names(self) -> Sequence[_builtins.str]:
|
|
49
53
|
"""
|
|
50
54
|
List of names of StorageCredential in the metastore
|
|
51
55
|
"""
|
|
52
56
|
return pulumi.get(self, "names")
|
|
53
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
|
+
|
|
54
63
|
|
|
55
64
|
class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
56
65
|
# pylint: disable=using-constant-test
|
|
@@ -59,10 +68,12 @@ class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
|
59
68
|
yield self
|
|
60
69
|
return GetStorageCredentialsResult(
|
|
61
70
|
id=self.id,
|
|
62
|
-
names=self.names
|
|
71
|
+
names=self.names,
|
|
72
|
+
provider_config=self.provider_config)
|
|
63
73
|
|
|
64
74
|
|
|
65
|
-
def get_storage_credentials(names: Optional[Sequence[
|
|
75
|
+
def get_storage_credentials(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict']] = None,
|
|
66
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialsResult:
|
|
67
78
|
"""
|
|
68
79
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -89,17 +100,21 @@ def get_storage_credentials(names: Optional[Sequence[builtins.str]] = None,
|
|
|
89
100
|
* StorageCredential to manage Storage Credentials within Unity Catalog.
|
|
90
101
|
|
|
91
102
|
|
|
92
|
-
:param Sequence[
|
|
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:
|
|
93
105
|
"""
|
|
94
106
|
__args__ = dict()
|
|
95
107
|
__args__['names'] = names
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
96
109
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
97
110
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult).value
|
|
98
111
|
|
|
99
112
|
return AwaitableGetStorageCredentialsResult(
|
|
100
113
|
id=pulumi.get(__ret__, 'id'),
|
|
101
|
-
names=pulumi.get(__ret__, 'names')
|
|
102
|
-
|
|
114
|
+
names=pulumi.get(__ret__, 'names'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
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,
|
|
103
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialsResult]:
|
|
104
119
|
"""
|
|
105
120
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -126,12 +141,15 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc
|
|
|
126
141
|
* StorageCredential to manage Storage Credentials within Unity Catalog.
|
|
127
142
|
|
|
128
143
|
|
|
129
|
-
:param Sequence[
|
|
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:
|
|
130
146
|
"""
|
|
131
147
|
__args__ = dict()
|
|
132
148
|
__args__['names'] = names
|
|
149
|
+
__args__['providerConfig'] = provider_config
|
|
133
150
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
134
151
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult)
|
|
135
152
|
return __ret__.apply(lambda __response__: GetStorageCredentialsResult(
|
|
136
153
|
id=pulumi.get(__response__, 'id'),
|
|
137
|
-
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
|
@@ -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,31 +28,39 @@ class GetTableResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getTable.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, id=None, name=None, table_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, table_info=None):
|
|
33
32
|
if id and not isinstance(id, str):
|
|
34
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
35
34
|
pulumi.set(__self__, "id", id)
|
|
36
35
|
if name and not isinstance(name, str):
|
|
37
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
38
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)
|
|
39
41
|
if table_info and not isinstance(table_info, dict):
|
|
40
42
|
raise TypeError("Expected argument 'table_info' to be a dict")
|
|
41
43
|
pulumi.set(__self__, "table_info", table_info)
|
|
42
44
|
|
|
43
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
44
46
|
@pulumi.getter
|
|
45
|
-
def id(self) ->
|
|
47
|
+
def id(self) -> _builtins.str:
|
|
46
48
|
return pulumi.get(self, "id")
|
|
47
49
|
|
|
48
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
49
51
|
@pulumi.getter
|
|
50
|
-
def name(self) ->
|
|
52
|
+
def name(self) -> _builtins.str:
|
|
51
53
|
"""
|
|
52
54
|
Name of table, relative to parent schema.
|
|
53
55
|
"""
|
|
54
56
|
return pulumi.get(self, "name")
|
|
55
57
|
|
|
56
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetTableProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
63
|
+
@_builtins.property
|
|
57
64
|
@pulumi.getter(name="tableInfo")
|
|
58
65
|
def table_info(self) -> 'outputs.GetTableTableInfoResult':
|
|
59
66
|
"""
|
|
@@ -70,11 +77,13 @@ class AwaitableGetTableResult(GetTableResult):
|
|
|
70
77
|
return GetTableResult(
|
|
71
78
|
id=self.id,
|
|
72
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
73
81
|
table_info=self.table_info)
|
|
74
82
|
|
|
75
83
|
|
|
76
|
-
def get_table(id: Optional[
|
|
77
|
-
name: Optional[
|
|
84
|
+
def get_table(id: Optional[_builtins.str] = None,
|
|
85
|
+
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']] = None,
|
|
78
87
|
table_info: Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']] = None,
|
|
79
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResult:
|
|
80
89
|
"""
|
|
@@ -110,12 +119,14 @@ def get_table(id: Optional[builtins.str] = None,
|
|
|
110
119
|
* get_tables to list all tables within a schema in Unity Catalog.
|
|
111
120
|
|
|
112
121
|
|
|
113
|
-
:param
|
|
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:
|
|
114
124
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
115
125
|
"""
|
|
116
126
|
__args__ = dict()
|
|
117
127
|
__args__['id'] = id
|
|
118
128
|
__args__['name'] = name
|
|
129
|
+
__args__['providerConfig'] = provider_config
|
|
119
130
|
__args__['tableInfo'] = table_info
|
|
120
131
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
121
132
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult).value
|
|
@@ -123,9 +134,11 @@ def get_table(id: Optional[builtins.str] = None,
|
|
|
123
134
|
return AwaitableGetTableResult(
|
|
124
135
|
id=pulumi.get(__ret__, 'id'),
|
|
125
136
|
name=pulumi.get(__ret__, 'name'),
|
|
137
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
126
138
|
table_info=pulumi.get(__ret__, 'table_info'))
|
|
127
|
-
def get_table_output(id: Optional[pulumi.Input[Optional[
|
|
128
|
-
name: Optional[pulumi.Input[
|
|
139
|
+
def get_table_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
140
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']]]] = None,
|
|
129
142
|
table_info: Optional[pulumi.Input[Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']]]] = None,
|
|
130
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTableResult]:
|
|
131
144
|
"""
|
|
@@ -161,16 +174,19 @@ def get_table_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
|
161
174
|
* get_tables to list all tables within a schema in Unity Catalog.
|
|
162
175
|
|
|
163
176
|
|
|
164
|
-
:param
|
|
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:
|
|
165
179
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
166
180
|
"""
|
|
167
181
|
__args__ = dict()
|
|
168
182
|
__args__['id'] = id
|
|
169
183
|
__args__['name'] = name
|
|
184
|
+
__args__['providerConfig'] = provider_config
|
|
170
185
|
__args__['tableInfo'] = table_info
|
|
171
186
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
172
187
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult)
|
|
173
188
|
return __ret__.apply(lambda __response__: GetTableResult(
|
|
174
189
|
id=pulumi.get(__response__, 'id'),
|
|
175
190
|
name=pulumi.get(__response__, 'name'),
|
|
191
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
176
192
|
table_info=pulumi.get(__response__, 'table_info')))
|
pulumi_databricks/get_tables.py
CHANGED
|
@@ -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
|
'GetTablesResult',
|
|
@@ -27,7 +28,7 @@ class GetTablesResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getTables.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, catalog_name=None, id=None, ids=None, schema_name=None):
|
|
31
|
+
def __init__(__self__, catalog_name=None, id=None, ids=None, provider_config=None, schema_name=None):
|
|
31
32
|
if catalog_name and not isinstance(catalog_name, str):
|
|
32
33
|
raise TypeError("Expected argument 'catalog_name' to be a str")
|
|
33
34
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -37,34 +38,42 @@ class GetTablesResult:
|
|
|
37
38
|
if ids and not isinstance(ids, list):
|
|
38
39
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
39
40
|
pulumi.set(__self__, "ids", ids)
|
|
41
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
42
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
40
44
|
if schema_name and not isinstance(schema_name, str):
|
|
41
45
|
raise TypeError("Expected argument 'schema_name' to be a str")
|
|
42
46
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
43
47
|
|
|
44
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
45
49
|
@pulumi.getter(name="catalogName")
|
|
46
|
-
def catalog_name(self) ->
|
|
50
|
+
def catalog_name(self) -> _builtins.str:
|
|
47
51
|
return pulumi.get(self, "catalog_name")
|
|
48
52
|
|
|
49
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
50
54
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
52
56
|
"""
|
|
53
57
|
The provider-assigned unique ID for this managed resource.
|
|
54
58
|
"""
|
|
55
59
|
return pulumi.get(self, "id")
|
|
56
60
|
|
|
57
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
58
62
|
@pulumi.getter
|
|
59
|
-
def ids(self) -> Sequence[
|
|
63
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
60
64
|
"""
|
|
61
65
|
set of Table full names: *`catalog`.`schema`.`table`*
|
|
62
66
|
"""
|
|
63
67
|
return pulumi.get(self, "ids")
|
|
64
68
|
|
|
65
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetTablesProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
66
75
|
@pulumi.getter(name="schemaName")
|
|
67
|
-
def schema_name(self) ->
|
|
76
|
+
def schema_name(self) -> _builtins.str:
|
|
68
77
|
return pulumi.get(self, "schema_name")
|
|
69
78
|
|
|
70
79
|
|
|
@@ -77,12 +86,14 @@ class AwaitableGetTablesResult(GetTablesResult):
|
|
|
77
86
|
catalog_name=self.catalog_name,
|
|
78
87
|
id=self.id,
|
|
79
88
|
ids=self.ids,
|
|
89
|
+
provider_config=self.provider_config,
|
|
80
90
|
schema_name=self.schema_name)
|
|
81
91
|
|
|
82
92
|
|
|
83
|
-
def get_tables(catalog_name: Optional[
|
|
84
|
-
ids: Optional[Sequence[
|
|
85
|
-
|
|
93
|
+
def get_tables(catalog_name: Optional[_builtins.str] = None,
|
|
94
|
+
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict']] = None,
|
|
96
|
+
schema_name: Optional[_builtins.str] = None,
|
|
86
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTablesResult:
|
|
87
98
|
"""
|
|
88
99
|
Retrieves a list of managed or external table full names in Unity Catalog, that were created by Pulumi or manually. Use get_views for retrieving a list of views.
|
|
@@ -120,13 +131,15 @@ def get_tables(catalog_name: Optional[builtins.str] = None,
|
|
|
120
131
|
* Catalog to manage catalogs within Unity Catalog.
|
|
121
132
|
|
|
122
133
|
|
|
123
|
-
:param
|
|
124
|
-
:param Sequence[
|
|
125
|
-
:param
|
|
134
|
+
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
135
|
+
:param Sequence[_builtins.str] ids: set of Table full names: *`catalog`.`schema`.`table`*
|
|
136
|
+
:param Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
137
|
+
:param _builtins.str schema_name: Name of databricks_schema
|
|
126
138
|
"""
|
|
127
139
|
__args__ = dict()
|
|
128
140
|
__args__['catalogName'] = catalog_name
|
|
129
141
|
__args__['ids'] = ids
|
|
142
|
+
__args__['providerConfig'] = provider_config
|
|
130
143
|
__args__['schemaName'] = schema_name
|
|
131
144
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
132
145
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult).value
|
|
@@ -135,10 +148,12 @@ def get_tables(catalog_name: Optional[builtins.str] = None,
|
|
|
135
148
|
catalog_name=pulumi.get(__ret__, 'catalog_name'),
|
|
136
149
|
id=pulumi.get(__ret__, 'id'),
|
|
137
150
|
ids=pulumi.get(__ret__, 'ids'),
|
|
151
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
138
152
|
schema_name=pulumi.get(__ret__, 'schema_name'))
|
|
139
|
-
def get_tables_output(catalog_name: Optional[pulumi.Input[
|
|
140
|
-
ids: Optional[pulumi.Input[Optional[Sequence[
|
|
141
|
-
|
|
153
|
+
def get_tables_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
154
|
+
ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
155
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict']]]] = None,
|
|
156
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]:
|
|
143
158
|
"""
|
|
144
159
|
Retrieves a list of managed or external table full names in Unity Catalog, that were created by Pulumi or manually. Use get_views for retrieving a list of views.
|
|
@@ -176,13 +191,15 @@ def get_tables_output(catalog_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
176
191
|
* Catalog to manage catalogs within Unity Catalog.
|
|
177
192
|
|
|
178
193
|
|
|
179
|
-
:param
|
|
180
|
-
:param Sequence[
|
|
181
|
-
:param
|
|
194
|
+
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
195
|
+
:param Sequence[_builtins.str] ids: set of Table full names: *`catalog`.`schema`.`table`*
|
|
196
|
+
:param Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
197
|
+
:param _builtins.str schema_name: Name of databricks_schema
|
|
182
198
|
"""
|
|
183
199
|
__args__ = dict()
|
|
184
200
|
__args__['catalogName'] = catalog_name
|
|
185
201
|
__args__['ids'] = ids
|
|
202
|
+
__args__['providerConfig'] = provider_config
|
|
186
203
|
__args__['schemaName'] = schema_name
|
|
187
204
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
188
205
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult)
|
|
@@ -190,4 +207,5 @@ def get_tables_output(catalog_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
190
207
|
catalog_name=pulumi.get(__response__, 'catalog_name'),
|
|
191
208
|
id=pulumi.get(__response__, 'id'),
|
|
192
209
|
ids=pulumi.get(__response__, 'ids'),
|
|
210
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
193
211
|
schema_name=pulumi.get(__response__, 'schema_name')))
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetTagPoliciesResult',
|
|
20
|
+
'AwaitableGetTagPoliciesResult',
|
|
21
|
+
'get_tag_policies',
|
|
22
|
+
'get_tag_policies_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetTagPoliciesResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getTagPolicies.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, tag_policies=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
37
|
+
if tag_policies and not isinstance(tag_policies, list):
|
|
38
|
+
raise TypeError("Expected argument 'tag_policies' to be a list")
|
|
39
|
+
pulumi.set(__self__, "tag_policies", tag_policies)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def id(self) -> _builtins.str:
|
|
44
|
+
"""
|
|
45
|
+
The provider-assigned unique ID for this managed resource.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "id")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="tagPolicies")
|
|
56
|
+
def tag_policies(self) -> Sequence['outputs.GetTagPoliciesTagPolicyResult']:
|
|
57
|
+
return pulumi.get(self, "tag_policies")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetTagPoliciesResult(GetTagPoliciesResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetTagPoliciesResult(
|
|
66
|
+
id=self.id,
|
|
67
|
+
page_size=self.page_size,
|
|
68
|
+
tag_policies=self.tag_policies)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_tag_policies(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagPoliciesResult:
|
|
73
|
+
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
76
|
+
This data source can be used to list all tag policies in the account.
|
|
77
|
+
|
|
78
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
79
|
+
|
|
80
|
+
## Example Usage
|
|
81
|
+
|
|
82
|
+
Getting a list of all tag policies:
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
import pulumi
|
|
86
|
+
import pulumi_databricks as databricks
|
|
87
|
+
|
|
88
|
+
all = databricks.get_tag_policies()
|
|
89
|
+
pulumi.export("allTagPolicies", all.tag_policies)
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
:param _builtins.int page_size: The maximum number of results to return in this request. Fewer results may be returned than requested. If
|
|
94
|
+
unspecified or set to 0, this defaults to 1000. The maximum value is 1000; values above 1000 will be coerced down
|
|
95
|
+
to 1000
|
|
96
|
+
"""
|
|
97
|
+
__args__ = dict()
|
|
98
|
+
__args__['pageSize'] = page_size
|
|
99
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
100
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getTagPolicies:getTagPolicies', __args__, opts=opts, typ=GetTagPoliciesResult).value
|
|
101
|
+
|
|
102
|
+
return AwaitableGetTagPoliciesResult(
|
|
103
|
+
id=pulumi.get(__ret__, 'id'),
|
|
104
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
105
|
+
tag_policies=pulumi.get(__ret__, 'tag_policies'))
|
|
106
|
+
def get_tag_policies_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
107
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagPoliciesResult]:
|
|
108
|
+
"""
|
|
109
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
110
|
+
|
|
111
|
+
This data source can be used to list all tag policies in the account.
|
|
112
|
+
|
|
113
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
114
|
+
|
|
115
|
+
## Example Usage
|
|
116
|
+
|
|
117
|
+
Getting a list of all tag policies:
|
|
118
|
+
|
|
119
|
+
```python
|
|
120
|
+
import pulumi
|
|
121
|
+
import pulumi_databricks as databricks
|
|
122
|
+
|
|
123
|
+
all = databricks.get_tag_policies()
|
|
124
|
+
pulumi.export("allTagPolicies", all.tag_policies)
|
|
125
|
+
```
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
:param _builtins.int page_size: The maximum number of results to return in this request. Fewer results may be returned than requested. If
|
|
129
|
+
unspecified or set to 0, this defaults to 1000. The maximum value is 1000; values above 1000 will be coerced down
|
|
130
|
+
to 1000
|
|
131
|
+
"""
|
|
132
|
+
__args__ = dict()
|
|
133
|
+
__args__['pageSize'] = page_size
|
|
134
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTagPolicies:getTagPolicies', __args__, opts=opts, typ=GetTagPoliciesResult)
|
|
136
|
+
return __ret__.apply(lambda __response__: GetTagPoliciesResult(
|
|
137
|
+
id=pulumi.get(__response__, 'id'),
|
|
138
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
139
|
+
tag_policies=pulumi.get(__response__, 'tag_policies')))
|