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
|
@@ -27,7 +27,7 @@ class GetEntityTagAssignmentsResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getEntityTagAssignments.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, entity_name=None, entity_type=None, id=None,
|
|
30
|
+
def __init__(__self__, entity_name=None, entity_type=None, id=None, max_results=None, tag_assignments=None):
|
|
31
31
|
if entity_name and not isinstance(entity_name, str):
|
|
32
32
|
raise TypeError("Expected argument 'entity_name' to be a str")
|
|
33
33
|
pulumi.set(__self__, "entity_name", entity_name)
|
|
@@ -37,12 +37,12 @@ class GetEntityTagAssignmentsResult:
|
|
|
37
37
|
if id and not isinstance(id, str):
|
|
38
38
|
raise TypeError("Expected argument 'id' to be a str")
|
|
39
39
|
pulumi.set(__self__, "id", id)
|
|
40
|
+
if max_results and not isinstance(max_results, int):
|
|
41
|
+
raise TypeError("Expected argument 'max_results' to be a int")
|
|
42
|
+
pulumi.set(__self__, "max_results", max_results)
|
|
40
43
|
if tag_assignments and not isinstance(tag_assignments, list):
|
|
41
44
|
raise TypeError("Expected argument 'tag_assignments' to be a list")
|
|
42
45
|
pulumi.set(__self__, "tag_assignments", tag_assignments)
|
|
43
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
44
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
45
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
46
46
|
|
|
47
47
|
@_builtins.property
|
|
48
48
|
@pulumi.getter(name="entityName")
|
|
@@ -68,16 +68,16 @@ class GetEntityTagAssignmentsResult:
|
|
|
68
68
|
"""
|
|
69
69
|
return pulumi.get(self, "id")
|
|
70
70
|
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="maxResults")
|
|
73
|
+
def max_results(self) -> Optional[_builtins.int]:
|
|
74
|
+
return pulumi.get(self, "max_results")
|
|
75
|
+
|
|
71
76
|
@_builtins.property
|
|
72
77
|
@pulumi.getter(name="tagAssignments")
|
|
73
78
|
def tag_assignments(self) -> Sequence['outputs.GetEntityTagAssignmentsTagAssignmentResult']:
|
|
74
79
|
return pulumi.get(self, "tag_assignments")
|
|
75
80
|
|
|
76
|
-
@_builtins.property
|
|
77
|
-
@pulumi.getter(name="workspaceId")
|
|
78
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
79
|
-
return pulumi.get(self, "workspace_id")
|
|
80
|
-
|
|
81
81
|
|
|
82
82
|
class AwaitableGetEntityTagAssignmentsResult(GetEntityTagAssignmentsResult):
|
|
83
83
|
# pylint: disable=using-constant-test
|
|
@@ -88,25 +88,48 @@ class AwaitableGetEntityTagAssignmentsResult(GetEntityTagAssignmentsResult):
|
|
|
88
88
|
entity_name=self.entity_name,
|
|
89
89
|
entity_type=self.entity_type,
|
|
90
90
|
id=self.id,
|
|
91
|
-
|
|
92
|
-
|
|
91
|
+
max_results=self.max_results,
|
|
92
|
+
tag_assignments=self.tag_assignments)
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
def get_entity_tag_assignments(entity_name: Optional[_builtins.str] = None,
|
|
96
96
|
entity_type: Optional[_builtins.str] = None,
|
|
97
|
-
|
|
97
|
+
max_results: Optional[_builtins.int] = None,
|
|
98
98
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetEntityTagAssignmentsResult:
|
|
99
99
|
"""
|
|
100
|
-
|
|
100
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
101
|
+
|
|
102
|
+
This data source allows you to retrieve tag assignments that have been applied to a particular entity in Unity Catalog.
|
|
103
|
+
|
|
104
|
+
## Example Usage
|
|
105
|
+
|
|
106
|
+
### Get all tag assignments for a catalog
|
|
107
|
+
|
|
108
|
+
```python
|
|
109
|
+
import pulumi
|
|
110
|
+
import pulumi_databricks as databricks
|
|
111
|
+
|
|
112
|
+
catalog_tags = databricks.get_entity_tag_assignments(entity_type="catalogs",
|
|
113
|
+
entity_name="production_catalog")
|
|
114
|
+
schema_tags = databricks.get_entity_tag_assignments(entity_type="schemas",
|
|
115
|
+
entity_name="production_catalog.sales_data")
|
|
116
|
+
table_tags = databricks.get_entity_tag_assignments(entity_type="tables",
|
|
117
|
+
entity_name="production_catalog.sales_data.customer_orders")
|
|
118
|
+
column_tags = databricks.get_entity_tag_assignments(entity_type="columns",
|
|
119
|
+
entity_name="production_catalog.customer_data.users.email_address")
|
|
120
|
+
volume_tags = databricks.get_entity_tag_assignments(entity_type="volumes",
|
|
121
|
+
entity_name="production_catalog.raw_data.landing_zone")
|
|
122
|
+
```
|
|
123
|
+
|
|
101
124
|
|
|
102
125
|
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
103
126
|
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
104
|
-
:param _builtins.
|
|
127
|
+
:param _builtins.int max_results: Optional. Maximum number of tag assignments to return in a single page
|
|
105
128
|
"""
|
|
106
129
|
__args__ = dict()
|
|
107
130
|
__args__['entityName'] = entity_name
|
|
108
131
|
__args__['entityType'] = entity_type
|
|
109
|
-
__args__['
|
|
132
|
+
__args__['maxResults'] = max_results
|
|
110
133
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
111
134
|
__ret__ = pulumi.runtime.invoke('databricks:index/getEntityTagAssignments:getEntityTagAssignments', __args__, opts=opts, typ=GetEntityTagAssignmentsResult).value
|
|
112
135
|
|
|
@@ -114,28 +137,51 @@ def get_entity_tag_assignments(entity_name: Optional[_builtins.str] = None,
|
|
|
114
137
|
entity_name=pulumi.get(__ret__, 'entity_name'),
|
|
115
138
|
entity_type=pulumi.get(__ret__, 'entity_type'),
|
|
116
139
|
id=pulumi.get(__ret__, 'id'),
|
|
117
|
-
|
|
118
|
-
|
|
140
|
+
max_results=pulumi.get(__ret__, 'max_results'),
|
|
141
|
+
tag_assignments=pulumi.get(__ret__, 'tag_assignments'))
|
|
119
142
|
def get_entity_tag_assignments_output(entity_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
143
|
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
|
-
|
|
144
|
+
max_results: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
122
145
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetEntityTagAssignmentsResult]:
|
|
123
146
|
"""
|
|
124
|
-
|
|
147
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
148
|
+
|
|
149
|
+
This data source allows you to retrieve tag assignments that have been applied to a particular entity in Unity Catalog.
|
|
150
|
+
|
|
151
|
+
## Example Usage
|
|
152
|
+
|
|
153
|
+
### Get all tag assignments for a catalog
|
|
154
|
+
|
|
155
|
+
```python
|
|
156
|
+
import pulumi
|
|
157
|
+
import pulumi_databricks as databricks
|
|
158
|
+
|
|
159
|
+
catalog_tags = databricks.get_entity_tag_assignments(entity_type="catalogs",
|
|
160
|
+
entity_name="production_catalog")
|
|
161
|
+
schema_tags = databricks.get_entity_tag_assignments(entity_type="schemas",
|
|
162
|
+
entity_name="production_catalog.sales_data")
|
|
163
|
+
table_tags = databricks.get_entity_tag_assignments(entity_type="tables",
|
|
164
|
+
entity_name="production_catalog.sales_data.customer_orders")
|
|
165
|
+
column_tags = databricks.get_entity_tag_assignments(entity_type="columns",
|
|
166
|
+
entity_name="production_catalog.customer_data.users.email_address")
|
|
167
|
+
volume_tags = databricks.get_entity_tag_assignments(entity_type="volumes",
|
|
168
|
+
entity_name="production_catalog.raw_data.landing_zone")
|
|
169
|
+
```
|
|
170
|
+
|
|
125
171
|
|
|
126
172
|
:param _builtins.str entity_name: The fully qualified name of the entity to which the tag is assigned
|
|
127
173
|
:param _builtins.str entity_type: The type of the entity to which the tag is assigned. Allowed values are: catalogs, schemas, tables, columns, volumes
|
|
128
|
-
:param _builtins.
|
|
174
|
+
:param _builtins.int max_results: Optional. Maximum number of tag assignments to return in a single page
|
|
129
175
|
"""
|
|
130
176
|
__args__ = dict()
|
|
131
177
|
__args__['entityName'] = entity_name
|
|
132
178
|
__args__['entityType'] = entity_type
|
|
133
|
-
__args__['
|
|
179
|
+
__args__['maxResults'] = max_results
|
|
134
180
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
135
181
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getEntityTagAssignments:getEntityTagAssignments', __args__, opts=opts, typ=GetEntityTagAssignmentsResult)
|
|
136
182
|
return __ret__.apply(lambda __response__: GetEntityTagAssignmentsResult(
|
|
137
183
|
entity_name=pulumi.get(__response__, 'entity_name'),
|
|
138
184
|
entity_type=pulumi.get(__response__, 'entity_type'),
|
|
139
185
|
id=pulumi.get(__response__, 'id'),
|
|
140
|
-
|
|
141
|
-
|
|
186
|
+
max_results=pulumi.get(__response__, 'max_results'),
|
|
187
|
+
tag_assignments=pulumi.get(__response__, 'tag_assignments')))
|
|
@@ -28,7 +28,7 @@ class GetExternalLocationResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getExternalLocation.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, external_location_info=None, id=None, name=None):
|
|
31
|
+
def __init__(__self__, external_location_info=None, id=None, name=None, provider_config=None):
|
|
32
32
|
if external_location_info and not isinstance(external_location_info, dict):
|
|
33
33
|
raise TypeError("Expected argument 'external_location_info' to be a dict")
|
|
34
34
|
pulumi.set(__self__, "external_location_info", external_location_info)
|
|
@@ -38,6 +38,9 @@ class GetExternalLocationResult:
|
|
|
38
38
|
if name and not isinstance(name, str):
|
|
39
39
|
raise TypeError("Expected argument 'name' to be a str")
|
|
40
40
|
pulumi.set(__self__, "name", name)
|
|
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)
|
|
41
44
|
|
|
42
45
|
@_builtins.property
|
|
43
46
|
@pulumi.getter(name="externalLocationInfo")
|
|
@@ -60,6 +63,11 @@ class GetExternalLocationResult:
|
|
|
60
63
|
def name(self) -> _builtins.str:
|
|
61
64
|
return pulumi.get(self, "name")
|
|
62
65
|
|
|
66
|
+
@_builtins.property
|
|
67
|
+
@pulumi.getter(name="providerConfig")
|
|
68
|
+
def provider_config(self) -> Optional['outputs.GetExternalLocationProviderConfigResult']:
|
|
69
|
+
return pulumi.get(self, "provider_config")
|
|
70
|
+
|
|
63
71
|
|
|
64
72
|
class AwaitableGetExternalLocationResult(GetExternalLocationResult):
|
|
65
73
|
# pylint: disable=using-constant-test
|
|
@@ -69,12 +77,14 @@ class AwaitableGetExternalLocationResult(GetExternalLocationResult):
|
|
|
69
77
|
return GetExternalLocationResult(
|
|
70
78
|
external_location_info=self.external_location_info,
|
|
71
79
|
id=self.id,
|
|
72
|
-
name=self.name
|
|
80
|
+
name=self.name,
|
|
81
|
+
provider_config=self.provider_config)
|
|
73
82
|
|
|
74
83
|
|
|
75
84
|
def get_external_location(external_location_info: Optional[Union['GetExternalLocationExternalLocationInfoArgs', 'GetExternalLocationExternalLocationInfoArgsDict']] = None,
|
|
76
85
|
id: Optional[_builtins.str] = None,
|
|
77
86
|
name: Optional[_builtins.str] = None,
|
|
87
|
+
provider_config: Optional[Union['GetExternalLocationProviderConfigArgs', 'GetExternalLocationProviderConfigArgsDict']] = None,
|
|
78
88
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalLocationResult:
|
|
79
89
|
"""
|
|
80
90
|
Retrieves details about a ExternalLocation that were created by Pulumi or manually.
|
|
@@ -104,21 +114,25 @@ def get_external_location(external_location_info: Optional[Union['GetExternalLoc
|
|
|
104
114
|
:param Union['GetExternalLocationExternalLocationInfoArgs', 'GetExternalLocationExternalLocationInfoArgsDict'] external_location_info: array of objects with information about external location:
|
|
105
115
|
:param _builtins.str id: external location ID - same as name.
|
|
106
116
|
:param _builtins.str name: The name of the external location
|
|
117
|
+
:param Union['GetExternalLocationProviderConfigArgs', 'GetExternalLocationProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
107
118
|
"""
|
|
108
119
|
__args__ = dict()
|
|
109
120
|
__args__['externalLocationInfo'] = external_location_info
|
|
110
121
|
__args__['id'] = id
|
|
111
122
|
__args__['name'] = name
|
|
123
|
+
__args__['providerConfig'] = provider_config
|
|
112
124
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
113
125
|
__ret__ = pulumi.runtime.invoke('databricks:index/getExternalLocation:getExternalLocation', __args__, opts=opts, typ=GetExternalLocationResult).value
|
|
114
126
|
|
|
115
127
|
return AwaitableGetExternalLocationResult(
|
|
116
128
|
external_location_info=pulumi.get(__ret__, 'external_location_info'),
|
|
117
129
|
id=pulumi.get(__ret__, 'id'),
|
|
118
|
-
name=pulumi.get(__ret__, 'name')
|
|
130
|
+
name=pulumi.get(__ret__, 'name'),
|
|
131
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
119
132
|
def get_external_location_output(external_location_info: Optional[pulumi.Input[Optional[Union['GetExternalLocationExternalLocationInfoArgs', 'GetExternalLocationExternalLocationInfoArgsDict']]]] = None,
|
|
120
133
|
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
121
134
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
135
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetExternalLocationProviderConfigArgs', 'GetExternalLocationProviderConfigArgsDict']]]] = None,
|
|
122
136
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalLocationResult]:
|
|
123
137
|
"""
|
|
124
138
|
Retrieves details about a ExternalLocation that were created by Pulumi or manually.
|
|
@@ -148,14 +162,17 @@ def get_external_location_output(external_location_info: Optional[pulumi.Input[O
|
|
|
148
162
|
:param Union['GetExternalLocationExternalLocationInfoArgs', 'GetExternalLocationExternalLocationInfoArgsDict'] external_location_info: array of objects with information about external location:
|
|
149
163
|
:param _builtins.str id: external location ID - same as name.
|
|
150
164
|
:param _builtins.str name: The name of the external location
|
|
165
|
+
:param Union['GetExternalLocationProviderConfigArgs', 'GetExternalLocationProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
151
166
|
"""
|
|
152
167
|
__args__ = dict()
|
|
153
168
|
__args__['externalLocationInfo'] = external_location_info
|
|
154
169
|
__args__['id'] = id
|
|
155
170
|
__args__['name'] = name
|
|
171
|
+
__args__['providerConfig'] = provider_config
|
|
156
172
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
157
173
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalLocation:getExternalLocation', __args__, opts=opts, typ=GetExternalLocationResult)
|
|
158
174
|
return __ret__.apply(lambda __response__: GetExternalLocationResult(
|
|
159
175
|
external_location_info=pulumi.get(__response__, 'external_location_info'),
|
|
160
176
|
id=pulumi.get(__response__, 'id'),
|
|
161
|
-
name=pulumi.get(__response__, 'name')
|
|
177
|
+
name=pulumi.get(__response__, 'name'),
|
|
178
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -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
|
'GetExternalLocationsResult',
|
|
@@ -26,13 +28,16 @@ class GetExternalLocationsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getExternalLocations.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, names=None):
|
|
31
|
+
def __init__(__self__, id=None, names=None, provider_config=None):
|
|
30
32
|
if id and not isinstance(id, str):
|
|
31
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
32
34
|
pulumi.set(__self__, "id", id)
|
|
33
35
|
if names and not isinstance(names, list):
|
|
34
36
|
raise TypeError("Expected argument 'names' to be a list")
|
|
35
37
|
pulumi.set(__self__, "names", names)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
36
41
|
|
|
37
42
|
@_builtins.property
|
|
38
43
|
@pulumi.getter
|
|
@@ -50,6 +55,11 @@ class GetExternalLocationsResult:
|
|
|
50
55
|
"""
|
|
51
56
|
return pulumi.get(self, "names")
|
|
52
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetExternalLocationsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
53
63
|
|
|
54
64
|
class AwaitableGetExternalLocationsResult(GetExternalLocationsResult):
|
|
55
65
|
# pylint: disable=using-constant-test
|
|
@@ -58,10 +68,12 @@ class AwaitableGetExternalLocationsResult(GetExternalLocationsResult):
|
|
|
58
68
|
yield self
|
|
59
69
|
return GetExternalLocationsResult(
|
|
60
70
|
id=self.id,
|
|
61
|
-
names=self.names
|
|
71
|
+
names=self.names,
|
|
72
|
+
provider_config=self.provider_config)
|
|
62
73
|
|
|
63
74
|
|
|
64
75
|
def get_external_locations(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetExternalLocationsProviderConfigArgs', 'GetExternalLocationsProviderConfigArgsDict']] = None,
|
|
65
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalLocationsResult:
|
|
66
78
|
"""
|
|
67
79
|
Retrieves a list of ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -89,16 +101,20 @@ def get_external_locations(names: Optional[Sequence[_builtins.str]] = None,
|
|
|
89
101
|
|
|
90
102
|
|
|
91
103
|
:param Sequence[_builtins.str] names: List of names of ExternalLocation in the metastore
|
|
104
|
+
:param Union['GetExternalLocationsProviderConfigArgs', 'GetExternalLocationsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
92
105
|
"""
|
|
93
106
|
__args__ = dict()
|
|
94
107
|
__args__['names'] = names
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
95
109
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
96
110
|
__ret__ = pulumi.runtime.invoke('databricks:index/getExternalLocations:getExternalLocations', __args__, opts=opts, typ=GetExternalLocationsResult).value
|
|
97
111
|
|
|
98
112
|
return AwaitableGetExternalLocationsResult(
|
|
99
113
|
id=pulumi.get(__ret__, 'id'),
|
|
100
|
-
names=pulumi.get(__ret__, 'names')
|
|
114
|
+
names=pulumi.get(__ret__, 'names'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
101
116
|
def get_external_locations_output(names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
117
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetExternalLocationsProviderConfigArgs', 'GetExternalLocationsProviderConfigArgsDict']]]] = None,
|
|
102
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalLocationsResult]:
|
|
103
119
|
"""
|
|
104
120
|
Retrieves a list of ExternalLocation objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -126,11 +142,14 @@ def get_external_locations_output(names: Optional[pulumi.Input[Optional[Sequence
|
|
|
126
142
|
|
|
127
143
|
|
|
128
144
|
:param Sequence[_builtins.str] names: List of names of ExternalLocation in the metastore
|
|
145
|
+
:param Union['GetExternalLocationsProviderConfigArgs', 'GetExternalLocationsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
129
146
|
"""
|
|
130
147
|
__args__ = dict()
|
|
131
148
|
__args__['names'] = names
|
|
149
|
+
__args__['providerConfig'] = provider_config
|
|
132
150
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
133
151
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalLocations:getExternalLocations', __args__, opts=opts, typ=GetExternalLocationsResult)
|
|
134
152
|
return __ret__.apply(lambda __response__: GetExternalLocationsResult(
|
|
135
153
|
id=pulumi.get(__response__, 'id'),
|
|
136
|
-
names=pulumi.get(__response__, 'names')
|
|
154
|
+
names=pulumi.get(__response__, 'names'),
|
|
155
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -26,7 +26,7 @@ class GetExternalMetadataResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getExternalMetadata.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, columns=None, create_time=None, created_by=None, description=None, entity_type=None, id=None, metastore_id=None, name=None, owner=None, properties=None, system_type=None, update_time=None, updated_by=None, url=None
|
|
29
|
+
def __init__(__self__, columns=None, create_time=None, created_by=None, description=None, entity_type=None, id=None, metastore_id=None, name=None, owner=None, properties=None, system_type=None, update_time=None, updated_by=None, url=None):
|
|
30
30
|
if columns and not isinstance(columns, list):
|
|
31
31
|
raise TypeError("Expected argument 'columns' to be a list")
|
|
32
32
|
pulumi.set(__self__, "columns", columns)
|
|
@@ -69,13 +69,10 @@ class GetExternalMetadataResult:
|
|
|
69
69
|
if url and not isinstance(url, str):
|
|
70
70
|
raise TypeError("Expected argument 'url' to be a str")
|
|
71
71
|
pulumi.set(__self__, "url", url)
|
|
72
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
73
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
74
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
75
72
|
|
|
76
73
|
@_builtins.property
|
|
77
74
|
@pulumi.getter
|
|
78
|
-
def columns(self) ->
|
|
75
|
+
def columns(self) -> Sequence[_builtins.str]:
|
|
79
76
|
"""
|
|
80
77
|
(list of string) - List of columns associated with the external metadata object
|
|
81
78
|
"""
|
|
@@ -99,7 +96,7 @@ class GetExternalMetadataResult:
|
|
|
99
96
|
|
|
100
97
|
@_builtins.property
|
|
101
98
|
@pulumi.getter
|
|
102
|
-
def description(self) ->
|
|
99
|
+
def description(self) -> _builtins.str:
|
|
103
100
|
"""
|
|
104
101
|
(string) - User-provided free-form text description
|
|
105
102
|
"""
|
|
@@ -139,7 +136,7 @@ class GetExternalMetadataResult:
|
|
|
139
136
|
|
|
140
137
|
@_builtins.property
|
|
141
138
|
@pulumi.getter
|
|
142
|
-
def owner(self) ->
|
|
139
|
+
def owner(self) -> _builtins.str:
|
|
143
140
|
"""
|
|
144
141
|
(string) - Owner of the external metadata object
|
|
145
142
|
"""
|
|
@@ -147,7 +144,7 @@ class GetExternalMetadataResult:
|
|
|
147
144
|
|
|
148
145
|
@_builtins.property
|
|
149
146
|
@pulumi.getter
|
|
150
|
-
def properties(self) ->
|
|
147
|
+
def properties(self) -> Mapping[str, _builtins.str]:
|
|
151
148
|
"""
|
|
152
149
|
(object) - A map of key-value properties attached to the external metadata object
|
|
153
150
|
"""
|
|
@@ -157,7 +154,7 @@ class GetExternalMetadataResult:
|
|
|
157
154
|
@pulumi.getter(name="systemType")
|
|
158
155
|
def system_type(self) -> _builtins.str:
|
|
159
156
|
"""
|
|
160
|
-
(string) - Type of external system. Possible values are: `AMAZON_REDSHIFT`, `AZURE_SYNAPSE`, `CONFLUENT`, `DATABRICKS`, `GOOGLE_BIGQUERY`, `KAFKA`, `LOOKER`, `MICROSOFT_FABRIC`, `MICROSOFT_SQL_SERVER`, `MONGODB`, `MYSQL`, `ORACLE`, `OTHER`, `POSTGRESQL`, `POWER_BI`, `SALESFORCE`, `SAP`, `SERVICENOW`, `SNOWFLAKE`, `TABLEAU`, `TERADATA`, `WORKDAY`
|
|
157
|
+
(string) - Type of external system. Possible values are: `AMAZON_REDSHIFT`, `AZURE_SYNAPSE`, `CONFLUENT`, `DATABRICKS`, `GOOGLE_BIGQUERY`, `KAFKA`, `LOOKER`, `MICROSOFT_FABRIC`, `MICROSOFT_SQL_SERVER`, `MONGODB`, `MYSQL`, `ORACLE`, `OTHER`, `POSTGRESQL`, `POWER_BI`, `SALESFORCE`, `SAP`, `SERVICENOW`, `SNOWFLAKE`, `STREAM_NATIVE`, `TABLEAU`, `TERADATA`, `WORKDAY`
|
|
161
158
|
"""
|
|
162
159
|
return pulumi.get(self, "system_type")
|
|
163
160
|
|
|
@@ -179,17 +176,12 @@ class GetExternalMetadataResult:
|
|
|
179
176
|
|
|
180
177
|
@_builtins.property
|
|
181
178
|
@pulumi.getter
|
|
182
|
-
def url(self) ->
|
|
179
|
+
def url(self) -> _builtins.str:
|
|
183
180
|
"""
|
|
184
181
|
(string) - URL associated with the external metadata object
|
|
185
182
|
"""
|
|
186
183
|
return pulumi.get(self, "url")
|
|
187
184
|
|
|
188
|
-
@_builtins.property
|
|
189
|
-
@pulumi.getter(name="workspaceId")
|
|
190
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
191
|
-
return pulumi.get(self, "workspace_id")
|
|
192
|
-
|
|
193
185
|
|
|
194
186
|
class AwaitableGetExternalMetadataResult(GetExternalMetadataResult):
|
|
195
187
|
# pylint: disable=using-constant-test
|
|
@@ -210,21 +202,14 @@ class AwaitableGetExternalMetadataResult(GetExternalMetadataResult):
|
|
|
210
202
|
system_type=self.system_type,
|
|
211
203
|
update_time=self.update_time,
|
|
212
204
|
updated_by=self.updated_by,
|
|
213
|
-
url=self.url
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
def get_external_metadata(columns: Optional[Sequence[_builtins.str]] = None,
|
|
218
|
-
description: Optional[_builtins.str] = None,
|
|
219
|
-
entity_type: Optional[_builtins.str] = None,
|
|
220
|
-
name: Optional[_builtins.str] = None,
|
|
221
|
-
owner: Optional[_builtins.str] = None,
|
|
222
|
-
properties: Optional[Mapping[str, _builtins.str]] = None,
|
|
223
|
-
system_type: Optional[_builtins.str] = None,
|
|
224
|
-
url: Optional[_builtins.str] = None,
|
|
225
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
205
|
+
url=self.url)
|
|
206
|
+
|
|
207
|
+
|
|
208
|
+
def get_external_metadata(name: Optional[_builtins.str] = None,
|
|
226
209
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalMetadataResult:
|
|
227
210
|
"""
|
|
211
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
212
|
+
|
|
228
213
|
This data source can be used to get a single external metadata object.
|
|
229
214
|
|
|
230
215
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -241,26 +226,10 @@ def get_external_metadata(columns: Optional[Sequence[_builtins.str]] = None,
|
|
|
241
226
|
```
|
|
242
227
|
|
|
243
228
|
|
|
244
|
-
:param Sequence[_builtins.str] columns: (list of string) - List of columns associated with the external metadata object
|
|
245
|
-
:param _builtins.str description: (string) - User-provided free-form text description
|
|
246
|
-
:param _builtins.str entity_type: (string) - Type of entity within the external system
|
|
247
229
|
:param _builtins.str name: Name of the external metadata object
|
|
248
|
-
:param _builtins.str owner: (string) - Owner of the external metadata object
|
|
249
|
-
:param Mapping[str, _builtins.str] properties: (object) - A map of key-value properties attached to the external metadata object
|
|
250
|
-
:param _builtins.str system_type: (string) - Type of external system. Possible values are: `AMAZON_REDSHIFT`, `AZURE_SYNAPSE`, `CONFLUENT`, `DATABRICKS`, `GOOGLE_BIGQUERY`, `KAFKA`, `LOOKER`, `MICROSOFT_FABRIC`, `MICROSOFT_SQL_SERVER`, `MONGODB`, `MYSQL`, `ORACLE`, `OTHER`, `POSTGRESQL`, `POWER_BI`, `SALESFORCE`, `SAP`, `SERVICENOW`, `SNOWFLAKE`, `TABLEAU`, `TERADATA`, `WORKDAY`
|
|
251
|
-
:param _builtins.str url: (string) - URL associated with the external metadata object
|
|
252
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
253
230
|
"""
|
|
254
231
|
__args__ = dict()
|
|
255
|
-
__args__['columns'] = columns
|
|
256
|
-
__args__['description'] = description
|
|
257
|
-
__args__['entityType'] = entity_type
|
|
258
232
|
__args__['name'] = name
|
|
259
|
-
__args__['owner'] = owner
|
|
260
|
-
__args__['properties'] = properties
|
|
261
|
-
__args__['systemType'] = system_type
|
|
262
|
-
__args__['url'] = url
|
|
263
|
-
__args__['workspaceId'] = workspace_id
|
|
264
233
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
265
234
|
__ret__ = pulumi.runtime.invoke('databricks:index/getExternalMetadata:getExternalMetadata', __args__, opts=opts, typ=GetExternalMetadataResult).value
|
|
266
235
|
|
|
@@ -278,19 +247,12 @@ def get_external_metadata(columns: Optional[Sequence[_builtins.str]] = None,
|
|
|
278
247
|
system_type=pulumi.get(__ret__, 'system_type'),
|
|
279
248
|
update_time=pulumi.get(__ret__, 'update_time'),
|
|
280
249
|
updated_by=pulumi.get(__ret__, 'updated_by'),
|
|
281
|
-
url=pulumi.get(__ret__, 'url')
|
|
282
|
-
|
|
283
|
-
def get_external_metadata_output(columns: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
284
|
-
description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
285
|
-
entity_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
286
|
-
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
287
|
-
owner: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
288
|
-
properties: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
289
|
-
system_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
290
|
-
url: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
291
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
250
|
+
url=pulumi.get(__ret__, 'url'))
|
|
251
|
+
def get_external_metadata_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
292
252
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalMetadataResult]:
|
|
293
253
|
"""
|
|
254
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
255
|
+
|
|
294
256
|
This data source can be used to get a single external metadata object.
|
|
295
257
|
|
|
296
258
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -307,26 +269,10 @@ def get_external_metadata_output(columns: Optional[pulumi.Input[Optional[Sequenc
|
|
|
307
269
|
```
|
|
308
270
|
|
|
309
271
|
|
|
310
|
-
:param Sequence[_builtins.str] columns: (list of string) - List of columns associated with the external metadata object
|
|
311
|
-
:param _builtins.str description: (string) - User-provided free-form text description
|
|
312
|
-
:param _builtins.str entity_type: (string) - Type of entity within the external system
|
|
313
272
|
:param _builtins.str name: Name of the external metadata object
|
|
314
|
-
:param _builtins.str owner: (string) - Owner of the external metadata object
|
|
315
|
-
:param Mapping[str, _builtins.str] properties: (object) - A map of key-value properties attached to the external metadata object
|
|
316
|
-
:param _builtins.str system_type: (string) - Type of external system. Possible values are: `AMAZON_REDSHIFT`, `AZURE_SYNAPSE`, `CONFLUENT`, `DATABRICKS`, `GOOGLE_BIGQUERY`, `KAFKA`, `LOOKER`, `MICROSOFT_FABRIC`, `MICROSOFT_SQL_SERVER`, `MONGODB`, `MYSQL`, `ORACLE`, `OTHER`, `POSTGRESQL`, `POWER_BI`, `SALESFORCE`, `SAP`, `SERVICENOW`, `SNOWFLAKE`, `TABLEAU`, `TERADATA`, `WORKDAY`
|
|
317
|
-
:param _builtins.str url: (string) - URL associated with the external metadata object
|
|
318
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
319
273
|
"""
|
|
320
274
|
__args__ = dict()
|
|
321
|
-
__args__['columns'] = columns
|
|
322
|
-
__args__['description'] = description
|
|
323
|
-
__args__['entityType'] = entity_type
|
|
324
275
|
__args__['name'] = name
|
|
325
|
-
__args__['owner'] = owner
|
|
326
|
-
__args__['properties'] = properties
|
|
327
|
-
__args__['systemType'] = system_type
|
|
328
|
-
__args__['url'] = url
|
|
329
|
-
__args__['workspaceId'] = workspace_id
|
|
330
276
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
331
277
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalMetadata:getExternalMetadata', __args__, opts=opts, typ=GetExternalMetadataResult)
|
|
332
278
|
return __ret__.apply(lambda __response__: GetExternalMetadataResult(
|
|
@@ -343,5 +289,4 @@ def get_external_metadata_output(columns: Optional[pulumi.Input[Optional[Sequenc
|
|
|
343
289
|
system_type=pulumi.get(__response__, 'system_type'),
|
|
344
290
|
update_time=pulumi.get(__response__, 'update_time'),
|
|
345
291
|
updated_by=pulumi.get(__response__, 'updated_by'),
|
|
346
|
-
url=pulumi.get(__response__, 'url')
|
|
347
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|
|
292
|
+
url=pulumi.get(__response__, 'url')))
|
|
@@ -27,16 +27,16 @@ class GetExternalMetadatasResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getExternalMetadatas.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, external_metadatas=None, id=None,
|
|
30
|
+
def __init__(__self__, external_metadatas=None, id=None, page_size=None):
|
|
31
31
|
if external_metadatas and not isinstance(external_metadatas, list):
|
|
32
32
|
raise TypeError("Expected argument 'external_metadatas' to be a list")
|
|
33
33
|
pulumi.set(__self__, "external_metadatas", external_metadatas)
|
|
34
34
|
if id and not isinstance(id, str):
|
|
35
35
|
raise TypeError("Expected argument 'id' to be a str")
|
|
36
36
|
pulumi.set(__self__, "id", id)
|
|
37
|
-
if
|
|
38
|
-
raise TypeError("Expected argument '
|
|
39
|
-
pulumi.set(__self__, "
|
|
37
|
+
if page_size and not isinstance(page_size, int):
|
|
38
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
39
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
40
40
|
|
|
41
41
|
@_builtins.property
|
|
42
42
|
@pulumi.getter(name="externalMetadatas")
|
|
@@ -52,9 +52,9 @@ class GetExternalMetadatasResult:
|
|
|
52
52
|
return pulumi.get(self, "id")
|
|
53
53
|
|
|
54
54
|
@_builtins.property
|
|
55
|
-
@pulumi.getter(name="
|
|
56
|
-
def
|
|
57
|
-
return pulumi.get(self, "
|
|
55
|
+
@pulumi.getter(name="pageSize")
|
|
56
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
57
|
+
return pulumi.get(self, "page_size")
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
class AwaitableGetExternalMetadatasResult(GetExternalMetadatasResult):
|
|
@@ -65,12 +65,14 @@ class AwaitableGetExternalMetadatasResult(GetExternalMetadatasResult):
|
|
|
65
65
|
return GetExternalMetadatasResult(
|
|
66
66
|
external_metadatas=self.external_metadatas,
|
|
67
67
|
id=self.id,
|
|
68
|
-
|
|
68
|
+
page_size=self.page_size)
|
|
69
69
|
|
|
70
70
|
|
|
71
|
-
def get_external_metadatas(
|
|
71
|
+
def get_external_metadatas(page_size: Optional[_builtins.int] = None,
|
|
72
72
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetExternalMetadatasResult:
|
|
73
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
74
76
|
This data source can be used to fetch the list of external metadata objects.
|
|
75
77
|
|
|
76
78
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -87,20 +89,23 @@ def get_external_metadatas(workspace_id: Optional[_builtins.str] = None,
|
|
|
87
89
|
```
|
|
88
90
|
|
|
89
91
|
|
|
90
|
-
:param _builtins.
|
|
92
|
+
:param _builtins.int page_size: Specifies the maximum number of external metadata objects to return in a single response.
|
|
93
|
+
The value must be less than or equal to 1000
|
|
91
94
|
"""
|
|
92
95
|
__args__ = dict()
|
|
93
|
-
__args__['
|
|
96
|
+
__args__['pageSize'] = page_size
|
|
94
97
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
95
98
|
__ret__ = pulumi.runtime.invoke('databricks:index/getExternalMetadatas:getExternalMetadatas', __args__, opts=opts, typ=GetExternalMetadatasResult).value
|
|
96
99
|
|
|
97
100
|
return AwaitableGetExternalMetadatasResult(
|
|
98
101
|
external_metadatas=pulumi.get(__ret__, 'external_metadatas'),
|
|
99
102
|
id=pulumi.get(__ret__, 'id'),
|
|
100
|
-
|
|
101
|
-
def get_external_metadatas_output(
|
|
103
|
+
page_size=pulumi.get(__ret__, 'page_size'))
|
|
104
|
+
def get_external_metadatas_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
102
105
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetExternalMetadatasResult]:
|
|
103
106
|
"""
|
|
107
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
108
|
+
|
|
104
109
|
This data source can be used to fetch the list of external metadata objects.
|
|
105
110
|
|
|
106
111
|
> **Note** This resource can only be used with an workspace-level provider!
|
|
@@ -117,13 +122,14 @@ def get_external_metadatas_output(workspace_id: Optional[pulumi.Input[Optional[_
|
|
|
117
122
|
```
|
|
118
123
|
|
|
119
124
|
|
|
120
|
-
:param _builtins.
|
|
125
|
+
:param _builtins.int page_size: Specifies the maximum number of external metadata objects to return in a single response.
|
|
126
|
+
The value must be less than or equal to 1000
|
|
121
127
|
"""
|
|
122
128
|
__args__ = dict()
|
|
123
|
-
__args__['
|
|
129
|
+
__args__['pageSize'] = page_size
|
|
124
130
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
125
131
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getExternalMetadatas:getExternalMetadatas', __args__, opts=opts, typ=GetExternalMetadatasResult)
|
|
126
132
|
return __ret__.apply(lambda __response__: GetExternalMetadatasResult(
|
|
127
133
|
external_metadatas=pulumi.get(__response__, 'external_metadatas'),
|
|
128
134
|
id=pulumi.get(__response__, 'id'),
|
|
129
|
-
|
|
135
|
+
page_size=pulumi.get(__response__, 'page_size')))
|