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
|
@@ -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_user.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
|
|
@@ -62,83 +61,83 @@ class GetUserResult:
|
|
|
62
61
|
raise TypeError("Expected argument 'user_name' to be a str")
|
|
63
62
|
pulumi.set(__self__, "user_name", user_name)
|
|
64
63
|
|
|
65
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
66
65
|
@pulumi.getter(name="aclPrincipalId")
|
|
67
|
-
def acl_principal_id(self) ->
|
|
66
|
+
def acl_principal_id(self) -> _builtins.str:
|
|
68
67
|
"""
|
|
69
68
|
identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com`.
|
|
70
69
|
"""
|
|
71
70
|
return pulumi.get(self, "acl_principal_id")
|
|
72
71
|
|
|
73
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
74
73
|
@pulumi.getter
|
|
75
|
-
def active(self) ->
|
|
74
|
+
def active(self) -> _builtins.bool:
|
|
76
75
|
"""
|
|
77
76
|
Whether the user is active.
|
|
78
77
|
"""
|
|
79
78
|
return pulumi.get(self, "active")
|
|
80
79
|
|
|
81
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
82
81
|
@pulumi.getter
|
|
83
|
-
def alphanumeric(self) ->
|
|
82
|
+
def alphanumeric(self) -> _builtins.str:
|
|
84
83
|
"""
|
|
85
84
|
Alphanumeric representation of user local name. e.g. `mr_foo`.
|
|
86
85
|
"""
|
|
87
86
|
return pulumi.get(self, "alphanumeric")
|
|
88
87
|
|
|
89
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
90
89
|
@pulumi.getter(name="applicationId")
|
|
91
|
-
def application_id(self) ->
|
|
90
|
+
def application_id(self) -> _builtins.str:
|
|
92
91
|
return pulumi.get(self, "application_id")
|
|
93
92
|
|
|
94
|
-
@property
|
|
93
|
+
@_builtins.property
|
|
95
94
|
@pulumi.getter(name="displayName")
|
|
96
|
-
def display_name(self) ->
|
|
95
|
+
def display_name(self) -> _builtins.str:
|
|
97
96
|
"""
|
|
98
97
|
Display name of the user, e.g. `Mr Foo`.
|
|
99
98
|
"""
|
|
100
99
|
return pulumi.get(self, "display_name")
|
|
101
100
|
|
|
102
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
103
102
|
@pulumi.getter(name="externalId")
|
|
104
|
-
def external_id(self) ->
|
|
103
|
+
def external_id(self) -> _builtins.str:
|
|
105
104
|
"""
|
|
106
105
|
ID of the user in an external identity provider.
|
|
107
106
|
"""
|
|
108
107
|
return pulumi.get(self, "external_id")
|
|
109
108
|
|
|
110
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
111
110
|
@pulumi.getter
|
|
112
|
-
def home(self) ->
|
|
111
|
+
def home(self) -> _builtins.str:
|
|
113
112
|
"""
|
|
114
113
|
Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
115
114
|
"""
|
|
116
115
|
return pulumi.get(self, "home")
|
|
117
116
|
|
|
118
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
119
118
|
@pulumi.getter
|
|
120
|
-
def id(self) ->
|
|
119
|
+
def id(self) -> _builtins.str:
|
|
121
120
|
"""
|
|
122
121
|
The provider-assigned unique ID for this managed resource.
|
|
123
122
|
"""
|
|
124
123
|
return pulumi.get(self, "id")
|
|
125
124
|
|
|
126
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
127
126
|
@pulumi.getter
|
|
128
|
-
def repos(self) ->
|
|
127
|
+
def repos(self) -> _builtins.str:
|
|
129
128
|
"""
|
|
130
129
|
Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
131
130
|
"""
|
|
132
131
|
return pulumi.get(self, "repos")
|
|
133
132
|
|
|
134
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
135
134
|
@pulumi.getter(name="userId")
|
|
136
|
-
def user_id(self) -> Optional[
|
|
135
|
+
def user_id(self) -> Optional[_builtins.str]:
|
|
137
136
|
return pulumi.get(self, "user_id")
|
|
138
137
|
|
|
139
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
140
139
|
@pulumi.getter(name="userName")
|
|
141
|
-
def user_name(self) -> Optional[
|
|
140
|
+
def user_name(self) -> Optional[_builtins.str]:
|
|
142
141
|
"""
|
|
143
142
|
Name of the user, e.g. `mr.foo@example.com`.
|
|
144
143
|
"""
|
|
@@ -164,8 +163,8 @@ class AwaitableGetUserResult(GetUserResult):
|
|
|
164
163
|
user_name=self.user_name)
|
|
165
164
|
|
|
166
165
|
|
|
167
|
-
def get_user(user_id: Optional[
|
|
168
|
-
user_name: Optional[
|
|
166
|
+
def get_user(user_id: Optional[_builtins.str] = None,
|
|
167
|
+
user_name: Optional[_builtins.str] = None,
|
|
169
168
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetUserResult:
|
|
170
169
|
"""
|
|
171
170
|
Retrieves information about databricks_user.
|
|
@@ -193,7 +192,7 @@ def get_user(user_id: Optional[builtins.str] = None,
|
|
|
193
192
|
|
|
194
193
|
- End to end workspace management guide.
|
|
195
194
|
- get_current_user data to retrieve information about User or databricks_service_principal, that is calling Databricks REST API.
|
|
196
|
-
- Group to manage [
|
|
195
|
+
- Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
|
|
197
196
|
- Group data to retrieve information about Group members, entitlements and instance profiles.
|
|
198
197
|
- GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
|
|
199
198
|
- GroupMember to attach users and groups as group members.
|
|
@@ -202,8 +201,8 @@ def get_user(user_id: Optional[builtins.str] = None,
|
|
|
202
201
|
- UserInstanceProfile to attach InstanceProfile (AWS) to databricks_user.
|
|
203
202
|
|
|
204
203
|
|
|
205
|
-
:param
|
|
206
|
-
:param
|
|
204
|
+
:param _builtins.str user_id: ID of the user.
|
|
205
|
+
:param _builtins.str user_name: User name of the user. The user must exist before this resource can be planned.
|
|
207
206
|
"""
|
|
208
207
|
__args__ = dict()
|
|
209
208
|
__args__['userId'] = user_id
|
|
@@ -223,8 +222,8 @@ def get_user(user_id: Optional[builtins.str] = None,
|
|
|
223
222
|
repos=pulumi.get(__ret__, 'repos'),
|
|
224
223
|
user_id=pulumi.get(__ret__, 'user_id'),
|
|
225
224
|
user_name=pulumi.get(__ret__, 'user_name'))
|
|
226
|
-
def get_user_output(user_id: Optional[pulumi.Input[Optional[
|
|
227
|
-
user_name: Optional[pulumi.Input[Optional[
|
|
225
|
+
def get_user_output(user_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
226
|
+
user_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
228
227
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetUserResult]:
|
|
229
228
|
"""
|
|
230
229
|
Retrieves information about databricks_user.
|
|
@@ -252,7 +251,7 @@ def get_user_output(user_id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
252
251
|
|
|
253
252
|
- End to end workspace management guide.
|
|
254
253
|
- get_current_user data to retrieve information about User or databricks_service_principal, that is calling Databricks REST API.
|
|
255
|
-
- Group to manage [
|
|
254
|
+
- Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
|
|
256
255
|
- Group data to retrieve information about Group members, entitlements and instance profiles.
|
|
257
256
|
- GroupInstanceProfile to attach InstanceProfile (AWS) to databricks_group.
|
|
258
257
|
- GroupMember to attach users and groups as group members.
|
|
@@ -261,8 +260,8 @@ def get_user_output(user_id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
261
260
|
- UserInstanceProfile to attach InstanceProfile (AWS) to databricks_user.
|
|
262
261
|
|
|
263
262
|
|
|
264
|
-
:param
|
|
265
|
-
:param
|
|
263
|
+
:param _builtins.str user_id: ID of the user.
|
|
264
|
+
:param _builtins.str user_name: User name of the user. The user must exist before this resource can be planned.
|
|
266
265
|
"""
|
|
267
266
|
__args__ = dict()
|
|
268
267
|
__args__['userId'] = user_id
|
pulumi_databricks/get_views.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
|
'GetViewsResult',
|
|
@@ -27,7 +28,7 @@ class GetViewsResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getViews.
|
|
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 GetViewsResult:
|
|
|
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 databricks_view full names: *`catalog`.`schema`.`view`*
|
|
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.GetViewsProviderConfigResult']:
|
|
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 AwaitableGetViewsResult(GetViewsResult):
|
|
|
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_views(catalog_name: Optional[
|
|
84
|
-
ids: Optional[Sequence[
|
|
85
|
-
|
|
93
|
+
def get_views(catalog_name: Optional[_builtins.str] = None,
|
|
94
|
+
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict']] = None,
|
|
96
|
+
schema_name: Optional[_builtins.str] = None,
|
|
86
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetViewsResult:
|
|
87
98
|
"""
|
|
88
99
|
Retrieves a list of view full names in Unity Catalog, that were created by Pulumi or manually. Use get_tables for retrieving a list of tables.
|
|
@@ -120,13 +131,15 @@ def get_views(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 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:
|
|
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/getViews:getViews', __args__, opts=opts, typ=GetViewsResult).value
|
|
@@ -135,10 +148,12 @@ def get_views(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_views_output(catalog_name: Optional[pulumi.Input[
|
|
140
|
-
ids: Optional[pulumi.Input[Optional[Sequence[
|
|
141
|
-
|
|
153
|
+
def get_views_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['GetViewsProviderConfigArgs', 'GetViewsProviderConfigArgsDict']]]] = None,
|
|
156
|
+
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
142
157
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetViewsResult]:
|
|
143
158
|
"""
|
|
144
159
|
Retrieves a list of view full names in Unity Catalog, that were created by Pulumi or manually. Use get_tables for retrieving a list of tables.
|
|
@@ -176,13 +191,15 @@ def get_views_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 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:
|
|
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/getViews:getViews', __args__, opts=opts, typ=GetViewsResult)
|
|
@@ -190,4 +207,5 @@ def get_views_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')))
|
pulumi_databricks/get_volume.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,34 +28,42 @@ class GetVolumeResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getVolume.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, id=None, name=None, volume_info=None):
|
|
31
|
+
def __init__(__self__, id=None, name=None, provider_config=None, volume_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 volume_info and not isinstance(volume_info, dict):
|
|
40
42
|
raise TypeError("Expected argument 'volume_info' to be a dict")
|
|
41
43
|
pulumi.set(__self__, "volume_info", volume_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
|
ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
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
|
"""
|
|
55
57
|
the name of the volume
|
|
56
58
|
"""
|
|
57
59
|
return pulumi.get(self, "name")
|
|
58
60
|
|
|
59
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="providerConfig")
|
|
63
|
+
def provider_config(self) -> Optional['outputs.GetVolumeProviderConfigResult']:
|
|
64
|
+
return pulumi.get(self, "provider_config")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
60
67
|
@pulumi.getter(name="volumeInfo")
|
|
61
68
|
def volume_info(self) -> 'outputs.GetVolumeVolumeInfoResult':
|
|
62
69
|
"""
|
|
@@ -73,11 +80,13 @@ class AwaitableGetVolumeResult(GetVolumeResult):
|
|
|
73
80
|
return GetVolumeResult(
|
|
74
81
|
id=self.id,
|
|
75
82
|
name=self.name,
|
|
83
|
+
provider_config=self.provider_config,
|
|
76
84
|
volume_info=self.volume_info)
|
|
77
85
|
|
|
78
86
|
|
|
79
|
-
def get_volume(id: Optional[
|
|
80
|
-
name: Optional[
|
|
87
|
+
def get_volume(id: Optional[_builtins.str] = None,
|
|
88
|
+
name: Optional[_builtins.str] = None,
|
|
89
|
+
provider_config: Optional[Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict']] = None,
|
|
81
90
|
volume_info: Optional[Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict']] = None,
|
|
82
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumeResult:
|
|
83
92
|
"""
|
|
@@ -117,13 +126,15 @@ def get_volume(id: Optional[builtins.str] = None,
|
|
|
117
126
|
* Catalog to manage catalogs within Unity Catalog.
|
|
118
127
|
|
|
119
128
|
|
|
120
|
-
:param
|
|
121
|
-
:param
|
|
129
|
+
:param _builtins.str id: ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
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:
|
|
122
132
|
:param Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict'] volume_info: `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
123
133
|
"""
|
|
124
134
|
__args__ = dict()
|
|
125
135
|
__args__['id'] = id
|
|
126
136
|
__args__['name'] = name
|
|
137
|
+
__args__['providerConfig'] = provider_config
|
|
127
138
|
__args__['volumeInfo'] = volume_info
|
|
128
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
129
140
|
__ret__ = pulumi.runtime.invoke('databricks:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult).value
|
|
@@ -131,9 +142,11 @@ def get_volume(id: Optional[builtins.str] = None,
|
|
|
131
142
|
return AwaitableGetVolumeResult(
|
|
132
143
|
id=pulumi.get(__ret__, 'id'),
|
|
133
144
|
name=pulumi.get(__ret__, 'name'),
|
|
145
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
134
146
|
volume_info=pulumi.get(__ret__, 'volume_info'))
|
|
135
|
-
def get_volume_output(id: Optional[pulumi.Input[Optional[
|
|
136
|
-
name: Optional[pulumi.Input[
|
|
147
|
+
def get_volume_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
148
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
149
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetVolumeProviderConfigArgs', 'GetVolumeProviderConfigArgsDict']]]] = None,
|
|
137
150
|
volume_info: Optional[pulumi.Input[Optional[Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict']]]] = None,
|
|
138
151
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumeResult]:
|
|
139
152
|
"""
|
|
@@ -173,17 +186,20 @@ def get_volume_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
|
173
186
|
* Catalog to manage catalogs within Unity Catalog.
|
|
174
187
|
|
|
175
188
|
|
|
176
|
-
:param
|
|
177
|
-
:param
|
|
189
|
+
:param _builtins.str id: ID of this Unity Catalog Volume in form of `<catalog>.<schema>.<name>`.
|
|
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:
|
|
178
192
|
:param Union['GetVolumeVolumeInfoArgs', 'GetVolumeVolumeInfoArgsDict'] volume_info: `VolumeInfo` object for a Unity Catalog volume. This contains the following attributes:
|
|
179
193
|
"""
|
|
180
194
|
__args__ = dict()
|
|
181
195
|
__args__['id'] = id
|
|
182
196
|
__args__['name'] = name
|
|
197
|
+
__args__['providerConfig'] = provider_config
|
|
183
198
|
__args__['volumeInfo'] = volume_info
|
|
184
199
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
185
200
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getVolume:getVolume', __args__, opts=opts, typ=GetVolumeResult)
|
|
186
201
|
return __ret__.apply(lambda __response__: GetVolumeResult(
|
|
187
202
|
id=pulumi.get(__response__, 'id'),
|
|
188
203
|
name=pulumi.get(__response__, 'name'),
|
|
204
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
189
205
|
volume_info=pulumi.get(__response__, 'volume_info')))
|