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
|
@@ -14,7 +14,6 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
-
from ._inputs import *
|
|
18
17
|
|
|
19
18
|
__all__ = [
|
|
20
19
|
'GetTagPolicyResult',
|
|
@@ -28,7 +27,10 @@ class GetTagPolicyResult:
|
|
|
28
27
|
"""
|
|
29
28
|
A collection of values returned by getTagPolicy.
|
|
30
29
|
"""
|
|
31
|
-
def __init__(__self__, description=None, id=None, tag_key=None,
|
|
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)
|
|
32
34
|
if description and not isinstance(description, str):
|
|
33
35
|
raise TypeError("Expected argument 'description' to be a str")
|
|
34
36
|
pulumi.set(__self__, "description", description)
|
|
@@ -38,16 +40,24 @@ class GetTagPolicyResult:
|
|
|
38
40
|
if tag_key and not isinstance(tag_key, str):
|
|
39
41
|
raise TypeError("Expected argument 'tag_key' to be a str")
|
|
40
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)
|
|
41
46
|
if values and not isinstance(values, list):
|
|
42
47
|
raise TypeError("Expected argument 'values' to be a list")
|
|
43
48
|
pulumi.set(__self__, "values", values)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
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")
|
|
47
57
|
|
|
48
58
|
@_builtins.property
|
|
49
59
|
@pulumi.getter
|
|
50
|
-
def description(self) ->
|
|
60
|
+
def description(self) -> _builtins.str:
|
|
51
61
|
"""
|
|
52
62
|
(string)
|
|
53
63
|
"""
|
|
@@ -69,19 +79,22 @@ class GetTagPolicyResult:
|
|
|
69
79
|
"""
|
|
70
80
|
return pulumi.get(self, "tag_key")
|
|
71
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
|
+
|
|
72
90
|
@_builtins.property
|
|
73
91
|
@pulumi.getter
|
|
74
|
-
def values(self) ->
|
|
92
|
+
def values(self) -> Sequence['outputs.GetTagPolicyValueResult']:
|
|
75
93
|
"""
|
|
76
94
|
(list of Value)
|
|
77
95
|
"""
|
|
78
96
|
return pulumi.get(self, "values")
|
|
79
97
|
|
|
80
|
-
@_builtins.property
|
|
81
|
-
@pulumi.getter(name="workspaceId")
|
|
82
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
83
|
-
return pulumi.get(self, "workspace_id")
|
|
84
|
-
|
|
85
98
|
|
|
86
99
|
class AwaitableGetTagPolicyResult(GetTagPolicyResult):
|
|
87
100
|
# pylint: disable=using-constant-test
|
|
@@ -89,67 +102,74 @@ class AwaitableGetTagPolicyResult(GetTagPolicyResult):
|
|
|
89
102
|
if False:
|
|
90
103
|
yield self
|
|
91
104
|
return GetTagPolicyResult(
|
|
105
|
+
create_time=self.create_time,
|
|
92
106
|
description=self.description,
|
|
93
107
|
id=self.id,
|
|
94
108
|
tag_key=self.tag_key,
|
|
95
|
-
|
|
96
|
-
|
|
109
|
+
update_time=self.update_time,
|
|
110
|
+
values=self.values)
|
|
97
111
|
|
|
98
112
|
|
|
99
|
-
def get_tag_policy(
|
|
100
|
-
tag_key: Optional[_builtins.str] = None,
|
|
101
|
-
values: Optional[Sequence[Union['GetTagPolicyValueArgs', 'GetTagPolicyValueArgsDict']]] = None,
|
|
102
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
113
|
+
def get_tag_policy(tag_key: Optional[_builtins.str] = None,
|
|
103
114
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetTagPolicyResult:
|
|
104
115
|
"""
|
|
116
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
117
|
+
|
|
105
118
|
This data source can be used to get a single tag policy by its tag key.
|
|
106
119
|
|
|
107
|
-
> **Note** This resource can only be used with
|
|
120
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
121
|
+
|
|
122
|
+
## Example Usage
|
|
108
123
|
|
|
124
|
+
Referring to a tag policy by its tag key:
|
|
109
125
|
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
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
|
+
```
|
|
113
132
|
"""
|
|
114
133
|
__args__ = dict()
|
|
115
|
-
__args__['description'] = description
|
|
116
134
|
__args__['tagKey'] = tag_key
|
|
117
|
-
__args__['values'] = values
|
|
118
|
-
__args__['workspaceId'] = workspace_id
|
|
119
135
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
120
136
|
__ret__ = pulumi.runtime.invoke('databricks:index/getTagPolicy:getTagPolicy', __args__, opts=opts, typ=GetTagPolicyResult).value
|
|
121
137
|
|
|
122
138
|
return AwaitableGetTagPolicyResult(
|
|
139
|
+
create_time=pulumi.get(__ret__, 'create_time'),
|
|
123
140
|
description=pulumi.get(__ret__, 'description'),
|
|
124
141
|
id=pulumi.get(__ret__, 'id'),
|
|
125
142
|
tag_key=pulumi.get(__ret__, 'tag_key'),
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
def get_tag_policy_output(
|
|
129
|
-
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
-
values: Optional[pulumi.Input[Optional[Sequence[Union['GetTagPolicyValueArgs', 'GetTagPolicyValueArgsDict']]]]] = None,
|
|
131
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
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,
|
|
132
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetTagPolicyResult]:
|
|
133
147
|
"""
|
|
148
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
149
|
+
|
|
134
150
|
This data source can be used to get a single tag policy by its tag key.
|
|
135
151
|
|
|
136
|
-
> **Note** This resource can only be used with
|
|
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:
|
|
137
157
|
|
|
158
|
+
```python
|
|
159
|
+
import pulumi
|
|
160
|
+
import pulumi_databricks as databricks
|
|
138
161
|
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
162
|
+
example_tag_policy = databricks.get_tag_policy(tag_key="example_tag_key")
|
|
163
|
+
```
|
|
142
164
|
"""
|
|
143
165
|
__args__ = dict()
|
|
144
|
-
__args__['description'] = description
|
|
145
166
|
__args__['tagKey'] = tag_key
|
|
146
|
-
__args__['values'] = values
|
|
147
|
-
__args__['workspaceId'] = workspace_id
|
|
148
167
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
149
168
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getTagPolicy:getTagPolicy', __args__, opts=opts, typ=GetTagPolicyResult)
|
|
150
169
|
return __ret__.apply(lambda __response__: GetTagPolicyResult(
|
|
170
|
+
create_time=pulumi.get(__response__, 'create_time'),
|
|
151
171
|
description=pulumi.get(__response__, 'description'),
|
|
152
172
|
id=pulumi.get(__response__, 'id'),
|
|
153
173
|
tag_key=pulumi.get(__response__, 'tag_key'),
|
|
154
|
-
|
|
155
|
-
|
|
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')))
|
pulumi_databricks/get_volumes.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
|
'GetVolumesResult',
|
|
@@ -26,7 +28,7 @@ class GetVolumesResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getVolumes.
|
|
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 GetVolumesResult:
|
|
|
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 GetVolumesResult:
|
|
|
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.GetVolumesProviderConfigResult']:
|
|
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 AwaitableGetVolumesResult(GetVolumesResult):
|
|
|
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_volumes(catalog_name: Optional[_builtins.str] = None,
|
|
83
94
|
ids: Optional[Sequence[_builtins.str]] = None,
|
|
95
|
+
provider_config: Optional[Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict']] = None,
|
|
84
96
|
schema_name: Optional[_builtins.str] = None,
|
|
85
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetVolumesResult:
|
|
86
98
|
"""
|
|
@@ -116,11 +128,13 @@ def get_volumes(catalog_name: Optional[_builtins.str] = None,
|
|
|
116
128
|
|
|
117
129
|
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
118
130
|
:param Sequence[_builtins.str] ids: a list of Volume full names: *`catalog`.`schema`.`volume`*
|
|
131
|
+
:param Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
119
132
|
:param _builtins.str schema_name: Name of databricks_schema
|
|
120
133
|
"""
|
|
121
134
|
__args__ = dict()
|
|
122
135
|
__args__['catalogName'] = catalog_name
|
|
123
136
|
__args__['ids'] = ids
|
|
137
|
+
__args__['providerConfig'] = provider_config
|
|
124
138
|
__args__['schemaName'] = schema_name
|
|
125
139
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
126
140
|
__ret__ = pulumi.runtime.invoke('databricks:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult).value
|
|
@@ -129,9 +143,11 @@ def get_volumes(catalog_name: Optional[_builtins.str] = None,
|
|
|
129
143
|
catalog_name=pulumi.get(__ret__, 'catalog_name'),
|
|
130
144
|
id=pulumi.get(__ret__, 'id'),
|
|
131
145
|
ids=pulumi.get(__ret__, 'ids'),
|
|
146
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
132
147
|
schema_name=pulumi.get(__ret__, 'schema_name'))
|
|
133
148
|
def get_volumes_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
149
|
ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
150
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict']]]] = None,
|
|
135
151
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
136
152
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetVolumesResult]:
|
|
137
153
|
"""
|
|
@@ -167,11 +183,13 @@ def get_volumes_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = Non
|
|
|
167
183
|
|
|
168
184
|
:param _builtins.str catalog_name: Name of databricks_catalog
|
|
169
185
|
:param Sequence[_builtins.str] ids: a list of Volume full names: *`catalog`.`schema`.`volume`*
|
|
186
|
+
:param Union['GetVolumesProviderConfigArgs', 'GetVolumesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
170
187
|
:param _builtins.str schema_name: Name of databricks_schema
|
|
171
188
|
"""
|
|
172
189
|
__args__ = dict()
|
|
173
190
|
__args__['catalogName'] = catalog_name
|
|
174
191
|
__args__['ids'] = ids
|
|
192
|
+
__args__['providerConfig'] = provider_config
|
|
175
193
|
__args__['schemaName'] = schema_name
|
|
176
194
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
177
195
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getVolumes:getVolumes', __args__, opts=opts, typ=GetVolumesResult)
|
|
@@ -179,4 +197,5 @@ def get_volumes_output(catalog_name: Optional[pulumi.Input[_builtins.str]] = Non
|
|
|
179
197
|
catalog_name=pulumi.get(__response__, 'catalog_name'),
|
|
180
198
|
id=pulumi.get(__response__, 'id'),
|
|
181
199
|
ids=pulumi.get(__response__, 'ids'),
|
|
200
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
182
201
|
schema_name=pulumi.get(__response__, 'schema_name')))
|
|
@@ -47,7 +47,7 @@ class GetWorkspaceNetworkOptionResult:
|
|
|
47
47
|
|
|
48
48
|
@_builtins.property
|
|
49
49
|
@pulumi.getter(name="networkPolicyId")
|
|
50
|
-
def network_policy_id(self) ->
|
|
50
|
+
def network_policy_id(self) -> _builtins.str:
|
|
51
51
|
"""
|
|
52
52
|
(string) - The network policy ID to apply to the workspace. This controls the network access rules
|
|
53
53
|
for all serverless compute resources in the workspace. Each workspace can only be
|
|
@@ -58,7 +58,7 @@ class GetWorkspaceNetworkOptionResult:
|
|
|
58
58
|
|
|
59
59
|
@_builtins.property
|
|
60
60
|
@pulumi.getter(name="workspaceId")
|
|
61
|
-
def workspace_id(self) ->
|
|
61
|
+
def workspace_id(self) -> _builtins.str:
|
|
62
62
|
"""
|
|
63
63
|
(integer) - The workspace ID
|
|
64
64
|
"""
|
|
@@ -76,10 +76,11 @@ class AwaitableGetWorkspaceNetworkOptionResult(GetWorkspaceNetworkOptionResult):
|
|
|
76
76
|
workspace_id=self.workspace_id)
|
|
77
77
|
|
|
78
78
|
|
|
79
|
-
def get_workspace_network_option(
|
|
80
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
79
|
+
def get_workspace_network_option(workspace_id: Optional[_builtins.str] = None,
|
|
81
80
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetWorkspaceNetworkOptionResult:
|
|
82
81
|
"""
|
|
82
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
83
|
+
|
|
83
84
|
This data source can be used to get a single workspace network option.
|
|
84
85
|
|
|
85
86
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -96,14 +97,9 @@ def get_workspace_network_option(network_policy_id: Optional[_builtins.str] = No
|
|
|
96
97
|
```
|
|
97
98
|
|
|
98
99
|
|
|
99
|
-
:param _builtins.str network_policy_id: (string) - The network policy ID to apply to the workspace. This controls the network access rules
|
|
100
|
-
for all serverless compute resources in the workspace. Each workspace can only be
|
|
101
|
-
linked to one policy at a time. If no policy is explicitly assigned,
|
|
102
|
-
the workspace will use 'default-policy'
|
|
103
100
|
:param _builtins.str workspace_id: The workspace ID
|
|
104
101
|
"""
|
|
105
102
|
__args__ = dict()
|
|
106
|
-
__args__['networkPolicyId'] = network_policy_id
|
|
107
103
|
__args__['workspaceId'] = workspace_id
|
|
108
104
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
109
105
|
__ret__ = pulumi.runtime.invoke('databricks:index/getWorkspaceNetworkOption:getWorkspaceNetworkOption', __args__, opts=opts, typ=GetWorkspaceNetworkOptionResult).value
|
|
@@ -112,10 +108,11 @@ def get_workspace_network_option(network_policy_id: Optional[_builtins.str] = No
|
|
|
112
108
|
id=pulumi.get(__ret__, 'id'),
|
|
113
109
|
network_policy_id=pulumi.get(__ret__, 'network_policy_id'),
|
|
114
110
|
workspace_id=pulumi.get(__ret__, 'workspace_id'))
|
|
115
|
-
def get_workspace_network_option_output(
|
|
116
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
111
|
+
def get_workspace_network_option_output(workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
112
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetWorkspaceNetworkOptionResult]:
|
|
118
113
|
"""
|
|
114
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
115
|
+
|
|
119
116
|
This data source can be used to get a single workspace network option.
|
|
120
117
|
|
|
121
118
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -132,14 +129,9 @@ def get_workspace_network_option_output(network_policy_id: Optional[pulumi.Input
|
|
|
132
129
|
```
|
|
133
130
|
|
|
134
131
|
|
|
135
|
-
:param _builtins.str network_policy_id: (string) - The network policy ID to apply to the workspace. This controls the network access rules
|
|
136
|
-
for all serverless compute resources in the workspace. Each workspace can only be
|
|
137
|
-
linked to one policy at a time. If no policy is explicitly assigned,
|
|
138
|
-
the workspace will use 'default-policy'
|
|
139
132
|
:param _builtins.str workspace_id: The workspace ID
|
|
140
133
|
"""
|
|
141
134
|
__args__ = dict()
|
|
142
|
-
__args__['networkPolicyId'] = network_policy_id
|
|
143
135
|
__args__['workspaceId'] = workspace_id
|
|
144
136
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
137
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getWorkspaceNetworkOption:getWorkspaceNetworkOption', __args__, opts=opts, typ=GetWorkspaceNetworkOptionResult)
|