pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
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')))
|
|
@@ -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')))
|
|
@@ -0,0 +1,175 @@
|
|
|
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
|
+
'GetTagPolicyResult',
|
|
20
|
+
'AwaitableGetTagPolicyResult',
|
|
21
|
+
'get_tag_policy',
|
|
22
|
+
'get_tag_policy_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetTagPolicyResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getTagPolicy.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, create_time=None, description=None, id=None, tag_key=None, update_time=None, values=None):
|
|
31
|
+
if create_time and not isinstance(create_time, str):
|
|
32
|
+
raise TypeError("Expected argument 'create_time' to be a str")
|
|
33
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
34
|
+
if description and not isinstance(description, str):
|
|
35
|
+
raise TypeError("Expected argument 'description' to be a str")
|
|
36
|
+
pulumi.set(__self__, "description", description)
|
|
37
|
+
if id and not isinstance(id, str):
|
|
38
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
39
|
+
pulumi.set(__self__, "id", id)
|
|
40
|
+
if tag_key and not isinstance(tag_key, str):
|
|
41
|
+
raise TypeError("Expected argument 'tag_key' to be a str")
|
|
42
|
+
pulumi.set(__self__, "tag_key", tag_key)
|
|
43
|
+
if update_time and not isinstance(update_time, str):
|
|
44
|
+
raise TypeError("Expected argument 'update_time' to be a str")
|
|
45
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
46
|
+
if values and not isinstance(values, list):
|
|
47
|
+
raise TypeError("Expected argument 'values' to be a list")
|
|
48
|
+
pulumi.set(__self__, "values", values)
|
|
49
|
+
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter(name="createTime")
|
|
52
|
+
def create_time(self) -> _builtins.str:
|
|
53
|
+
"""
|
|
54
|
+
(string) - Timestamp when the tag policy was created
|
|
55
|
+
"""
|
|
56
|
+
return pulumi.get(self, "create_time")
|
|
57
|
+
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter
|
|
60
|
+
def description(self) -> _builtins.str:
|
|
61
|
+
"""
|
|
62
|
+
(string)
|
|
63
|
+
"""
|
|
64
|
+
return pulumi.get(self, "description")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter
|
|
68
|
+
def id(self) -> _builtins.str:
|
|
69
|
+
"""
|
|
70
|
+
(string)
|
|
71
|
+
"""
|
|
72
|
+
return pulumi.get(self, "id")
|
|
73
|
+
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter(name="tagKey")
|
|
76
|
+
def tag_key(self) -> _builtins.str:
|
|
77
|
+
"""
|
|
78
|
+
(string)
|
|
79
|
+
"""
|
|
80
|
+
return pulumi.get(self, "tag_key")
|
|
81
|
+
|
|
82
|
+
@_builtins.property
|
|
83
|
+
@pulumi.getter(name="updateTime")
|
|
84
|
+
def update_time(self) -> _builtins.str:
|
|
85
|
+
"""
|
|
86
|
+
(string) - Timestamp when the tag policy was last updated
|
|
87
|
+
"""
|
|
88
|
+
return pulumi.get(self, "update_time")
|
|
89
|
+
|
|
90
|
+
@_builtins.property
|
|
91
|
+
@pulumi.getter
|
|
92
|
+
def values(self) -> Sequence['outputs.GetTagPolicyValueResult']:
|
|
93
|
+
"""
|
|
94
|
+
(list of Value)
|
|
95
|
+
"""
|
|
96
|
+
return pulumi.get(self, "values")
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
class AwaitableGetTagPolicyResult(GetTagPolicyResult):
|
|
100
|
+
# pylint: disable=using-constant-test
|
|
101
|
+
def __await__(self):
|
|
102
|
+
if False:
|
|
103
|
+
yield self
|
|
104
|
+
return GetTagPolicyResult(
|
|
105
|
+
create_time=self.create_time,
|
|
106
|
+
description=self.description,
|
|
107
|
+
id=self.id,
|
|
108
|
+
tag_key=self.tag_key,
|
|
109
|
+
update_time=self.update_time,
|
|
110
|
+
values=self.values)
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
def get_tag_policy(tag_key: Optional[_builtins.str] = None,
|
|
114
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagPolicyResult:
|
|
115
|
+
"""
|
|
116
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
117
|
+
|
|
118
|
+
This data source can be used to get a single tag policy by its tag key.
|
|
119
|
+
|
|
120
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
121
|
+
|
|
122
|
+
## Example Usage
|
|
123
|
+
|
|
124
|
+
Referring to a tag policy by its tag key:
|
|
125
|
+
|
|
126
|
+
```python
|
|
127
|
+
import pulumi
|
|
128
|
+
import pulumi_databricks as databricks
|
|
129
|
+
|
|
130
|
+
example_tag_policy = databricks.get_tag_policy(tag_key="example_tag_key")
|
|
131
|
+
```
|
|
132
|
+
"""
|
|
133
|
+
__args__ = dict()
|
|
134
|
+
__args__['tagKey'] = tag_key
|
|
135
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getTagPolicy:getTagPolicy', __args__, opts=opts, typ=GetTagPolicyResult).value
|
|
137
|
+
|
|
138
|
+
return AwaitableGetTagPolicyResult(
|
|
139
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
140
|
+
description=pulumi.get(__ret__, 'description'),
|
|
141
|
+
id=pulumi.get(__ret__, 'id'),
|
|
142
|
+
tag_key=pulumi.get(__ret__, 'tag_key'),
|
|
143
|
+
update_time=pulumi.get(__ret__, 'update_time'),
|
|
144
|
+
values=pulumi.get(__ret__, 'values'))
|
|
145
|
+
def get_tag_policy_output(tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
146
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagPolicyResult]:
|
|
147
|
+
"""
|
|
148
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
149
|
+
|
|
150
|
+
This data source can be used to get a single tag policy by its tag key.
|
|
151
|
+
|
|
152
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
153
|
+
|
|
154
|
+
## Example Usage
|
|
155
|
+
|
|
156
|
+
Referring to a tag policy by its tag key:
|
|
157
|
+
|
|
158
|
+
```python
|
|
159
|
+
import pulumi
|
|
160
|
+
import pulumi_databricks as databricks
|
|
161
|
+
|
|
162
|
+
example_tag_policy = databricks.get_tag_policy(tag_key="example_tag_key")
|
|
163
|
+
```
|
|
164
|
+
"""
|
|
165
|
+
__args__ = dict()
|
|
166
|
+
__args__['tagKey'] = tag_key
|
|
167
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
168
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTagPolicy:getTagPolicy', __args__, opts=opts, typ=GetTagPolicyResult)
|
|
169
|
+
return __ret__.apply(lambda __response__: GetTagPolicyResult(
|
|
170
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
171
|
+
description=pulumi.get(__response__, 'description'),
|
|
172
|
+
id=pulumi.get(__response__, 'id'),
|
|
173
|
+
tag_key=pulumi.get(__response__, 'tag_key'),
|
|
174
|
+
update_time=pulumi.get(__response__, 'update_time'),
|
|
175
|
+
values=pulumi.get(__response__, 'values')))
|
pulumi_databricks/get_views.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
|
'GetViewsResult',
|
|
@@ -26,7 +28,7 @@ class GetViewsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getViews.
|
|
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 GetViewsResult:
|
|
|
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 GetViewsResult:
|
|
|
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.GetViewsProviderConfigResult']:
|
|
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 AwaitableGetViewsResult(GetViewsResult):
|
|
|
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_views(catalog_name: Optional[_builtins.str] = None,
|
|
83
94
|
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict']] = None,
|
|
84
96
|
schema_name: Optional[_builtins.str] = None,
|
|
85
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetViewsResult:
|
|
86
98
|
"""
|
|
@@ -121,11 +133,13 @@ def get_views(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 databricks_view full names: *`catalog`.`schema`.`view`*
|
|
136
|
+
:param Union['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict'] 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/getViews:getViews', __args__, opts=opts, typ=GetViewsResult).value
|
|
@@ -134,9 +148,11 @@ def get_views(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_views_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['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict']]]] = None,
|
|
140
156
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]:
|
|
142
158
|
"""
|
|
@@ -177,11 +193,13 @@ def get_views_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 databricks_view full names: *`catalog`.`schema`.`view`*
|
|
196
|
+
:param Union['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict'] 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/getViews:getViews', __args__, opts=opts, typ=GetViewsResult)
|
|
@@ -189,4 +207,5 @@ def get_views_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')))
|
pulumi_databricks/get_volume.py
CHANGED
|
@@ -28,13 +28,16 @@ class GetVolumeResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getVolume.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, name=None, volume_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, volume_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 volume_info and not isinstance(volume_info, dict):
|
|
39
42
|
raise TypeError("Expected argument 'volume_info' to be a dict")
|
|
40
43
|
pulumi.set(__self__, "volume_info", volume_info)
|
|
@@ -55,6 +58,11 @@ class GetVolumeResult:
|
|
|
55
58
|
"""
|
|
56
59
|
return pulumi.get(self, "name")
|
|
57
60
|
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="providerConfig")
|
|
63
|
+
def provider_config(self) -> Optional['outputs.GetVolumeProviderConfigResult']:
|
|
64
|
+
return pulumi.get(self, "provider_config")
|
|
65
|
+
|
|
58
66
|
@_builtins.property
|
|
59
67
|
@pulumi.getter(name="volumeInfo")
|
|
60
68
|
def volume_info(self) -> 'outputs.GetVolumeVolumeInfoResult':
|
|
@@ -72,11 +80,13 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
|
72
80
|
return GetVolumeResult(
|
|
73
81
|
id=self.id,
|
|
74
82
|
name=self.name,
|
|
83
|
+
provider_config=self.provider_config,
|
|
75
84
|
volume_info=self.volume_info)
|
|
76
85
|
|
|
77
86
|
|
|
78
87
|
def get_volume(id: Optional[_builtins.str] = None,
|
|
79
88
|
name: Optional[_builtins.str] = None,
|
|
89
|
+
provider_config: Optional[Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict']] = None,
|
|
80
90
|
volume_info: Optional[Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict']] = None,
|
|
81
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult:
|
|
82
92
|
"""
|
|
@@ -118,11 +128,13 @@ def get_volume(id: Optional[_builtins.str] = None,
|
|
|
118
128
|
|
|
119
129
|
:param _builtins.str id: ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
120
130
|
:param _builtins.str name: a fully qualified name of databricks_volume: *`catalog`.`schema`.`volume`*
|
|
131
|
+
:param Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
121
132
|
:param Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict'] volume_info: `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
122
133
|
"""
|
|
123
134
|
__args__ = dict()
|
|
124
135
|
__args__['id'] = id
|
|
125
136
|
__args__['name'] = name
|
|
137
|
+
__args__['providerConfig'] = provider_config
|
|
126
138
|
__args__['volumeInfo'] = volume_info
|
|
127
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
128
140
|
__ret__ = pulumi.runtime.invoke('databricks:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult).value
|
|
@@ -130,9 +142,11 @@ def get_volume(id: Optional[_builtins.str] = None,
|
|
|
130
142
|
return AwaitableGetVolumeResult(
|
|
131
143
|
id=pulumi.get(__ret__, 'id'),
|
|
132
144
|
name=pulumi.get(__ret__, 'name'),
|
|
145
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
133
146
|
volume_info=pulumi.get(__ret__, 'volume_info'))
|
|
134
147
|
def get_volume_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
135
148
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
149
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict']]]] = None,
|
|
136
150
|
volume_info: Optional[pulumi.Input[Optional[Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict']]]] = None,
|
|
137
151
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
|
|
138
152
|
"""
|
|
@@ -174,15 +188,18 @@ def get_volume_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None
|
|
|
174
188
|
|
|
175
189
|
:param _builtins.str id: ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
176
190
|
:param _builtins.str name: a fully qualified name of databricks_volume: *`catalog`.`schema`.`volume`*
|
|
191
|
+
:param Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
177
192
|
:param Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict'] volume_info: `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
178
193
|
"""
|
|
179
194
|
__args__ = dict()
|
|
180
195
|
__args__['id'] = id
|
|
181
196
|
__args__['name'] = name
|
|
197
|
+
__args__['providerConfig'] = provider_config
|
|
182
198
|
__args__['volumeInfo'] = volume_info
|
|
183
199
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
184
200
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult)
|
|
185
201
|
return __ret__.apply(lambda __response__: GetVolumeResult(
|
|
186
202
|
id=pulumi.get(__response__, 'id'),
|
|
187
203
|
name=pulumi.get(__response__, 'name'),
|
|
204
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
188
205
|
volume_info=pulumi.get(__response__, 'volume_info')))
|