pulumi-databricks 1.77.0a1761975834__py3-none-any.whl → 1.79.0a1762839813__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -28,13 +28,16 @@ class GetStorageCredentialResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getStorageCredential.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, name=None, storage_credential_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, storage_credential_info=None):
|
|
32
32
|
if id and not isinstance(id, str):
|
|
33
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "id", id)
|
|
35
35
|
if name and not isinstance(name, str):
|
|
36
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
37
37
|
pulumi.set(__self__, "name", name)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
38
41
|
if storage_credential_info and not isinstance(storage_credential_info, dict):
|
|
39
42
|
raise TypeError("Expected argument 'storage_credential_info' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "storage_credential_info", storage_credential_info)
|
|
@@ -52,6 +55,11 @@ class GetStorageCredentialResult:
|
|
|
52
55
|
def name(self) -> _builtins.str:
|
|
53
56
|
return pulumi.get(self, "name")
|
|
54
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetStorageCredentialProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
55
63
|
@_builtins.property
|
|
56
64
|
@pulumi.getter(name="storageCredentialInfo")
|
|
57
65
|
def storage_credential_info(self) -> 'outputs.GetStorageCredentialStorageCredentialInfoResult':
|
|
@@ -69,11 +77,13 @@ class AwaitableGetStorageCredentialResult(GetStorageCredentialResult):
|
|
|
69
77
|
return GetStorageCredentialResult(
|
|
70
78
|
id=self.id,
|
|
71
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
72
81
|
storage_credential_info=self.storage_credential_info)
|
|
73
82
|
|
|
74
83
|
|
|
75
84
|
def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
76
85
|
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']] = None,
|
|
77
87
|
storage_credential_info: Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']] = None,
|
|
78
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialResult:
|
|
79
89
|
"""
|
|
@@ -103,11 +113,13 @@ def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
|
103
113
|
|
|
104
114
|
:param _builtins.str id: Unique ID of storage credential.
|
|
105
115
|
:param _builtins.str name: The name of the storage credential
|
|
116
|
+
:param Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
106
117
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
107
118
|
"""
|
|
108
119
|
__args__ = dict()
|
|
109
120
|
__args__['id'] = id
|
|
110
121
|
__args__['name'] = name
|
|
122
|
+
__args__['providerConfig'] = provider_config
|
|
111
123
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
112
124
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
113
125
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult).value
|
|
@@ -115,9 +127,11 @@ def get_storage_credential(id: Optional[_builtins.str] = None,
|
|
|
115
127
|
return AwaitableGetStorageCredentialResult(
|
|
116
128
|
id=pulumi.get(__ret__, 'id'),
|
|
117
129
|
name=pulumi.get(__ret__, 'name'),
|
|
130
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
118
131
|
storage_credential_info=pulumi.get(__ret__, 'storage_credential_info'))
|
|
119
132
|
def get_storage_credential_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
120
133
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict']]]] = None,
|
|
121
135
|
storage_credential_info: Optional[pulumi.Input[Optional[Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict']]]] = None,
|
|
122
136
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialResult]:
|
|
123
137
|
"""
|
|
@@ -147,15 +161,18 @@ def get_storage_credential_output(id: Optional[pulumi.Input[Optional[_builtins.s
|
|
|
147
161
|
|
|
148
162
|
:param _builtins.str id: Unique ID of storage credential.
|
|
149
163
|
:param _builtins.str name: The name of the storage credential
|
|
164
|
+
:param Union['GetStorageCredentialProviderConfigArgs', 'GetStorageCredentialProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
150
165
|
:param Union['GetStorageCredentialStorageCredentialInfoArgs', 'GetStorageCredentialStorageCredentialInfoArgsDict'] storage_credential_info: array of objects with information about storage credential.
|
|
151
166
|
"""
|
|
152
167
|
__args__ = dict()
|
|
153
168
|
__args__['id'] = id
|
|
154
169
|
__args__['name'] = name
|
|
170
|
+
__args__['providerConfig'] = provider_config
|
|
155
171
|
__args__['storageCredentialInfo'] = storage_credential_info
|
|
156
172
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
157
173
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredential:getStorageCredential', __args__, opts=opts, typ=GetStorageCredentialResult)
|
|
158
174
|
return __ret__.apply(lambda __response__: GetStorageCredentialResult(
|
|
159
175
|
id=pulumi.get(__response__, 'id'),
|
|
160
176
|
name=pulumi.get(__response__, 'name'),
|
|
177
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
161
178
|
storage_credential_info=pulumi.get(__response__, 'storage_credential_info')))
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetStorageCredentialsResult',
|
|
@@ -26,13 +28,16 @@ class GetStorageCredentialsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getStorageCredentials.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, names=None):
|
|
31
|
+
def __init__(__self__, id=None, names=None, provider_config=None):
|
|
30
32
|
if id and not isinstance(id, str):
|
|
31
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
32
34
|
pulumi.set(__self__, "id", id)
|
|
33
35
|
if names and not isinstance(names, list):
|
|
34
36
|
raise TypeError("Expected argument 'names' to be a list")
|
|
35
37
|
pulumi.set(__self__, "names", names)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
36
41
|
|
|
37
42
|
@_builtins.property
|
|
38
43
|
@pulumi.getter
|
|
@@ -50,6 +55,11 @@ class GetStorageCredentialsResult:
|
|
|
50
55
|
"""
|
|
51
56
|
return pulumi.get(self, "names")
|
|
52
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetStorageCredentialsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
53
63
|
|
|
54
64
|
class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
55
65
|
# pylint: disable=using-constant-test
|
|
@@ -58,10 +68,12 @@ class AwaitableGetStorageCredentialsResult(GetStorageCredentialsResult):
|
|
|
58
68
|
yield self
|
|
59
69
|
return GetStorageCredentialsResult(
|
|
60
70
|
id=self.id,
|
|
61
|
-
names=self.names
|
|
71
|
+
names=self.names,
|
|
72
|
+
provider_config=self.provider_config)
|
|
62
73
|
|
|
63
74
|
|
|
64
75
|
def get_storage_credentials(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict']] = None,
|
|
65
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetStorageCredentialsResult:
|
|
66
78
|
"""
|
|
67
79
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -89,16 +101,20 @@ def get_storage_credentials(names: Optional[Sequence[_builtins.str]] = None,
|
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
:param Sequence[_builtins.str] names: List of names of StorageCredential in the metastore
|
|
104
|
+
:param Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
92
105
|
"""
|
|
93
106
|
__args__ = dict()
|
|
94
107
|
__args__['names'] = names
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
95
109
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
110
|
__ret__ = pulumi.runtime.invoke('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult).value
|
|
97
111
|
|
|
98
112
|
return AwaitableGetStorageCredentialsResult(
|
|
99
113
|
id=pulumi.get(__ret__, 'id'),
|
|
100
|
-
names=pulumi.get(__ret__, 'names')
|
|
114
|
+
names=pulumi.get(__ret__, 'names'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
101
116
|
def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
117
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict']]]] = None,
|
|
102
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetStorageCredentialsResult]:
|
|
103
119
|
"""
|
|
104
120
|
Retrieves a list of StorageCredential objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -126,11 +142,14 @@ def get_storage_credentials_output(names: Optional[pulumi.Input[Optional[Sequenc
|
|
|
126
142
|
|
|
127
143
|
|
|
128
144
|
:param Sequence[_builtins.str] names: List of names of StorageCredential in the metastore
|
|
145
|
+
:param Union['GetStorageCredentialsProviderConfigArgs', 'GetStorageCredentialsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
129
146
|
"""
|
|
130
147
|
__args__ = dict()
|
|
131
148
|
__args__['names'] = names
|
|
149
|
+
__args__['providerConfig'] = provider_config
|
|
132
150
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
133
151
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getStorageCredentials:getStorageCredentials', __args__, opts=opts, typ=GetStorageCredentialsResult)
|
|
134
152
|
return __ret__.apply(lambda __response__: GetStorageCredentialsResult(
|
|
135
153
|
id=pulumi.get(__response__, 'id'),
|
|
136
|
-
names=pulumi.get(__response__, 'names')
|
|
154
|
+
names=pulumi.get(__response__, 'names'),
|
|
155
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
pulumi_databricks/get_table.py
CHANGED
|
@@ -28,13 +28,16 @@ class GetTableResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getTable.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, name=None, table_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, table_info=None):
|
|
32
32
|
if id and not isinstance(id, str):
|
|
33
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
34
|
pulumi.set(__self__, "id", id)
|
|
35
35
|
if name and not isinstance(name, str):
|
|
36
36
|
raise TypeError("Expected argument 'name' to be a str")
|
|
37
37
|
pulumi.set(__self__, "name", name)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
38
41
|
if table_info and not isinstance(table_info, dict):
|
|
39
42
|
raise TypeError("Expected argument 'table_info' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "table_info", table_info)
|
|
@@ -52,6 +55,11 @@ class GetTableResult:
|
|
|
52
55
|
"""
|
|
53
56
|
return pulumi.get(self, "name")
|
|
54
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetTableProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
55
63
|
@_builtins.property
|
|
56
64
|
@pulumi.getter(name="tableInfo")
|
|
57
65
|
def table_info(self) -> 'outputs.GetTableTableInfoResult':
|
|
@@ -69,11 +77,13 @@ class AwaitableGetTableResult(GetTableResult):
|
|
|
69
77
|
return GetTableResult(
|
|
70
78
|
id=self.id,
|
|
71
79
|
name=self.name,
|
|
80
|
+
provider_config=self.provider_config,
|
|
72
81
|
table_info=self.table_info)
|
|
73
82
|
|
|
74
83
|
|
|
75
84
|
def get_table(id: Optional[_builtins.str] = None,
|
|
76
85
|
name: Optional[_builtins.str] = None,
|
|
86
|
+
provider_config: Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']] = None,
|
|
77
87
|
table_info: Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']] = None,
|
|
78
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTableResult:
|
|
79
89
|
"""
|
|
@@ -110,11 +120,13 @@ def get_table(id: Optional[_builtins.str] = None,
|
|
|
110
120
|
|
|
111
121
|
|
|
112
122
|
:param _builtins.str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_
|
|
123
|
+
:param Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
113
124
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
114
125
|
"""
|
|
115
126
|
__args__ = dict()
|
|
116
127
|
__args__['id'] = id
|
|
117
128
|
__args__['name'] = name
|
|
129
|
+
__args__['providerConfig'] = provider_config
|
|
118
130
|
__args__['tableInfo'] = table_info
|
|
119
131
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
132
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult).value
|
|
@@ -122,9 +134,11 @@ def get_table(id: Optional[_builtins.str] = None,
|
|
|
122
134
|
return AwaitableGetTableResult(
|
|
123
135
|
id=pulumi.get(__ret__, 'id'),
|
|
124
136
|
name=pulumi.get(__ret__, 'name'),
|
|
137
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
125
138
|
table_info=pulumi.get(__ret__, 'table_info'))
|
|
126
139
|
def get_table_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
127
140
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict']]]] = None,
|
|
128
142
|
table_info: Optional[pulumi.Input[Optional[Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict']]]] = None,
|
|
129
143
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTableResult]:
|
|
130
144
|
"""
|
|
@@ -161,15 +175,18 @@ def get_table_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
|
161
175
|
|
|
162
176
|
|
|
163
177
|
:param _builtins.str name: Full name of the databricks_table: _`catalog`.`schema`.`table`_
|
|
178
|
+
:param Union['GetTableProviderConfigArgs', 'GetTableProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
164
179
|
:param Union['GetTableTableInfoArgs', 'GetTableTableInfoArgsDict'] table_info: TableInfo object for a Unity Catalog table. This contains the following attributes:
|
|
165
180
|
"""
|
|
166
181
|
__args__ = dict()
|
|
167
182
|
__args__['id'] = id
|
|
168
183
|
__args__['name'] = name
|
|
184
|
+
__args__['providerConfig'] = provider_config
|
|
169
185
|
__args__['tableInfo'] = table_info
|
|
170
186
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
187
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTable:getTable', __args__, opts=opts, typ=GetTableResult)
|
|
172
188
|
return __ret__.apply(lambda __response__: GetTableResult(
|
|
173
189
|
id=pulumi.get(__response__, 'id'),
|
|
174
190
|
name=pulumi.get(__response__, 'name'),
|
|
191
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
175
192
|
table_info=pulumi.get(__response__, 'table_info')))
|
pulumi_databricks/get_tables.py
CHANGED
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetTablesResult',
|
|
@@ -26,7 +28,7 @@ class GetTablesResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getTables.
|
|
28
30
|
"""
|
|
29
|
-
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):
|
|
30
32
|
if catalog_name and not isinstance(catalog_name, str):
|
|
31
33
|
raise TypeError("Expected argument 'catalog_name' to be a str")
|
|
32
34
|
pulumi.set(__self__, "catalog_name", catalog_name)
|
|
@@ -36,6 +38,9 @@ class GetTablesResult:
|
|
|
36
38
|
if ids and not isinstance(ids, list):
|
|
37
39
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
38
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)
|
|
39
44
|
if schema_name and not isinstance(schema_name, str):
|
|
40
45
|
raise TypeError("Expected argument 'schema_name' to be a str")
|
|
41
46
|
pulumi.set(__self__, "schema_name", schema_name)
|
|
@@ -61,6 +66,11 @@ class GetTablesResult:
|
|
|
61
66
|
"""
|
|
62
67
|
return pulumi.get(self, "ids")
|
|
63
68
|
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetTablesProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
64
74
|
@_builtins.property
|
|
65
75
|
@pulumi.getter(name="schemaName")
|
|
66
76
|
def schema_name(self) -> _builtins.str:
|
|
@@ -76,11 +86,13 @@ class AwaitableGetTablesResult(GetTablesResult):
|
|
|
76
86
|
catalog_name=self.catalog_name,
|
|
77
87
|
id=self.id,
|
|
78
88
|
ids=self.ids,
|
|
89
|
+
provider_config=self.provider_config,
|
|
79
90
|
schema_name=self.schema_name)
|
|
80
91
|
|
|
81
92
|
|
|
82
93
|
def get_tables(catalog_name: Optional[_builtins.str] = None,
|
|
83
94
|
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict']] = None,
|
|
84
96
|
schema_name: Optional[_builtins.str] = None,
|
|
85
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTablesResult:
|
|
86
98
|
"""
|
|
@@ -121,11 +133,13 @@ def get_tables(catalog_name: Optional[_builtins.str] = None,
|
|
|
121
133
|
|
|
122
134
|
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
123
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:
|
|
124
137
|
:param _builtins.str schema_name: Name of databricks_schema
|
|
125
138
|
"""
|
|
126
139
|
__args__ = dict()
|
|
127
140
|
__args__['catalogName'] = catalog_name
|
|
128
141
|
__args__['ids'] = ids
|
|
142
|
+
__args__['providerConfig'] = provider_config
|
|
129
143
|
__args__['schemaName'] = schema_name
|
|
130
144
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
145
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult).value
|
|
@@ -134,9 +148,11 @@ def get_tables(catalog_name: Optional[_builtins.str] = None,
|
|
|
134
148
|
catalog_name=pulumi.get(__ret__, 'catalog_name'),
|
|
135
149
|
id=pulumi.get(__ret__, 'id'),
|
|
136
150
|
ids=pulumi.get(__ret__, 'ids'),
|
|
151
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
137
152
|
schema_name=pulumi.get(__ret__, 'schema_name'))
|
|
138
153
|
def get_tables_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
139
154
|
ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
155
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetTablesProviderConfigArgs', 'GetTablesProviderConfigArgsDict']]]] = None,
|
|
140
156
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTablesResult]:
|
|
142
158
|
"""
|
|
@@ -177,11 +193,13 @@ def get_tables_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
177
193
|
|
|
178
194
|
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
179
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:
|
|
180
197
|
:param _builtins.str schema_name: Name of databricks_schema
|
|
181
198
|
"""
|
|
182
199
|
__args__ = dict()
|
|
183
200
|
__args__['catalogName'] = catalog_name
|
|
184
201
|
__args__['ids'] = ids
|
|
202
|
+
__args__['providerConfig'] = provider_config
|
|
185
203
|
__args__['schemaName'] = schema_name
|
|
186
204
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
187
205
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTables:getTables', __args__, opts=opts, typ=GetTablesResult)
|
|
@@ -189,4 +207,5 @@ def get_tables_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None
|
|
|
189
207
|
catalog_name=pulumi.get(__response__, 'catalog_name'),
|
|
190
208
|
id=pulumi.get(__response__, 'id'),
|
|
191
209
|
ids=pulumi.get(__response__, 'ids'),
|
|
210
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
192
211
|
schema_name=pulumi.get(__response__, 'schema_name')))
|
|
@@ -27,16 +27,16 @@ class GetTagPoliciesResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getTagPolicies.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, id=None,
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, tag_policies=None):
|
|
31
31
|
if id and not isinstance(id, str):
|
|
32
32
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
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)
|
|
34
37
|
if tag_policies and not isinstance(tag_policies, list):
|
|
35
38
|
raise TypeError("Expected argument 'tag_policies' to be a list")
|
|
36
39
|
pulumi.set(__self__, "tag_policies", tag_policies)
|
|
37
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
38
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
39
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
40
40
|
|
|
41
41
|
@_builtins.property
|
|
42
42
|
@pulumi.getter
|
|
@@ -46,16 +46,16 @@ class GetTagPoliciesResult:
|
|
|
46
46
|
"""
|
|
47
47
|
return pulumi.get(self, "id")
|
|
48
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
|
+
|
|
49
54
|
@_builtins.property
|
|
50
55
|
@pulumi.getter(name="tagPolicies")
|
|
51
56
|
def tag_policies(self) -> Sequence['outputs.GetTagPoliciesTagPolicyResult']:
|
|
52
57
|
return pulumi.get(self, "tag_policies")
|
|
53
58
|
|
|
54
|
-
@_builtins.property
|
|
55
|
-
@pulumi.getter(name="workspaceId")
|
|
56
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
57
|
-
return pulumi.get(self, "workspace_id")
|
|
58
|
-
|
|
59
59
|
|
|
60
60
|
class AwaitableGetTagPoliciesResult(GetTagPoliciesResult):
|
|
61
61
|
# pylint: disable=using-constant-test
|
|
@@ -64,44 +64,76 @@ class AwaitableGetTagPoliciesResult(GetTagPoliciesResult):
|
|
|
64
64
|
yield self
|
|
65
65
|
return GetTagPoliciesResult(
|
|
66
66
|
id=self.id,
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
page_size=self.page_size,
|
|
68
|
+
tag_policies=self.tag_policies)
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
def get_tag_policies(
|
|
71
|
+
def get_tag_policies(page_size: Optional[_builtins.int] = None,
|
|
72
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagPoliciesResult:
|
|
73
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
74
76
|
This data source can be used to list all tag policies in the account.
|
|
75
77
|
|
|
76
|
-
> **Note** This resource can only be used with
|
|
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:
|
|
77
83
|
|
|
84
|
+
```python
|
|
85
|
+
import pulumi
|
|
86
|
+
import pulumi_databricks as databricks
|
|
78
87
|
|
|
79
|
-
|
|
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
|
|
80
96
|
"""
|
|
81
97
|
__args__ = dict()
|
|
82
|
-
__args__['
|
|
98
|
+
__args__['pageSize'] = page_size
|
|
83
99
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
84
100
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTagPolicies:getTagPolicies', __args__, opts=opts, typ=GetTagPoliciesResult).value
|
|
85
101
|
|
|
86
102
|
return AwaitableGetTagPoliciesResult(
|
|
87
103
|
id=pulumi.get(__ret__, 'id'),
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
def get_tag_policies_output(
|
|
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,
|
|
91
107
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagPoliciesResult]:
|
|
92
108
|
"""
|
|
109
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
110
|
+
|
|
93
111
|
This data source can be used to list all tag policies in the account.
|
|
94
112
|
|
|
95
|
-
> **Note** This resource can only be used with
|
|
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
|
+
```
|
|
96
126
|
|
|
97
127
|
|
|
98
|
-
:param _builtins.
|
|
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
|
|
99
131
|
"""
|
|
100
132
|
__args__ = dict()
|
|
101
|
-
__args__['
|
|
133
|
+
__args__['pageSize'] = page_size
|
|
102
134
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
103
135
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTagPolicies:getTagPolicies', __args__, opts=opts, typ=GetTagPoliciesResult)
|
|
104
136
|
return __ret__.apply(lambda __response__: GetTagPoliciesResult(
|
|
105
137
|
id=pulumi.get(__response__, 'id'),
|
|
106
|
-
|
|
107
|
-
|
|
138
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
139
|
+
tag_policies=pulumi.get(__response__, 'tag_policies')))
|