pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/get_jobs.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
|
'GetJobsResult',
|
|
@@ -26,7 +28,7 @@ class GetJobsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getJobs.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, ids=None, job_name_contains=None, key=None):
|
|
31
|
+
def __init__(__self__, id=None, ids=None, job_name_contains=None, key=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)
|
|
@@ -39,6 +41,9 @@ class GetJobsResult:
|
|
|
39
41
|
if key and not isinstance(key, str):
|
|
40
42
|
raise TypeError("Expected argument 'key' to be a str")
|
|
41
43
|
pulumi.set(__self__, "key", key)
|
|
44
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
45
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
42
47
|
|
|
43
48
|
@_builtins.property
|
|
44
49
|
@pulumi.getter
|
|
@@ -66,6 +71,11 @@ class GetJobsResult:
|
|
|
66
71
|
def key(self) -> Optional[_builtins.str]:
|
|
67
72
|
return pulumi.get(self, "key")
|
|
68
73
|
|
|
74
|
+
@_builtins.property
|
|
75
|
+
@pulumi.getter(name="providerConfig")
|
|
76
|
+
def provider_config(self) -> Optional['outputs.GetJobsProviderConfigResult']:
|
|
77
|
+
return pulumi.get(self, "provider_config")
|
|
78
|
+
|
|
69
79
|
|
|
70
80
|
class AwaitableGetJobsResult(GetJobsResult):
|
|
71
81
|
# pylint: disable=using-constant-test
|
|
@@ -76,12 +86,14 @@ class AwaitableGetJobsResult(GetJobsResult):
|
|
|
76
86
|
id=self.id,
|
|
77
87
|
ids=self.ids,
|
|
78
88
|
job_name_contains=self.job_name_contains,
|
|
79
|
-
key=self.key
|
|
89
|
+
key=self.key,
|
|
90
|
+
provider_config=self.provider_config)
|
|
80
91
|
|
|
81
92
|
|
|
82
93
|
def get_jobs(ids: Optional[Mapping[str, _builtins.str]] = None,
|
|
83
94
|
job_name_contains: Optional[_builtins.str] = None,
|
|
84
95
|
key: Optional[_builtins.str] = None,
|
|
96
|
+
provider_config: Optional[Union['GetJobsProviderConfigArgs', 'GetJobsProviderConfigArgsDict']] = None,
|
|
85
97
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetJobsResult:
|
|
86
98
|
"""
|
|
87
99
|
Retrieves a list of Job ids, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -146,11 +158,13 @@ def get_jobs(ids: Optional[Mapping[str, _builtins.str]] = None,
|
|
|
146
158
|
:param Mapping[str, _builtins.str] ids: map of Job names to ids
|
|
147
159
|
:param _builtins.str job_name_contains: Only return Job ids that match the given name string (case-insensitive).
|
|
148
160
|
:param _builtins.str key: Attribute to use for keys in the returned map of Job ids by. Possible values are `name` (default) or `id`. Setting to `id` uses the job ID as the map key, allowing duplicate job names.
|
|
161
|
+
:param Union['GetJobsProviderConfigArgs', 'GetJobsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
149
162
|
"""
|
|
150
163
|
__args__ = dict()
|
|
151
164
|
__args__['ids'] = ids
|
|
152
165
|
__args__['jobNameContains'] = job_name_contains
|
|
153
166
|
__args__['key'] = key
|
|
167
|
+
__args__['providerConfig'] = provider_config
|
|
154
168
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
155
169
|
__ret__ = pulumi.runtime.invoke('databricks:index/getJobs:getJobs', __args__, opts=opts, typ=GetJobsResult).value
|
|
156
170
|
|
|
@@ -158,10 +172,12 @@ def get_jobs(ids: Optional[Mapping[str, _builtins.str]] = None,
|
|
|
158
172
|
id=pulumi.get(__ret__, 'id'),
|
|
159
173
|
ids=pulumi.get(__ret__, 'ids'),
|
|
160
174
|
job_name_contains=pulumi.get(__ret__, 'job_name_contains'),
|
|
161
|
-
key=pulumi.get(__ret__, 'key')
|
|
175
|
+
key=pulumi.get(__ret__, 'key'),
|
|
176
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
162
177
|
def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
163
178
|
job_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
164
179
|
key: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
180
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetJobsProviderConfigArgs', 'GetJobsProviderConfigArgsDict']]]] = None,
|
|
165
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetJobsResult]:
|
|
166
182
|
"""
|
|
167
183
|
Retrieves a list of Job ids, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -226,15 +242,18 @@ def get_jobs_output(ids: Optional[pulumi.Input[Optional[Mapping[str, _builtins.s
|
|
|
226
242
|
:param Mapping[str, _builtins.str] ids: map of Job names to ids
|
|
227
243
|
:param _builtins.str job_name_contains: Only return Job ids that match the given name string (case-insensitive).
|
|
228
244
|
:param _builtins.str key: Attribute to use for keys in the returned map of Job ids by. Possible values are `name` (default) or `id`. Setting to `id` uses the job ID as the map key, allowing duplicate job names.
|
|
245
|
+
:param Union['GetJobsProviderConfigArgs', 'GetJobsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
229
246
|
"""
|
|
230
247
|
__args__ = dict()
|
|
231
248
|
__args__['ids'] = ids
|
|
232
249
|
__args__['jobNameContains'] = job_name_contains
|
|
233
250
|
__args__['key'] = key
|
|
251
|
+
__args__['providerConfig'] = provider_config
|
|
234
252
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
235
253
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getJobs:getJobs', __args__, opts=opts, typ=GetJobsResult)
|
|
236
254
|
return __ret__.apply(lambda __response__: GetJobsResult(
|
|
237
255
|
id=pulumi.get(__response__, 'id'),
|
|
238
256
|
ids=pulumi.get(__response__, 'ids'),
|
|
239
257
|
job_name_contains=pulumi.get(__response__, 'job_name_contains'),
|
|
240
|
-
key=pulumi.get(__response__, 'key')
|
|
258
|
+
key=pulumi.get(__response__, 'key'),
|
|
259
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -55,7 +55,7 @@ class GetMaterializedFeaturesFeatureTagResult:
|
|
|
55
55
|
|
|
56
56
|
@_builtins.property
|
|
57
57
|
@pulumi.getter
|
|
58
|
-
def value(self) ->
|
|
58
|
+
def value(self) -> _builtins.str:
|
|
59
59
|
"""
|
|
60
60
|
(string)
|
|
61
61
|
"""
|
|
@@ -74,16 +74,12 @@ class AwaitableGetMaterializedFeaturesFeatureTagResult(GetMaterializedFeaturesFe
|
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
def get_materialized_features_feature_tag(key: Optional[_builtins.str] = None,
|
|
77
|
-
value: Optional[_builtins.str] = None,
|
|
78
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaterializedFeaturesFeatureTagResult:
|
|
79
78
|
"""
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
:param _builtins.str value: (string)
|
|
79
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
83
80
|
"""
|
|
84
81
|
__args__ = dict()
|
|
85
82
|
__args__['key'] = key
|
|
86
|
-
__args__['value'] = value
|
|
87
83
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
88
84
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMaterializedFeaturesFeatureTag:getMaterializedFeaturesFeatureTag', __args__, opts=opts, typ=GetMaterializedFeaturesFeatureTagResult).value
|
|
89
85
|
|
|
@@ -92,16 +88,12 @@ def get_materialized_features_feature_tag(key: Optional[_builtins.str] = None,
|
|
|
92
88
|
key=pulumi.get(__ret__, 'key'),
|
|
93
89
|
value=pulumi.get(__ret__, 'value'))
|
|
94
90
|
def get_materialized_features_feature_tag_output(key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
95
|
-
value: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
96
91
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaterializedFeaturesFeatureTagResult]:
|
|
97
92
|
"""
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
:param _builtins.str value: (string)
|
|
93
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
101
94
|
"""
|
|
102
95
|
__args__ = dict()
|
|
103
96
|
__args__['key'] = key
|
|
104
|
-
__args__['value'] = value
|
|
105
97
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
98
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMaterializedFeaturesFeatureTag:getMaterializedFeaturesFeatureTag', __args__, opts=opts, typ=GetMaterializedFeaturesFeatureTagResult)
|
|
107
99
|
return __ret__.apply(lambda __response__: GetMaterializedFeaturesFeatureTagResult(
|
|
@@ -27,13 +27,27 @@ class GetMaterializedFeaturesFeatureTagsResult:
|
|
|
27
27
|
"""
|
|
28
28
|
A collection of values returned by getMaterializedFeaturesFeatureTags.
|
|
29
29
|
"""
|
|
30
|
-
def __init__(__self__, feature_tags=None, id=None):
|
|
30
|
+
def __init__(__self__, feature_name=None, feature_tags=None, id=None, page_size=None, table_name=None):
|
|
31
|
+
if feature_name and not isinstance(feature_name, str):
|
|
32
|
+
raise TypeError("Expected argument 'feature_name' to be a str")
|
|
33
|
+
pulumi.set(__self__, "feature_name", feature_name)
|
|
31
34
|
if feature_tags and not isinstance(feature_tags, list):
|
|
32
35
|
raise TypeError("Expected argument 'feature_tags' to be a list")
|
|
33
36
|
pulumi.set(__self__, "feature_tags", feature_tags)
|
|
34
37
|
if id and not isinstance(id, str):
|
|
35
38
|
raise TypeError("Expected argument 'id' to be a str")
|
|
36
39
|
pulumi.set(__self__, "id", id)
|
|
40
|
+
if page_size and not isinstance(page_size, int):
|
|
41
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
42
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
43
|
+
if table_name and not isinstance(table_name, str):
|
|
44
|
+
raise TypeError("Expected argument 'table_name' to be a str")
|
|
45
|
+
pulumi.set(__self__, "table_name", table_name)
|
|
46
|
+
|
|
47
|
+
@_builtins.property
|
|
48
|
+
@pulumi.getter(name="featureName")
|
|
49
|
+
def feature_name(self) -> _builtins.str:
|
|
50
|
+
return pulumi.get(self, "feature_name")
|
|
37
51
|
|
|
38
52
|
@_builtins.property
|
|
39
53
|
@pulumi.getter(name="featureTags")
|
|
@@ -48,6 +62,16 @@ class GetMaterializedFeaturesFeatureTagsResult:
|
|
|
48
62
|
"""
|
|
49
63
|
return pulumi.get(self, "id")
|
|
50
64
|
|
|
65
|
+
@_builtins.property
|
|
66
|
+
@pulumi.getter(name="pageSize")
|
|
67
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
68
|
+
return pulumi.get(self, "page_size")
|
|
69
|
+
|
|
70
|
+
@_builtins.property
|
|
71
|
+
@pulumi.getter(name="tableName")
|
|
72
|
+
def table_name(self) -> _builtins.str:
|
|
73
|
+
return pulumi.get(self, "table_name")
|
|
74
|
+
|
|
51
75
|
|
|
52
76
|
class AwaitableGetMaterializedFeaturesFeatureTagsResult(GetMaterializedFeaturesFeatureTagsResult):
|
|
53
77
|
# pylint: disable=using-constant-test
|
|
@@ -55,28 +79,55 @@ class AwaitableGetMaterializedFeaturesFeatureTagsResult(GetMaterializedFeaturesF
|
|
|
55
79
|
if False:
|
|
56
80
|
yield self
|
|
57
81
|
return GetMaterializedFeaturesFeatureTagsResult(
|
|
82
|
+
feature_name=self.feature_name,
|
|
58
83
|
feature_tags=self.feature_tags,
|
|
59
|
-
id=self.id
|
|
84
|
+
id=self.id,
|
|
85
|
+
page_size=self.page_size,
|
|
86
|
+
table_name=self.table_name)
|
|
60
87
|
|
|
61
88
|
|
|
62
|
-
def get_materialized_features_feature_tags(
|
|
89
|
+
def get_materialized_features_feature_tags(feature_name: Optional[_builtins.str] = None,
|
|
90
|
+
page_size: Optional[_builtins.int] = None,
|
|
91
|
+
table_name: Optional[_builtins.str] = None,
|
|
92
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMaterializedFeaturesFeatureTagsResult:
|
|
63
93
|
"""
|
|
64
|
-
|
|
94
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
:param _builtins.int page_size: The maximum number of results to return
|
|
65
98
|
"""
|
|
66
99
|
__args__ = dict()
|
|
100
|
+
__args__['featureName'] = feature_name
|
|
101
|
+
__args__['pageSize'] = page_size
|
|
102
|
+
__args__['tableName'] = table_name
|
|
67
103
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
68
104
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMaterializedFeaturesFeatureTags:getMaterializedFeaturesFeatureTags', __args__, opts=opts, typ=GetMaterializedFeaturesFeatureTagsResult).value
|
|
69
105
|
|
|
70
106
|
return AwaitableGetMaterializedFeaturesFeatureTagsResult(
|
|
107
|
+
feature_name=pulumi.get(__ret__, 'feature_name'),
|
|
71
108
|
feature_tags=pulumi.get(__ret__, 'feature_tags'),
|
|
72
|
-
id=pulumi.get(__ret__, 'id')
|
|
73
|
-
|
|
109
|
+
id=pulumi.get(__ret__, 'id'),
|
|
110
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
111
|
+
table_name=pulumi.get(__ret__, 'table_name'))
|
|
112
|
+
def get_materialized_features_feature_tags_output(feature_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
113
|
+
page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
114
|
+
table_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
115
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMaterializedFeaturesFeatureTagsResult]:
|
|
74
116
|
"""
|
|
75
|
-
|
|
117
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
:param _builtins.int page_size: The maximum number of results to return
|
|
76
121
|
"""
|
|
77
122
|
__args__ = dict()
|
|
123
|
+
__args__['featureName'] = feature_name
|
|
124
|
+
__args__['pageSize'] = page_size
|
|
125
|
+
__args__['tableName'] = table_name
|
|
78
126
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
79
127
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMaterializedFeaturesFeatureTags:getMaterializedFeaturesFeatureTags', __args__, opts=opts, typ=GetMaterializedFeaturesFeatureTagsResult)
|
|
80
128
|
return __ret__.apply(lambda __response__: GetMaterializedFeaturesFeatureTagsResult(
|
|
129
|
+
feature_name=pulumi.get(__response__, 'feature_name'),
|
|
81
130
|
feature_tags=pulumi.get(__response__, 'feature_tags'),
|
|
82
|
-
id=pulumi.get(__response__, 'id')
|
|
131
|
+
id=pulumi.get(__response__, 'id'),
|
|
132
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
133
|
+
table_name=pulumi.get(__response__, 'table_name')))
|
|
@@ -113,7 +113,7 @@ def get_metastore(id: Optional[_builtins.str] = None,
|
|
|
113
113
|
import pulumi_aws as aws
|
|
114
114
|
import pulumi_databricks as databricks
|
|
115
115
|
|
|
116
|
-
metastore = aws.s3.
|
|
116
|
+
metastore = aws.s3.Bucket("metastore",
|
|
117
117
|
bucket=f"{prefix}-metastore",
|
|
118
118
|
force_destroy=True)
|
|
119
119
|
this_metastore = databricks.Metastore("this",
|
|
@@ -175,7 +175,7 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = N
|
|
|
175
175
|
import pulumi_aws as aws
|
|
176
176
|
import pulumi_databricks as databricks
|
|
177
177
|
|
|
178
|
-
metastore = aws.s3.
|
|
178
|
+
metastore = aws.s3.Bucket("metastore",
|
|
179
179
|
bucket=f"{prefix}-metastore",
|
|
180
180
|
force_destroy=True)
|
|
181
181
|
this_metastore = databricks.Metastore("this",
|
|
@@ -28,7 +28,7 @@ class GetMlflowExperimentResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getMlflowExperiment.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, artifact_location=None, creation_time=None, experiment_id=None, id=None, last_update_time=None, lifecycle_stage=None, name=None, tags=None):
|
|
31
|
+
def __init__(__self__, artifact_location=None, creation_time=None, experiment_id=None, id=None, last_update_time=None, lifecycle_stage=None, name=None, provider_config=None, tags=None):
|
|
32
32
|
if artifact_location and not isinstance(artifact_location, str):
|
|
33
33
|
raise TypeError("Expected argument 'artifact_location' to be a str")
|
|
34
34
|
pulumi.set(__self__, "artifact_location", artifact_location)
|
|
@@ -50,6 +50,9 @@ class GetMlflowExperimentResult:
|
|
|
50
50
|
if name and not isinstance(name, str):
|
|
51
51
|
raise TypeError("Expected argument 'name' to be a str")
|
|
52
52
|
pulumi.set(__self__, "name", name)
|
|
53
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
54
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
53
56
|
if tags and not isinstance(tags, list):
|
|
54
57
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
55
58
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -110,6 +113,11 @@ class GetMlflowExperimentResult:
|
|
|
110
113
|
"""
|
|
111
114
|
return pulumi.get(self, "name")
|
|
112
115
|
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter(name="providerConfig")
|
|
118
|
+
def provider_config(self) -> Optional['outputs.GetMlflowExperimentProviderConfigResult']:
|
|
119
|
+
return pulumi.get(self, "provider_config")
|
|
120
|
+
|
|
113
121
|
@_builtins.property
|
|
114
122
|
@pulumi.getter
|
|
115
123
|
def tags(self) -> Sequence['outputs.GetMlflowExperimentTagResult']:
|
|
@@ -132,6 +140,7 @@ class AwaitableGetMlflowExperimentResult(GetMlflowExperimentResult):
|
|
|
132
140
|
last_update_time=self.last_update_time,
|
|
133
141
|
lifecycle_stage=self.lifecycle_stage,
|
|
134
142
|
name=self.name,
|
|
143
|
+
provider_config=self.provider_config,
|
|
135
144
|
tags=self.tags)
|
|
136
145
|
|
|
137
146
|
|
|
@@ -142,6 +151,7 @@ def get_mlflow_experiment(artifact_location: Optional[_builtins.str] = None,
|
|
|
142
151
|
last_update_time: Optional[_builtins.int] = None,
|
|
143
152
|
lifecycle_stage: Optional[_builtins.str] = None,
|
|
144
153
|
name: Optional[_builtins.str] = None,
|
|
154
|
+
provider_config: Optional[Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict']] = None,
|
|
145
155
|
tags: Optional[Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']]] = None,
|
|
146
156
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowExperimentResult:
|
|
147
157
|
"""
|
|
@@ -157,6 +167,7 @@ def get_mlflow_experiment(artifact_location: Optional[_builtins.str] = None,
|
|
|
157
167
|
:param _builtins.int last_update_time: Last update time in unix time stamp.
|
|
158
168
|
:param _builtins.str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`.
|
|
159
169
|
:param _builtins.str name: Path to experiment.
|
|
170
|
+
:param Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
160
171
|
:param Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']] tags: Additional metadata key-value pairs.
|
|
161
172
|
"""
|
|
162
173
|
__args__ = dict()
|
|
@@ -167,6 +178,7 @@ def get_mlflow_experiment(artifact_location: Optional[_builtins.str] = None,
|
|
|
167
178
|
__args__['lastUpdateTime'] = last_update_time
|
|
168
179
|
__args__['lifecycleStage'] = lifecycle_stage
|
|
169
180
|
__args__['name'] = name
|
|
181
|
+
__args__['providerConfig'] = provider_config
|
|
170
182
|
__args__['tags'] = tags
|
|
171
183
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
172
184
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult).value
|
|
@@ -179,6 +191,7 @@ def get_mlflow_experiment(artifact_location: Optional[_builtins.str] = None,
|
|
|
179
191
|
last_update_time=pulumi.get(__ret__, 'last_update_time'),
|
|
180
192
|
lifecycle_stage=pulumi.get(__ret__, 'lifecycle_stage'),
|
|
181
193
|
name=pulumi.get(__ret__, 'name'),
|
|
194
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
182
195
|
tags=pulumi.get(__ret__, 'tags'))
|
|
183
196
|
def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
184
197
|
creation_time: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
@@ -187,6 +200,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
187
200
|
last_update_time: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
188
201
|
lifecycle_stage: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
189
202
|
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
203
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict']]]] = None,
|
|
190
204
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']]]]] = None,
|
|
191
205
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowExperimentResult]:
|
|
192
206
|
"""
|
|
@@ -202,6 +216,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
202
216
|
:param _builtins.int last_update_time: Last update time in unix time stamp.
|
|
203
217
|
:param _builtins.str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`.
|
|
204
218
|
:param _builtins.str name: Path to experiment.
|
|
219
|
+
:param Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
205
220
|
:param Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']] tags: Additional metadata key-value pairs.
|
|
206
221
|
"""
|
|
207
222
|
__args__ = dict()
|
|
@@ -212,6 +227,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
212
227
|
__args__['lastUpdateTime'] = last_update_time
|
|
213
228
|
__args__['lifecycleStage'] = lifecycle_stage
|
|
214
229
|
__args__['name'] = name
|
|
230
|
+
__args__['providerConfig'] = provider_config
|
|
215
231
|
__args__['tags'] = tags
|
|
216
232
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
217
233
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult)
|
|
@@ -223,4 +239,5 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
223
239
|
last_update_time=pulumi.get(__response__, 'last_update_time'),
|
|
224
240
|
lifecycle_stage=pulumi.get(__response__, 'lifecycle_stage'),
|
|
225
241
|
name=pulumi.get(__response__, 'name'),
|
|
242
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
226
243
|
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -28,7 +28,7 @@ class GetMlflowModelResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getMlflowModel.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, description=None, id=None, latest_versions=None, name=None, permission_level=None, tags=None, user_id=None):
|
|
31
|
+
def __init__(__self__, description=None, id=None, latest_versions=None, name=None, permission_level=None, provider_config=None, tags=None, user_id=None):
|
|
32
32
|
if description and not isinstance(description, str):
|
|
33
33
|
raise TypeError("Expected argument 'description' to be a str")
|
|
34
34
|
pulumi.set(__self__, "description", description)
|
|
@@ -44,6 +44,9 @@ class GetMlflowModelResult:
|
|
|
44
44
|
if permission_level and not isinstance(permission_level, str):
|
|
45
45
|
raise TypeError("Expected argument 'permission_level' to be a str")
|
|
46
46
|
pulumi.set(__self__, "permission_level", permission_level)
|
|
47
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
48
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
47
50
|
if tags and not isinstance(tags, list):
|
|
48
51
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
49
52
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -91,6 +94,11 @@ class GetMlflowModelResult:
|
|
|
91
94
|
"""
|
|
92
95
|
return pulumi.get(self, "permission_level")
|
|
93
96
|
|
|
97
|
+
@_builtins.property
|
|
98
|
+
@pulumi.getter(name="providerConfig")
|
|
99
|
+
def provider_config(self) -> Optional['outputs.GetMlflowModelProviderConfigResult']:
|
|
100
|
+
return pulumi.get(self, "provider_config")
|
|
101
|
+
|
|
94
102
|
@_builtins.property
|
|
95
103
|
@pulumi.getter
|
|
96
104
|
def tags(self) -> Sequence['outputs.GetMlflowModelTagResult']:
|
|
@@ -119,6 +127,7 @@ class AwaitableGetMlflowModelResult(GetMlflowModelResult):
|
|
|
119
127
|
latest_versions=self.latest_versions,
|
|
120
128
|
name=self.name,
|
|
121
129
|
permission_level=self.permission_level,
|
|
130
|
+
provider_config=self.provider_config,
|
|
122
131
|
tags=self.tags,
|
|
123
132
|
user_id=self.user_id)
|
|
124
133
|
|
|
@@ -127,6 +136,7 @@ def get_mlflow_model(description: Optional[_builtins.str] = None,
|
|
|
127
136
|
latest_versions: Optional[Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']]] = None,
|
|
128
137
|
name: Optional[_builtins.str] = None,
|
|
129
138
|
permission_level: Optional[_builtins.str] = None,
|
|
139
|
+
provider_config: Optional[Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict']] = None,
|
|
130
140
|
tags: Optional[Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']]] = None,
|
|
131
141
|
user_id: Optional[_builtins.str] = None,
|
|
132
142
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowModelResult:
|
|
@@ -181,6 +191,7 @@ def get_mlflow_model(description: Optional[_builtins.str] = None,
|
|
|
181
191
|
:param Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']] latest_versions: Array of model versions, each the latest version for its stage.
|
|
182
192
|
:param _builtins.str name: Name of the registered model.
|
|
183
193
|
:param _builtins.str permission_level: Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions.
|
|
194
|
+
:param Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
184
195
|
:param Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']] tags: Array of tags associated with the model.
|
|
185
196
|
:param _builtins.str user_id: The username of the user that created the object.
|
|
186
197
|
"""
|
|
@@ -189,6 +200,7 @@ def get_mlflow_model(description: Optional[_builtins.str] = None,
|
|
|
189
200
|
__args__['latestVersions'] = latest_versions
|
|
190
201
|
__args__['name'] = name
|
|
191
202
|
__args__['permissionLevel'] = permission_level
|
|
203
|
+
__args__['providerConfig'] = provider_config
|
|
192
204
|
__args__['tags'] = tags
|
|
193
205
|
__args__['userId'] = user_id
|
|
194
206
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -200,12 +212,14 @@ def get_mlflow_model(description: Optional[_builtins.str] = None,
|
|
|
200
212
|
latest_versions=pulumi.get(__ret__, 'latest_versions'),
|
|
201
213
|
name=pulumi.get(__ret__, 'name'),
|
|
202
214
|
permission_level=pulumi.get(__ret__, 'permission_level'),
|
|
215
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
203
216
|
tags=pulumi.get(__ret__, 'tags'),
|
|
204
217
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
205
218
|
def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
206
219
|
latest_versions: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']]]]] = None,
|
|
207
220
|
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
208
221
|
permission_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
222
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict']]]] = None,
|
|
209
223
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']]]]] = None,
|
|
210
224
|
user_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
211
225
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelResult]:
|
|
@@ -260,6 +274,7 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[_builtin
|
|
|
260
274
|
:param Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']] latest_versions: Array of model versions, each the latest version for its stage.
|
|
261
275
|
:param _builtins.str name: Name of the registered model.
|
|
262
276
|
:param _builtins.str permission_level: Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions.
|
|
277
|
+
:param Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
263
278
|
:param Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']] tags: Array of tags associated with the model.
|
|
264
279
|
:param _builtins.str user_id: The username of the user that created the object.
|
|
265
280
|
"""
|
|
@@ -268,6 +283,7 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[_builtin
|
|
|
268
283
|
__args__['latestVersions'] = latest_versions
|
|
269
284
|
__args__['name'] = name
|
|
270
285
|
__args__['permissionLevel'] = permission_level
|
|
286
|
+
__args__['providerConfig'] = provider_config
|
|
271
287
|
__args__['tags'] = tags
|
|
272
288
|
__args__['userId'] = user_id
|
|
273
289
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -278,5 +294,6 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[_builtin
|
|
|
278
294
|
latest_versions=pulumi.get(__response__, 'latest_versions'),
|
|
279
295
|
name=pulumi.get(__response__, 'name'),
|
|
280
296
|
permission_level=pulumi.get(__response__, 'permission_level'),
|
|
297
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
281
298
|
tags=pulumi.get(__response__, 'tags'),
|
|
282
299
|
user_id=pulumi.get(__response__, 'user_id')))
|
|
@@ -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
|
'GetMlflowModelsResult',
|
|
@@ -26,13 +28,16 @@ class GetMlflowModelsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getMlflowModels.
|
|
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 GetMlflowModelsResult:
|
|
|
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.GetMlflowModelsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
53
63
|
|
|
54
64
|
class AwaitableGetMlflowModelsResult(GetMlflowModelsResult):
|
|
55
65
|
# pylint: disable=using-constant-test
|
|
@@ -58,10 +68,12 @@ class AwaitableGetMlflowModelsResult(GetMlflowModelsResult):
|
|
|
58
68
|
yield self
|
|
59
69
|
return GetMlflowModelsResult(
|
|
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_mlflow_models(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict']] = None,
|
|
65
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowModelsResult:
|
|
66
78
|
"""
|
|
67
79
|
Retrieves a list of MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -80,16 +92,20 @@ def get_mlflow_models(names: Optional[Sequence[_builtins.str]] = None,
|
|
|
80
92
|
|
|
81
93
|
|
|
82
94
|
:param Sequence[_builtins.str] names: List of names of databricks_mlflow_model
|
|
95
|
+
:param Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
83
96
|
"""
|
|
84
97
|
__args__ = dict()
|
|
85
98
|
__args__['names'] = names
|
|
99
|
+
__args__['providerConfig'] = provider_config
|
|
86
100
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
87
101
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMlflowModels:getMlflowModels', __args__, opts=opts, typ=GetMlflowModelsResult).value
|
|
88
102
|
|
|
89
103
|
return AwaitableGetMlflowModelsResult(
|
|
90
104
|
id=pulumi.get(__ret__, 'id'),
|
|
91
|
-
names=pulumi.get(__ret__, 'names')
|
|
105
|
+
names=pulumi.get(__ret__, 'names'),
|
|
106
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
92
107
|
def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
108
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict']]]] = None,
|
|
93
109
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelsResult]:
|
|
94
110
|
"""
|
|
95
111
|
Retrieves a list of MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -108,11 +124,14 @@ def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[_bui
|
|
|
108
124
|
|
|
109
125
|
|
|
110
126
|
:param Sequence[_builtins.str] names: List of names of databricks_mlflow_model
|
|
127
|
+
:param Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
111
128
|
"""
|
|
112
129
|
__args__ = dict()
|
|
113
130
|
__args__['names'] = names
|
|
131
|
+
__args__['providerConfig'] = provider_config
|
|
114
132
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
115
133
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowModels:getMlflowModels', __args__, opts=opts, typ=GetMlflowModelsResult)
|
|
116
134
|
return __ret__.apply(lambda __response__: GetMlflowModelsResult(
|
|
117
135
|
id=pulumi.get(__response__, 'id'),
|
|
118
|
-
names=pulumi.get(__response__, 'names')
|
|
136
|
+
names=pulumi.get(__response__, 'names'),
|
|
137
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|